zhangjie 2 anni fa
parent
commit
fb7527bc95
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  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();
     },