|
@@ -92,9 +92,9 @@
|
|
// 入网认证
|
|
// 入网认证
|
|
isShowQrcode: -1, // 是否展示 推广码
|
|
isShowQrcode: -1, // 是否展示 推广码
|
|
show: false,
|
|
show: false,
|
|
- title1:'入网提示',
|
|
|
|
- content:'你还未进行银联支付入网签约认证,请先完成签约认证!',
|
|
|
|
- confirmText: '去认证',
|
|
|
|
|
|
+ title1:'提示',
|
|
|
|
+ content:'你的二维码已关闭!',
|
|
|
|
+ confirmText: '确认',
|
|
}
|
|
}
|
|
},
|
|
},
|
|
onLoad() {
|
|
onLoad() {
|
|
@@ -192,17 +192,7 @@
|
|
async getRetailQrcode(){
|
|
async getRetailQrcode(){
|
|
try{
|
|
try{
|
|
await this.getUserInfo()
|
|
await this.getUserInfo()
|
|
- if(this.isShowQrcode != 1) {
|
|
|
|
- if(this.isShowQrcode == 0) {
|
|
|
|
- this.content = '你还未进行银联支付入网签约认证,请先完成签约认证!'
|
|
|
|
- this.confirmText = '去认证'
|
|
|
|
- }else if(this.isShowQrcode == 2) {
|
|
|
|
- this.content = '银联支付入网签约认证中,请耐心等待!'
|
|
|
|
- this.confirmText = '去查看'
|
|
|
|
- }else if(this.isShowQrcode == 3) {
|
|
|
|
- this.content = '银联支付入网签约认证失败,请重新认证!'
|
|
|
|
- this.confirmText = '重新认证'
|
|
|
|
- }
|
|
|
|
|
|
+ if(this.isShowQrcode === 0) {
|
|
this.show = true
|
|
this.show = true
|
|
}else {
|
|
}else {
|
|
let res = await this.$u.api.getRetailQrcode({
|
|
let res = await this.$u.api.getRetailQrcode({
|
|
@@ -227,7 +217,7 @@
|
|
/** 入网认证 */
|
|
/** 入网认证 */
|
|
networkConfirm() {
|
|
networkConfirm() {
|
|
this.show = false
|
|
this.show = false
|
|
- this.navigateToFun('/pages/networkAuth/index')
|
|
|
|
|
|
+ //this.navigateToFun('/pages/networkAuth/index')
|
|
//this.getUnionAccessUrlFun()
|
|
//this.getUnionAccessUrlFun()
|
|
},
|
|
},
|
|
networkCancel() {
|
|
networkCancel() {
|
|
@@ -243,7 +233,7 @@
|
|
userid: this.distribution_user_info.userId
|
|
userid: this.distribution_user_info.userId
|
|
})
|
|
})
|
|
if(res && res.code ===200) {
|
|
if(res && res.code ===200) {
|
|
- this.isShowQrcode = res.data.unionFlag
|
|
|
|
|
|
+ this.isShowQrcode = res.data.qrcodeStatus
|
|
}
|
|
}
|
|
}catch(e){
|
|
}catch(e){
|
|
//TODO handle the exception
|
|
//TODO handle the exception
|