Преглед на файлове

fix:修改设备显示的字段

lupeng преди 3 месеца
родител
ревизия
8fcdea9437
променени са 1 файла, в които са добавени 1 реда и са изтрити 35 реда
  1. 1 35
      src/components/CrudTable/configs/tableConfig.ts

+ 1 - 35
src/components/CrudTable/configs/tableConfig.ts

@@ -254,7 +254,6 @@ export const tableConfig = {
         label: "设备类型",
         prop: "deviceType",
         type: "select",
-        search: true,
         hide: true,
         dicData: dicts.device_type,
         props: {
@@ -278,40 +277,7 @@ export const tableConfig = {
         label: "制造厂",
         prop: "brand",
       },
-      {
-        label: "所属部门",
-        prop: "deptId",
-        width: 100,
-        overHidden: true,
-        type: "tree",
-        dicUrl: dictDataUtil.dept_tree_url,
-        props: {
-          label: "deptName",
-          value: "id",
-        },
-        rules: [
-          {
-            required: true,
-            message: "所属部门不能为空",
-            trigger: "trigger",
-          },
-        ],
-      },
-      {
-        label: "设备状态",
-        prop: "state",
-        type: "select",
-        dicData: [
-          {
-            label: "启用",
-            value: "0",
-          },
-          {
-            label: "停用",
-            value: "1",
-          },
-        ],
-      },
+
     ],
   },