tangjie 2026-07-08 09:53:55 +08:00
parent 6cca9c2ae7
commit bea20fd297
1 changed files with 2 additions and 1 deletions

View File

@ -19,6 +19,7 @@ import { Connect } from "@cqsjjb/jjb-dva-runtime";
import { NS_QUAL_EXPERT } from "~/enumerate/namespace"; import { NS_QUAL_EXPERT } from "~/enumerate/namespace";
import { GENDER_OPTIONS, GENDER_MAP } from "~/enumerate/constant"; import { GENDER_OPTIONS, GENDER_MAP } from "~/enumerate/constant";
import AttachmentUpload from "~/components/AttachmentUpload"; import AttachmentUpload from "~/components/AttachmentUpload";
import { idCardRule } from "~/utils/validators";
const { router } = tools; const { router } = tools;
@ -332,7 +333,7 @@ const ExperManage = (props) => {
))} ))}
</Select> </Select>
</Form.Item> </Form.Item>
<Form.Item name="idCardNo" label="身份证号"> <Form.Item name="idCardNo" label="身份证号" rules={[idCardRule()]}>
<Input placeholder="请输入" allowClear /> <Input placeholder="请输入" allowClear />
</Form.Item> </Form.Item>
<AttachmentUpload name="certificate" maxCount={1} label="证书" /> <AttachmentUpload name="certificate" maxCount={1} label="证书" />