修改按钮样式
This commit is contained in:
parent
0a03c5f96f
commit
60a02e762f
@ -6,7 +6,7 @@
|
|||||||
<div class="top-wrap-title flex-row justify-content-between"></div>
|
<div class="top-wrap-title flex-row justify-content-between"></div>
|
||||||
<div class="top-wrap-btn-left flex-row justify-content-between">
|
<div class="top-wrap-btn-left flex-row justify-content-between">
|
||||||
<div class="flex-row justify-content-between align-items-center mr-16">
|
<div class="flex-row justify-content-between align-items-center mr-16">
|
||||||
<el-button class="bg-F2F3F5" icon="el-icon-arrow-left" circle></el-button>
|
<el-button class="bg-F2F3F5" icon="el-icon-arrow-left" circle :disabled="queue" ></el-button>
|
||||||
<div class="ml-16 mr-16 flex-row justify-content-between align-items-center">
|
<div class="ml-16 mr-16 flex-row justify-content-between align-items-center">
|
||||||
<div class="mr-8 f16">{{ baseInfo.debtorEntityList.find(item => item.role == 'DEBTOR').name }}</div>
|
<div class="mr-8 f16">{{ baseInfo.debtorEntityList.find(item => item.role == 'DEBTOR').name }}</div>
|
||||||
<div class="mr-8">
|
<div class="mr-8">
|
||||||
@ -16,7 +16,7 @@
|
|||||||
<div class="f16 color-165DFF"><i class="el-icon-success"></i></div>
|
<div class="f16 color-165DFF"><i class="el-icon-success"></i></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<el-button class="bg-F2F3F5" icon="el-icon-arrow-right" circle></el-button>
|
<el-button class="bg-F2F3F5" icon="el-icon-arrow-right" circle :disabled="queue"></el-button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<el-popover
|
<el-popover
|
||||||
@ -344,6 +344,7 @@ export default {
|
|||||||
elapsedTime: 0,
|
elapsedTime: 0,
|
||||||
timerInterval: null,
|
timerInterval: null,
|
||||||
isRunning: false,
|
isRunning: false,
|
||||||
|
contactId: '',
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
@ -429,11 +430,11 @@ export default {
|
|||||||
if (!res.code) {
|
if (!res.code) {
|
||||||
this.baseInfo = res
|
this.baseInfo = res
|
||||||
this.phoneNumber = res.debtorEntityList.find(item => item.role == 'DEBTOR').phone
|
this.phoneNumber = res.debtorEntityList.find(item => item.role == 'DEBTOR').phone
|
||||||
|
this.contactId = res.debtorEntityList.find(item => item.role == 'DEBTOR').id
|
||||||
if(res.jointDebt == 1){
|
if(res.jointDebt == 1){
|
||||||
// 有共债 mainCaseId
|
// 有共债 mainCaseId
|
||||||
this.caseId = res.mainCaseId.toString()
|
this.caseId = res.mainCaseId.toString()
|
||||||
}
|
} else
|
||||||
else
|
|
||||||
{
|
{
|
||||||
this.caseId = res.id.toString()
|
this.caseId = res.id.toString()
|
||||||
}
|
}
|
||||||
@ -574,7 +575,7 @@ export default {
|
|||||||
// 呼叫成功
|
// 呼叫成功
|
||||||
async callingSuccess () {
|
async callingSuccess () {
|
||||||
try {
|
try {
|
||||||
let res = await api.callingSuccess({caseId: this.caseId})
|
let res = await api.callingSuccess({caseId: this.caseId,contactId: this.contactId})
|
||||||
console.log('呼叫成功请求接口==callingSuccess:', res)
|
console.log('呼叫成功请求接口==callingSuccess:', res)
|
||||||
this.getmediate_record()
|
this.getmediate_record()
|
||||||
this.$refs.layoutContent.openRecordDialog(res.data);
|
this.$refs.layoutContent.openRecordDialog(res.data);
|
||||||
@ -583,7 +584,7 @@ export default {
|
|||||||
// 呼叫失败
|
// 呼叫失败
|
||||||
async callingFail () {
|
async callingFail () {
|
||||||
try {
|
try {
|
||||||
let res = await api.callingSuccess({caseId: this.caseId})
|
let res = await api.callingSuccess({caseId: this.caseId,contactId: this.contactId})
|
||||||
} catch (err) { }
|
} catch (err) { }
|
||||||
},
|
},
|
||||||
// 挂断会话
|
// 挂断会话
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user