zhangjie 2 ani în urmă
părinte
comite
fb7527bc95
1 a modificat fișierele cu 2 adăugiri și 0 ștergeri
  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();
     },