调整实名认证城市,新增个人订单确认流程,调整退款订单状态

This commit is contained in:
唐明明
2023-01-04 15:15:24 +08:00
parent 025a10849a
commit b29f29f005
21 changed files with 1078 additions and 83 deletions

View File

@@ -110,7 +110,7 @@
</template>
<script>
import { perfectBase, updPerfectBase } from '@/apis/interfaces/order.js'
import { perfectBase, updPerfectBase, historyBase } from '@/apis/interfaces/order.js'
import { region } from '@/apis/interfaces/address.js'
export default {
data() {
@@ -211,6 +211,53 @@
showCancel : false,
})
}
},
onNavigationBarButtonTap() {
let { userBankId, isMy} = this.$Route.query
if(!isMy) {
uni.showToast({
title: '非个人订单无法使用账户信息',
icon : 'none'
})
return
}
if(!userBankId.user_base_id) {
uni.showToast({
title: '暂无历史记录,无法使用账户历史信息,请手动填写',
icon : 'none'
})
return
}
uni.showModal({
title : '提示',
content : '确认使用历史基础信息快捷提交审核吗?提交后在审核期间不可更改',
confirmText : '提交审核',
cancelText : '取消',
success : res => {
if(res.confirm){
uni.showLoading({
title: '提交中...',
mask : true
})
historyBase(this.baseInfo.business_order_user_id, userBankId.user_base_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>