优化HiddenInfo

master
LiuJiaNan 2026-01-16 10:59:01 +08:00
parent 01b005136c
commit a77a581ef4
1 changed files with 54 additions and 41 deletions

View File

@ -201,7 +201,7 @@ function HiddenInfo(props) {
items={[
{ label: `整改${info.isRelated === 1 ? "单位" : "部门"}`, children: info.hiddenUserPresetsCO.rectifyDeptName },
{ label: "整改人", children: info.hiddenUserPresetsCO.rectifyUserName },
...(info.rectificationType === 2
...(info.rectificationType === 2 && info.hiddenUserPresetsCO.rectifyDeadline
? [
{
label: "整改期限",
@ -328,17 +328,21 @@ function HiddenInfo(props) {
column={1}
styles={{ label: { width: 200 } }}
items={[
...((item.state === 3 || item.state === 4)
...(
(item.state === 3 || item.state === 4)
? [
...(item.updateName ? [{ label: "审核人", children: item.updateName }] : []),
...(item.updateTime ? [{ label: "审核时间", children: item.updateTime }] : []),
]
: []),
: []
),
{ label: "无法整改原因", children: item.examine },
...(item.state === 3
...(
item.state === 3
? [
...(item.disposalPlan ? [{ label: "处置方案", children: item.disposalPlan }] : []),
...(item.disposalFile
...(
item.disposalFile
? [{
label: "处置方案附件",
children: (
@ -358,7 +362,14 @@ function HiddenInfo(props) {
)
),
}]
: []),
: []
),
]
: []
),
...(
item.state === 4
? [
{
label: "是否更换整改负责人",
children: item.rectifyUserCO && Object.keys(item.rectifyUserCO).length > 0 ? "是" : "否",
@ -366,9 +377,11 @@ function HiddenInfo(props) {
...(
item.rectifyUserCO && Object.keys(item.rectifyUserCO).length > 0
? [{ label: "整改负责人", children: item.rectifyUserCO.userName }]
: []),
: []
),
]
: []),
: []
),
{
label: "特殊处置审核状态",
children: (