diff --git a/jero-web/src/views/projectManagement/components/listOfRegulations.vue b/jero-web/src/views/projectManagement/components/listOfRegulations.vue index 12c43c681..930e06923 100644 --- a/jero-web/src/views/projectManagement/components/listOfRegulations.vue +++ b/jero-web/src/views/projectManagement/components/listOfRegulations.vue @@ -1075,7 +1075,10 @@ } else { 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 } row.roleCodeIndex = roleCodeIndex @@ -1149,7 +1152,9 @@ } else { 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 } let selectedRowKeys = JSON.parse(JSON.stringify(this.selectedRowKeys)) @@ -1370,7 +1375,9 @@ this.isDisplay = true } else { 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 } } @@ -1451,7 +1458,9 @@ } else { 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 } item.roleCodeIndex = roleCodeIndex