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 }