Browse Source

完善巡检

408249787 2 years ago
parent
commit
55b936e5f1
1 changed files with 12 additions and 11 deletions
  1. 12 11
      src/views/fill/task/FillGatherTask.vue

+ 12 - 11
src/views/fill/task/FillGatherTask.vue

@@ -63,6 +63,7 @@
         :alert="options.alert"
         :rowSelection="options.rowSelection"
         showPagination="auto"
+        :scroll="{x: 1500, y: BaseTool.Constant.scrollY}"
       >
         <span slot="status" slot-scope="status">
           <badge :status="DictCache.COLOR.FILL_GATHER_TASK_STATUS[status]" :text="statusMap[status]" />
@@ -151,7 +152,7 @@ export default {
       columns: [
         {
           title: '序号',
-          width: 100,
+          width: 70,
           dataIndex: 'index',
           customRender: (text, record, index) => {
             return `${(this.$refs.table.localPagination.current - 1) * this.$refs.table.localPagination.pageSize + index + 1}`
@@ -159,32 +160,32 @@ export default {
         },
         {
           title: '巡检人',
-          width: 200,
+          width: 100,
           dataIndex: 'checker'
         },
         {
           title: '巡检主管',
-          width: 200,
+          width: 100,
           dataIndex: 'checkLeader'
         },
         {
           title: '巡检开始时间',
-          width: 200,
+          width: 150,
           dataIndex: 'createdTime'
         },
         {
           title: '任务创建人',
-          width: 200,
+          width: 100,
           dataIndex: 'createdUserName'
         },
         {
           title: '待完成数量',
-          width: 200,
+          width: 100,
           dataIndex: 'waitNum'
         },
         {
           title: '巡检总数量',
-          width: 200,
+          width: 100,
           dataIndex: 'totalNum'
         },
         {
@@ -195,17 +196,17 @@ export default {
         },
         {
           title: '要求时间',
-          width: 200,
+          width: 100,
           dataIndex: 'requireHour'
         },
         {
           title: '超时预警时间',
-          width: 200,
+          width: 100,
           dataIndex: 'warningHour'
         },
         {
           title: '累计延时时间',
-          width: 200,
+          width: 100,
           dataIndex: 'lateHistoryHours'
         },
         {
@@ -215,7 +216,7 @@ export default {
         },
         {
           title: '任务名称',
-          width: 200,
+          width: 100,
           dataIndex: 'name'
         },
         {