From fdc764a73ed2e95674ccde99796bb3deed37203e Mon Sep 17 00:00:00 2001
From: liuxi <357439530@qq.com>
Date: Fri, 21 Feb 2025 11:37:55 +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/case-management/detail/index.vue | 4 ++--
src/pages/mediation-page/components/LayoutContentNew.vue | 8 ++++----
src/pages/mediation-page/components/MediationRoom.vue | 6 +++---
3 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/src/pages/case-management/detail/index.vue b/src/pages/case-management/detail/index.vue
index 9249403..fef859b 100644
--- a/src/pages/case-management/detail/index.vue
+++ b/src/pages/case-management/detail/index.vue
@@ -29,8 +29,8 @@
案件编号:{{ baseInfo.caseNo }}
合同名称:{{baseInfo.fields.find(item => item.fieldKey == 'contactName').fieldValue}}
- 被申请人姓名:{{baseInfo.debtorEntityList.find(item => item.role == 'DEBTOR').name}}
- 被申请人手机号码:{{baseInfo.debtorEntityList.find(item => item.role == 'DEBTOR').phone}}
+ 被申请人姓名:{{baseInfo.debtorEntityList.find(item => item.role == 'DEBTOR' && item.type == '本人').name}}
+ 被申请人手机号码:{{baseInfo.debtorEntityList.find(item => item.role == 'DEBTOR' && item.type == '本人').phone}}
diff --git a/src/pages/mediation-page/components/LayoutContentNew.vue b/src/pages/mediation-page/components/LayoutContentNew.vue
index 6b96e5e..603ed14 100644
--- a/src/pages/mediation-page/components/LayoutContentNew.vue
+++ b/src/pages/mediation-page/components/LayoutContentNew.vue
@@ -71,15 +71,15 @@
被申请人姓名:
-
{{baseInfo.debtorEntityList.find(item => item.role == 'DEBTOR').name}}
+
{{baseInfo.debtorEntityList.find(item => item.role == 'DEBTOR' && item.type == '本人').name}}
被申请人身份证:
-
{{baseInfo.debtorEntityList.find(item => item.role == 'DEBTOR').cardNo}}
+
{{baseInfo.debtorEntityList.find(item => item.role == 'DEBTOR' && item.type == '本人').cardNo}}
被申请人手机号码:
-
{{baseInfo.debtorEntityList.find(item => item.role == 'DEBTOR').phone}}
+
{{baseInfo.debtorEntityList.find(item => item.role == 'DEBTOR' && item.type == '本人').phone}}
@@ -96,7 +96,7 @@
v-model="singlesmsvisible"
title="发送短信"
trigger="click">
-
+
发送短信
diff --git a/src/pages/mediation-page/components/MediationRoom.vue b/src/pages/mediation-page/components/MediationRoom.vue
index e431700..3a26303 100644
--- a/src/pages/mediation-page/components/MediationRoom.vue
+++ b/src/pages/mediation-page/components/MediationRoom.vue
@@ -510,13 +510,13 @@ export default {
await api.getCaseInfoById(this.caseId).then(res => {
if (!res.code) {
this.baseInfo = res
- this.phoneNumber = res.debtorEntityList.find(item => item.role == 'DEBTOR').phone
- this.contactId = res.debtorEntityList.find(item => item.role == 'DEBTOR').id
+ this.phoneNumber = res.debtorEntityList.find(item => item.role == 'DEBTOR' && item.type == '本人').phone
+ this.contactId = res.debtorEntityList.find(item => item.role == 'DEBTOR' && item.type == '本人').id
if(this.baseInfo.debtorEntityList !=undefined)
{
this.baseInfo.debtorEntityList.forEach(item =>{
- if(item.role == 'DEBTOR'){
+ if(item.role == 'DEBTOR' && item.type == '本人'){
this.sendPhones.push(item.phone)
}
})