From eb9d5d4d40b887d1cd57432ff67fb9630fc2fe1d Mon Sep 17 00:00:00 2001 From: liuxi <357439530@qq.com> Date: Mon, 24 Feb 2025 09:52:01 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/mediation-management/index.vue | 27 ++++++++++++++++++++++-- src/pages/payment-receipt/index.vue | 4 ++-- 2 files changed, 27 insertions(+), 4 deletions(-) diff --git a/src/pages/mediation-management/index.vue b/src/pages/mediation-management/index.vue index 9790a1c..b2b9e41 100644 --- a/src/pages/mediation-management/index.vue +++ b/src/pages/mediation-management/index.vue @@ -509,7 +509,30 @@ import { values } from "lodash"; this.$message.warning(`请至少选中一个调解案件!`) return } - api.callingBatchcall({caseIdList: this.selectionData}).then(res => { + + let chooseData = this.enabledDataList.filter(el=>(el.caseStatus == 0 || el.caseStatus == 1)) + + let caseCllList = [] + let mainCaseId = null + chooseData.forEach(item =>{ + mainCaseId = null + if(item.jointDebt == 1){ + // 有共债 mainCaseId + item.caseId = item.mainCaseId + mainCaseId = item.mainCaseId + if(!caseCllList.find(item=>{return item.caseId == mainCaseId})) + { + caseCllList.push(item) + } + } + else + { + caseCllList.push(item) + } + }) + + let caseCllIds = caseCllList.map(item =>{ return item.id}) + api.callingBatchcall({caseIdList: caseCllIds}).then(res => { this.$message.success("智能外呼成功"); // this.getCaseInfoList(1) this.jumpUrl(`/mediation-page?sourcePage=sourcePage&caseId=${this.selectionData[0]}&queue=1`) @@ -662,7 +685,7 @@ import { values } from "lodash"; // 选择状态重置 this.selectionData = [] this.checkedCheckAll = false - + this.queryParam.current = val this.queryParam.dispatch = true //默认已分案 api.getCaseInfoList(this.queryParam).then(res => { diff --git a/src/pages/payment-receipt/index.vue b/src/pages/payment-receipt/index.vue index 0bf90aa..f18dd80 100644 --- a/src/pages/payment-receipt/index.vue +++ b/src/pages/payment-receipt/index.vue @@ -32,7 +32,7 @@
金融机构名称 - @@ -199,7 +199,7 @@ import smapi from "@/services/systemManage"; activeUsage: '', queryParam: { pkgId:'', - financiaOrgName:'',//金融机构名称 + financialOrgName:'',//金融机构名称 caseNo: '',//案件编号 respondent:'',//债券人姓名 respondentPhone:'',//债务人手机号