修改bug

This commit is contained in:
liuxi 2025-01-20 10:45:52 +08:00
parent 89c0b452aa
commit 5c121b6653
6 changed files with 89 additions and 48 deletions

View File

@ -10,32 +10,43 @@
</div>
<div class="case-table">
<el-table :data="tableData" height="370" >
<el-table :data="communicationRecord" height="370" >
<el-table-column type="index" label="序号" width="55"></el-table-column>
<el-table-column prop="pkgName" label="外呼/呼入类型" show-overflow-tooltip ></el-table-column>
<el-table-column prop="planStartTime" label="呼叫时间" show-overflow-tooltip >
<el-table-column label="外呼/呼入类型" show-overflow-tooltip >
<template slot-scope="scope">
<span >{{ scope.row.planStartTime | formaDate("yyyy-MM-dd hh:mm:ss") }}</span>
<span >{{ scope.row.callWay == 1 ? '呼出':'呼入' }}</span>
</template>
</el-table-column>
<el-table-column prop="entrustingAgencyName" label="呼叫电话号码" show-overflow-tooltip ></el-table-column>
<el-table-column prop="channel" label="姓名" show-overflow-tooltip ></el-table-column>
<el-table-column prop="channel" label="关系" show-overflow-tooltip ></el-table-column>
<el-table-column prop="channel" label="接听状态" show-overflow-tooltip ></el-table-column>
<el-table-column prop="channel" label="沟通时长" show-overflow-tooltip ></el-table-column>
<el-table-column prop="channel" label="操作人" show-overflow-tooltip ></el-table-column>
<el-table-column prop="planStartTime" label="操作时间" show-overflow-tooltip >
<el-table-column label="呼叫对象" width="300" show-overflow-tooltip >
<template slot-scope="scope">
<span >{{ scope.row.planStartTime | formaDate("yyyy-MM-dd hh:mm:ss") }}</span>
<span v-for="(item,index) in scope.row.linkedPersonInfo" :key="index">
{{ item.name}} - {{ item.phone}} - {{ item.type}}
</span>
</template>
</el-table-column>
<el-table-column prop="channel" label="录音文件" show-overflow-tooltip ></el-table-column>
<el-table-column label="接听状态" show-overflow-tooltip >
<template slot-scope="scope">
<span >
{{$util.getTelephoneTypeData(scope.row.linkedSituation).label}}
</span>
</template>
</el-table-column>
<el-table-column label="沟通时长" show-overflow-tooltip >
<template slot-scope="scope">
<span v-if="scope.linkedType == 1">通话{{scope.linkedDuration}}</span>
</template>
</el-table-column>
<el-table-column prop="mediator" label="操作人" show-overflow-tooltip ></el-table-column>
<el-table-column label="操作时间" show-overflow-tooltip >
<template slot-scope="scope">
<span >{{ scope.row.createAt | formaDate("yyyy-MM-dd hh:mm:ss") }}</span>
</template>
</el-table-column>
<!-- <el-table-column prop="channel" label="录音文件" show-overflow-tooltip ></el-table-column> -->
</el-table>
</div>
<div class="text-center pt-16">
<!-- <div class="text-center pt-16">
<el-pagination
@size-change="getCaseInfoList"
@current-change="getCaseInfoList"
@ -44,7 +55,7 @@
layout="total, prev, pager, next, jumper"
:total="total">
</el-pagination>
</div>
</div> -->
</div>
</div>
</template>
@ -63,18 +74,34 @@ import api from "@/services/caseManagement";
},
data() {
return {
queryParam:{},
tableData:[],
total:0,
queryParam:{
caseId:'',
linkedWay:'1'
},
communicationRecord:[],
};
},
mounted () {
console.log(this.eventTraDialog,'eventTraDialog')
console.log(this.eventTraDialog,'this.eventTraDialog')
this.queryParam.caseId = this.eventTraDialog.caseId
this.getmediate_record()
},
methods: {
//
getmediate_record() {
api.mediate_record_list(this.queryParam).then(res => {
if (!res.code) {
res.forEach(element => {
element.records.forEach(item =>{
this.communicationRecord.push(item)
})
});
}
console.log(this.communicationRecord,'communicationRecord')
})
},
handleClose() {
this.$emit('update:eventTraDialog', null)
},

View File

@ -41,7 +41,10 @@
<!-- 文书生成追踪明细 -->
<officeDialogDetail v-if="activeName == '4'" :DialogDetail="eventTraDialog" />
<!-- 文书签字追踪明细 -->
<officeWDialogDetail v-if="activeName == '5'" :DialogDetail="eventTraDialog" />
<!-- <officeWDialogDetail v-if="activeName == '5'" :DialogDetail="eventTraDialog" /> -->
<!-- 文书签字追踪 -->
<officeWriteDialog v-if="activeName == '5'" :eventTraDialog="eventTraDialog" />
<!-- 文书送达追踪明细 -->
<officeDeliveryDialogDetail v-if="activeName == '6'" :DialogDetail="eventTraDialog" />
<!-- 还款计划 -->
@ -78,6 +81,7 @@ import api from "@/services/caseManagement";
officeDeliveryDialogDetail: () => import('../../event-tracing/dtraceDetail/officeDeliveryDialogDetail.vue'),//
officeDialogDetail: () => import('../../event-tracing/dtraceDetail/officeDialogDetail.vue'),//
officeWDialogDetail: () => import('../../event-tracing/dtraceDetail/officeWDialogDetail.vue'),//
officeWriteDialog: () => import('../../event-tracing/components/officeWriteDialog.vue'),//
},
props: {
@ -104,26 +108,25 @@ import api from "@/services/caseManagement";
methods: {
// tab
handleTabClick(tab){
if(tab.name == '1'){
eventTraDialog = {caseNo:'123'}
}else if(tab.name == '2'){
calllogDialog = {title:'电话呼叫记录',caseNo:'123'}
}else if(tab.name == '3'){
eventTraDialog = {title:'视频调解记录',caseNo:'123'}
}else if(tab.name == '4'){
eventTraDialog = {title:'文书生成记录',caseNo:'123'}
}else if(tab.name == '5'){
eventTraDialog = {title:'文书签字记录',caseNo:'123'}
}else if(tab.name == '6'){
eventTraDialog = {title:'文书送达记录',caseNo:'123'}
}else if(tab.name == '7'){
repaymentDialog = {title:'还款计划',caseNo:'123'}
}else if(tab.name == '8'){
eventTraDialog = {title:'还款凭证',caseNo:'123'}
}else {
// if(tab.name == '1'){
// eventTraDialog = {caseNo:'123'}
// }else if(tab.name == '2'){
// calllogDialog = {title:'',caseNo:'123'}
// }else if(tab.name == '3'){
// eventTraDialog = {title:'',caseNo:'123'}
// }else if(tab.name == '4'){
// eventTraDialog = {title:'',caseNo:'123'}
// }else if(tab.name == '5'){
// eventTraDialog = {title:'',caseNo:'123'}
// }else if(tab.name == '6'){
// eventTraDialog = {title:'',caseNo:'123'}
// }else if(tab.name == '7'){
// repaymentDialog = {title:'',caseNo:'123'}
// }else if(tab.name == '8'){
// eventTraDialog = {title:'',caseNo:'123'}
// }else {
}
// this.getCaseInfoList(1)
// }
},
handleClose() {
this.$emit('update:eventTraDialog', null)

View File

@ -73,7 +73,11 @@
<div class="descriptions-t-item-l color-86909C">被申请人姓名:</div>
<div class="descriptions-t-item-r color-1960F4">{{baseInfo.debtorEntityList.find(item => item.role == 'DEBTOR').name}}</div>
</div>
<div class="flex-row descriptions-t-item">
<div class="flex-row descriptions-t-item ">
<div class="descriptions-t-item-l color-86909C">被申请人身份证:</div>
<div class="descriptions-t-item-r">{{baseInfo.debtorEntityList.find(item => item.role == 'DEBTOR').cardNo}}</div>
</div>
<div class="flex-row descriptions-t-item bgColor-F7F8FA">
<div class="descriptions-t-item-l color-86909C">被申请人手机号码:</div>
<div class="descriptions-t-item-r">{{baseInfo.debtorEntityList.find(item => item.role == 'DEBTOR').phone}}</div>
</div>
@ -310,7 +314,7 @@ export default {
caseMaterial: () => import('./caseMaterial'),//
caseMaterialLeft: () => import('./caseMaterialLeft'),//
contactPerson: () => import('./contactPerson'),//
cassWrit: () => import('./cassWrit'),//
cassWrit: () => import('./cassWrit'),//
portraitPerson: () => import('./portraitPerson.vue'),//
SidebarTool: () => import('./SidebarTool'),
singlesmsPopover: () => import('./singlesmsPopover.vue'),//

View File

@ -152,7 +152,7 @@ export default {
mediateStatus:'',//
linkedTime:'',//
linkedDuration:'',//
callWay:'',//
callWay:'',// 0 1
callStartTime:'',//
callEndTime:'',//
nextFollowDate:1,//

View File

@ -89,6 +89,9 @@ export default {
else if(/.(zip|rar)$/.test(item.url.toLowerCase())) {
return require('@/assets/image/util/yswj.jpg')
}
else if(/.(m3u8|mp4)$/.test(item.url.toLowerCase())) {
return require('@/assets/image/util/video_img.jpg')
}
else {
// let previewUrl = `/mediate/minio/preview/${fileUrl}`
// return service.service.serviceurl+fileUrl

View File

@ -52,10 +52,14 @@
<a class="color-86909C f12 pt-6 pb-6">{{item.handleBy}}&nbsp;&nbsp;{{ $util.formatDate(item.handleTime, 'YYYY-MM-DD HH:mm:ss')}}</a>
<div class="flex-row justify-content-between align-items-center color-86909C" v-if="item.signList.length > 0 || item.unsignList.length > 0">
<div>签字</div>
<el-tag class="ml-4" size="small" type="success" effect="plain"
<div class="flex-row" v-for="(item1, index1) in item.unsignList" :key="index1">
<el-tag v-if="item1.signStatus.code == 2" class="ml-4" size="small" type="success" effect="plain">{{item1.signName}}</el-tag>
<el-tag v-if="item1.signStatus.code == 0" class="ml-4" size="small" type="info" effect="plain">{{item1.signName}}</el-tag>
</div>
<!-- <el-tag class="ml-4" size="small" type="success" effect="plain"
v-for="(item1, index1) in item.signList" :key="index1">{{item1.signName}}</el-tag>
<el-tag class="ml-4" size="small" type="info" effect="plain"
v-for="(item2, index2) in item.unsignList" :key="index2">{{item2.signName}}</el-tag>
v-for="(item2, index2) in item.unsignList" :key="index2">{{item2.signName}}</el-tag> -->
</div>
</div>
</div>