Merge branch 'main' into 'stg'

Main

See merge request cloud-mediate/mediate-manage-web!32
This commit is contained in:
刘翕 2025-02-18 09:59:28 +00:00
commit ee71e1bb69
4 changed files with 25 additions and 6 deletions

View File

@ -377,7 +377,8 @@ export default {
},
//
videoReminderVisible: false,
videoReminderData: {}
videoReminderData: {},
videoCallInterval: null,
};
},
computed: {
@ -453,6 +454,11 @@ export default {
} else {
await this.callingCaseList() //
}
this.videoCallInterval = setInterval(() => {
console.log('进入videoCall---------setInterval')
this.videoCall()
}, 30000);
const that = this
window.tccc.on('sessionEnded', (options) => {
console.log('监听挂断事件', options)
@ -460,13 +466,14 @@ export default {
that.resetTimer()
that.nextCall()
})
},
beforeDestroy() {
if(this.timerInterval) { //
clearInterval(this.timerInterval); //
}
if (this.videoCallInterval) {
clearInterval(this.videoCallInterval)
}
},
methods: {
debtorEntityCardNo(datalist, len) {
@ -484,6 +491,15 @@ export default {
return {cardNo: datacardno.substring(0, len), phone: dataphone.substring(0, len)};
},
//
videoCall() {
api.videoCall({}).then(res => {
console.log('视频提前提醒:',res)
if (!res.code) {
this.videoReminderData = res ? JSON.parse(res) : {}
}
})
},
//
async getCaseInfoById() {
// this.$loading(true)

View File

@ -140,7 +140,7 @@
<span>文书送达追踪</span><span><a>{{traceData.documentDeliveryTrackingCount.failed ? traceData.documentDeliveryTrackingCount.failed :'0'}}</a>/<a>{{traceData.documentDeliveryTrackingCount.total}}</a></span>
</div>
<div class="flex-row justify-content-between cursor-pointer" @click="eventTraDialog={traceType:7,title:'还款凭证登记'}">
<span>还款凭证登记</span><span><a class="color-48b928">{{traceData.repaymentRecordTrackingCount.failed}}</a>/<a>{{traceData.repaymentRecordTrackingCount.total}}</a></span>
<span>还款凭证登记</span><span><a class="color-48b928">{{traceData.repaymentRecordTrackingCount.failed ? traceData.repaymentRecordTrackingCount.failed :'0'}}</a>/<a>{{traceData.repaymentRecordTrackingCount.total}}</a></span>
</div>
</div>
</div>

View File

@ -171,7 +171,7 @@
<span>文书送达追踪</span><span><a>{{traceData.documentDeliveryTrackingCount.failed ? traceData.documentDeliveryTrackingCount.failed :'0'}}</a>/<a>{{traceData.documentDeliveryTrackingCount.total}}</a></span>
</div>
<div class="flex-row justify-content-between cursor-pointer" @click="eventTraDialog={traceType:7,title:'还款凭证登记'}">
<span>还款凭证登记</span><span><a class="color-48b928">{{traceData.repaymentRecordTrackingCount.failed}}</a>/<a>{{traceData.repaymentRecordTrackingCount.total}}</a></span>
<span>还款凭证登记</span><span><a class="color-48b928">{{traceData.repaymentRecordTrackingCount.failed ? traceData.repaymentRecordTrackingCount.failed :'0'}}</a>/<a>{{traceData.repaymentRecordTrackingCount.total}}</a></span>
</div>
</div>
</div>

View File

@ -337,7 +337,10 @@ const caseManagementApi = {
// 视频快开提醒
videoCall: data => {
return service.service.get(`${apiAdmin}api/trace/video/videoCall`, data)
},
//========================end::案件管理======================================
}