Merge branch 'main' of http://139.155.124.81:8088/cloud-mediate/mediate-manage-web
This commit is contained in:
commit
7eb3f719b4
@ -186,7 +186,7 @@
|
||||
|
||||
<!-- 联系人信息 -->
|
||||
<div v-if="leftActive == 2" class="case-contact-person">
|
||||
<contactPerson :caseId="caseId" @startOutboundCall="startOutboundCall" />
|
||||
<contactPerson :caseId="caseId" @startOutboundCall="startOutboundCall" @updateCaseInfoById="updateCaseInfoById" />
|
||||
|
||||
</div>
|
||||
|
||||
@ -448,6 +448,9 @@ export default {
|
||||
// }
|
||||
},
|
||||
methods: {
|
||||
updateCaseInfoById(){
|
||||
this.$emit('updateCaseInfoById');
|
||||
},
|
||||
handlerMouseenter(val) {
|
||||
this.leftActive = val
|
||||
if (val !== 1) this.singlesmsvisible = false
|
||||
|
||||
@ -113,7 +113,7 @@
|
||||
</div>
|
||||
|
||||
<!-- 中间数据 -->
|
||||
<LayoutContentNew ref="layoutContent" :caseId="caseId" @startOutboundCall="startOutboundCall" />
|
||||
<LayoutContentNew ref="layoutContent" :caseId="caseId" @startOutboundCall="startOutboundCall" @updateCaseInfoById="getCaseInfoById" />
|
||||
|
||||
</div>
|
||||
|
||||
@ -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
|
||||
|
||||
@ -75,11 +75,12 @@
|
||||
<span class="color-86909C mt-8 pt12-pb10">备注说明:<a>{{ proofitem.remark }}</a></span>
|
||||
</div>
|
||||
<div class="mt-8">
|
||||
<el-popover v-if="proofitem.status.code == 1"
|
||||
<el-popover v-if="proofitem.status.code == 1"
|
||||
placement="left"
|
||||
width="400"
|
||||
title="凭证效验"
|
||||
trigger="click">
|
||||
trigger="click"
|
||||
v-model="proofitem.visible">
|
||||
<el-form class="mt-8" :ref="`ruleFormEffect${index}`"
|
||||
:model="proofitem"
|
||||
:rules="rulesClientRepayment"
|
||||
@ -110,7 +111,8 @@
|
||||
</el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="">
|
||||
<el-button type="primary" @click="handleSubmitEffect(proofitem,('ruleFormEffect'+index))" size="small">保存</el-button>
|
||||
<el-button type="primary" @click="handleSubmitEffect(proofitem,('ruleFormEffect'+index),index)" size="small">保存</el-button>
|
||||
<el-button type="primary" @click="proofitem.visible = false" size="small">取消</el-button>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
<span slot="reference" class="color-86909C cursor-pointer"><i class="el-icon-medal"></i> 效验</span>
|
||||
@ -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()
|
||||
}
|
||||
})
|
||||
|
||||
@ -50,7 +50,7 @@
|
||||
</div>
|
||||
</el-card>
|
||||
|
||||
<contactPersonDialog v-if="contactAddObj" :eventDialog.sync="contactAddObj" />
|
||||
<contactPersonDialog v-if="contactAddObj" :eventDialog.sync="contactAddObj" @updateCaseInfoById="updateCaseInfoById"/>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@ -83,6 +83,9 @@ export default {
|
||||
this.handleTab('被申请人')
|
||||
},
|
||||
methods: {
|
||||
updateCaseInfoById(){
|
||||
this.$emit('updateCaseInfoById');
|
||||
},
|
||||
handleTab(item) {
|
||||
this.personnelTypeActive = item;
|
||||
this.getList();
|
||||
|
||||
@ -255,6 +255,9 @@ export default {
|
||||
this.$parent.getList();
|
||||
this.handleClose();
|
||||
this.$message.success("操作成功");
|
||||
this.$emit('updateCaseInfoById');
|
||||
this.$parent.getCaseInfoById();
|
||||
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user