diff --git a/src/pages/mediation-page/components/LayoutContentNew.vue b/src/pages/mediation-page/components/LayoutContentNew.vue index 111461f..07726eb 100644 --- a/src/pages/mediation-page/components/LayoutContentNew.vue +++ b/src/pages/mediation-page/components/LayoutContentNew.vue @@ -186,7 +186,7 @@
- +
@@ -448,6 +448,9 @@ export default { // } }, methods: { + updateCaseInfoById(){ + this.$emit('updateCaseInfoById'); + }, handlerMouseenter(val) { this.leftActive = val if (val !== 1) this.singlesmsvisible = false diff --git a/src/pages/mediation-page/components/MediationRoom.vue b/src/pages/mediation-page/components/MediationRoom.vue index 4e20f74..8ad164f 100644 --- a/src/pages/mediation-page/components/MediationRoom.vue +++ b/src/pages/mediation-page/components/MediationRoom.vue @@ -113,7 +113,7 @@ - + @@ -487,6 +487,7 @@ export default { // 获取详情 async getCaseInfoById() { // this.$loading(true) + this.sendPhones = [] await api.getCaseInfoById(this.caseId).then(res => { if (!res.code) { this.baseInfo = res diff --git a/src/pages/mediation-page/components/RepaymentCertificate.vue b/src/pages/mediation-page/components/RepaymentCertificate.vue index 4cda3a1..eb203a3 100644 --- a/src/pages/mediation-page/components/RepaymentCertificate.vue +++ b/src/pages/mediation-page/components/RepaymentCertificate.vue @@ -75,11 +75,12 @@ 备注说明:{{ proofitem.remark }}
- + trigger="click" + v-model="proofitem.visible"> - 保存 + 保存 + 取消  效验 @@ -235,12 +237,7 @@ import api from "@/services/caseManagement"; getProofList(){ api.gettraceProof_list({caseId:this.eventDialog.caseId}).then(async res => { if(!res.code){ - // this.ProofList = res - // this.ProofList.forEach(item =>{ - // item.mediaPath = [item.proofUrl] - // }) await this.getpreviewfull(res) - console.log(this.ProofList,'this.ProofList') } }) }, @@ -250,6 +247,7 @@ import api from "@/services/caseManagement"; try { item.previewUrl = await this.$fetchApi.viewFullFile({path: item.proofUrl}) item.mediaPath = [item.proofUrl] + item.visible = false this.ProofList.push(item); } catch (error) { console.error(`调用接口失败,错误:`, error); @@ -270,14 +268,14 @@ import api from "@/services/caseManagement"; this.fileList = [{url: proofitem.proofUrl,fileName:'上传'}] }, // 效验 - handleSubmitEffect(proofitem,formName){ + handleSubmitEffect(proofitem,formName,indexnum){ this.$refs[formName][0].validate((valid) => { if (valid){ proofitem.createAt =undefined proofitem.createBy =undefined proofitem.delFlag =undefined proofitem.planId =undefined - proofitem.status =undefined + // proofitem.status =undefined proofitem.updateAt =undefined proofitem.updateBy =undefined proofitem.uploaderName =undefined @@ -285,6 +283,10 @@ import api from "@/services/caseManagement"; proofitem.proofUrl =undefined api.gettraceProof_valid(proofitem).then(res => { if(!res.code){ + + this.ProofList.forEach((item,index) =>{ + if(index == indexnum){item.visible = false} + }) this.getProofList() } }) diff --git a/src/pages/mediation-page/components/contactPerson.vue b/src/pages/mediation-page/components/contactPerson.vue index 2df87a7..d51a785 100644 --- a/src/pages/mediation-page/components/contactPerson.vue +++ b/src/pages/mediation-page/components/contactPerson.vue @@ -50,7 +50,7 @@
- + @@ -83,6 +83,9 @@ export default { this.handleTab('被申请人') }, methods: { + updateCaseInfoById(){ + this.$emit('updateCaseInfoById'); + }, handleTab(item) { this.personnelTypeActive = item; this.getList(); diff --git a/src/pages/mediation-page/components/contactPersonDialog.vue b/src/pages/mediation-page/components/contactPersonDialog.vue index fcdf07b..f64d09e 100644 --- a/src/pages/mediation-page/components/contactPersonDialog.vue +++ b/src/pages/mediation-page/components/contactPersonDialog.vue @@ -255,6 +255,9 @@ export default { this.$parent.getList(); this.handleClose(); this.$message.success("操作成功"); + this.$emit('updateCaseInfoById'); + this.$parent.getCaseInfoById(); + }); } });