修改bug
This commit is contained in:
parent
4c3078a3a1
commit
cfa91784c0
@ -204,8 +204,14 @@ export default {
|
|||||||
// 关联案件-详情
|
// 关联案件-详情
|
||||||
async handleRelevance(item) {
|
async handleRelevance(item) {
|
||||||
try {
|
try {
|
||||||
voiceCall.caseMatch({caseId: item.id, callingSessionId: this.acceptDialog.sessionId, phone: this.incomingCallPhone}).then(res => {
|
let mainCaseId = null
|
||||||
// console.log(res,'---关联案件')
|
if(item.jointDebt == 1){
|
||||||
|
mainCaseId = item.mainCaseId
|
||||||
|
}
|
||||||
|
else{
|
||||||
|
mainCaseId = item.id
|
||||||
|
}
|
||||||
|
voiceCall.caseMatch({caseId: mainCaseId, callingSessionId: this.acceptDialog.sessionId, phone: this.incomingCallPhone}).then(res => {
|
||||||
this.$router.push(`/mediation-page?sourcePage=sourcePage&caseId=${item.id}`);
|
this.$router.push(`/mediation-page?sourcePage=sourcePage&caseId=${item.id}`);
|
||||||
})
|
})
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
|||||||
@ -627,8 +627,10 @@ export default {
|
|||||||
handleChangeMediation(resultStatus){
|
handleChangeMediation(resultStatus){
|
||||||
let data={
|
let data={
|
||||||
id:this.caseId,
|
id:this.caseId,
|
||||||
mediateStatus:resultStatus
|
mediateStatus:resultStatus,
|
||||||
|
caseStatus:this.baseInfo.caseStatus
|
||||||
}
|
}
|
||||||
|
|
||||||
let resultmsg = '成功'
|
let resultmsg = '成功'
|
||||||
if(resultStatus == 4){resultmsg = '失败'}
|
if(resultStatus == 4){resultmsg = '失败'}
|
||||||
this.$confirm("请确定是否将案件标记为"+resultmsg+"?", "提示", {
|
this.$confirm("请确定是否将案件标记为"+resultmsg+"?", "提示", {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user