基础资料新增字段
This commit is contained in:
@@ -10,8 +10,8 @@ import router from '../router'
|
|||||||
|
|
||||||
// 基础配置
|
// 基础配置
|
||||||
const config = {
|
const config = {
|
||||||
apiUrl : 'https://douhuo.douhuofalv.com/api/',
|
// apiUrl : 'https://douhuo.douhuofalv.com/api/',
|
||||||
// apiUrl : 'https://api.douhuotest.douhuofalv.com/api/', //测试环境
|
apiUrl : 'https://api.douhuotest.douhuofalv.com/api/', //测试环境
|
||||||
timeout : 60000
|
timeout : 60000
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
"name" : "抖火",
|
"name" : "抖火",
|
||||||
"appid" : "__UNI__C305C03",
|
"appid" : "__UNI__C305C03",
|
||||||
"description" : "纵有疾风起,人生不言弃",
|
"description" : "纵有疾风起,人生不言弃",
|
||||||
"versionName" : "1.4.0",
|
"versionName" : "1.4.1",
|
||||||
"versionCode" : 104,
|
"versionCode" : 104,
|
||||||
"transformPx" : false,
|
"transformPx" : false,
|
||||||
/* 5+App特有相关 */
|
/* 5+App特有相关 */
|
||||||
|
|||||||
24
pages.json
24
pages.json
@@ -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",
|
||||||
|
|||||||
@@ -122,6 +122,63 @@
|
|||||||
</label>
|
</label>
|
||||||
<input class="from-input" v-model="baseInfo.now_company_name" placeholder="输入现单位名称">
|
<input class="from-input" v-model="baseInfo.now_company_name" placeholder="输入现单位名称">
|
||||||
</view>
|
</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>
|
||||||
<view class="btn">
|
<view class="btn">
|
||||||
<button size="default" @click="onSubmit">提交基础资料</button>
|
<button size="default" @click="onSubmit">提交基础资料</button>
|
||||||
@@ -183,18 +240,27 @@
|
|||||||
// 提交基础资料
|
// 提交基础资料
|
||||||
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_domicile : this.baseInfo.now_domicile,
|
||||||
now_company_address : this.baseInfo.now_company_address,
|
now_company_address : this.baseInfo.now_company_address,
|
||||||
now_company_name : this.baseInfo.now_company_name
|
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({
|
uni.showModal({
|
||||||
title : '提示',
|
title : '提示',
|
||||||
|
|||||||
Reference in New Issue
Block a user