修改bug及优化

This commit is contained in:
liuxi 2025-01-17 16:52:15 +08:00
parent fbffd2b886
commit 9b69a5e8d2
6 changed files with 60 additions and 20 deletions

View File

@ -73,15 +73,7 @@
</el-table-column>
<el-table-column label="跟进情况" width="140">
<template slot-scope="scope">
{{scope.row.linkedSituation == 0 ?'已接':''}}
{{scope.row.linkedSituation == 1 ?'未接':''}}
{{scope.row.linkedSituation == 2 ?'拒接':''}}
{{scope.row.linkedSituation == 3 ?'关机':''}}
{{scope.row.linkedSituation == 4 ?'停机':''}}
{{scope.row.linkedSituation == 5 ?'暂时无法接通':''}}
{{scope.row.linkedSituation == 8 ?'空号':''}}
{{scope.row.linkedSituation == 9 ?'设置':''}}
{{scope.row.linkedSituation == 10 ?'正在通话中':''}}
{{$util.getTelephoneTypeData(scope.row.linkedSituation).label}}
</template>
</el-table-column>
<el-table-column label="调解进度" width="140">

View File

@ -77,14 +77,14 @@
</el-table-column>
<el-table-column prop="invitee" label="受邀人" show-overflow-tooltip></el-table-column>
<el-table-column prop="createByName" label="操作人" show-overflow-tooltip></el-table-column>
<!-- <el-table-column prop="createByName" label="操作人" show-overflow-tooltip></el-table-column> -->
<el-table-column prop="createAt" 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 label="操作" width="150">
<el-table-column label="操作" width="240">
<template slot-scope="scope">
<div class="flex-row align-items-center">
<!-- 只有进行中 快开始的时候才能进入视频间 -->

View File

@ -241,7 +241,7 @@
</div>
</template>
</el-table-column> -->
<el-table-column prop="pkgName" label="操作" show-overflow-tooltip >
<el-table-column prop="pkgName" label="操作">
<template slot-scope="scope">
<div class="table-row flex-column justify-content-between">
<div class="flex-row pt-8">

View File

@ -208,6 +208,9 @@
<i v-if="itemrecord.callWay == 0 && itemrecord.linkedSituation != 1" class="callbackphone-icon"></i>
<i v-if="itemrecord.callWay == 0 && itemrecord.linkedSituation == 1" class="nocallphone-icon"></i>
</div>
<span v-if="itemrecord.linkedWay == 1 && itemrecord.linkedSituation != null" class="case-lable">
<a :class="'case-status'+ $util.getTelephoneTypeData(itemrecord.linkedSituation).key">{{$util.getTelephoneTypeData(itemrecord.linkedSituation).label}}</a>
</span>
<!-- 视频 -->
<div class="text-center icon-bg icon-phone" v-if="itemrecord.linkedWay == 2">
<i class="callvideo-icon"></i>

View File

@ -6,16 +6,16 @@
<div class="dialog-content dialog-mr-batch">
<div class="p-16">
<div class="flex-column">
<span class="f16 f-weight500">沟通类型</span>
<div class="mt-8">
<span class="f16 f-weight500" v-if="mrObj.linkedType == 2">沟通类型</span>
<div class="mt-8" v-if="mrObj.linkedType == 2">
<el-radio-group v-model="mrObj.linkedWay">
<el-radio :label="1">电话</el-radio>
<el-radio :label="2">视频</el-radio>
<el-radio :label="3">微信</el-radio>
</el-radio-group>
</div>
<span class="f16 f-weight500 mt-8">沟通时间</span>
<div class="mt-8 flex-row">
<span v-if="mrObj.linkedType == 2" class="f16 f-weight500 mt-8">沟通时间</span>
<div v-if="mrObj.linkedType == 2" class="mt-8 flex-row">
<el-date-picker size="small" style="width: 200px;"
:clearable="false"
v-model="mrObj.linkedTime"
@ -45,8 +45,8 @@
<el-radio :label="5">暂时无法接通</el-radio>
</el-radio-group>
</div>
<span class="f16 f-weight500 mt-8">沟通对象</span>
<div class="mt-8">
<span v-if="mrObj.linkedType == 2" class="f16 f-weight500 mt-8">沟通对象</span>
<div v-if="mrObj.linkedType == 2" class="mt-8">
<el-select size="small" v-model="mrObj.linkedPerson" multiple placeholder="请选择沟通对象" class="width100">
<el-option
v-for="item in PersonData"
@ -169,7 +169,10 @@ export default {
this.mrObj.linkedWay = this.visiblemediatRecordObj.linkedWay
this.mrObj.linkedType = this.visiblemediatRecordObj.linkedType
this.mrObj.linkedSituation = this.visiblemediatRecordObj.linkedSituation
this.mrObj.communicationSituation = this.visiblemediatRecordObj.communicationSituation.toString()
if(this.visiblemediatRecordObj.communicationSituation!=null)
{
this.mrObj.communicationSituation = this.visiblemediatRecordObj.communicationSituation.toString()
}
this.mrObj.communicationRemarks = this.visiblemediatRecordObj.communicationRemarks
this.mrObj.mediateStatus = this.visiblemediatRecordObj.mediateStatus
this.mrObj.linkedTime = this.visiblemediatRecordObj.linkedTime

View File

@ -369,6 +369,48 @@ const util = {
const day = date.getDate().toString().padStart(2, '0'); // 日期前面补0
return `${year}-${month}-${day}`;
},
// {{scope.row.linkedSituation == 2 ?'':''}}
// {{scope.row.linkedSituation == 3 ?'':''}}
// {{scope.row.linkedSituation == 4 ?'':''}}
// {{scope.row.linkedSituation == 5 ?'':''}}
// {{scope.row.linkedSituation == 8 ?'':''}}
// {{scope.row.linkedSituation == 9 ?'':''}}
// {{scope.row.linkedSituation == 10 ?'':''}} -->
/**
* 电话情况
*/
getTelephoneType() {
return [{label:'已接',value:0},{label:'未接',value:1},{label:'拒接',value:2},
{label:'关机',value:3},{label:'停机',value:4},{label:'暂时无法接通',value:5},
{label:'空号',value:8},{label:'设置',value:9},{label:'正在通话中',value:10}]
},
/**
* 根据不同的类型返回不同的电话情况 this.$util.getTelephoneTypeData
*/
getTelephoneTypeData(value) {
switch (value) {
case 0:
// 常规
return {key:0,label:this.getTelephoneType().find(item => item.value == value).label};
case 1:
case 2:
case 3:
case 5:
case 10:
// 预警
return {key:2,label:this.getTelephoneType().find(item => item.value == value).label};
case 4:
case 8:
case 9:
// 高预警
return {key:1,label:this.getTelephoneType().find(item => item.value == value).label};
// case 5:
// // 成功
// return {key:3,label:this.getMediationType().find(item => item.value == value).label};
default:
return {key:0,label:''};
}
},
/**
* 调解状态
@ -408,7 +450,7 @@ const util = {
{label:'承诺账户',value:'1'},{label:'重点账户',value:'2'},{label:'拒联账户',value:'3'},{label:'已结清客户',value:'4'},
{label:'疑难账户',value:'5'},{label:'失联账户',value:'6'},{label:'半失联账户',value:'7'},{label:'部分还款账户',value:'8'},
{label:'适诉案件',value:'9'},{label:'可联账户',value:'10'},{label:'投诉倾向客户',value:'11'},{label:'分期客户',value:'12'},
{label:'其他/无标签',value:'13'},{label:'',value:''}
{label:'其他/无标签',value:'13'}
]
},
/**