外呼智能追踪
This commit is contained in:
parent
dd6156c274
commit
3f31dfcff3
@ -69,8 +69,8 @@
|
||||
<el-table-column label="操作" width="190">
|
||||
<template slot-scope="scope">
|
||||
<div class="flex-row align-items-center">
|
||||
<el-button size="mini" @click="handleDelete(scope)">进入外呼队列</el-button>
|
||||
<el-button size="mini" @click="handleBackCase(scope)">取消</el-button>
|
||||
<el-button size="mini" v-if="scope.row.status.code !== 4 && scope.row.status.code !== 2" @click="handleDelete(scope)">进入外呼队列</el-button>
|
||||
<el-button size="mini" v-if="scope.row.status.code !== 4 && scope.row.status.code !== 2" @click="handleBackCase(scope)">取消</el-button>
|
||||
</div>
|
||||
</template>
|
||||
</el-table-column>
|
||||
@ -136,6 +136,20 @@ import { size } from "lodash";
|
||||
this.queryParam.endTime = this.$util.getDayEnd(this.queryDate[1])
|
||||
}
|
||||
},
|
||||
// 取消呼叫追踪
|
||||
handleBackCase(row){
|
||||
this.$confirm("确定取消?", "提示", {
|
||||
confirmButtonText: "确定",
|
||||
cancelButtonText: "取消",
|
||||
type: "warning",
|
||||
}).then(() => {
|
||||
if(!this.$clickThrottle()) { return }//防止重复点击
|
||||
api.calling_cancel({id: row.id}).then(res => {
|
||||
this.getList(1);
|
||||
this.$message.success("成功");
|
||||
})
|
||||
}).catch(() => {});
|
||||
},
|
||||
// 重置
|
||||
hanldeReset() {
|
||||
for (let key in this.queryParam) {
|
||||
|
||||
@ -504,6 +504,11 @@ import { values } from "lodash";
|
||||
this.$message.warning(`请至少选中一个调解案件!`)
|
||||
return
|
||||
}
|
||||
api.calling_batchcall({caseIdList: this.selectionData}).then(res => {
|
||||
this.$message.success("智能外呼成功");
|
||||
// this.getCaseInfoList(1)
|
||||
})
|
||||
|
||||
},
|
||||
handleOfficeDelivery(){
|
||||
if(this.selectionData.length == 0 ){
|
||||
|
||||
@ -293,6 +293,12 @@ const caseManagementApi = {
|
||||
return service.service.post(`${apiAdmin}api/trace/calling/mediateRemark`, data, {hideLoading:true})
|
||||
},
|
||||
|
||||
// 呼叫-发起批量智能外呼
|
||||
calling_batchcall: data => {
|
||||
return service.service.post(`${apiAdmin}api/trace/calling/batch-call`, data)
|
||||
},
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@ -81,6 +81,10 @@ const traceApi = {
|
||||
posttrace_calling: data => {
|
||||
return service.service.post(`${apiMediate}workbench/trace-calling`, data)
|
||||
},
|
||||
// 呼叫-取消批量智能外呼
|
||||
calling_cancel: data => {
|
||||
return service.service.post(`${apiMediate}api/trace/calling/cancel`, data)
|
||||
},
|
||||
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user