修改bug

This commit is contained in:
liuxi 2025-02-21 18:17:19 +08:00
parent caee002912
commit bf74edb547
3 changed files with 28 additions and 5 deletions

View File

@ -32,7 +32,7 @@
<div v-if="!queue" class="wrap-btn-left-dial-f2f3f5 f14 flex-row justify-content-between ml-16">
<el-button v-if="!calling" type="success" icon="el-icon-phone-outline" circle @click="startCall()"></el-button>
<div v-else class="flex-row justify-content-between align-items-center">
<div class="mr-8 color-fff wrap-btn-left-dial-f56c6c flex-row justify-content-between align-items-center" @click="hungUp(0)">
<div class="mr-8 color-fff wrap-btn-left-dial-f56c6c flex-row justify-content-between align-items-center cursor-pointer" @click="hungUp(0)">
<i class="el-icon-phone-outline f20 mr-4"></i>
<span class="f12 ">挂断电话</span>
</div>
@ -129,7 +129,7 @@
:disabled="missedCallData.list.length <= 0"
title="未接来电"
trigger="click">
<missedCallPopover :missedCallData="missedCallData" :missedCallVisible.sync="missedCallVisible"/>
<missedCallPopover :missedCallData="missedCallData" :missedCallVisible.sync="missedCallVisible" @handleSubmit="missedCallList"/>
<span slot="reference" class="cursor-pointer position-r">
<i class="f24 el-icon-phone color-52ABF2"></i>
<div class="ell-warn-dot" v-if="missedCallData.list.length > 0">{{missedCallData.list.length}}</div>

View File

@ -1,7 +1,7 @@
<template>
<el-dialog title="案件列表" :visible="true" width="500px" append-to-body :close-on-click-modal="false" @close="handleClose" >
<div class="dialog-content pl-16 pt-8 pr-16 pb-8">
<div class="p-8 mt-8 bottom-case-list border-radius-8" v-for="(item, index) in tableData" :key="index">
<div v-show="tableData.length > 0" class="p-8 mt-8 bottom-case-list border-radius-8" v-for="(item, index) in tableData" :key="index">
<div class="flex-row justify-content-between align-items-center bor-bottom-E5E6EB pr-16">
<div v-for="(itemS,indexS) in item.debtorEntityList.filter(itemX => itemX.role == 'DEBTOR' && itemX.type == '本人')" :key="indexS">
{{indexS === 0 ?'':','}}{{itemS.name}}
@ -23,8 +23,12 @@
</div>
</div>
</div>
<div v-show="tableData.length == 0" class="text-center mt-8 f18 p-16">
该来电未匹配到相关案件
</div>
</div>
<span slot="footer" class="dialog-footer">
<el-button @click="handleMarkers">标记为不明来电</el-button>
<el-button @click="handleClose">取消</el-button>
</span>
</el-dialog>
@ -61,6 +65,22 @@ export default {
}
})
},
//
async handleMarkers() {
try {
let jsonData = {
traceId: this.eventDialog.traceId,
phone: this.eventDialog.phone,
}
voiceCall.markUnknow(jsonData).then(res => {
this.$message.success('标记成功!')
this.handleClose()
this.$emit('handleSubmit', null)
})
} catch (error) {
console.error(`${error}`)
}
},
// -
handleRelevance(item) {
this.$router.push(`/mediation-page?sourcePage=sourcePage&caseId=${item.id}`);

View File

@ -10,7 +10,7 @@
</div>
<!-- 未接电话案件弹窗 -->
<missedCallCaseDialog v-if="missedCallCaseVisible" :eventDialog.sync="missedCallCaseVisible" />
<missedCallCaseDialog v-if="missedCallCaseVisible" :eventDialog.sync="missedCallCaseVisible" @handleSubmit="UpdatehandleSubmit" />
</div>
</template>
@ -44,7 +44,7 @@ export default {
return time ? moment(time).format(type) : ''
},
handleMissedCallCase(item) {
this.missedCallCaseVisible = {phone: item.phone}
this.missedCallCaseVisible = {phone: item.phone,id: item.id,traceId:item.traceId}
},
getCaseList(item) {
voiceCall.caseMatchList({phone: item.phone}).then(res => {
@ -53,6 +53,9 @@ export default {
}
})
},
UpdatehandleSubmit(){
this.$emit('handleSubmit', null)
}
}
}
</script>