实名认证修改回显
This commit is contained in:
parent
5866ee47dc
commit
ac02c303c3
|
|
@ -15,7 +15,7 @@ export default {
|
|||
// request 触发前拼接 url
|
||||
args.url = 'https://www.opsoul.com:8881' + args.url;
|
||||
// args.url = 'http://127.0.0.1:80' + args.url;
|
||||
// args.url = 'http://192.168.2.12:80' + args.url;
|
||||
// args.url = 'http://192.168.2.36:80' + args.url;
|
||||
|
||||
if (!args.data) {
|
||||
args.data = {}
|
||||
|
|
|
|||
|
|
@ -197,7 +197,7 @@
|
|||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="flex justify-start align-center margin-top-sm">
|
||||
<view class="flex justify-start align-center margin-top-sm" v-if="specialSkill[index].specialSubTypeObj.isCert == 1">
|
||||
<view>技能证书:</view>
|
||||
<view class="grid col-1 upload-pic-grid grid-square flex-sub">
|
||||
<view class="bg-img" v-for="(url, index0) in specialSkill[index].skillCert"
|
||||
|
|
@ -216,7 +216,7 @@
|
|||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="flex justify-start align-center margin-top-sm">
|
||||
<view class="flex justify-start align-center margin-top-sm" v-if="specialSkill[index].specialSubTypeObj.isSure == 1">
|
||||
<view>保险证明:</view>
|
||||
<view class="grid col-1 upload-pic-grid grid-square flex-sub">
|
||||
<view class="bg-img" v-for="(url, index0) in specialSkill[index].insurCert"
|
||||
|
|
@ -235,7 +235,7 @@
|
|||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="flex justify-start align-center">
|
||||
<view class="flex justify-start align-center" v-if="specialSkill[index].specialSubTypeObj.isSure == 1">
|
||||
<view>保险日期:</view>
|
||||
<uni-datetime-picker style="width: 75%;"
|
||||
:value="[specialSkill[index].insurStartDate, specialSkill[index].insurEndDate]"
|
||||
|
|
@ -447,8 +447,43 @@
|
|||
this.loadSpecialSkillType();
|
||||
}
|
||||
},
|
||||
showForm() {
|
||||
if (this.curCertifyInfo) {
|
||||
async showForm() {
|
||||
if (this.curCertifyInfo) {
|
||||
let idCardImgList = [];
|
||||
if (this.curCertifyInfo.idCardUrl1) {
|
||||
idCardImgList.push(this.curCertifyInfo.idCardUrl1);
|
||||
}
|
||||
if (this.curCertifyInfo.idCardUrl2) {
|
||||
idCardImgList.push(this.curCertifyInfo.idCardUrl2);
|
||||
}
|
||||
// 查地址
|
||||
let companyArea = [];
|
||||
let areaList = await this.$request.areaListByStep({
|
||||
areaId: this.curCertifyInfo.companyProvinceId
|
||||
});
|
||||
areaList = areaList.data;
|
||||
let subAreaList = await this.$request.areaListByStep({
|
||||
parentCode: this.curCertifyInfo.companyProvinceId,
|
||||
areaId: this.curCertifyInfo.companyCityId
|
||||
});
|
||||
subAreaList = subAreaList.data;
|
||||
let subSubAreaList = await this.$request.areaListByStep({
|
||||
parentCode: this.curCertifyInfo.companyCityId,
|
||||
areaId: this.curCertifyInfo.companyCountryId
|
||||
});
|
||||
subSubAreaList = subSubAreaList.data;
|
||||
companyArea.push(areaList[0]);
|
||||
companyArea.push(subAreaList[0]);
|
||||
companyArea.push(subSubAreaList[0]);
|
||||
|
||||
this.realNameInfo = {
|
||||
...this.curCertifyInfo,
|
||||
idCardImgList: idCardImgList,
|
||||
licenseImgList: this.curCertifyInfo.businessLicenseUrl ? [this.curCertifyInfo.businessLicenseUrl] : [],
|
||||
companyArea: companyArea,
|
||||
otherServ: this.curCertifyInfo.otherServ && this.curCertifyInfo.otherServ.length ? this.curCertifyInfo.otherServ.split(",") : []
|
||||
}
|
||||
|
||||
this.curCertifyInfo = null;
|
||||
}
|
||||
this.loadAreaList();
|
||||
|
|
|
|||
Loading…
Reference in New Issue