Parcourir la source

巡点检-计划去掉“计划性质”

lucw il y a 6 mois
Parent
commit
a1957d81c8
1 fichiers modifiés avec 12 ajouts et 14 suppressions
  1. 12 14
      src/views/maintenance/patrol/plan/index.vue

+ 12 - 14
src/views/maintenance/patrol/plan/index.vue

@@ -43,8 +43,7 @@
           <el-link
             type="primary"
             :underline="false"
-            v-if="
-              row.cycleType == 0 || row.planStatus == 4 || row.planStatus == 0
+            v-if="row.planStatus == 4 || row.planStatus == 0
             "
             icon="el-icon-edit"
             @click="openAdd('编辑巡点检计划配置', row)"
@@ -52,8 +51,7 @@
             编辑
           </el-link>
           <el-link
-            v-if="
-              row.cycleType == 0 || row.planStatus == 4 || row.planStatus == 0
+            v-if="row.planStatus == 4 || row.planStatus == 0
             "
             type="primary"
             :underline="false"
@@ -153,16 +151,16 @@
             showOverflowTooltip: true,
             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',
             label: '状态',