009b1bb5 by 杨炀

no message

1 parent 2e2f1498
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
8 <el-row :gutter="30" class="mt30"> 8 <el-row :gutter="30" class="mt30">
9 <el-col :lg="12" class="touxiang"> 9 <el-col :lg="12" class="touxiang">
10 10
11 <el-form-item prop="picUrl" :label="language==0?'个人照片':'photo'" :required="form.labelArr.indexOf('0')>-1"> 11 <el-form-item prop="picUrl" :label="language==0?'个人照片':'photo'">
12 <ImageUpload2 12 <ImageUpload2
13 v-model="form.picUrl" :crop-height="280" :crop-width="200" class="threeFour" :limit="1" 13 v-model="form.picUrl" :crop-height="280" :crop-width="200" class="threeFour" :limit="1"
14 :is-show-tip="false" 14 :is-show-tip="false"
...@@ -304,10 +304,10 @@ function giveBirthDay() { ...@@ -304,10 +304,10 @@ function giveBirthDay() {
304 function submitForm() { 304 function submitForm() {
305 proxy.$refs['dialogRef'].validate((valid) => { 305 proxy.$refs['dialogRef'].validate((valid) => {
306 if (valid) { 306 if (valid) {
307 if(!form.value.picUrl&&form.value.labelArr.indexOf('0')>-1){ 307 // if(!form.value.picUrl&&form.value.labelArr.indexOf('0')>-1){
308 ElMessage.warning(language.value == 0 ? '请上传个人照片' :'Please upload your photo') 308 // ElMessage.warning(language.value == 0 ? '请上传个人照片' :'Please upload your photo')
309 return 309 // return
310 } 310 // }
311 // 验证身份证号 311 // 验证身份证号
312 if (form.value.idcType == 0 && !(/(^\d{15}$)|(^\d{17}([0-9]|X)$)/.test(form.value.idcCode))) { 312 if (form.value.idcType == 0 && !(/(^\d{15}$)|(^\d{17}([0-9]|X)$)/.test(form.value.idcCode))) {
313 ElMessage.warning('请输入正确的身份证号码') 313 ElMessage.warning('请输入正确的身份证号码')
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!