| | |
| | | <el-form-item label="身份证号:" prop="idCard"> |
| | | <el-input v-model.trim="state.form.idCard"></el-input> |
| | | </el-form-item> |
| | | <el-form-item label="等级:" prop="ratingLevel"> |
| | | <el-radio-group v-model="state.form.ratingLevel"> |
| | | <el-radio label="1">一级</el-radio> |
| | | <el-radio label="2">二级</el-radio> |
| | | <el-radio label="3">三级</el-radio> |
| | | </el-radio-group> |
| | | </el-form-item> |
| | | <!-- <el-form-item label="等级:" prop="ratingLevel">--> |
| | | <!-- <el-radio-group v-model="state.form.ratingLevel">--> |
| | | <!-- <el-radio label="1">一级</el-radio>--> |
| | | <!-- <el-radio label="2">二级</el-radio>--> |
| | | <!-- <el-radio label="3">三级</el-radio>--> |
| | | <!-- </el-radio-group>--> |
| | | <!-- </el-form-item>--> |
| | | <el-form-item label="专业领域:" prop="domain"> |
| | | <el-input v-model.trim="state.form.domain"></el-input> |
| | | </el-form-item> |
| | |
| | | name: '', |
| | | sex: '', |
| | | idCard: "", |
| | | ratingLevel: "", |
| | | ratingLevel: "10", |
| | | domain: "", |
| | | title: '', |
| | | companyName: '' |
| | |
| | | name: [{ required: true, message: '请输入姓名', trigger: 'blur' }], |
| | | sex: [{ required: true, message: '请选择性别', trigger: 'blur' }], |
| | | idCard: [{ required: true, validator: verifyId, trigger: 'blur' }], |
| | | ratingLevel: [{ required: true, message: '请选择等级', trigger: 'blur' }], |
| | | // ratingLevel: [{ required: true, message: '请选择等级', trigger: 'blur' }], |
| | | domain: [{ required: true, message: '请输入专业领域', trigger: 'blur' }], |
| | | title: [{ required: true, message: '请输入职称', trigger: 'blur' }], |
| | | companyName: [{ required: true, message: '请输入工作单位', trigger: 'blur' }], |
| | |
| | | name: '', |
| | | sex: '', |
| | | idCard: "", |
| | | ratingLevel: "", |
| | | ratingLevel: "10", |
| | | domain: "", |
| | | title: '', |
| | | companyName: '' |