|
@@ -28,15 +28,15 @@
|
|
</uni-datetime-picker>
|
|
</uni-datetime-picker>
|
|
</view>
|
|
</view>
|
|
|
|
|
|
- <!-- <view class="form-label-input">
|
|
|
|
|
|
+ <view class="form-label-input">
|
|
<view class="phone-form-label"><text class="form-label-require">*</text>籍贯</view>
|
|
<view class="phone-form-label"><text class="form-label-require">*</text>籍贯</view>
|
|
<picker mode="multiSelector" :range="multiArray" :range-key="'label'" :value="multiIndex"
|
|
<picker mode="multiSelector" :range="multiArray" :range-key="'label'" :value="multiIndex"
|
|
@columnchange="bindMultiPickerColumnChange" @change="onPickerConfirm">
|
|
@columnchange="bindMultiPickerColumnChange" @change="onPickerConfirm">
|
|
<view class="picker">
|
|
<view class="picker">
|
|
- {{ multiArray[0][multiIndex[0]].label }} - {{ multiArray[1][multiIndex[1]].label }}
|
|
|
|
|
|
+ {{ formData.jiguanShengName}}-{{formData.jiguanShiName}} 箭头
|
|
</view>
|
|
</view>
|
|
</picker>
|
|
</picker>
|
|
- </view> -->
|
|
|
|
|
|
+ </view>
|
|
<view class="form-label-input">
|
|
<view class="form-label-input">
|
|
<view class="phone-form-label"><text class="form-label-require">*</text>身份证地址</view>
|
|
<view class="phone-form-label"><text class="form-label-require">*</text>身份证地址</view>
|
|
<uni-easyinput v-model="formData.hujiDizhi" placeholder="请输入身份证地址" />
|
|
<uni-easyinput v-model="formData.hujiDizhi" placeholder="请输入身份证地址" />
|
|
@@ -148,6 +148,11 @@
|
|
xingzuo: {},
|
|
xingzuo: {},
|
|
hunyin: {},
|
|
hunyin: {},
|
|
xueli: {},
|
|
xueli: {},
|
|
|
|
+ jiguanObj: {},
|
|
|
|
+ jiguanShengId:'',
|
|
|
|
+ jiguanShiId:'',
|
|
|
|
+ jiguanShiName:'',
|
|
|
|
+ jiguanShengName:'',
|
|
agree: false,
|
|
agree: false,
|
|
xingzuoIndex: 0,
|
|
xingzuoIndex: 0,
|
|
minzuIndex: 0,
|
|
minzuIndex: 0,
|
|
@@ -230,7 +235,7 @@
|
|
}
|
|
}
|
|
|
|
|
|
// 强制更新视图
|
|
// 强制更新视图
|
|
- this.$forceUpdate();
|
|
|
|
|
|
+ //this.$forceUpdate();
|
|
},
|
|
},
|
|
// 确认选择时获取完整数据
|
|
// 确认选择时获取完整数据
|
|
onPickerConfirm() {
|
|
onPickerConfirm() {
|
|
@@ -238,7 +243,12 @@
|
|
|
|
|
|
const selectedProvince = this.multiArray[0][provinceIndex];
|
|
const selectedProvince = this.multiArray[0][provinceIndex];
|
|
const selectedCity = this.multiArray[1][cityIndex];
|
|
const selectedCity = this.multiArray[1][cityIndex];
|
|
-
|
|
|
|
|
|
+ this.formData.jiguanShengId = selectedProvince.value
|
|
|
|
+ this.formData.jiguanShiId = selectedCity.value
|
|
|
|
+ this.formData.jiguanShiName = selectedCity.label
|
|
|
|
+ this.formData.jiguanShengName = selectedProvince.label
|
|
|
|
+ this.formData.jiguanObj.jiguanShengId = selectedProvince.value
|
|
|
|
+ this.formData.jiguanObj.jiguanShiId =selectedCity.value
|
|
console.log("选中的省份完整数据:", selectedProvince);
|
|
console.log("选中的省份完整数据:", selectedProvince);
|
|
console.log("选中的城市完整数据:", selectedCity);
|
|
console.log("选中的城市完整数据:", selectedCity);
|
|
},
|
|
},
|
|
@@ -306,6 +316,11 @@
|
|
type: 'object'
|
|
type: 'object'
|
|
},
|
|
},
|
|
{
|
|
{
|
|
|
|
+ key: 'jiguanObj',
|
|
|
|
+ name: '籍贯',
|
|
|
|
+ type: 'object'
|
|
|
|
+ },
|
|
|
|
+ {
|
|
key: 'xueli',
|
|
key: 'xueli',
|
|
name: '学历',
|
|
name: '学历',
|
|
type: 'object'
|
|
type: 'object'
|