Commit 518c927c authored by 王建威's avatar 王建威

bug fix

parent c1570712
......@@ -151,7 +151,7 @@
this.submitFlag = true;
if(res.data.code === 0) {
uni.navigateTo({
url: `/pages/theRights/theRights?status=0`
url: `/pages/theRights/theRights`
});
} else {
uni.hideToast();
......
......@@ -216,7 +216,7 @@
dataType: 'json',
success: (res) => {
if(res.data.code === 0) {
this.$jump(`${php}app=equipment_staging`);
this.$jump(`${php}app=equipment_staging&opt=check`);
}
}
});
......
......@@ -275,12 +275,11 @@
property_id: this.e_info.property_id
}
if(this.sales) {
}
uni.setStorage({
key: 'sales',
data: this.sales
});
}
uni.setStorage({
key: 'advance_payment',
data: this.e_info.advance_payment
......
......@@ -2,8 +2,9 @@
<view class="main">
<view class="bg"></view>
<view class="refuse_title">很遗憾,您的认证未通过</view>
<view class="reason">您的采购分期激活申请,由于 {{reason}} 等原因资质审核未通过</view>
<view class="btn" @click="reupload">重新填写信息</view>
<view class="reason">您的谛宝白条激活申请,由于 {{reason}} 等原因资质审核未通过</view>
<view class="btn" v-if="repeat_flg !== 0" @click="reupload">重新填写信息</view>
<view class="return_home" @click="return_home">返回商城首页</view>
<view class="refuse_tips">
<text class="icon"></text>
<text>确保所填身份信息真实有效,平台会保护您的信息</text>
......@@ -15,17 +16,24 @@
export default {
data() {
return {
reason: ''
reason: '',
repeat_flg: -1
}
},
onLoad() {
onLoad(options) {
this.reason = uni.getStorageSync('reason') || '';
this.repeat_flg = options.repeat_flg - 0;
},
methods: {
reupload() {
uni.navigateTo({
url: '/pages/apply/applypage1'
});
},
return_home() {
uni.navigateTo({
url: '/pages/home/home'
});
}
}
}
......@@ -67,6 +75,14 @@
font-size: 28rpx;
margin: 80rpx auto 24rpx;
}
.return_home {
color: #867015;
font-size: 28rpx;
height: 40rpx;
line-height: 40rpx;
text-align: center;
margin-bottom: 24rpx;
}
.refuse_tips {
font-size: 24rpx;
color: #979797;
......
......@@ -138,7 +138,7 @@
}
if(!this.is_agree){
uni.showToast({
title: '请阅读并同意采购分期合同',
title: '请阅读并同意谛宝白条合同',
duration: 2000,
icon: 'none'
});
......
......@@ -3,20 +3,21 @@
<view class="bg_card"></view>
<view class="absolute">
<view class="benefit_box">
<view class="lines_card" v-if="Number(status) === -1">
<view class="lines_card" v-if="Number(is_auth) === 0">
<view class="lines_title">最高可申请额度:</view>
<view class="flex">
<view class="left_title">¥200.00万</view>
<!-- <view class="apply_btn"><text class="text">申请开通</text></view> -->
</view>
</view>
<view class="lines_card" v-if="Number(status) === 0">
<view class="lines_card" v-if="Number(status) === 0 && Number(is_auth) !== 0">
<view class="waiting">审核中,请您耐心等待</view>
<view class="eosfont clock">&#xe601;</view>
</view>
<view class="lines_card" v-if="Number(status) === 2">
<view class="refuse_title">很遗憾, 您的申请失败</view>
<view class="refuse_tips">您可以查看失败原因后重新申请开通</view>
<view class="refuse_tips" v-if="repeat_flg == 1">您可以查看失败原因后重新申请开通</view>
<view v-else style="height:10rpx"></view>
<view class="refuse_btn_box">
<view class="reason_btn" @click="check_reason">查看失败原因<text class="eosfont">&#xedb4;</text></view>
<view class="reapply_btn" v-if="repeat_flg == 1" @click="reupload">重新申请</view>
......@@ -155,7 +156,7 @@
go_open() {
if(!this.checked) {
uni.showToast({
title: '请阅读《谛宝白条开通协议》',
title: '请阅读并同意《谛宝白条开通协议》',
icon: 'none',
duration: 2000
});
......@@ -166,12 +167,13 @@
});
},
check_reason() {
const that = this;
uni.setStorage({
key: 'reason',
data: this.refuse_reason,
success: function () {
uni.navigateTo({
url: `/pages/ious_refuse/ious_refuse`
url: `/pages/ious_refuse/ious_refuse?repeat_flg=${that.repeat_flg}`
});
}
});
......
......@@ -4,7 +4,7 @@ Vue.use(Vuex)
const store = new Vuex.Store({
state: {
webviewUrl: '',
installment: {} //采购分期存储的数据
installment: {} //谛宝白条存储的数据
},
mutations: {
changeWebviewUrl(state, url) {
......
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