hfxc226 3 years ago
parent
commit
45d58a7678

+ 2 - 2
src/views/repair/application-form/RepairApplicationForm.vue

@@ -301,8 +301,8 @@ export default {
           ...this.queryParam,
           type: 1,
           dataScope: {
-            sortBy: 'desc, asc',
-            sortName: 'apply_time, status'
+            sortBy: 'asc, desc',
+            sortName: 'status, apply_time'
           }
         }
         return getRepairApplicationFormPage(Object.assign(parameter, this.queryParam))

+ 2 - 2
src/views/repair/application-form/RepairCheckForm.vue

@@ -278,8 +278,8 @@ export default {
           ...parameter,
           ...this.queryParam,
           dataScope: {
-            sortBy: 'desc, asc',
-            sortName: 'apply_time, status'
+            sortBy: 'asc, desc',
+            sortName: 'status, apply_time'
           }
         }
         return getRepairApplicationFormPage(Object.assign(parameter, this.queryParam))

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

@@ -209,15 +209,6 @@ export default {
           width: '120px',
           dataIndex: 'repairUserName'
         },
-        /*{
-          title: '报修来源',
-          checked: true,
-          width: '100px',
-          dataIndex: 'source',
-          customRender: (text, record, index) => {
-            return this.BaseTool.Object.getField(this.sourceMap, text)
-          }
-        },*/
         {
           title: '工单类型',
           checked: true,
@@ -312,8 +303,8 @@ export default {
           ...this.queryParam,
           type: 1,
           dataScope: {
-            sortBy: 'desc, asc',
-            sortName: 'apply_time, status'
+            sortBy: 'asc, desc',
+            sortName: 'status, apply_time'
           }
         }
         return getRepairApplicationFormPage(Object.assign(parameter, this.queryParam))