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

调整贷前关单文案

parent 121b6a4e
...@@ -131,7 +131,7 @@ ...@@ -131,7 +131,7 @@
<el-dialog :visible.sync="dialogDeleteVisible" :data="order" title="Cancel"> <el-dialog :visible.sync="dialogDeleteVisible" :data="order" title="Cancel">
<span > <span >
确定要 {{ opt }} {{ order.channelId }} 吗? 确定要 {{ opt }} {{ order.channelOrderNumber }} 吗?
</span> </span>
<span slot="footer" class="dialog-footer"> <span slot="footer" class="dialog-footer">
<el-button @click="dialogDeleteVisible = false">取消</el-button> <el-button @click="dialogDeleteVisible = false">取消</el-button>
...@@ -223,6 +223,11 @@ export default { ...@@ -223,6 +223,11 @@ export default {
if (val) { if (val) {
this.order = val this.order = val
this.handleClick() this.handleClick()
} else {
this.order = {}
this.orderHistory = []
this.logHistory = []
this.callbackRecords = []
} }
}, },
...@@ -312,20 +317,22 @@ export default { ...@@ -312,20 +317,22 @@ export default {
}, },
handleClick() { handleClick() {
if (this.activeName === 'orderHistory') { if (this.order.channelOrderNumber) {
getOrderHistory({ channelOrderNumber: this.order.channelOrderNumber }).then(res => { if (this.activeName === 'orderHistory') {
this.orderHistory = res.data.historyStatus getOrderHistory({ channelOrderNumber: this.order.channelOrderNumber }).then(res => {
}) this.orderHistory = res.data.historyStatus
} })
if (this.activeName === 'callbackRecords') { }
callbackRecord({ channelOrderNumber: this.order.channelOrderNumber }).then(res => { if (this.activeName === 'callbackRecords') {
this.callbackRecords = res.data callbackRecord({ channelOrderNumber: this.order.channelOrderNumber }).then(res => {
}) this.callbackRecords = res.data
} })
if (this.activeName === 'logHistory') { }
logHistory({ channelOrderNumber: this.order.channelOrderNumber }).then(res => { if (this.activeName === 'logHistory') {
this.logHistory = res.data 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