Ver Fonte

完善巡检

408249787 há 2 anos atrás
pai
commit
b39595ec16
2 ficheiros alterados com 6 adições e 14 exclusões
  1. 1 1
      src/components/Table/index.js
  2. 5 13
      src/views/fill/task/FillGatherTask.vue

+ 1 - 1
src/components/Table/index.js

@@ -162,7 +162,7 @@ export default {
     })
     if (isChecked === 0) {
       this.columns.forEach((item, index) => {
-        if (index < 8) {
+        if (index < 18) {
           item['checked'] = true
           this.checkCustomMap[item.title] = item
         }

+ 5 - 13
src/views/fill/task/FillGatherTask.vue

@@ -63,7 +63,7 @@
         :alert="options.alert"
         :rowSelection="options.rowSelection"
         showPagination="auto"
-        :scroll="{x: 1500, y: BaseTool.Constant.scrollY}"
+        :scroll="{x: 1800}"
       >
         <span slot="status" slot-scope="status">
           <badge :status="DictCache.COLOR.FILL_GATHER_TASK_STATUS[status]" :text="statusMap[status]" />
@@ -160,7 +160,7 @@ export default {
         },
         {
           title: '巡检任务名',
-          width: 100,
+          width: 150,
           dataIndex: 'name'
         },
         {
@@ -196,6 +196,7 @@ export default {
         {
           title: '任务状态',
           width: 100,
+          fixed: 'right',
           dataIndex: 'status',
           scopedSlots: { customRender: 'status' }
         },
@@ -214,20 +215,11 @@ export default {
           width: 100,
           dataIndex: 'lateHistoryHours'
         },
-        {
-          title: '变更记录',
-          width: 200,
-          dataIndex: 'recordJson'
-        },
-        {
-          title: '任务名称',
-          width: 100,
-          dataIndex: 'name'
-        },
         {
           title: '操作',
           key: 'action',
-          width: '200px',
+          width: 300,
+          fixed: 'right',
           align: 'center',
           scopedSlots: { customRender: 'action' }
         }