Commit 25d7c007 authored by 袁玲利's avatar 袁玲利

交行二类户接入

parents 7a418579 5f961471
...@@ -418,7 +418,7 @@ ...@@ -418,7 +418,7 @@
> >
</view> </view>
</view> </view>
<view class="changeCard" @click="ChangeBankPay" v-if="typeCode != 'BOCOM'">我要换卡支付</view> <view class="changeCard" @click="ChangeBankPay">我要换卡支付</view>
</view> </view>
</view> </view>
<!-- 银行卡列表 <!-- 银行卡列表
...@@ -1608,8 +1608,8 @@ export default { ...@@ -1608,8 +1608,8 @@ export default {
if (this_.typeCode != "BOHAI") { if (this_.typeCode != "BOHAI") {
this_.actions = this_.actions.filter((x) => x.text != "证件更新"); this_.actions = this_.actions.filter((x) => x.text != "证件更新");
} }
if (this_.typeCode != "BOCOM") { if (this_.typeCode == "BOCOM") {
this_.actions = this_.actions.filter((x) => x.text != "申请激活"); this_.actions = this_.actions.filter((x) => x.text != "证件更新");
} }
bankInfo.sessionid = sessionID; bankInfo.sessionid = sessionID;
this_.queryBankInfo(); //查余额 this_.queryBankInfo(); //查余额
...@@ -2732,6 +2732,7 @@ page { ...@@ -2732,6 +2732,7 @@ page {
font-family: PingFangSC-Regular, PingFang SC; font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400; font-weight: 400;
color: #000000; color: #000000;
line-height: 40rpx;
border-bottom: 1rpx solid #dddddd; border-bottom: 1rpx solid #dddddd;
} }
......
<template> <template>
<view class="container"></view> <view class="container"></view>
</template> </template>
<script> <script>
export default { export default {
data() { data() {
return { return {
faceType: "", faceType: "",
}; fromPage: ""
}, };
onLoad: function (options) { },
console.log(options); onLoad: function(options) {
this.faceType = options.faceType || ""; console.log(options);
console.log("准备跳转了哦1"); this.faceType = options.faceType || "";
//faceAuth = 1 人脸活体检测成功 this.fromPage = options.fromPage || "";
// my.navigateTo({ console.log("准备跳转了哦1");
// url: `/pages/BankModule/OpenAccount/OpenAccount?faceAuth=1`, //faceAuth = 1 人脸活体检测成功
// }); // my.navigateTo({
}, // url: `/pages/BankModule/OpenAccount/OpenAccount?faceAuth=1`,
onShow() { // });
console.log(this.faceType, "lalalallalala"); },
if (this.faceType == "OPEN_ACCOUNT") { onShow() {
// 开户 console.log(this.faceType, "lalalallalala", this.fromPage);
my.navigateTo({ if (this.fromPage == "WECHAT") {
url: `/pages/BankModule/OpenAccount/OpenAccount?faceAuth=1`, if (this.faceType == "OPEN_ACCOUNT") {
}); // 开户
} else if (this.faceType == "CHANGE_CARD") { jWeixin.miniProgram.navigateTo({
// 换绑卡 url: `/pages_subpack/pages/BankOpenAccount/BankOpenAccount?faceAuth=1`,
my.navigateTo({ success: function(res) {
url: `/pages/BankModule/ChangeBankPay/ChangeBankPay?faceAuth=1`, // 跳转成功
}); },
} else if (this.faceType == "CANCEL_ACCOUNT" || this.faceType == "ACTIVE_ACCOUNT") { fail: function(err) {
// 销户、不动户激活 // 捕捉到错误,可以在这里处理错误
my.navigateTo({ console.error('navigateTo failed:', err);
url: `/pages/BankModule/Recharge/Recharge?faceAuth=1&faceType=${this.faceType}`, }
}); });
} } else if (this.faceType == "CHANGE_CARD") {
}, // 换绑卡
created: function () { jWeixin.miniProgram.navigateTo({
// console.log(this.$echarts); url: `/pages/AssignAddCardInfo/main?faceAuth=1`,
}, success: function(res) {
methods: {}, // 跳转成功
mounted: function () {}, },
}; fail: function(err) {
// 捕捉到错误,可以在这里处理错误
console.error('navigateTo failed:', err);
}
});
} else if (this.faceType == "CANCEL_ACCOUNT") {
// 销户
jWeixin.miniProgram.navigateTo({
url: `/pages/AssignCancelUserPhone/main?faceAuth=1`,
success: function(res) {
// 跳转成功
},
fail: function(err) {
// 捕捉到错误,可以在这里处理错误
console.error('navigateTo failed:', err);
}
});
}
} else {
if (this.faceType == "OPEN_ACCOUNT") {
// 开户
my.navigateTo({
url: `/pages/BankModule/OpenAccount/OpenAccount?faceAuth=1`,
});
} else if (this.faceType == "CHANGE_CARD") {
// 换绑卡
my.navigateTo({
url: `/pages/BankModule/ChangeBankPay/ChangeBankPay?faceAuth=1`,
});
} else if (this.faceType == "CANCEL_ACCOUNT" || this.faceType == "ACTIVE_ACCOUNT") {
// 销户、不动户激活
my.navigateTo({
url: `/pages/BankModule/Recharge/Recharge?faceAuth=1&faceType=${this.faceType}`,
});
}
}
}
}
</script> </script>
<style scoped> <style scoped>
</style> </style>
\ No newline at end of file
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