소스 검색

fix: 隐藏设备基本信息列表打印标签按钮

johnsen 9 달 전
부모
커밋
fa7d97931c
1개의 변경된 파일22개의 추가작업 그리고 21개의 파일을 삭제
  1. 22 21
      src/views/component/device/index.vue

+ 22 - 21
src/views/component/device/index.vue

@@ -607,12 +607,13 @@ export default {
             icon: 'ibps-icon-file-text',
             icon: 'ibps-icon-file-text',
             type: 'info'
             type: 'info'
           },
           },
-          {
-            key: 'customPrint',
-            label: '打印标签',
-            icon: 'ibps-icon-cog',
-            type: 'warning'
-          },
+          // todo 待开发
+          // {
+          //   key: 'customPrint',
+          //   label: '打印标签',
+          //   icon: 'ibps-icon-cog',
+          //   type: 'warning'
+          // },
           {
           {
             key: 'customExport',
             key: 'customExport',
             label: '导出数据',
             label: '导出数据',
@@ -684,7 +685,7 @@ export default {
             },
             },
             {
             {
               prop: '',
               prop: '',
-              label: '管人',
+              label: '管人',
               fieldType: 'slot',
               fieldType: 'slot',
               slotName: 'managePeople'
               slotName: 'managePeople'
             },
             },
@@ -693,13 +694,13 @@ export default {
               label: '岗位/分组',
               label: '岗位/分组',
               fieldType: 'slot',
               fieldType: 'slot',
               slotName: 'deviceClass'
               slotName: 'deviceClass'
-            },
-            {
-              prop: '',
-              label: '校准有效期',
-              fieldType: 'slot',
-              slotName: 'validity'
             }
             }
+            // {
+            //   prop: '',
+            //   label: '校准有效期',
+            //   fieldType: 'slot',
+            //   slotName: 'validity'
+            // }
           ]
           ]
         },
         },
         // 表格字段配置
         // 表格字段配置
@@ -711,7 +712,7 @@ export default {
             slotName: 'posSlot',
             slotName: 'posSlot',
             sortable: true
             sortable: true
           },
           },
-          { prop: 'bianZhiShiJian', label: '建档时间', sortable: true },
+          { prop: 'bianZhiShiJian', label: '建档时间', sortable: true, width: 130 },
           { prop: 'sheBeiShiBieH', label: '设备编号', sortable: true },
           { prop: 'sheBeiShiBieH', label: '设备编号', sortable: true },
           { prop: 'yuanSheBeiBian', label: '原设备编号', sortable: true },
           { prop: 'yuanSheBeiBian', label: '原设备编号', sortable: true },
           { prop: 'sheBeiMingCheng', label: '设备名称', sortable: true },
           { prop: 'sheBeiMingCheng', label: '设备名称', sortable: true },
@@ -721,13 +722,18 @@ export default {
             sortable: true,
             sortable: true,
             slotName: 'deviceTypeSlot'
             slotName: 'deviceTypeSlot'
           },
           },
-          { prop: 'guiGeXingHao', label: '规格型号', sortable: true },
           {
           {
             prop: 'sheBeiZhuangTa',
             prop: 'sheBeiZhuangTa',
             label: '设备状态',
             label: '设备状态',
             sortable: true,
             sortable: true,
             slotName: 'deviceStateSlot'
             slotName: 'deviceStateSlot'
           },
           },
+          {
+            prop: 'cunFangWeiZhi',
+            label: '放置地点',
+            slotName: 'placeSlot',
+            sortable: true
+          },
           {
           {
             prop: 'guanLiRen',
             prop: 'guanLiRen',
             label: '保管人',
             label: '保管人',
@@ -740,12 +746,7 @@ export default {
             slotName: 'deviceSlot',
             slotName: 'deviceSlot',
             sortable: true
             sortable: true
           },
           },
-          {
-            prop: 'cunFangWeiZhi',
-            label: '放置地点',
-            slotName: 'placeSlot',
-            sortable: true
-          },
+          { prop: 'guiGeXingHao', label: '规格型号', sortable: true },
           { prop: '', label: '操作', width: 130, slotName: 'customButton' }
           { prop: '', label: '操作', width: 130, slotName: 'customButton' }
         ]
         ]
       },
       },