viewer权限显示补充

This commit is contained in:
CD
2022-12-30 10:13:20 +08:00
parent c9891afed0
commit 93b12b94ee
@@ -1075,7 +1075,10 @@
} else { } else {
roleCodeIndex = 4 roleCodeIndex = 4
} }
if (this.formInlineRoleSwitching.roleSwitchingCode == '11' || this.formInlineRoleSwitching.roleSwitchingCode == '12') { console.log(this.formInlineRoleSwitching.roleSwitchingCode);
if (this.formInlineRoleSwitching.roleSwitchingCode == '11' ||
this.formInlineRoleSwitching.roleSwitchingCode == '12' ||
this.formInlineRoleSwitching.roleSwitchingCode == '13') {
roleCodeIndex = 0 roleCodeIndex = 0
} }
row.roleCodeIndex = roleCodeIndex row.roleCodeIndex = roleCodeIndex
@@ -1149,7 +1152,9 @@
} else { } else {
roleCodeIndex = 4 roleCodeIndex = 4
} }
if (this.formInlineRoleSwitching.roleSwitchingCode == '11' || this.formInlineRoleSwitching.roleSwitchingCode == '12') { if (this.formInlineRoleSwitching.roleSwitchingCode == '11' ||
this.formInlineRoleSwitching.roleSwitchingCode == '12'||
this.formInlineRoleSwitching.roleSwitchingCode == '13') {
roleCodeIndex = 0 roleCodeIndex = 0
} }
let selectedRowKeys = JSON.parse(JSON.stringify(this.selectedRowKeys)) let selectedRowKeys = JSON.parse(JSON.stringify(this.selectedRowKeys))
@@ -1370,7 +1375,9 @@
this.isDisplay = true this.isDisplay = true
} else { } else {
this.isDisplay = false this.isDisplay = false
if (this.formInlineRoleSwitching.roleSwitchingCode == '11' || this.formInlineRoleSwitching.roleSwitchingCode == '12') { if (this.formInlineRoleSwitching.roleSwitchingCode == '11' ||
this.formInlineRoleSwitching.roleSwitchingCode == '12' ||
this.formInlineRoleSwitching.roleSwitchingCode == '13') {
this.isRoleSwitching = false this.isRoleSwitching = false
} }
} }
@@ -1451,7 +1458,9 @@
} else { } else {
roleCodeIndex = 4 roleCodeIndex = 4
} }
if (this.formInlineRoleSwitching.roleSwitchingCode == '11' || this.formInlineRoleSwitching.roleSwitchingCode == '12') { if (this.formInlineRoleSwitching.roleSwitchingCode == '11' ||
this.formInlineRoleSwitching.roleSwitchingCode == '12' ||
this.formInlineRoleSwitching.roleSwitchingCode == '13') {
roleCodeIndex = 0 roleCodeIndex = 0
} }
item.roleCodeIndex = roleCodeIndex item.roleCodeIndex = roleCodeIndex