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