From 9d7247a4edd2cd2073b4ac7867a3a8692167e84c Mon Sep 17 00:00:00 2001 From: gyj Date: Thu, 16 May 2024 10:27:26 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/departmentMediator.vue | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/src/views/caseManagement/components/departmentMediator.vue b/src/views/caseManagement/components/departmentMediator.vue index c6ea457..015b6e9 100644 --- a/src/views/caseManagement/components/departmentMediator.vue +++ b/src/views/caseManagement/components/departmentMediator.vue @@ -3,10 +3,12 @@
-
+ +
选择调解员
- + @@ -124,6 +126,7 @@ export default { }, /**提交选择结果*/ async submitMediator() { + console.log(this.multipleSelection,this.tableDataNow) if (this.multipleSelection.length == 0 && this.tableDataNow.length > 0) { this.verifyMediatorFn({ id: this.departmentData.id, @@ -138,7 +141,15 @@ export default { mediatorId: this.multipleSelection[0].mediatorId, mediatorName: this.multipleSelection[0].mediatorName, }) - } else if (this.multipleSelection.length > 1 && this.tableDataNow.length == 0) { + }else if(this.multipleSelection.length == 1){ + this.verifyMediatorFn({ + id: this.departmentData.id, + caseFlowId: this.departmentData.caseFlowId, + mediatorId: this.multipleSelection[0].mediatorId, + mediatorName: this.multipleSelection[0].mediatorName, + }) + // && this.tableDataNow.length == 0 + }else if (this.multipleSelection.length > 1) { Message.error('最多选择一名调解员'); return } -- 2.54.0