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/case-package/index.vue b/src/pages/case-package/index.vue index 74aeec6..6066898 100644 --- a/src/pages/case-package/index.vue +++ b/src/pages/case-package/index.vue @@ -126,10 +126,10 @@ @@ -173,6 +173,7 @@ import api from "@/services/casePackageManagement"; }, data() { return { + CreateuserId:'', activeName:'all', showSearch: true, queryDate: '', @@ -205,7 +206,9 @@ import api from "@/services/casePackageManagement"; } }, created() { - + if(JSON.parse(sessionStorage.getItem('userInfo'))){ + this.CreateuserId = JSON.parse(sessionStorage.getItem('userInfo')).id + } this.getOrgList() this.getCaseInfoList(1) }, 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) } }) diff --git a/src/pages/mediation-page/components/cassWrit.vue b/src/pages/mediation-page/components/cassWrit.vue index 98e448a..4cd77c7 100644 --- a/src/pages/mediation-page/components/cassWrit.vue +++ b/src/pages/mediation-page/components/cassWrit.vue @@ -79,9 +79,9 @@ - 生成文书 - 重新生成文书 - 删除 + 生成文书 + 重新生成文书 + 删除 预览 下载模板 下载文件