基础资料新增字段
This commit is contained in:
@@ -10,8 +10,8 @@ import router from '../router'
|
||||
|
||||
// 基础配置
|
||||
const config = {
|
||||
apiUrl : 'https://douhuo.douhuofalv.com/api/',
|
||||
// apiUrl : 'https://api.douhuotest.douhuofalv.com/api/', //测试环境
|
||||
// apiUrl : 'https://douhuo.douhuofalv.com/api/',
|
||||
apiUrl : 'https://api.douhuotest.douhuofalv.com/api/', //测试环境
|
||||
timeout : 60000
|
||||
}
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"name" : "抖火",
|
||||
"appid" : "__UNI__C305C03",
|
||||
"description" : "纵有疾风起,人生不言弃",
|
||||
"versionName" : "1.4.0",
|
||||
"versionName" : "1.4.1",
|
||||
"versionCode" : 104,
|
||||
"transformPx" : false,
|
||||
/* 5+App特有相关 */
|
||||
|
||||
24
pages.json
24
pages.json
@@ -343,17 +343,7 @@
|
||||
"navigationBarTitleText": "机构信息",
|
||||
"enablePullDownRefresh": false,
|
||||
"navigationBarBackgroundColor": "#446EFE",
|
||||
"navigationBarTextStyle": "white",
|
||||
"app-plus": {
|
||||
"titleNView": {
|
||||
"buttons": [{
|
||||
"text": "使用账户信息",
|
||||
"color": "#ffffff",
|
||||
"fontSize": "30rpx",
|
||||
"width": "180rpx"
|
||||
}]
|
||||
}
|
||||
}
|
||||
"navigationBarTextStyle": "white"
|
||||
}
|
||||
}, {
|
||||
"path": "pages/work/perfectBasis",
|
||||
@@ -363,17 +353,7 @@
|
||||
"navigationBarTitleText": "基础信息",
|
||||
"enablePullDownRefresh": false,
|
||||
"navigationBarBackgroundColor": "#446EFE",
|
||||
"navigationBarTextStyle": "white",
|
||||
"app-plus": {
|
||||
"titleNView": {
|
||||
"buttons": [{
|
||||
"text": "使用账户信息",
|
||||
"color": "#ffffff",
|
||||
"fontSize": "30rpx",
|
||||
"width": "180rpx"
|
||||
}]
|
||||
}
|
||||
}
|
||||
"navigationBarTextStyle": "white"
|
||||
}
|
||||
}, {
|
||||
"path": "pages/transfers/lists",
|
||||
|
||||
@@ -122,6 +122,63 @@
|
||||
</label>
|
||||
<input class="from-input" v-model="baseInfo.now_company_name" placeholder="输入现单位名称">
|
||||
</view>
|
||||
<!-- 新增 -->
|
||||
<view class="from-item from-item-50">
|
||||
<label>
|
||||
<text>*</text>预留联系人1姓名
|
||||
<uni-icons v-if="baseInfo.check_params.one_contact" 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" v-model="baseInfo.one_contact" placeholder="姓名">
|
||||
</view>
|
||||
<view class="from-item from-item-50">
|
||||
<label>
|
||||
<text>*</text>预留联系人1关系
|
||||
<uni-icons v-if="baseInfo.check_params.one_contact_relation" 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" v-model="baseInfo.one_contact_relation" placeholder="关系">
|
||||
</view>
|
||||
<view class="from-item from-item-50">
|
||||
<label>
|
||||
<text>*</text>预留联系人2姓名
|
||||
<uni-icons v-if="baseInfo.check_params.two_contact" 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" v-model="baseInfo.two_contact" placeholder="姓名">
|
||||
</view>
|
||||
<view class="from-item from-item-50">
|
||||
<label>
|
||||
<text>*</text>预留联系人2关系
|
||||
<uni-icons v-if="baseInfo.check_params.two_contact_relation" 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" v-model="baseInfo.two_contact_relation" placeholder="关系">
|
||||
</view>
|
||||
<view class="from-item from-item-50">
|
||||
<label>
|
||||
<text>*</text>预留联系人3姓名
|
||||
<uni-icons v-if="baseInfo.check_params.three_contact" 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" v-model="baseInfo.three_contact" placeholder="姓名">
|
||||
</view>
|
||||
<view class="from-item from-item-50">
|
||||
<label>
|
||||
<text>*</text>预留联系人3关系
|
||||
<uni-icons v-if="baseInfo.check_params.three_contact_relation" 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" v-model="baseInfo.three_contact_relation" placeholder="关系">
|
||||
</view>
|
||||
<view class="from-item from-item-50">
|
||||
<label>
|
||||
<text>*</text>预留联系人4姓名
|
||||
<uni-icons v-if="baseInfo.check_params.four_contact" 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" v-model="baseInfo.four_contact" placeholder="姓名">
|
||||
</view>
|
||||
<view class="from-item from-item-50">
|
||||
<label>
|
||||
<text>*</text>预留联系人4关系
|
||||
<uni-icons v-if="baseInfo.check_params.four_contact_relation" 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" v-model="baseInfo.four_contact_relation" placeholder="关系">
|
||||
</view>
|
||||
</view>
|
||||
<view class="btn">
|
||||
<button size="default" @click="onSubmit">提交基础资料</button>
|
||||
@@ -183,18 +240,27 @@
|
||||
// 提交基础资料
|
||||
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,
|
||||
now_domicile : this.baseInfo.now_domicile,
|
||||
now_company_address : this.baseInfo.now_company_address,
|
||||
now_company_name : this.baseInfo.now_company_name
|
||||
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,
|
||||
|
||||
one_contact : this.baseInfo.one_contact,
|
||||
one_contact_relation : this.baseInfo.one_contact_relation,
|
||||
two_contact : this.baseInfo.two_contact,
|
||||
two_contact_relation : this.baseInfo.two_contact_relation,
|
||||
three_contact : this.baseInfo.three_contact,
|
||||
three_contact_relation : this.baseInfo.three_contact_relation,
|
||||
four_contact : this.baseInfo.four_contact,
|
||||
four_contact_relation : this.baseInfo.four_contact_relation
|
||||
}
|
||||
uni.showModal({
|
||||
title : '提示',
|
||||
|
||||
Reference in New Issue
Block a user