Commit 6050bc89 authored by 智勇's avatar 智勇

调整贷前关单文案

parent 121b6a4e
......@@ -131,7 +131,7 @@
<el-dialog :visible.sync="dialogDeleteVisible" :data="order" title="Cancel">
<span >
确定要 {{ opt }} {{ order.channelId }} 吗?
确定要 {{ opt }} {{ order.channelOrderNumber }} 吗?
</span>
<span slot="footer" class="dialog-footer">
<el-button @click="dialogDeleteVisible = false">取消</el-button>
......@@ -223,6 +223,11 @@ export default {
if (val) {
this.order = val
this.handleClick()
} else {
this.order = {}
this.orderHistory = []
this.logHistory = []
this.callbackRecords = []
}
},
......@@ -312,20 +317,22 @@ export default {
},
handleClick() {
if (this.activeName === 'orderHistory') {
getOrderHistory({ channelOrderNumber: this.order.channelOrderNumber }).then(res => {
this.orderHistory = res.data.historyStatus
})
}
if (this.activeName === 'callbackRecords') {
callbackRecord({ channelOrderNumber: this.order.channelOrderNumber }).then(res => {
this.callbackRecords = res.data
})
}
if (this.activeName === 'logHistory') {
logHistory({ channelOrderNumber: this.order.channelOrderNumber }).then(res => {
this.logHistory = res.data
})
if (this.order.channelOrderNumber) {
if (this.activeName === 'orderHistory') {
getOrderHistory({ channelOrderNumber: this.order.channelOrderNumber }).then(res => {
this.orderHistory = res.data.historyStatus
})
}
if (this.activeName === 'callbackRecords') {
callbackRecord({ channelOrderNumber: this.order.channelOrderNumber }).then(res => {
this.callbackRecords = res.data
})
}
if (this.activeName === 'logHistory') {
logHistory({ channelOrderNumber: this.order.channelOrderNumber }).then(res => {
this.logHistory = res.data
})
}
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment