修改bug
This commit is contained in:
parent
caee002912
commit
bf74edb547
@ -32,7 +32,7 @@
|
|||||||
<div v-if="!queue" class="wrap-btn-left-dial-f2f3f5 f14 flex-row justify-content-between ml-16">
|
<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>
|
<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 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>
|
<i class="el-icon-phone-outline f20 mr-4"></i>
|
||||||
<span class="f12 ">挂断电话</span>
|
<span class="f12 ">挂断电话</span>
|
||||||
</div>
|
</div>
|
||||||
@ -129,7 +129,7 @@
|
|||||||
:disabled="missedCallData.list.length <= 0"
|
:disabled="missedCallData.list.length <= 0"
|
||||||
title="未接来电"
|
title="未接来电"
|
||||||
trigger="click">
|
trigger="click">
|
||||||
<missedCallPopover :missedCallData="missedCallData" :missedCallVisible.sync="missedCallVisible"/>
|
<missedCallPopover :missedCallData="missedCallData" :missedCallVisible.sync="missedCallVisible" @handleSubmit="missedCallList"/>
|
||||||
<span slot="reference" class="cursor-pointer position-r">
|
<span slot="reference" class="cursor-pointer position-r">
|
||||||
<i class="f24 el-icon-phone color-52ABF2"></i>
|
<i class="f24 el-icon-phone color-52ABF2"></i>
|
||||||
<div class="ell-warn-dot" v-if="missedCallData.list.length > 0">{{missedCallData.list.length}}</div>
|
<div class="ell-warn-dot" v-if="missedCallData.list.length > 0">{{missedCallData.list.length}}</div>
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<el-dialog title="案件列表" :visible="true" width="500px" append-to-body :close-on-click-modal="false" @close="handleClose" >
|
<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="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 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">
|
<div v-for="(itemS,indexS) in item.debtorEntityList.filter(itemX => itemX.role == 'DEBTOR' && itemX.type == '本人')" :key="indexS">
|
||||||
{{indexS === 0 ?'':','}}{{itemS.name}}
|
{{indexS === 0 ?'':','}}{{itemS.name}}
|
||||||
@ -23,8 +23,12 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div v-show="tableData.length == 0" class="text-center mt-8 f18 p-16">
|
||||||
|
该来电未匹配到相关案件!
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<span slot="footer" class="dialog-footer">
|
<span slot="footer" class="dialog-footer">
|
||||||
|
<el-button @click="handleMarkers">标记为不明来电</el-button>
|
||||||
<el-button @click="handleClose">取消</el-button>
|
<el-button @click="handleClose">取消</el-button>
|
||||||
</span>
|
</span>
|
||||||
</el-dialog>
|
</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) {
|
handleRelevance(item) {
|
||||||
this.$router.push(`/mediation-page?sourcePage=sourcePage&caseId=${item.id}`);
|
this.$router.push(`/mediation-page?sourcePage=sourcePage&caseId=${item.id}`);
|
||||||
|
|||||||
@ -10,7 +10,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- 未接电话案件弹窗 -->
|
<!-- 未接电话案件弹窗 -->
|
||||||
<missedCallCaseDialog v-if="missedCallCaseVisible" :eventDialog.sync="missedCallCaseVisible" />
|
<missedCallCaseDialog v-if="missedCallCaseVisible" :eventDialog.sync="missedCallCaseVisible" @handleSubmit="UpdatehandleSubmit" />
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@ -44,7 +44,7 @@ export default {
|
|||||||
return time ? moment(time).format(type) : ''
|
return time ? moment(time).format(type) : ''
|
||||||
},
|
},
|
||||||
handleMissedCallCase(item) {
|
handleMissedCallCase(item) {
|
||||||
this.missedCallCaseVisible = {phone: item.phone}
|
this.missedCallCaseVisible = {phone: item.phone,id: item.id,traceId:item.traceId}
|
||||||
},
|
},
|
||||||
getCaseList(item) {
|
getCaseList(item) {
|
||||||
voiceCall.caseMatchList({phone: item.phone}).then(res => {
|
voiceCall.caseMatchList({phone: item.phone}).then(res => {
|
||||||
@ -53,6 +53,9 @@ export default {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
UpdatehandleSubmit(){
|
||||||
|
this.$emit('handleSubmit', null)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user