调整实名认证城市,新增个人订单确认流程,调整退款订单状态
This commit is contained in:
@@ -114,7 +114,7 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { baseBase, updBaseBase } from '@/apis/interfaces/order.js'
|
||||
import { baseBase, updBaseBase, historyBank } from '@/apis/interfaces/order.js'
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
@@ -269,6 +269,54 @@
|
||||
showCancel : false,
|
||||
})
|
||||
}
|
||||
},
|
||||
onNavigationBarButtonTap() {
|
||||
console.log(this.$Route.query)
|
||||
let { userBankId, isMy} = this.$Route.query
|
||||
if(!isMy) {
|
||||
uni.showToast({
|
||||
title: '非个人订单无法使用账户信息',
|
||||
icon : 'none'
|
||||
})
|
||||
return
|
||||
}
|
||||
if(!userBankId.user_bank_id) {
|
||||
uni.showToast({
|
||||
title: '暂无历史记录,无法使用账户历史信息,请手动填写',
|
||||
icon : 'none'
|
||||
})
|
||||
return
|
||||
}
|
||||
uni.showModal({
|
||||
title : '提示',
|
||||
content : '确认使用历史基础信息快捷提交审核吗?提交后在审核期间不可更改',
|
||||
confirmText : '提交审核',
|
||||
cancelText : '取消',
|
||||
success : res => {
|
||||
if(res.confirm){
|
||||
uni.showLoading({
|
||||
title: '提交中...',
|
||||
mask : true
|
||||
})
|
||||
historyBank(this.submitId, userBankId.user_bank_id).then(res => {
|
||||
uni.hideLoading()
|
||||
uni.showModal({
|
||||
title : '提示',
|
||||
content : '资料已保存',
|
||||
showCancel : false,
|
||||
success : ModalRes => {
|
||||
this.$Router.back()
|
||||
}
|
||||
})
|
||||
}).catch(err => {
|
||||
uni.showToast({
|
||||
title: err.message,
|
||||
icon : 'none'
|
||||
})
|
||||
})
|
||||
}
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user