Commit bbb2cd89 by sunerhu

1.修改申请加盟提交申请刷新第234 步。

parent f2eb2988
...@@ -191,6 +191,7 @@ ...@@ -191,6 +191,7 @@
} }
api.saveApplyInfo(this.applyParam).then((res) => { api.saveApplyInfo(this.applyParam).then((res) => {
if (res['success']) { if (res['success']) {
this.queryById(null, uni.getStorageSync('cffp_userId'))
uni.navigateTo({ uni.navigateTo({
// url:`bank-card?id=${res['data']['id']}` // url:`bank-card?id=${res['data']['id']}`
url: `bank-card` url: `bank-card`
......
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
<image src="../../static/front.png" alt="身份证正面" mode="widthFix"></image> <image src="../../static/front.png" alt="身份证正面" mode="widthFix"></image>
<text class="iconfont icon-weibiaoti553"></text> <text class="iconfont icon-weibiaoti553"></text>
<view class="choseBtn">点击添加身份证正面</view> <view class="choseBtn">点击添加身份证正面</view>
</view> </view>
<view class="content_w" v-if="applyParam.idFrontPageOssPath"> <view class="content_w" v-if="applyParam.idFrontPageOssPath">
<image :src="applyParam.idFrontPageOssPath" @click="upLoadPhoto('front')"></image> <image :src="applyParam.idFrontPageOssPath" @click="upLoadPhoto('front')"></image>
</view> </view>
...@@ -44,7 +44,7 @@ ...@@ -44,7 +44,7 @@
<image src="../../static/back.png" alt="身份证反面" mode="widthFix"></image> <image src="../../static/back.png" alt="身份证反面" mode="widthFix"></image>
<text class="iconfont icon-weibiaoti553"></text> <text class="iconfont icon-weibiaoti553"></text>
<view class="choseBtn">点击添加身份证反面</view> <view class="choseBtn">点击添加身份证反面</view>
</view> </view>
<view class="content_w" v-if="applyParam.idBackPageOssPath"> <view class="content_w" v-if="applyParam.idBackPageOssPath">
<image :src="applyParam.idBackPageOssPath" @click="upLoadPhoto('back')"></image> <image :src="applyParam.idBackPageOssPath" @click="upLoadPhoto('back')"></image>
</view> </view>
...@@ -103,13 +103,13 @@ ...@@ -103,13 +103,13 @@
if (res == true) { if (res == true) {
this.queryById(null, uni.getStorageSync('cffp_userId')) this.queryById(null, uni.getStorageSync('cffp_userId'))
} }
uni.$off('ckqueryById'); uni.$off('ckqueryById');
}) })
}, },
methods: { methods: {
queryById(id, userId) { queryById(id, userId) {
uni.showLoading({ uni.showLoading({
title: '加载中...' title: '加载中...'
}); });
api.queryById({ api.queryById({
id: id, id: id,
...@@ -165,6 +165,7 @@ ...@@ -165,6 +165,7 @@
} }
api.saveApplyInfo(this.applyParam).then((res) => { api.saveApplyInfo(this.applyParam).then((res) => {
if (res['success']) { if (res['success']) {
this.queryById(null, uni.getStorageSync('cffp_userId'))
uni.navigateTo({ uni.navigateTo({
// url:`id-card?id=${res['data']['id']}` // url:`id-card?id=${res['data']['id']}`
url: `education` url: `education`
......
...@@ -209,6 +209,7 @@ ...@@ -209,6 +209,7 @@
} }
api.saveApplyInfo(this.applyParam).then((res) => { api.saveApplyInfo(this.applyParam).then((res) => {
if (res['success']) { if (res['success']) {
this.queryById(null, uni.getStorageSync('cffp_userId'))
uni.navigateTo({ uni.navigateTo({
// url:`id-card?id=${res['data']['id']}` // url:`id-card?id=${res['data']['id']}`
url: `id-card` url: `id-card`
......
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