Browse Source

启用禁用

test
zxc 3 years ago
parent
commit
92f5188d18
  1. 7
      src/views/modules/plugins/point/icpointnucleicmonitoring.vue

7
src/views/modules/plugins/point/icpointnucleicmonitoring.vue

@ -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) {

Loading…
Cancel
Save