feat
parent
2285579edf
commit
f9c7339ee1
|
|
@ -993,12 +993,17 @@ function StaffFormModal({
|
||||||
bordered
|
bordered
|
||||||
columns={[
|
columns={[
|
||||||
{
|
{
|
||||||
title: "行业",
|
title: (
|
||||||
|
<>
|
||||||
|
<span className="required-star">*</span>行业
|
||||||
|
</>
|
||||||
|
),
|
||||||
width: 200,
|
width: 200,
|
||||||
render: (_, field) => (
|
render: (_, field) => (
|
||||||
<Form.Item
|
<Form.Item
|
||||||
name={[field.name, "industryCode"]}
|
name={[field.name, "industryCode"]}
|
||||||
style={{ marginBottom: 0 }}
|
style={{ marginBottom: 0 }}
|
||||||
|
rules={[{ required: true, message: "" }]}
|
||||||
>
|
>
|
||||||
<Select
|
<Select
|
||||||
placeholder="请选择行业"
|
placeholder="请选择行业"
|
||||||
|
|
@ -1018,7 +1023,11 @@ function StaffFormModal({
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "专业能力",
|
title: (
|
||||||
|
<>
|
||||||
|
<span className="required-star">*</span>专业能力
|
||||||
|
</>
|
||||||
|
),
|
||||||
render: (_, field) => {
|
render: (_, field) => {
|
||||||
const rowIndustryCode =
|
const rowIndustryCode =
|
||||||
watchedCapList?.[field.name]?.industryCode;
|
watchedCapList?.[field.name]?.industryCode;
|
||||||
|
|
@ -1029,6 +1038,7 @@ function StaffFormModal({
|
||||||
<Form.Item
|
<Form.Item
|
||||||
name={[field.name, "professionalCapabilityCode"]}
|
name={[field.name, "professionalCapabilityCode"]}
|
||||||
style={{ marginBottom: 0 }}
|
style={{ marginBottom: 0 }}
|
||||||
|
rules={[{ required: true, message: "" }]}
|
||||||
>
|
>
|
||||||
<Select
|
<Select
|
||||||
placeholder="请选择专业能力"
|
placeholder="请选择专业能力"
|
||||||
|
|
@ -1042,7 +1052,11 @@ function StaffFormModal({
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "来源",
|
title: (
|
||||||
|
<>
|
||||||
|
<span className="required-star">*</span>来源
|
||||||
|
</>
|
||||||
|
),
|
||||||
width: 280,
|
width: 280,
|
||||||
render: (_, field) => (
|
render: (_, field) => (
|
||||||
<Form.Item
|
<Form.Item
|
||||||
|
|
@ -1051,6 +1065,7 @@ function StaffFormModal({
|
||||||
"professionalCapabilitySourceCode",
|
"professionalCapabilitySourceCode",
|
||||||
]}
|
]}
|
||||||
style={{ marginBottom: 0 }}
|
style={{ marginBottom: 0 }}
|
||||||
|
rules={[{ required: true, message: "" }]}
|
||||||
>
|
>
|
||||||
<Select
|
<Select
|
||||||
placeholder="请选择来源"
|
placeholder="请选择来源"
|
||||||
|
|
@ -1197,6 +1212,7 @@ function StaffFormModal({
|
||||||
name="registerEngineerFlag"
|
name="registerEngineerFlag"
|
||||||
label="是否注册安全工程师"
|
label="是否注册安全工程师"
|
||||||
initialValue={2}
|
initialValue={2}
|
||||||
|
rules={[{ required: true, message: "请选择是否注册安全工程师" }]}
|
||||||
>
|
>
|
||||||
<Select
|
<Select
|
||||||
placeholder="请选择"
|
placeholder="请选择"
|
||||||
|
|
@ -1322,6 +1338,7 @@ function StaffFormModal({
|
||||||
name="evaluatorFlag"
|
name="evaluatorFlag"
|
||||||
label="是否评价师"
|
label="是否评价师"
|
||||||
initialValue={2}
|
initialValue={2}
|
||||||
|
rules={[{ required: true, message: "请选择是否评价师" }]}
|
||||||
>
|
>
|
||||||
<Select placeholder="请选择" options={EVALUATOR_OPTIONS} onChange={() => {
|
<Select placeholder="请选择" options={EVALUATOR_OPTIONS} onChange={() => {
|
||||||
form.setFieldsValue({
|
form.setFieldsValue({
|
||||||
|
|
|
||||||
|
|
@ -25,6 +25,13 @@
|
||||||
min-width: 0;
|
min-width: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.required-star {
|
||||||
|
color: #ff4d4f;
|
||||||
|
margin-right: 4px;
|
||||||
|
font-family: SimSun, sans-serif;
|
||||||
|
line-height: 1;
|
||||||
|
}
|
||||||
|
|
||||||
.register-engineer-section {
|
.register-engineer-section {
|
||||||
border: 1px dashed #d9d9d9;
|
border: 1px dashed #d9d9d9;
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue