未接来电案件列表

This commit is contained in:
tdg930622 2025-01-21 14:26:20 +08:00
parent 32b1972716
commit 32c02156ad
3 changed files with 71 additions and 10 deletions

View File

@ -241,7 +241,9 @@
<!-- 视频房间 -->
<VideoRoom v-if="VideoCallDialog" :eventDialog.sync="VideoCallDialog" />
<!-- 未接电话案件弹窗 -->
<missedCallCaseDialog v-if="missedCallCaseVisible" :eventDialog.sync="missedCallCaseVisible" />
</div>
</template>
@ -262,6 +264,8 @@ export default {
missedCallPopover: () => import('./missedCallPopover'),//
videoReminderPopover: () => import('./videoReminderPopover'),//
missedCallCaseDialog: () => import('./missedCallCaseDialog'),//
},
data() {
return {
@ -379,6 +383,7 @@ export default {
missedCallData: {
list: []
},
missedCallCaseVisible: null,
//
videoReminderVisible: false,
videoReminderData: {}

View File

@ -0,0 +1,44 @@
<template>
<div>
</div>
</template>
<script>
import voiceCall from "@/services/voiceCall";
export default {
name: "missedCallCaseDialog",
props: {
eventDialog: {
type: Object,
default: () => {
return {}
},
},
},
data() {
return{
caseList: []
}
},
mounted() {
// this.getCaseList();
},
methods: {
handleClose() {
this.$emit('update:eventDialog', null)
},
getCaseList() {
voiceCall.caseMatchList({phone: this.eventDialog.phone}).then(res => {
if (!res.code) {
this.caseList = res;
}
})
},
}
}
</script>
<style scoped>
</style>

View File

@ -1,14 +1,13 @@
<template>
<div class="dialog-missed-call pl-16 pr-16 pt-16">
<div class="flex-row justify-content-between align-items-center pb-16 border-b-solid-lighter-1">
<div class="flex-row justify-content-between align-items-center pb-16 border-b-solid-lighter-1"
v-for="(item, index) in missedCallData.list" :key="index">
<div class="width70">
<div class="color-000 f-weight600 f16">
张三 134****9400
</div>
<!-- <div class="f12">预约时间:{{ this.$util.formatDate(videoReminderData.bookingTime, 'YYYY-MM-DD HH:mm:ss') }}</div>-->
<div class="f12">来电时间2024-11-29 21:15:05</div>
<div class="color-000 f-weight600 f16">{{item.contact}}</div>
<div class="f12">来电时间:{{ this.$util.formatDate(item.createAt, 'YYYY-MM-DD HH:mm:ss') }}</div>
<!-- <div class="f12">来电时间2024-11-29 21:15:05</div>-->
</div>
<el-button size="small" type="primary">查看</el-button>
<el-button size="small" type="primary" @click="handleMissedCallCase(item)">查看</el-button>
</div>
</div>
</template>
@ -27,14 +26,27 @@ export default {
},
data() {
return{
caseList: []
caseList: [],
}
},
mounted() {
},
methods: {
handleMissedCallCase(item) {
if (!this.$parent.missedCallCaseVisible){
this.$parent.missedCallCaseVisible = {
phone: item.phone
}
}
},
getCaseList(item) {
voiceCall.caseMatchList({phone: item.phone}).then(res => {
if (!res.code) {
this.caseList = res;
}
})
},
}
}
</script>