完成 干扰源用户台账、敏感及重要用户台账 修改功能

This commit is contained in:
GGJ
2024-07-02 14:10:21 +08:00
parent a2739b8328
commit de5377f1a1
2 changed files with 6 additions and 6 deletions

View File

@@ -125,9 +125,9 @@ const tableStore = new TableStore({
icon: 'el-icon-Open',
render: 'basicButton',
showDisabled: row => {
return row.createBy != adminInfo.$state.id || !(row.dataType == 1)
return row.createBy != adminInfo.$state.id || !(row.dataType == 0 || row.dataType == 1)
},
click: row => {
addForms.value.filterUsers([6])
addForms.value.open({

View File

@@ -144,11 +144,11 @@ const tableStore = new TableStore({
icon: 'el-icon-Open',
render: 'basicButton',
showDisabled: row => {
return row.createBy != adminInfo.$state.id || !(row.dataType == 1)
},
disabled: row => {
return !(row.status == 0)
return row.createBy != adminInfo.$state.id || !(row.dataType == 0 || row.dataType == 1)
},
// disabled: row => {
// return !(row.status == 0)
// },
click: row => {
addForms.value.filterUsers([5, 4, 3, 2, 1, 0])
addForms.value.open({