|
@@ -10,7 +10,7 @@
|
|
|
<el-col :span="11">
|
|
<el-col :span="11">
|
|
|
<div class="imageItem">
|
|
<div class="imageItem">
|
|
|
<p>行驶证正面页</p>
|
|
<p>行驶证正面页</p>
|
|
|
- <el-upload v-if="!xszFront" @change="uploadImage($event, 'xszf')" :auto-upload="false" :show-file-list="false">
|
|
|
|
|
|
|
+ <el-upload v-if="!xszFront" drag @change="uploadImage($event, 'xszf')" :auto-upload="false" :show-file-list="false">
|
|
|
<div class="upload-box">
|
|
<div class="upload-box">
|
|
|
<div class="icon-box">
|
|
<div class="icon-box">
|
|
|
<el-icon style="font-size: 20px"><Camera /></el-icon>
|
|
<el-icon style="font-size: 20px"><Camera /></el-icon>
|
|
@@ -18,7 +18,7 @@
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
</el-upload>
|
|
</el-upload>
|
|
|
- <el-upload v-else :auto-upload="false" :show-file-list="false" @change="uploadImage($event, 'xszf')">
|
|
|
|
|
|
|
+ <el-upload v-else drag :auto-upload="false" :show-file-list="false" @change="uploadImage($event, 'xszf')">
|
|
|
<div class="upload-box">
|
|
<div class="upload-box">
|
|
|
<img class="upload-image" :src="xszFront"/>
|
|
<img class="upload-image" :src="xszFront"/>
|
|
|
</div>
|
|
</div>
|
|
@@ -26,7 +26,7 @@
|
|
|
</div>
|
|
</div>
|
|
|
<div class="imageItem">
|
|
<div class="imageItem">
|
|
|
<p>行驶证背面页</p>
|
|
<p>行驶证背面页</p>
|
|
|
- <el-upload v-if="!xszBack" @change="uploadImage($event, 'xszb')" :auto-upload="false" :show-file-list="false">
|
|
|
|
|
|
|
+ <el-upload v-if="!xszBack" drag @change="uploadImage($event, 'xszb')" :auto-upload="false" :show-file-list="false">
|
|
|
<div class="upload-box">
|
|
<div class="upload-box">
|
|
|
<div class="icon-box">
|
|
<div class="icon-box">
|
|
|
<el-icon style="font-size: 20px"><Camera /></el-icon>
|
|
<el-icon style="font-size: 20px"><Camera /></el-icon>
|
|
@@ -34,7 +34,7 @@
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
</el-upload>
|
|
</el-upload>
|
|
|
- <el-upload v-else :auto-upload="false" :show-file-list="false" @change="uploadImage($event, 'xszb')">
|
|
|
|
|
|
|
+ <el-upload v-else drag :auto-upload="false" :show-file-list="false" @change="uploadImage($event, 'xszb')">
|
|
|
<div class="upload-box">
|
|
<div class="upload-box">
|
|
|
<img class="upload-image" :src="xszBack"/>
|
|
<img class="upload-image" :src="xszBack"/>
|
|
|
</div>
|
|
</div>
|
|
@@ -119,7 +119,7 @@
|
|
|
<el-col :span="11" v-if="btn.ownerShow === '车主身份证'">
|
|
<el-col :span="11" v-if="btn.ownerShow === '车主身份证'">
|
|
|
<div class="imageItem">
|
|
<div class="imageItem">
|
|
|
<p>身份证正面页</p>
|
|
<p>身份证正面页</p>
|
|
|
- <el-upload v-if="!sfzFront" @change="uploadImage($event, 'sfzf')" :auto-upload="false" :show-file-list="false">
|
|
|
|
|
|
|
+ <el-upload v-if="!sfzFront" drag @change="uploadImage($event, 'sfzf')" :auto-upload="false" :show-file-list="false">
|
|
|
<div class="upload-box">
|
|
<div class="upload-box">
|
|
|
<div class="icon-box">
|
|
<div class="icon-box">
|
|
|
<el-icon style="font-size: 20px"><Camera /></el-icon>
|
|
<el-icon style="font-size: 20px"><Camera /></el-icon>
|
|
@@ -127,7 +127,7 @@
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
</el-upload>
|
|
</el-upload>
|
|
|
- <el-upload v-else :auto-upload="false" :show-file-list="false" @change="uploadImage($event, 'sfzf')">
|
|
|
|
|
|
|
+ <el-upload v-else drag :auto-upload="false" :show-file-list="false" @change="uploadImage($event, 'sfzf')">
|
|
|
<div class="upload-box">
|
|
<div class="upload-box">
|
|
|
<img class="upload-image" :src="sfzFront"/>
|
|
<img class="upload-image" :src="sfzFront"/>
|
|
|
</div>
|
|
</div>
|
|
@@ -135,7 +135,7 @@
|
|
|
</div>
|
|
</div>
|
|
|
<div class="imageItem">
|
|
<div class="imageItem">
|
|
|
<p>身份证背面页</p>
|
|
<p>身份证背面页</p>
|
|
|
- <el-upload v-if="!sfzBack" @change="uploadImage($event, 'sfzb')" :auto-upload="false" :show-file-list="false">
|
|
|
|
|
|
|
+ <el-upload v-if="!sfzBack" drag @change="uploadImage($event, 'sfzb')" :auto-upload="false" :show-file-list="false">
|
|
|
<div class="upload-box">
|
|
<div class="upload-box">
|
|
|
<div class="icon-box">
|
|
<div class="icon-box">
|
|
|
<el-icon style="font-size: 20px"><Camera /></el-icon>
|
|
<el-icon style="font-size: 20px"><Camera /></el-icon>
|
|
@@ -143,7 +143,7 @@
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
</el-upload>
|
|
</el-upload>
|
|
|
- <el-upload v-else :auto-upload="false" :show-file-list="false" @change="uploadImage($event, 'sfzb')">
|
|
|
|
|
|
|
+ <el-upload v-else drag :auto-upload="false" :show-file-list="false" @change="uploadImage($event, 'sfzb')">
|
|
|
<div class="upload-box">
|
|
<div class="upload-box">
|
|
|
<img class="upload-image" :src="sfzBack"/>
|
|
<img class="upload-image" :src="sfzBack"/>
|
|
|
</div>
|
|
</div>
|
|
@@ -153,7 +153,7 @@
|
|
|
<el-col :span="11" v-if="btn.ownerShow === '车主营业执照'">
|
|
<el-col :span="11" v-if="btn.ownerShow === '车主营业执照'">
|
|
|
<div class="imageItem">
|
|
<div class="imageItem">
|
|
|
<p>营业执照</p>
|
|
<p>营业执照</p>
|
|
|
- <el-upload v-if="!yyzzFront" @change="uploadImage($event, 'yyzz')" :auto-upload="false" :show-file-list="false">
|
|
|
|
|
|
|
+ <el-upload v-if="!yyzzFront" drag @change="uploadImage($event, 'yyzz')" :auto-upload="false" :show-file-list="false">
|
|
|
<div class="upload-box">
|
|
<div class="upload-box">
|
|
|
<div class="icon-box">
|
|
<div class="icon-box">
|
|
|
<el-icon style="font-size: 20px"><Camera /></el-icon>
|
|
<el-icon style="font-size: 20px"><Camera /></el-icon>
|
|
@@ -161,7 +161,7 @@
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
</el-upload>
|
|
</el-upload>
|
|
|
- <el-upload v-else :auto-upload="false" :show-file-list="false" @change="uploadImage($event, 'yyzz')">
|
|
|
|
|
|
|
+ <el-upload v-else drag :auto-upload="false" :show-file-list="false" @change="uploadImage($event, 'yyzz')">
|
|
|
<div class="upload-box">
|
|
<div class="upload-box">
|
|
|
<img class="upload-image" :src="yyzzFront"/>
|
|
<img class="upload-image" :src="yyzzFront"/>
|
|
|
</div>
|
|
</div>
|
|
@@ -180,7 +180,7 @@
|
|
|
</el-select>
|
|
</el-select>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
<el-form-item class="m-b-5" label="民族">
|
|
<el-form-item class="m-b-5" label="民族">
|
|
|
- <el-input placeholder="请填写"></el-input>
|
|
|
|
|
|
|
+ <el-input v-model="owerForm.nation" placeholder="请填写"></el-input>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
<el-form-item class="m-b-5" label="住址">
|
|
<el-form-item class="m-b-5" label="住址">
|
|
|
<el-input v-model="owerForm.addr" placeholder="请填写" ></el-input>
|
|
<el-input v-model="owerForm.addr" placeholder="请填写" ></el-input>
|
|
@@ -190,6 +190,7 @@
|
|
|
type="datetime"
|
|
type="datetime"
|
|
|
format="YYYY-MM-DD"
|
|
format="YYYY-MM-DD"
|
|
|
value-format="YYYY-MM-DD"
|
|
value-format="YYYY-MM-DD"
|
|
|
|
|
+ v-model="owerForm.birthday"
|
|
|
style="width: 100%"
|
|
style="width: 100%"
|
|
|
></el-date-picker>
|
|
></el-date-picker>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
@@ -245,7 +246,7 @@
|
|
|
<el-col :span="11" v-if="btn.owner1Show === '投保人身份证'">
|
|
<el-col :span="11" v-if="btn.owner1Show === '投保人身份证'">
|
|
|
<div class="imageItem">
|
|
<div class="imageItem">
|
|
|
<p>身份证正面页</p>
|
|
<p>身份证正面页</p>
|
|
|
- <el-upload v-if="!tbrFront" @change="uploadImage($event, 'tbrf')" :auto-upload="false" :show-file-list="false">
|
|
|
|
|
|
|
+ <el-upload v-if="!tbrFront" drag @change="uploadImage($event, 'tbrf')" :auto-upload="false" :show-file-list="false">
|
|
|
<div class="upload-box">
|
|
<div class="upload-box">
|
|
|
<div class="icon-box">
|
|
<div class="icon-box">
|
|
|
<el-icon style="font-size: 20px"><Camera /></el-icon>
|
|
<el-icon style="font-size: 20px"><Camera /></el-icon>
|
|
@@ -253,7 +254,7 @@
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
</el-upload>
|
|
</el-upload>
|
|
|
- <el-upload v-else :auto-upload="false" :show-file-list="false" @change="uploadImage($event, 'tbrf')">
|
|
|
|
|
|
|
+ <el-upload v-else drag :auto-upload="false" :show-file-list="false" @change="uploadImage($event, 'tbrf')">
|
|
|
<div class="upload-box">
|
|
<div class="upload-box">
|
|
|
<img class="upload-image" :src="tbrFront"/>
|
|
<img class="upload-image" :src="tbrFront"/>
|
|
|
</div>
|
|
</div>
|
|
@@ -261,7 +262,7 @@
|
|
|
</div>
|
|
</div>
|
|
|
<div class="imageItem">
|
|
<div class="imageItem">
|
|
|
<p>身份证背面页</p>
|
|
<p>身份证背面页</p>
|
|
|
- <el-upload v-if="!tbrBack" @change="uploadImage($event, 'tbrb')" :auto-upload="false" :show-file-list="false">
|
|
|
|
|
|
|
+ <el-upload v-if="!tbrBack" drag @change="uploadImage($event, 'tbrb')" :auto-upload="false" :show-file-list="false">
|
|
|
<div class="upload-box">
|
|
<div class="upload-box">
|
|
|
<div class="icon-box">
|
|
<div class="icon-box">
|
|
|
<el-icon style="font-size: 20px"><Camera /></el-icon>
|
|
<el-icon style="font-size: 20px"><Camera /></el-icon>
|
|
@@ -269,7 +270,7 @@
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
</el-upload>
|
|
</el-upload>
|
|
|
- <el-upload v-else :auto-upload="false" :show-file-list="false" @change="uploadImage($event, 'tbrb')">
|
|
|
|
|
|
|
+ <el-upload v-else drag :auto-upload="false" :show-file-list="false" @change="uploadImage($event, 'tbrb')">
|
|
|
<div class="upload-box">
|
|
<div class="upload-box">
|
|
|
<img class="upload-image" :src="tbrBack"/>
|
|
<img class="upload-image" :src="tbrBack"/>
|
|
|
</div>
|
|
</div>
|
|
@@ -279,7 +280,7 @@
|
|
|
<el-col :span="11" v-if="btn.owner1Show === '投保人营业执照'">
|
|
<el-col :span="11" v-if="btn.owner1Show === '投保人营业执照'">
|
|
|
<div class="imageItem">
|
|
<div class="imageItem">
|
|
|
<p>营业执照</p>
|
|
<p>营业执照</p>
|
|
|
- <el-upload v-if="!tbryyzzFront" @change="uploadImage($event, 'tbryyzz')" :auto-upload="false" :show-file-list="false">
|
|
|
|
|
|
|
+ <el-upload v-if="!tbryyzzFront" drag @change="uploadImage($event, 'tbryyzz')" :auto-upload="false" :show-file-list="false">
|
|
|
<div class="upload-box">
|
|
<div class="upload-box">
|
|
|
<div class="icon-box">
|
|
<div class="icon-box">
|
|
|
<el-icon style="font-size: 20px"><Camera /></el-icon>
|
|
<el-icon style="font-size: 20px"><Camera /></el-icon>
|
|
@@ -287,7 +288,7 @@
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
</el-upload>
|
|
</el-upload>
|
|
|
- <el-upload v-else :auto-upload="false" :show-file-list="false" @change="uploadImage($event, 'tbryyzz')">
|
|
|
|
|
|
|
+ <el-upload v-else drag :auto-upload="false" :show-file-list="false" @change="uploadImage($event, 'tbryyzz')">
|
|
|
<div class="upload-box">
|
|
<div class="upload-box">
|
|
|
<img class="upload-image" :src="tbryyzzFront"/>
|
|
<img class="upload-image" :src="tbryyzzFront"/>
|
|
|
</div>
|
|
</div>
|
|
@@ -306,7 +307,7 @@
|
|
|
</el-select>
|
|
</el-select>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
<el-form-item class="m-b-5" label="民族">
|
|
<el-form-item class="m-b-5" label="民族">
|
|
|
- <el-input placeholder="请填写"></el-input>
|
|
|
|
|
|
|
+ <el-input v-model="ower1Form.nation" placeholder="请填写"></el-input>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
<el-form-item class="m-b-5" label="住址">
|
|
<el-form-item class="m-b-5" label="住址">
|
|
|
<el-input v-model="ower1Form.addr" placeholder="请填写" ></el-input>
|
|
<el-input v-model="ower1Form.addr" placeholder="请填写" ></el-input>
|
|
@@ -316,6 +317,7 @@
|
|
|
type="datetime"
|
|
type="datetime"
|
|
|
format="YYYY-MM-DD"
|
|
format="YYYY-MM-DD"
|
|
|
value-format="YYYY-MM-DD"
|
|
value-format="YYYY-MM-DD"
|
|
|
|
|
+ v-model="ower1Form.birthday"
|
|
|
style="width: 100%"
|
|
style="width: 100%"
|
|
|
></el-date-picker>
|
|
></el-date-picker>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
@@ -371,7 +373,7 @@
|
|
|
<el-col :span="11" v-if="btn.owner2Show === '被保人身份证'">
|
|
<el-col :span="11" v-if="btn.owner2Show === '被保人身份证'">
|
|
|
<div class="imageItem">
|
|
<div class="imageItem">
|
|
|
<p>身份证正面页</p>
|
|
<p>身份证正面页</p>
|
|
|
- <el-upload v-if="!bbrFront" @change="uploadImage($event, 'bbrf')" :auto-upload="false" :show-file-list="false">
|
|
|
|
|
|
|
+ <el-upload v-if="!bbrFront" drag @change="uploadImage($event, 'bbrf')" :auto-upload="false" :show-file-list="false">
|
|
|
<div class="upload-box">
|
|
<div class="upload-box">
|
|
|
<div class="icon-box">
|
|
<div class="icon-box">
|
|
|
<el-icon style="font-size: 20px"><Camera /></el-icon>
|
|
<el-icon style="font-size: 20px"><Camera /></el-icon>
|
|
@@ -379,7 +381,7 @@
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
</el-upload>
|
|
</el-upload>
|
|
|
- <el-upload v-else :auto-upload="false" :show-file-list="false" @change="uploadImage($event, 'bbrf')">
|
|
|
|
|
|
|
+ <el-upload v-else drag :auto-upload="false" :show-file-list="false" @change="uploadImage($event, 'bbrf')">
|
|
|
<div class="upload-box">
|
|
<div class="upload-box">
|
|
|
<img class="upload-image" :src="bbrFront"/>
|
|
<img class="upload-image" :src="bbrFront"/>
|
|
|
</div>
|
|
</div>
|
|
@@ -387,7 +389,7 @@
|
|
|
</div>
|
|
</div>
|
|
|
<div class="imageItem">
|
|
<div class="imageItem">
|
|
|
<p>身份证背面页</p>
|
|
<p>身份证背面页</p>
|
|
|
- <el-upload v-if="!bbrBack" @change="uploadImage($event, 'bbrb')" :auto-upload="false" :show-file-list="false">
|
|
|
|
|
|
|
+ <el-upload v-if="!bbrBack" drag @change="uploadImage($event, 'bbrb')" :auto-upload="false" :show-file-list="false">
|
|
|
<div class="upload-box">
|
|
<div class="upload-box">
|
|
|
<div class="icon-box">
|
|
<div class="icon-box">
|
|
|
<el-icon style="font-size: 20px"><Camera /></el-icon>
|
|
<el-icon style="font-size: 20px"><Camera /></el-icon>
|
|
@@ -395,7 +397,7 @@
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
</el-upload>
|
|
</el-upload>
|
|
|
- <el-upload v-else :auto-upload="false" :show-file-list="false" @change="uploadImage($event, 'bbrb')">
|
|
|
|
|
|
|
+ <el-upload v-else drag :auto-upload="false" :show-file-list="false" @change="uploadImage($event, 'bbrb')">
|
|
|
<div class="upload-box">
|
|
<div class="upload-box">
|
|
|
<img class="upload-image" :src="bbrBack"/>
|
|
<img class="upload-image" :src="bbrBack"/>
|
|
|
</div>
|
|
</div>
|
|
@@ -405,7 +407,7 @@
|
|
|
<el-col :span="11" v-if="btn.owner2Show === '被保人营业执照'">
|
|
<el-col :span="11" v-if="btn.owner2Show === '被保人营业执照'">
|
|
|
<div class="imageItem">
|
|
<div class="imageItem">
|
|
|
<p>营业执照</p>
|
|
<p>营业执照</p>
|
|
|
- <el-upload v-if="!bbryyzzFront" @change="uploadImage($event, 'bbryyzz')" :auto-upload="false" :show-file-list="false">
|
|
|
|
|
|
|
+ <el-upload v-if="!bbryyzzFront" drag @change="uploadImage($event, 'bbryyzz')" :auto-upload="false" :show-file-list="false">
|
|
|
<div class="upload-box">
|
|
<div class="upload-box">
|
|
|
<div class="icon-box">
|
|
<div class="icon-box">
|
|
|
<el-icon style="font-size: 20px"><Camera /></el-icon>
|
|
<el-icon style="font-size: 20px"><Camera /></el-icon>
|
|
@@ -413,7 +415,7 @@
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
</el-upload>
|
|
</el-upload>
|
|
|
- <el-upload v-else :auto-upload="false" :show-file-list="false" @change="uploadImage($event, 'bbryyzz')">
|
|
|
|
|
|
|
+ <el-upload v-else drag :auto-upload="false" :show-file-list="false" @change="uploadImage($event, 'bbryyzz')">
|
|
|
<div class="upload-box">
|
|
<div class="upload-box">
|
|
|
<img class="upload-image" :src="bbryyzzFront"/>
|
|
<img class="upload-image" :src="bbryyzzFront"/>
|
|
|
</div>
|
|
</div>
|
|
@@ -432,7 +434,7 @@
|
|
|
</el-select>
|
|
</el-select>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
<el-form-item class="m-b-5" label="民族">
|
|
<el-form-item class="m-b-5" label="民族">
|
|
|
- <el-input placeholder="请填写"></el-input>
|
|
|
|
|
|
|
+ <el-input v-model="ower2Form.nation" placeholder="请填写"></el-input>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
<el-form-item class="m-b-5" label="住址">
|
|
<el-form-item class="m-b-5" label="住址">
|
|
|
<el-input v-model="ower2Form.addr" placeholder="请填写" ></el-input>
|
|
<el-input v-model="ower2Form.addr" placeholder="请填写" ></el-input>
|
|
@@ -442,6 +444,7 @@
|
|
|
type="datetime"
|
|
type="datetime"
|
|
|
format="YYYY-MM-DD"
|
|
format="YYYY-MM-DD"
|
|
|
value-format="YYYY-MM-DD"
|
|
value-format="YYYY-MM-DD"
|
|
|
|
|
+ v-model="ower2Form.birthday"
|
|
|
style="width: 100%"
|
|
style="width: 100%"
|
|
|
></el-date-picker>
|
|
></el-date-picker>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
@@ -722,6 +725,8 @@ const uploadImage = async (file, type) => {
|
|
|
owerForm.value.age = getAgeByIdCard(data.identifyNumber)
|
|
owerForm.value.age = getAgeByIdCard(data.identifyNumber)
|
|
|
owerForm.value.gender = data.identifyIssuedCom
|
|
owerForm.value.gender = data.identifyIssuedCom
|
|
|
owerForm.value.email = data.email
|
|
owerForm.value.email = data.email
|
|
|
|
|
+ owerForm.value.nation = data.nation
|
|
|
|
|
+ owerForm.value.birthday = `${data.identifyNumber.substring(6, 10)}-${data.identifyNumber.substring(10, 12)}-${data.identifyNumber.substring(12, 14)}`
|
|
|
} else {
|
|
} else {
|
|
|
ElMessage({
|
|
ElMessage({
|
|
|
message: res.msg,
|
|
message: res.msg,
|
|
@@ -761,6 +766,8 @@ const uploadImage = async (file, type) => {
|
|
|
owerForm.value.age = getAgeByIdCard(data.identifyNumber)
|
|
owerForm.value.age = getAgeByIdCard(data.identifyNumber)
|
|
|
owerForm.value.gender = data.identifyIssuedCom
|
|
owerForm.value.gender = data.identifyIssuedCom
|
|
|
owerForm.value.email = data.email
|
|
owerForm.value.email = data.email
|
|
|
|
|
+ owerForm.value.nation = data.nation
|
|
|
|
|
+ owerForm.value.birthday = `${data.identifyNumber.substring(6, 10)}-${data.identifyNumber.substring(10, 12)}-${data.identifyNumber.substring(12, 14)}`
|
|
|
} else {
|
|
} else {
|
|
|
ElMessage({
|
|
ElMessage({
|
|
|
message: res.msg,
|
|
message: res.msg,
|
|
@@ -820,6 +827,8 @@ const uploadImage = async (file, type) => {
|
|
|
ower1Form.value.age = getAgeByIdCard(data.identifyNumber)
|
|
ower1Form.value.age = getAgeByIdCard(data.identifyNumber)
|
|
|
ower1Form.value.gender = data.identifyIssuedCom
|
|
ower1Form.value.gender = data.identifyIssuedCom
|
|
|
ower1Form.value.email = data.email
|
|
ower1Form.value.email = data.email
|
|
|
|
|
+ ower1Form.value.nation = data.nation
|
|
|
|
|
+ ower1Form.value.birthday = `${data.identifyNumber.substring(6, 10)}-${data.identifyNumber.substring(10, 12)}-${data.identifyNumber.substring(12, 14)}`
|
|
|
} else {
|
|
} else {
|
|
|
ElMessage({
|
|
ElMessage({
|
|
|
message: res.msg,
|
|
message: res.msg,
|
|
@@ -859,6 +868,8 @@ const uploadImage = async (file, type) => {
|
|
|
ower1Form.value.age = getAgeByIdCard(data.identifyNumber)
|
|
ower1Form.value.age = getAgeByIdCard(data.identifyNumber)
|
|
|
ower1Form.value.gender = data.identifyIssuedCom
|
|
ower1Form.value.gender = data.identifyIssuedCom
|
|
|
ower1Form.value.email = data.email
|
|
ower1Form.value.email = data.email
|
|
|
|
|
+ ower1Form.value.nation = data.nation
|
|
|
|
|
+ ower1Form.value.birthday = `${data.identifyNumber.substring(6, 10)}-${data.identifyNumber.substring(10, 12)}-${data.identifyNumber.substring(12, 14)}`
|
|
|
} else {
|
|
} else {
|
|
|
ElMessage({
|
|
ElMessage({
|
|
|
message: res.msg,
|
|
message: res.msg,
|
|
@@ -918,6 +929,8 @@ const uploadImage = async (file, type) => {
|
|
|
ower2Form.value.age = getAgeByIdCard(data.identifyNumber)
|
|
ower2Form.value.age = getAgeByIdCard(data.identifyNumber)
|
|
|
ower2Form.value.gender = data.identifyIssuedCom
|
|
ower2Form.value.gender = data.identifyIssuedCom
|
|
|
ower2Form.value.email = data.email
|
|
ower2Form.value.email = data.email
|
|
|
|
|
+ ower2Form.value.nation = data.nation
|
|
|
|
|
+ ower2Form.value.birthday = `${data.identifyNumber.substring(6, 10)}-${data.identifyNumber.substring(10, 12)}-${data.identifyNumber.substring(12, 14)}`
|
|
|
} else {
|
|
} else {
|
|
|
ElMessage({
|
|
ElMessage({
|
|
|
message: res.msg,
|
|
message: res.msg,
|
|
@@ -957,6 +970,8 @@ const uploadImage = async (file, type) => {
|
|
|
ower2Form.value.age = getAgeByIdCard(data.identifyNumber)
|
|
ower2Form.value.age = getAgeByIdCard(data.identifyNumber)
|
|
|
ower2Form.value.gender = data.identifyIssuedCom
|
|
ower2Form.value.gender = data.identifyIssuedCom
|
|
|
ower2Form.value.email = data.email
|
|
ower2Form.value.email = data.email
|
|
|
|
|
+ ower2Form.value.nation = data.nation
|
|
|
|
|
+ ower2Form.value.birthday = `${data.identifyNumber.substring(6, 10)}-${data.identifyNumber.substring(10, 12)}-${data.identifyNumber.substring(12, 14)}`
|
|
|
} else {
|
|
} else {
|
|
|
ElMessage({
|
|
ElMessage({
|
|
|
message: res.msg,
|
|
message: res.msg,
|
|
@@ -1129,7 +1144,7 @@ const handleConfirm = () => {
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
.upload-box{
|
|
.upload-box{
|
|
|
- width: 300px;
|
|
|
|
|
|
|
+ width: 326px;
|
|
|
height: 180px;
|
|
height: 180px;
|
|
|
background: #EEEEEE;
|
|
background: #EEEEEE;
|
|
|
border: 1px solid #EEEEEE;
|
|
border: 1px solid #EEEEEE;
|
|
@@ -1174,5 +1189,8 @@ const handleConfirm = () => {
|
|
|
align-items: center;
|
|
align-items: center;
|
|
|
justify-content: flex-end;
|
|
justify-content: flex-end;
|
|
|
}
|
|
}
|
|
|
|
|
+ :deep(.el-upload-dragger) {
|
|
|
|
|
+ padding: 0;
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
</style>
|
|
</style>
|