|
|
@@ -22,7 +22,7 @@
|
|
22
|
22
|
</view>
|
|
23
|
23
|
<view class="input-item flex align-center">
|
|
24
|
24
|
<uni-data-select
|
|
25
|
|
- style="text-align: left;"
|
|
|
25
|
+ style="text-align: left;width: 200px;"
|
|
26
|
26
|
v-model="registerForm.idType"
|
|
27
|
27
|
:localdata="certificate"
|
|
28
|
28
|
@change="certificateValue"
|
|
|
@@ -30,7 +30,7 @@
|
|
30
|
30
|
</view>
|
|
31
|
31
|
<view class="input-item flex align-center">
|
|
32
|
32
|
<uni-data-select
|
|
33
|
|
- style="text-align: left;"
|
|
|
33
|
+ style="text-align: left;width: 200px;"
|
|
34
|
34
|
v-model="registerForm.nationality"
|
|
35
|
35
|
:localdata="nationality"
|
|
36
|
36
|
></uni-data-select>
|
|
|
@@ -116,21 +116,30 @@ import constant from '../utils/constant'
|
|
116
|
116
|
nationality: [
|
|
117
|
117
|
{ value: 0, text: "国内" },
|
|
118
|
118
|
{ value: 1, text: "国外" },
|
|
119
|
|
- ],
|
|
|
119
|
+ ],
|
|
|
120
|
+ passportVal:{}
|
|
120
|
121
|
}
|
|
121
|
122
|
},
|
|
122
|
123
|
created() {
|
|
123
|
124
|
this.getCode()
|
|
124
|
125
|
},
|
|
125
|
|
- onLoad(option) {
|
|
126
|
|
- let {
|
|
127
|
|
- params
|
|
128
|
|
- } = option
|
|
129
|
|
- // this.improvedetail = JSON.parse(improvedetail)
|
|
130
|
|
- let paramsObj = JSON.parse(params);
|
|
131
|
|
- this.registerForm.name = paramsObj.nickName;
|
|
132
|
|
- this.registerForm.identityNo = paramsObj.idCard
|
|
133
|
|
- this.registerForm.id = paramsObj.id
|
|
|
126
|
+ onLoad(option) {
|
|
|
127
|
+ this.sysType = uni.getStorageSync('sysType');
|
|
|
128
|
+ // this.passportVal = option;
|
|
|
129
|
+ if(option.valus==1){
|
|
|
130
|
+ this.registerForm.idType =1
|
|
|
131
|
+ this.registerForm.nationality =1
|
|
|
132
|
+ }else{
|
|
|
133
|
+ let {
|
|
|
134
|
+ params
|
|
|
135
|
+ } = option
|
|
|
136
|
+ // this.improvedetail = JSON.parse(improvedetail)
|
|
|
137
|
+ let paramsObj = JSON.parse(params);
|
|
|
138
|
+ this.registerForm.name = paramsObj.nickName;
|
|
|
139
|
+ this.registerForm.identityNo = paramsObj.idCard
|
|
|
140
|
+ this.registerForm.id = paramsObj.id
|
|
|
141
|
+ }
|
|
|
142
|
+
|
|
134
|
143
|
},
|
|
135
|
144
|
methods: {
|
|
136
|
145
|
// 获取手机验证码
|
|
|
@@ -228,10 +237,7 @@ import constant from '../utils/constant'
|
|
228
|
237
|
certificateValue(e){
|
|
229
|
238
|
this.registerForm.idType = e
|
|
230
|
239
|
}
|
|
231
|
|
- },
|
|
232
|
|
- onLoad(){
|
|
233
|
|
- this.sysType = uni.getStorageSync('sysType');
|
|
234
|
|
- }
|
|
|
240
|
+ },
|
|
235
|
241
|
}
|
|
236
|
242
|
</script>
|
|
237
|
243
|
|
|
|
@@ -244,7 +250,14 @@ import constant from '../utils/constant'
|
|
244
|
250
|
}
|
|
245
|
251
|
::v-deep .uni-icons[data-v-a2e81f6e]{
|
|
246
|
252
|
display: none;
|
|
247
|
|
- }
|
|
|
253
|
+ }
|
|
|
254
|
+ .uni-icons{
|
|
|
255
|
+ display: none;
|
|
|
256
|
+ }
|
|
|
257
|
+ // ::v-deep .uni-select{
|
|
|
258
|
+ // border: none;
|
|
|
259
|
+ // width: 200%;
|
|
|
260
|
+ // }
|
|
248
|
261
|
.normal-login-container {
|
|
249
|
262
|
width: 100%;
|
|
250
|
263
|
background-color: #ffffff;
|