Merge branch 'main' into 'stg'
Main See merge request cloud-mediate/mediate-manage-web!76
This commit is contained in:
commit
78dc370511
@ -538,9 +538,15 @@ import { values } from "lodash";
|
|||||||
})
|
})
|
||||||
|
|
||||||
let caseCllIds = caseCllList.map(item =>{ return item.id})
|
let caseCllIds = caseCllList.map(item =>{ return item.id})
|
||||||
api.callingBatchcall({caseIdList: caseCllIds}).then(res => {
|
let caseIdList = []
|
||||||
|
this.selectionData.forEach(item =>{
|
||||||
|
if(caseCllIds.find(item1 =>{return item1 == item}))
|
||||||
|
{
|
||||||
|
caseIdList.push(item)
|
||||||
|
}
|
||||||
|
})
|
||||||
|
api.callingBatchcall({caseIdList: caseIdList}).then(res => {
|
||||||
this.$message.success("智能外呼成功");
|
this.$message.success("智能外呼成功");
|
||||||
// this.getCaseInfoList(1)
|
|
||||||
this.jumpUrl(`/mediation-page?sourcePage=sourcePage&caseId=${this.selectionData[0]}&queue=1`)
|
this.jumpUrl(`/mediation-page?sourcePage=sourcePage&caseId=${this.selectionData[0]}&queue=1`)
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
@ -761,7 +761,7 @@ export default {
|
|||||||
// 呼叫失败
|
// 呼叫失败
|
||||||
async callingFail () {
|
async callingFail () {
|
||||||
try {
|
try {
|
||||||
let res = await api.callingFail({caseId: this.caseId,contactId: this.contactId,callingSessionId:this.sessionId})
|
// let res = await api.callingFail({caseId: this.caseId,contactId: this.contactId,callingSessionId:this.sessionId})
|
||||||
} catch (err) { }
|
} catch (err) { }
|
||||||
},
|
},
|
||||||
// 挂断会话
|
// 挂断会话
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user