dev-tmp1
luotaiqian 2026-08-19 16:31:23 +08:00
parent a2456fa2c3
commit b9a5478854
2 changed files with 30 additions and 5 deletions

View File

@ -16,6 +16,7 @@ import {
TreeSelect,
Upload,
Tag,
Tooltip,
Divider
} from "antd";
import { InboxOutlined } from "@ant-design/icons";
@ -314,7 +315,7 @@ function PersonnelInfoPage(props) {
<Table
rowKey="id"
columns={[
{ title: "姓名", dataIndex: "userName", ellipsis: true, width: 150 },
{ title: "姓名", dataIndex: "userName", ellipsis: true, width: 90 },
{ title: "账号", dataIndex: "account" },
{ title: "部门", dataIndex: "deptName" },
{ title: "岗位", dataIndex: "postName" },
@ -341,6 +342,19 @@ function PersonnelInfoPage(props) {
return <Space size={4}>{arr}</Space>;
},
},
{
title: "状态",
dataIndex: "isCertComplete",
width: 100,
render: (val) =>
val ? (
<span className="cert-complete-tag complete">已完善</span>
) : (
<Tooltip title="证书照片未上传">
<span className="cert-complete-tag incomplete">未完善</span>
</Tooltip>
),
},
{
title: "操作",
width: 200,
@ -1109,7 +1123,7 @@ function StaffFormModal({
<Row gutter={16}>
<Col span={24}>
<Divider plain >学历信息</Divider>
<Row gutter={16}>
<Col span={12}>
<Form.Item
@ -1205,7 +1219,7 @@ function StaffFormModal({
<Row gutter={16}>
<Col span={24}>
<Divider plain >注安信息</Divider>
<Row gutter={16}>
<Col span={12}>
<Form.Item
@ -1331,7 +1345,7 @@ function StaffFormModal({
<Row gutter={16}>
<Col span={24}>
<Divider plain >评价师信息</Divider>
<Row gutter={16}>
<Col span={12}>
<Form.Item
@ -1398,7 +1412,7 @@ function StaffFormModal({
<Row gutter={16}>
<Col span={24}>
<Divider plain >职称信息</Divider>
<Row gutter={16}>
<Col span={12}>
<Form.Item name="titleCode" label="职称">

View File

@ -25,6 +25,17 @@
min-width: 0;
}
.cert-complete-tag {
&.complete {
color: #52c41a;
}
&.incomplete {
color: #ff4d4f;
cursor: pointer;
}
}
.required-star {
color: #ff4d4f;
margin-right: 4px;