xiongchao il y a 3 ans
Parent
commit
282b3cf20a

+ 10 - 2
src/views/repair/application-form/MyRepairForm.vue

@@ -108,6 +108,7 @@ export default {
           title: '序号',
           dataIndex: 'index',
           checked: true,
+          width: '70px',
           customRender: (text, record, index) => {
             return `${(this.$refs.table.localPagination.current - 1) * this.$refs.table.localPagination.pageSize + index + 1}`
           }
@@ -115,11 +116,13 @@ export default {
         {
           title: '设备编号',
           checked: true,
+          width: '200px',
           dataIndex: 'sbNo'
         },
         {
           title: '设备名称',
           checked: true,
+          width: '200px',
           dataIndex: 'sbId',
           customRender: (text, record, index) => {
             return record.sbName
@@ -128,11 +131,13 @@ export default {
         {
           title: '报修人',
           checked: true,
+          width: '200px',
           dataIndex: 'userName'
         },
         {
           title: '报修来源',
           checked: true,
+          width: '200px',
           dataIndex: 'source',
           customRender: (text, record, index) => {
             return this.BaseTool.Object.getField(this.sourceMap, text)
@@ -141,16 +146,17 @@ export default {
         {
           title: '报修时间',
           checked: true,
+          width: '200px',
           dataIndex: 'applyTime'
         },
-        {
+       /* {
           title: '紧急等级',
           checked: true,
           dataIndex: 'level',
           customRender: (text, record, index) => {
             return this.BaseTool.Object.getField(this.levelMap, text)
           }
-        },
+        },*/
         {
           title: '是否停机',
           checked: true,
@@ -163,11 +169,13 @@ export default {
           title: '报修状态',
           checked: true,
           dataIndex: 'status',
+          width: '200px',
           scopedSlots: { customRender: 'status' }
         },
 
         {
           title: '创建日期',
+          width: '200px',
           dataIndex: 'createdTime'
         },
         {

+ 11 - 2
src/views/repair/application-form/RepairForm.vue

@@ -116,6 +116,7 @@ export default {
           title: '序号',
           dataIndex: 'index',
           checked: true,
+          width: '70px',
           customRender: (text, record, index) => {
             return `${(this.$refs.table.localPagination.current - 1) * this.$refs.table.localPagination.pageSize + index + 1}`
           }
@@ -123,11 +124,13 @@ export default {
         {
           title: '设备编号',
           checked: true,
+          width: '200px',
           dataIndex: 'sbNo'
         },
         {
           title: '设备名称',
           checked: true,
+          width: '200px',
           dataIndex: 'sbId',
           customRender: (text, record, index) => {
             return record.sbName
@@ -136,11 +139,13 @@ export default {
         {
           title: '报修人',
           checked: true,
+          width: '200px',
           dataIndex: 'userName'
         },
         {
           title: '报修来源',
           checked: true,
+          width: '200px',
           dataIndex: 'source',
           customRender: (text, record, index) => {
             return this.BaseTool.Object.getField(this.sourceMap, text)
@@ -149,11 +154,13 @@ export default {
         {
           title: '报修时间',
           checked: true,
+          width: '200px',
           dataIndex: 'applyTime'
         },
-        {
+        /*{
           title: '紧急等级',
           checked: true,
+          width: '200px',
           dataIndex: 'level',
           customRender: (text, record, index) => {
             return this.BaseTool.Object.getField(this.levelMap, text)
@@ -166,16 +173,18 @@ export default {
           customRender: (text, record, index) => {
             return this.BaseTool.Object.getField(this.needStopMap, text)
           }
-        },
+        },*/
         {
           title: '报修状态',
           checked: true,
+          width: '200px',
           dataIndex: 'status',
           scopedSlots: { customRender: 'status' }
         },
 
         {
           title: '创建日期',
+          width: '200px',
           dataIndex: 'createdTime'
         },
         {