mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-13 18:56:43 +08:00
feature/GFRS-2350【前端-待完成】修改卡单支付分享时效--分享修改--提交人庞兴月
This commit is contained in:
@@ -191,6 +191,17 @@ service.interceptors.response.use(
|
||||
Toast.clear()
|
||||
if (res.code != 0) {
|
||||
if (res.code == 10001 || res.code == 10002) {
|
||||
let isWeixin = this.$utils.device().isWeixin //判断环境
|
||||
if (isWeixin) {
|
||||
Dialog.alert({
|
||||
title: '提示',
|
||||
confirmButtonText: '退出',
|
||||
message: '当前链接已失效,请您联系业务员获取(重新分享)。',
|
||||
}).then(() => {
|
||||
window.close();
|
||||
WeixinJSBridge.call('closeWindow');
|
||||
});
|
||||
} else {
|
||||
Dialog.confirm({
|
||||
confirmButtonText: '重新登录',
|
||||
message: '你已被登出,可以取消继续留在该页面,或者重新登录'
|
||||
@@ -200,6 +211,7 @@ service.interceptors.response.use(
|
||||
flag: 'login'
|
||||
})
|
||||
})
|
||||
}
|
||||
} else {
|
||||
//Toast.fail(res.msg)
|
||||
}
|
||||
|
||||
@@ -259,7 +259,6 @@ export default {
|
||||
this.radio = '3'
|
||||
let token = this.$route.query.token
|
||||
let orderNo = this.$route.query.orderNo
|
||||
let shareToken = this.$route.query.shareToken
|
||||
localStorage.token = token
|
||||
localStorage.orderNo = orderNo
|
||||
this.isLoading = true
|
||||
@@ -492,15 +491,6 @@ export default {
|
||||
// }
|
||||
|
||||
|
||||
} else if (res.result === '1') {
|
||||
Dialog.alert({
|
||||
title: '提示',
|
||||
confirmButtonText: '退出',
|
||||
message: '当前链接已失效,请您联系业务员获取(重新分享)。',
|
||||
}).then(() => {
|
||||
window.close();
|
||||
WeixinJSBridge.call('closeWindow');
|
||||
});
|
||||
} else {
|
||||
this.underWriteData = {
|
||||
accountName: '',
|
||||
@@ -743,9 +733,8 @@ export default {
|
||||
localStorage.bankCode = this.underWriteData.bankCode
|
||||
localStorage.bankListName = this.bankListName
|
||||
console.log(this.underWriteData.bankName, this.underWriteData.bankCode, this.bankListName, this.underWriteData.name)
|
||||
let url = location.origin + '/#/cardList/pay?orderNo=' + localStorage.orderNo + '&token=' + localStorage.token
|
||||
let res = await getShareParam({ shareType: 'card_pay' })
|
||||
localStorage.token = res.content
|
||||
let url = location.origin + '/#/cardList/pay?orderNo=' + localStorage.orderNo + '&token=' + res.content
|
||||
if (res.result == '0') {
|
||||
EWebBridge.webCallAppInJs('bridge', {
|
||||
flag: 'share',
|
||||
|
||||
Reference in New Issue
Block a user