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

交行二类户接入

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