1 year ago
parent
commit
0748a6f482
1 changed files with 5 additions and 4 deletions
  1. 5 4
      src/views/preparation/preparation/Preparation.vue

+ 5 - 4
src/views/preparation/preparation/Preparation.vue

@@ -157,10 +157,11 @@ export default {
         {
           title: '报修状态',
           checked: true,
-          width: '100',
-          fixed: 'right',
           dataIndex: 'status',
-          scopedSlots: { customRender: 'status' }
+          width: 150,
+          customRender: (text, record, index) => {
+            return this.BaseTool.Object.getField(this.statusMap, text)
+          }
         },
         {
           title: '操作',
@@ -286,7 +287,7 @@ export default {
         ...this.queryParam
       }
       exportPreparation(parameter).then(file => {
-        this.BaseTool.Util.downLoadExportExcel(file)
+        this.BaseTool.UPLOAD.downLoadExportExcel(file)
       })
     },
     handleEnter () {