基础信息新增字段【现居住地,现单位地址,现单位名称】

This commit is contained in:
唐明明
2023-03-22 14:32:17 +08:00
parent 0dc909ea05
commit 88ed4bdadf
2 changed files with 36 additions and 32 deletions

View File

@@ -343,17 +343,7 @@
"navigationBarTitleText": "机构信息", "navigationBarTitleText": "机构信息",
"enablePullDownRefresh": false, "enablePullDownRefresh": false,
"navigationBarBackgroundColor": "#446EFE", "navigationBarBackgroundColor": "#446EFE",
"navigationBarTextStyle": "white", "navigationBarTextStyle": "white"
"app-plus": {
"titleNView": {
"buttons": [{
"text": "使用账户信息",
"color": "#ffffff",
"fontSize": "30rpx",
"width": "180rpx"
}]
}
}
} }
}, { }, {
"path": "pages/work/perfectBasis", "path": "pages/work/perfectBasis",
@@ -363,17 +353,7 @@
"navigationBarTitleText": "基础信息", "navigationBarTitleText": "基础信息",
"enablePullDownRefresh": false, "enablePullDownRefresh": false,
"navigationBarBackgroundColor": "#446EFE", "navigationBarBackgroundColor": "#446EFE",
"navigationBarTextStyle": "white", "navigationBarTextStyle": "white"
"app-plus": {
"titleNView": {
"buttons": [{
"text": "使用账户信息",
"color": "#ffffff",
"fontSize": "30rpx",
"width": "180rpx"
}]
}
}
} }
}, { }, {
"path": "pages/transfers/lists", "path": "pages/transfers/lists",

View File

@@ -101,6 +101,27 @@
<view class="from-item from-item-100"> <view class="from-item from-item-100">
<textarea class="from-textarea" auto-height type="text" v-model="baseInfo.tmp_address" placeholder="输入详细地址"></textarea> <textarea class="from-textarea" auto-height type="text" v-model="baseInfo.tmp_address" placeholder="输入详细地址"></textarea>
</view> </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>
<view class="btn"> <view class="btn">
<button size="default" @click="onSubmit">提交基础资料</button> <button size="default" @click="onSubmit">提交基础资料</button>
@@ -142,7 +163,7 @@
perfectBase(this.$Route.query.orderId).then(res => { perfectBase(this.$Route.query.orderId).then(res => {
let { base, province } = res; let { base, province } = res;
this.baseInfo = base; this.baseInfo = base;
this.isCheck = base.check_params.toString() != '' this.isCheck = base.check_params.toString() != ''
this.loding = false; this.loding = false;
uni.hideLoading() uni.hideLoading()
}).catch(err => { }).catch(err => {
@@ -162,15 +183,18 @@
// 提交基础资料 // 提交基础资料
onSubmit(){ onSubmit(){
let data = { let data = {
mobile : this.baseInfo.mobile, mobile : this.baseInfo.mobile,
marriage : this.baseInfo.marriage, marriage : this.baseInfo.marriage,
mate : this.baseInfo.mate, mate : this.baseInfo.mate,
education : this.baseInfo.education, education : this.baseInfo.education,
school : this.baseInfo.school, school : this.baseInfo.school,
tmp_address : this.baseInfo.tmp_address, tmp_address : this.baseInfo.tmp_address,
province_id : this.baseInfo.district_id, province_id : this.baseInfo.district_id,
city_id : this.baseInfo.city_id, city_id : this.baseInfo.city_id,
district_id : this.baseInfo.province_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({ uni.showModal({
title : '提示', title : '提示',