Commit 82cd9614 authored by 袁玲利's avatar 袁玲利

交通银行申请激活

parent 183bdb07
...@@ -371,6 +371,9 @@ ...@@ -371,6 +371,9 @@
{ {
text: "证件更新" text: "证件更新"
}, },
{
text: "申请激活"
},
{ {
text: "在线销户" text: "在线销户"
}], }],
...@@ -482,8 +485,40 @@ ...@@ -482,8 +485,40 @@
jWeixin.miniProgram.redirectTo({ jWeixin.miniProgram.redirectTo({
url: `/pages_subpackB/pages/certificateBohaiUpdate/main` url: `/pages_subpackB/pages/certificateBohaiUpdate/main`
}); });
}else if (action.text == "申请激活") {
this.activeBankcard()
} }
}, },
// 交通银行申请激活银行卡
activeBankcard(){
$.ajax({
url: gHost + "/bank-wechat/account/manager/accActivation",
type: "POST",
contentType: "application/x-www-form-urlencoded",
data: {
schoolId: 197, //学校id
userId: 4145598, //用户id
sessionid: sessionID
},
headers: {
sessionid: sessionID,
},
success: function(respes) {
if (respes.code == "10000") {
let onlocal = window.open('', '_blank')
onlocal.location=respes.results.url
} else {
Toast(respes.message || "申请激活失败,请重试!");
throw new Error("申请激活失败,请重试!");
}
},
error: function(err) {
loading.clear();
Toast(err || "申请激活失败,请重试!");
throw new Error("申请激活失败,请重试!");
},
});
},
async beforeQuerySignStatus() { async beforeQuerySignStatus() {
await this.QueryUserInfo(); await this.QueryUserInfo();
// 渤海银行要判断是否有代扣签约 // 渤海银行要判断是否有代扣签约
......
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