联调 在线监测详情

This commit is contained in:
GGJ
2024-07-09 13:20:11 +08:00
parent d3b7219854
commit 609489a4c5
5 changed files with 41 additions and 34 deletions

View File

@@ -207,10 +207,13 @@ const tableStore = new TableStore({
icon: 'el-icon-Open',
render: 'basicButton',
showDisabled: row => {
return row.createBy != adminInfo.$state.id || !(row.status == 0 || row.status == null)
return (
row.createBy != adminInfo.$state.id ||
!(row.status == 0 || row.status == 2 || row.status == null)
)
},
disabled: row => {
return !(row.status == 0 || row.status == null)
return !(row.status == 0 || row.status == 2 || row.status == null)
},
click: row => {
update.value = row.status == null ? false : true