lucw 6 месяцев назад
Родитель
Сommit
029b208d0a
2 измененных файлов с 13 добавлено и 23 удалено
  1. 3 13
      src/views/maintenance/equipment/plan/index.vue
  2. 10 10
      src/views/maintenance/patrol/plan/index.vue

+ 3 - 13
src/views/maintenance/equipment/plan/index.vue

@@ -149,24 +149,14 @@
             showOverflowTooltip: true,
             showOverflowTooltip: true,
             minWidth: 110
             minWidth: 110
           },
           },
-          // {
-          //   prop: 'cycleType',
-          //   label: '计划性质',
-          //   align: 'center',
-          //   showOverflowTooltip: true,
-          //   minWidth: 110,
-          //   formatter(item) {
-          //     return { 1: '自动', 0: '手动' }[item.cycleType];
-          //   }
-          // },
           {
           {
-            prop: 'autoOrder',
-            label: '自动派单',
+            prop: 'cycleType',
+            label: '计划性质',
             align: 'center',
             align: 'center',
             showOverflowTooltip: true,
             showOverflowTooltip: true,
             minWidth: 110,
             minWidth: 110,
             formatter(item) {
             formatter(item) {
-              return { 1: '自动', 0: '手动' }[item.autoOrder];
+              return { 1: '自动', 0: '手动' }[item.cycleType];
             }
             }
           },
           },
           {
           {

+ 10 - 10
src/views/maintenance/patrol/plan/index.vue

@@ -151,16 +151,16 @@
             showOverflowTooltip: true,
             showOverflowTooltip: true,
             minWidth: 110
             minWidth: 110
           },
           },
-          // {
-          //   prop: 'cycleType',
-          //   label: '计划性质',
-          //   align: 'center',
-          //   showOverflowTooltip: true,
-          //   minWidth: 110,
-          //   formatter(item) {
-          //     return { 1: '自动', 0: '手动' }[item.cycleType];
-          //   }
-          // },
+          {
+            prop: 'cycleType',
+            label: '计划性质',
+            align: 'center',
+            showOverflowTooltip: true,
+            minWidth: 110,
+            formatter(item) {
+              return { 1: '自动', 0: '手动' }[item.cycleType];
+            }
+          },
           {
           {
             prop: 'planStatus',
             prop: 'planStatus',
             label: '状态',
             label: '状态',