|
@@ -52,21 +52,13 @@
|
|
|
<div class="part-box-action">
|
|
|
<div>
|
|
|
<el-button
|
|
|
- type="success"
|
|
|
+ type="danger"
|
|
|
plain
|
|
|
:disabled="noBatchSelected"
|
|
|
icon="icon icon-play"
|
|
|
- @click="enableByIds"
|
|
|
- >启用
|
|
|
+ @click="deleteByIds"
|
|
|
+ >删除
|
|
|
</el-button>
|
|
|
- <el-button
|
|
|
- type="danger"
|
|
|
- plain
|
|
|
- :disabled="noBatchSelected"
|
|
|
- icon="icon icon-delete"
|
|
|
- @click="disableByIds"
|
|
|
- >禁用</el-button
|
|
|
- >
|
|
|
<el-button
|
|
|
type="primary"
|
|
|
plain
|
|
@@ -152,22 +144,12 @@
|
|
|
编辑
|
|
|
</el-button>
|
|
|
<el-button
|
|
|
- v-if="!scope.row.enable"
|
|
|
- size="mini"
|
|
|
- plain
|
|
|
- type="primary"
|
|
|
- @click="enableById(scope.row)"
|
|
|
- >
|
|
|
- 启用
|
|
|
- </el-button>
|
|
|
- <el-button
|
|
|
- v-if="scope.row.enable"
|
|
|
size="mini"
|
|
|
plain
|
|
|
type="danger"
|
|
|
- @click="disableById(scope.row)"
|
|
|
+ @click="deleteById(scope.row)"
|
|
|
>
|
|
|
- 禁用
|
|
|
+ 删除
|
|
|
</el-button>
|
|
|
</div>
|
|
|
</el-table-column>
|