From e62aec829f82a6fa6d268cc6a9ffb55e81677ab4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E6=9C=8B?= Date: Wed, 27 Mar 2024 16:50:59 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3bug:=E7=99=BD=E5=A4=A9?= =?UTF-8?q?=E5=80=BC=E7=8F=AD=E4=B8=8E=E6=99=9A=E4=B8=8A=E5=80=BC=E7=8F=AD?= =?UTF-8?q?=E4=BA=BA=E5=91=98=E7=9B=B8=E5=90=8C=E6=97=B6=EF=BC=8C=E9=80=89?= =?UTF-8?q?=E4=B8=AD=E6=99=9A=E4=B8=8A=E5=80=BC=E7=8F=AD=E6=97=B6=EF=BC=8C?= =?UTF-8?q?=E7=82=B9=E5=87=BB=E7=99=BD=E5=A4=A9=E5=80=BC=E7=8F=AD=E7=9A=84?= =?UTF-8?q?=E4=BA=BA=E5=91=98=EF=BC=8C=E4=BA=BA=E5=91=98=E4=BB=8E=E6=99=9A?= =?UTF-8?q?=E4=B8=8A=E5=80=BC=E7=8F=AD=E4=B8=AD=E7=A7=BB=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../dutyOfficer/components/ModifyDutyInformationTable.vue | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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 );