diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/businessDataManagement/views/dutyOfficer/components/ModifyDutyInformationTable.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/businessDataManagement/views/dutyOfficer/components/ModifyDutyInformationTable.vue index 1cee7337..85965cdb 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/businessDataManagement/views/dutyOfficer/components/ModifyDutyInformationTable.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/businessDataManagement/views/dutyOfficer/components/ModifyDutyInformationTable.vue @@ -27,7 +27,7 @@

{{ item.name }}

@@ -41,7 +41,7 @@

{{ item.name }}

@@ -178,7 +178,9 @@ export default { this[this.active].push(item); }, - removeDutyPerson(item) { + removeDutyPerson(item, activeCheck) { + if(activeCheck != this.active) return; + const index = this[this.active].findIndex( (_item) => _item.id === item.id );