基础信息新增字段【现居住地,现单位地址,现单位名称】
This commit is contained in:
@@ -101,6 +101,27 @@
|
||||
<view class="from-item from-item-100">
|
||||
<textarea class="from-textarea" auto-height type="text" v-model="baseInfo.tmp_address" placeholder="输入详细地址"></textarea>
|
||||
</view>
|
||||
<view class="from-item from-item-100">
|
||||
<label>
|
||||
现居住地址
|
||||
<uni-icons v-if="baseInfo.check_params.now_domicile" class="from-icon" type="info" size="18" color="red" @click="modifyToast(baseInfo.check_params.now_domicile.description)"></uni-icons>
|
||||
</label>
|
||||
<input class="from-input" type="number" v-model="baseInfo.now_domicile" placeholder="输入现居住地址">
|
||||
</view>
|
||||
<view class="from-item from-item-100">
|
||||
<label>
|
||||
现单位地址
|
||||
<uni-icons v-if="baseInfo.check_params.now_company_address" class="from-icon" type="info" size="18" color="red" @click="modifyToast(baseInfo.check_params.now_company_address.description)"></uni-icons>
|
||||
</label>
|
||||
<input class="from-input" type="number" v-model="baseInfo.now_company_address" placeholder="输入现单位地址">
|
||||
</view>
|
||||
<view class="from-item from-item-100">
|
||||
<label>
|
||||
现单位名称
|
||||
<uni-icons v-if="baseInfo.check_params.now_company_name" class="from-icon" type="info" size="18" color="red" @click="modifyToast(baseInfo.check_params.now_company_name.description)"></uni-icons>
|
||||
</label>
|
||||
<input class="from-input" type="number" v-model="baseInfo.now_company_name" placeholder="输入现单位名称">
|
||||
</view>
|
||||
</view>
|
||||
<view class="btn">
|
||||
<button size="default" @click="onSubmit">提交基础资料</button>
|
||||
@@ -142,7 +163,7 @@
|
||||
perfectBase(this.$Route.query.orderId).then(res => {
|
||||
let { base, province } = res;
|
||||
this.baseInfo = base;
|
||||
this.isCheck = base.check_params.toString() != ''
|
||||
this.isCheck = base.check_params.toString() != ''
|
||||
this.loding = false;
|
||||
uni.hideLoading()
|
||||
}).catch(err => {
|
||||
@@ -162,15 +183,18 @@
|
||||
// 提交基础资料
|
||||
onSubmit(){
|
||||
let data = {
|
||||
mobile : this.baseInfo.mobile,
|
||||
marriage : this.baseInfo.marriage,
|
||||
mate : this.baseInfo.mate,
|
||||
education : this.baseInfo.education,
|
||||
school : this.baseInfo.school,
|
||||
tmp_address : this.baseInfo.tmp_address,
|
||||
province_id : this.baseInfo.district_id,
|
||||
city_id : this.baseInfo.city_id,
|
||||
district_id : this.baseInfo.province_id
|
||||
mobile : this.baseInfo.mobile,
|
||||
marriage : this.baseInfo.marriage,
|
||||
mate : this.baseInfo.mate,
|
||||
education : this.baseInfo.education,
|
||||
school : this.baseInfo.school,
|
||||
tmp_address : this.baseInfo.tmp_address,
|
||||
province_id : this.baseInfo.district_id,
|
||||
city_id : this.baseInfo.city_id,
|
||||
district_id : this.baseInfo.province_id,
|
||||
now_domicile : this.baseInfo.now_domicile,
|
||||
now_company_address : this.baseInfo.now_company_address,
|
||||
now_company_name : this.baseInfo.now_company_name
|
||||
}
|
||||
uni.showModal({
|
||||
title : '提示',
|
||||
|
||||
Reference in New Issue
Block a user