修改按钮样式

This commit is contained in:
张运江 2025-01-20 14:32:03 +08:00
parent 0a03c5f96f
commit 60a02e762f

View File

@ -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) { }
}, },
// //