BUG优化
parent
8ad637d4a2
commit
dcbe398e58
|
@ -48,6 +48,10 @@ import {
|
||||||
type: String,
|
type: String,
|
||||||
default: ''
|
default: ''
|
||||||
},
|
},
|
||||||
|
applyType: {
|
||||||
|
type: String,
|
||||||
|
default: ''
|
||||||
|
},
|
||||||
forbidEdit: {
|
forbidEdit: {
|
||||||
type: Boolean,
|
type: Boolean,
|
||||||
default: true
|
default: true
|
||||||
|
|
|
@ -137,6 +137,10 @@ import ZqsSelect from "../../../../components/zqs-select/zqs-select.vue";
|
||||||
type: String,
|
type: String,
|
||||||
default: ''
|
default: ''
|
||||||
},
|
},
|
||||||
|
applyType: {
|
||||||
|
type: String,
|
||||||
|
default: ''
|
||||||
|
},
|
||||||
forbidEdit: {
|
forbidEdit: {
|
||||||
type: Boolean,
|
type: Boolean,
|
||||||
default: true
|
default: true
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
</cu-custom>
|
</cu-custom>
|
||||||
<view class="cu-list menu">
|
<view class="cu-list menu">
|
||||||
<view class="cu-item arrow">
|
<view class="cu-item arrow">
|
||||||
<navigator class="content" hover-class="none" :url="'/pages/basics/basic-info/user-info?APPLY_STATUS=' + pd.APPLY_STATUS" open-type="redirect">
|
<navigator class="content" hover-class="none" :url="'/pages/basics/basic-info/user-info?APPLY_STATUS=' + pd.APPLY_STATUS + '&APPLY_TYPE=' + pd.APPLY_TYPE" open-type="redirect">
|
||||||
<text class="text-semi">注册信息</text>
|
<text class="text-semi">注册信息</text>
|
||||||
</navigator>
|
</navigator>
|
||||||
</view>
|
</view>
|
||||||
|
@ -88,6 +88,7 @@
|
||||||
uni.hideLoading();
|
uni.hideLoading();
|
||||||
if (res.data.pd) { //已有申请
|
if (res.data.pd) { //已有申请
|
||||||
_this.pd = res.data.pd;
|
_this.pd = res.data.pd;
|
||||||
|
console.log("222",_this.pd)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
@ -18,19 +18,19 @@
|
||||||
|
|
||||||
<block v-if="TabCur==0">
|
<block v-if="TabCur==0">
|
||||||
<scroll-view class="dy-scroll-nobg" scroll-y :style="'top:'+sTop+'px;height:calc(100vh - '+totalHeight+'px)'">
|
<scroll-view class="dy-scroll-nobg" scroll-y :style="'top:'+sTop+'px;height:calc(100vh - '+totalHeight+'px)'">
|
||||||
<Account ref="account" :applyStatus="applyStatus" :forbidEdit="forbidEdit" :colorValue="colorValue" :formData="form" @confirm="goToNext($event,1)" @goEdit="goEdit"></Account>
|
<Account ref="account" :applyStatus="applyStatus" :applyType="applyType" :forbidEdit="forbidEdit" :colorValue="colorValue" :formData="form" @confirm="goToNext($event,1)" @goEdit="goEdit"></Account>
|
||||||
</scroll-view>
|
</scroll-view>
|
||||||
</block>
|
</block>
|
||||||
|
|
||||||
<block v-if="TabCur==1">
|
<block v-if="TabCur==1">
|
||||||
<scroll-view class="dy-scroll-nobg" scroll-y :style="'top:'+sTop+'px;height:calc(100vh - '+totalHeight+'px)'">
|
<scroll-view class="dy-scroll-nobg" scroll-y :style="'top:'+sTop+'px;height:calc(100vh - '+totalHeight+'px)'">
|
||||||
<base-info ref="baseInfo" :applyStatus="applyStatus" :forbidEdit="forbidEdit" :colorValue="colorValue" :formData="form" @confirm="goToNext($event,2)" @goEdit="goEdit"></base-info>
|
<base-info ref="baseInfo" :applyStatus="applyStatus" :applyType="applyType" :forbidEdit="forbidEdit" :colorValue="colorValue" :formData="form" @confirm="goToNext($event,2)" @goEdit="goEdit"></base-info>
|
||||||
</scroll-view>
|
</scroll-view>
|
||||||
</block>
|
</block>
|
||||||
|
|
||||||
<block v-if="TabCur==2">
|
<block v-if="TabCur==2">
|
||||||
<scroll-view class="dy-scroll-nobg" scroll-y :style="'top:'+sTop+'px;height:calc(100vh - '+totalHeight+'px)'">
|
<scroll-view class="dy-scroll-nobg" scroll-y :style="'top:'+sTop+'px;height:calc(100vh - '+totalHeight+'px)'">
|
||||||
<Certificate ref="certificate" :applyStatus="applyStatus" :forbidEdit="forbidEdit" :colorValue="colorValue" :formData="form" :fileData="fileData" :buttonloading="buttonloading" @confirm="submitRegister($event)" @goEdit="goEdit"></Certificate>
|
<Certificate ref="certificate" :applyStatus="applyStatus" :applyType="applyType" :forbidEdit="forbidEdit" :colorValue="colorValue" :formData="form" :fileData="fileData" :buttonloading="buttonloading" @confirm="submitRegister($event)" @goEdit="goEdit"></Certificate>
|
||||||
</scroll-view>
|
</scroll-view>
|
||||||
</block>
|
</block>
|
||||||
|
|
||||||
|
@ -68,6 +68,7 @@ import Apply from "./components/apply.vue"
|
||||||
scrollLeft: 0,
|
scrollLeft: 0,
|
||||||
tabNav: ['注册信息', '基础信息', '资格证照'],
|
tabNav: ['注册信息', '基础信息', '资格证照'],
|
||||||
applyStatus: '',
|
applyStatus: '',
|
||||||
|
applyType: '',
|
||||||
fileData: {
|
fileData: {
|
||||||
// 身份证正面
|
// 身份证正面
|
||||||
idCardFront: [],
|
idCardFront: [],
|
||||||
|
@ -208,6 +209,7 @@ import Apply from "./components/apply.vue"
|
||||||
},
|
},
|
||||||
onLoad(event) {
|
onLoad(event) {
|
||||||
this.applyStatus = event.APPLY_STATUS
|
this.applyStatus = event.APPLY_STATUS
|
||||||
|
this.applyType = event.APPLY_TYPE
|
||||||
this.getData();
|
this.getData();
|
||||||
loginSession();
|
loginSession();
|
||||||
},
|
},
|
||||||
|
@ -275,7 +277,7 @@ import Apply from "./components/apply.vue"
|
||||||
_this.form.QUALIFICATION_CERTIFICATE_CATEGORY = item.ALLOW_QUALIFICATION ? item.ALLOW_QUALIFICATION.split(',') : []
|
_this.form.QUALIFICATION_CERTIFICATE_CATEGORY = item.ALLOW_QUALIFICATION ? item.ALLOW_QUALIFICATION.split(',') : []
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
console.log(_this.form)
|
console.log("111",this.applyType)
|
||||||
} else {
|
} else {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: res.data.message,
|
title: res.data.message,
|
||||||
|
|
Loading…
Reference in New Issue