zhangjie 2 лет назад
Родитель
Сommit
fb7527bc95
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      src/modules/client/views/TaskManage.vue

+ 2 - 0
src/modules/client/views/TaskManage.vue

@@ -97,6 +97,7 @@
         >
           <template slot-scope="scope">
             <el-button
+              v-if="scope.row.enable"
               class="btn-primary"
               type="text"
               @click="toScan(scope.row)"
@@ -216,6 +217,7 @@ export default {
       }
     },
     toScan(row) {
+      if (!row.enable) return;
       this.curRow = row;
       this.$refs.ScanTaskProcessDialog.open();
     },