Commit ee16ea61 authored by 李智书's avatar 李智书

1.提交更新;

parent b9e23711
...@@ -278,6 +278,11 @@ ...@@ -278,6 +278,11 @@
}, },
mounted: function() { mounted: function() {
},
onShow: function() {
if (bankInfo.userId) {
this.queryBankInfo();
}
}, },
methods: { methods: {
// 更换银行卡 // 更换银行卡
...@@ -513,8 +518,26 @@ ...@@ -513,8 +518,26 @@
wx.showModal({ wx.showModal({
title: '充值申请已提交', title: '充值申请已提交',
content: '银行处理需要1-5分钟时间,充值结果以余额查询为准。', content: '银行处理需要1-5分钟时间,充值结果以余额查询为准。',
showCancel: false showCancel: false,
success: function() {
let accountNo = this_.bankInfo_.accountNo
accountNo = accountNo.slice(accountNo.length - 4, accountNo
.length);
let thiTime = new Date();
let str = ''
if (thiTime.getMinutes() + 20 >= 60) {
str = thiTime.getHours() + 1 + ':' + (60 - thiTime
.getMinutes())
} else {
str = thiTime.getHours() + ':' + thiTime.getMinutes()
}
uni.navigateTo({
url: `../../recharging/recharging?bankName=${this_.accountEnum[this_.bankInfo_.accountType+'']}&bankNumber=${accountNo}&time=${str}&money=${(amount * 1).toFixed(2)}`
})
}
}) })
// 20211129 // 20211129
this_.RechargeSmsorderNoInfo = {} this_.RechargeSmsorderNoInfo = {}
} else { } else {
...@@ -673,11 +696,11 @@ ...@@ -673,11 +696,11 @@
let this_ = this; let this_ = this;
let loading = weui.loading('请稍后'); let loading = weui.loading('请稍后');
$.ajax({ $.ajax({
url: gHost + '/bank-wechat/icbc/account/bindcard/bindingList', url: gHost + '/bank-wechat/user/bank/bindingList',
type: "POST", type: "POST",
contentType: "application/x-www-form-urlencoded", contentType: "application/x-www-form-urlencoded",
data: { data: {
mediumId: bankInfo.accountNo, cardNo: bankInfo.accountNo,
schoolId: bankInfo.schoolId, schoolId: bankInfo.schoolId,
userId: userID, userId: userID,
sessionid: sessionID, sessionid: sessionID,
......
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