|
@@ -215,7 +215,7 @@
|
|
|
></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
- <el-col :span="12" v-if="method === 'add'">
|
|
|
+ <el-col :span="12">
|
|
|
<el-form-item label="证件类型" prop="otherInfoDto.certificatesType"
|
|
|
:rules="[{required: true, message: '证件类型不能为空', trigger: 'blur'}
|
|
|
]">
|
|
@@ -229,21 +229,7 @@
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
- <el-col :span="12" v-else>
|
|
|
- <el-form-item label="证件类型" prop="otherInfoDto.certificatesType"
|
|
|
- :rules="[{required: true, message: '证件类型不能为空', trigger: 'blur'}
|
|
|
- ]">
|
|
|
- <el-select v-model="inputForm.otherInfoDto.certificatesType" :disabled="true" placeholder="请选择证件类型" style="width:100%;">
|
|
|
- <el-option
|
|
|
- v-for="item in $dictUtils.getDictList('certificates_type')"
|
|
|
- :key="item.value"
|
|
|
- :label="item.label"
|
|
|
- :value="item.value">
|
|
|
- </el-option>
|
|
|
- </el-select>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="12" v-if="method === 'add'">
|
|
|
+ <el-col :span="12" >
|
|
|
<el-form-item label="证件号" prop="otherInfoDto.idCard" :rules="[
|
|
|
{required: true, message: '证件号不能为空', trigger: 'blur'},
|
|
|
{validator: checkIdCardRule, trigger: 'blur'}
|
|
@@ -251,13 +237,6 @@
|
|
|
<el-input v-model="inputForm.otherInfoDto.idCard" placeholder="请填写证件号" clearable></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
- <el-col :span="12" v-else>
|
|
|
- <el-form-item label="证件号" prop="otherInfoDto.idCard" :rules="[
|
|
|
- {required: true, message: '证件号不能为空', trigger: 'blur'},
|
|
|
- ]">
|
|
|
- <el-input v-model="inputForm.otherInfoDto.idCard" :disabled="true" placeholder="请填写证件号" clearable></el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
<el-col :span="12">
|
|
|
<el-form-item label="证件照正面" prop="otherInfoDto.certificatesFront" :rules="[]">
|
|
|
<el-upload
|
|
@@ -1812,6 +1791,7 @@ export default {
|
|
|
this.fileList3 = []
|
|
|
this.fileList4 = []
|
|
|
this.inputForm.rosterBankCardsDTOList = []
|
|
|
+ this.inputForm.otherInfoDto = {}
|
|
|
this.inputForm.certDTOList = []
|
|
|
this.inputForm.rosterCertificateDTOList = []
|
|
|
this.$refs.uploadComponent.clearUpload()
|