|
@@ -28,7 +28,7 @@
|
|
|
<template v-slot="scope">
|
|
|
<el-button icon="el-icon-edit" @click="dialogFormVisible = true">修改</el-button>
|
|
|
<el-button v-if="scope.row.state == 1" type="danger" icon="el-icon-delete" @click="open1(scope.$index)">注销</el-button>
|
|
|
- <el-button v-if="scope.row.state == 0" type="danger" icon="el-icon-delete" @click="open2(scope.$index)">恢复</el-button>
|
|
|
+ <el-button v-if="scope.row.state == 0" type="success" icon="el-icon-setting" @click="open2(scope.$index)">恢复</el-button>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table>
|