diff --git a/ruoyi-ui/src/views/board/info/index.vue b/ruoyi-ui/src/views/board/info/index.vue
index bc190556..800108f1 100644
--- a/ruoyi-ui/src/views/board/info/index.vue
+++ b/ruoyi-ui/src/views/board/info/index.vue
@@ -68,17 +68,6 @@
>删除
-
-
-
-
-
-
-
-
-
-
-
@@ -89,12 +78,7 @@
-
-
-
- {{ scope.row.boardSize }}
-
-
+
@@ -150,14 +134,14 @@
@@ -195,6 +179,7 @@ import Treeselect from "@riophae/vue-treeselect";
import "@riophae/vue-treeselect/dist/vue-treeselect.css";
import TextPreview from "@/views/board/component/TextPreview.vue";
import {roadGroupTreeSelect} from "@/api/board/roadgroup";
+import {listBoardType} from "@/api/board/boardtype";
export default {
name: "Info",
@@ -210,8 +195,10 @@ export default {
single: true,
// 非多个禁用
multiple: true,
- // 部门树选项
+ // 路段树选项
roadGroupOptions: [],
+ // 情报板类型列表
+ boardTypeOptions: [],
// 显示搜索条件
showSearch: true,
// 总条数
@@ -252,8 +239,8 @@ export default {
boardMileage: [
{required: true, message: "情报板工桩号不能为空", trigger: "blur"}
],
- boardSize: [
- {required: true, message: "情报板尺寸不能为空", trigger: "blur"}
+ boardSizeType: [
+ {required: true, message: "情报板类型不能为空", trigger: "blur"}
],
boardBrand: [
{required: true, message: "情报板品牌不能为空", trigger: "blur"}
@@ -275,6 +262,7 @@ export default {
created() {
this.getList();
this.getRoadTree();
+ this.getBoardTypeList();
},
methods: {
/** 查询情报板信息列表 */
@@ -299,7 +287,7 @@ export default {
boardRoadSection: null,
boardDirection: null,
boardMileage: null,
- boardSize: null,
+ boardSizeType: null,
boardBrand: null,
boardCommunicationProtocol: null,
boardIp: null,
@@ -382,6 +370,12 @@ export default {
this.roadGroupOptions = response.data;
});
},
+ /** 查询情报板类型定义 */
+ getBoardTypeList() {
+ listBoardType().then(response => {
+ this.boardTypeOptions = response.rows;
+ });
+ },
}
};