12616 新增编辑页面 婚姻状况应该是必填加必填判断

1212-八项作业迁移
liujun 2023-12-14 11:07:20 +08:00
parent 8caa3f5bbc
commit 4235510e26
2 changed files with 6 additions and 4 deletions

View File

@ -236,7 +236,6 @@
<el-row>
<el-col :span="12">
<el-form-item label="岗位名称(工种)" prop="POST_ID" class="input-width">
<!-- 20230612改成输入框 -->
<el-input v-model="form.POST_ID" placeholder="这里输入岗位名称(工种)..."/>
</el-form-item>
</el-col>
@ -529,6 +528,7 @@ export default {
HKLOCAL: [{ required: false, message: '请输入户口所在地', trigger: 'blur' }],
ADDRESS: [{ required: false, message: '请输入现住址', trigger: 'blur' }],
DEGREE_OF_EDUCATION: [{ required: true, message: '请选择文化程度', trigger: 'blur' }],
MARITALSTATUS: [{ required: true, message: '婚姻状况必选', trigger: 'blur' }],
CORP_START_DATE: [{ required: false, message: '请选择日期', trigger: 'blur' }],
POST_ID: [{ required: true, message: '请输入岗位名称(工种)', trigger: 'blur' }],
ENTRY_DATE: [{ required: false, message: '请选择日期', trigger: 'blur' }],

View File

@ -162,7 +162,7 @@
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="婚姻状况" prop="MARITALSTATUS" class="input-width">
<el-form-item label="婚姻状况" prop="MARITALSTATUS">
<el-radio-group v-model="form.MARITALSTATUS" >
<el-radio v-model="form.MARITALSTATUS" label="1"></el-radio>
<el-radio v-model="form.MARITALSTATUS" label="0"></el-radio>
@ -239,7 +239,7 @@
<el-row>
<el-col :span="12">
<el-form-item label="岗位名称(工种)" prop="POST_ID">
<el-input v-model="form.POST_ID" placeholder="这里输入岗位..."/>
<el-input v-model="form.POST_ID" placeholder="这里输入这里输入岗位名称(工种)..."/>
</el-form-item>
</el-col>
</el-row>
@ -280,6 +280,7 @@
</el-form-item>
<el-alert
v-show="whetherHaveCertificate"
:closable="false"
title="请提示该用户去相关方app端完善特种证书信息"
type="error"
class="alertClass"
@ -531,8 +532,9 @@ export default {
HKLOCAL: [{ required: false, message: '请输入户口所在地', trigger: 'blur' }],
ADDRESS: [{ required: false, message: '请输入现住址', trigger: 'blur' }],
DEGREE_OF_EDUCATION: [{ required: true, message: '请选择文化程度', trigger: 'blur' }],
MARITALSTATUS: [{ required: true, message: '婚姻状况必选', trigger: 'blur' }],
CORP_START_DATE: [{ required: false, message: '请选择日期', trigger: 'blur' }],
POST_ID: [{ required: true, message: '请输入岗位', trigger: 'blur' }],
POST_ID: [{ required: true, message: '请输入岗位名称(工种)', trigger: 'blur' }],
// PERSON_WORK_TYPE: [{ required: true, message: '', trigger: 'blur' }],
ENTRY_DATE: [{ required: false, message: '请选择日期', trigger: 'blur' }],
PHONE: [