|
|
@ -178,9 +178,7 @@ |
|
|
|
type="text" |
|
|
|
size="small" |
|
|
|
class="div-table-button--detail" |
|
|
|
@click="enableOrDisabled(scope.row.id)" |
|
|
|
>{{ scope.row.enableFlag === 'enable' ? '禁用' : '启用' }}</el-button |
|
|
|
> |
|
|
|
@click="enableOrDisabled(scope.row.id)">{{ (scope.row.enableFlag === 'enable' && '禁用') || '启用' }}</el-button> |
|
|
|
<el-button |
|
|
|
type="text" |
|
|
|
size="small" |
|
|
@ -397,10 +395,9 @@ export default { |
|
|
|
this.$http |
|
|
|
.post(`/epmetuser/appPoint/enableOrDisabled/` + id) |
|
|
|
.then(({ data: res }) => { |
|
|
|
|
|
|
|
this.loadTable(); |
|
|
|
}) |
|
|
|
.catch(() => {}); |
|
|
|
this.loadTable(); |
|
|
|
}, |
|
|
|
// 新增 / 修改 |
|
|
|
addOrUpdateHandle(id, title) { |
|
|
|