From 07027325f5b9821c7ecf204defd459ea664198e8 Mon Sep 17 00:00:00 2001 From: tangjie <122778500@qq.com> Date: Mon, 20 Jul 2026 15:40:12 +0800 Subject: [PATCH] feat --- .../ProjectFlow/InternalReviewContent.js | 120 +++++++-- .../ProjectFlow/SurveyContent.js | 249 ++++++++++++++++-- .../ProjectFlow/TechnicalReviewContent.js | 112 ++++++-- 3 files changed, 399 insertions(+), 82 deletions(-) diff --git a/src/pages/Container/SafetyEvalBusiness/ProjectFlow/InternalReviewContent.js b/src/pages/Container/SafetyEvalBusiness/ProjectFlow/InternalReviewContent.js index d53496b..5f356eb 100644 --- a/src/pages/Container/SafetyEvalBusiness/ProjectFlow/InternalReviewContent.js +++ b/src/pages/Container/SafetyEvalBusiness/ProjectFlow/InternalReviewContent.js @@ -1,31 +1,95 @@ -import React from "react"; -import { Card, Descriptions, Table } from "antd"; +import React, { useState } from "react"; +import { Tag, Button, Card, Table, Select, Input, Flex, Typography, Row, Col } from "antd"; -const InternalReviewContent = () => ( - - - V1.3 - 王丽萍 - 7项 - 2项 - - - -); +const { TextArea } = Input; + +const INITIAL_ROWS = [ + { dim: "评价依据", focus: "充分、有效", result: "符合", opinion: "补充地方标准有效版本", feedback: "已验证", feedbackType: "success" }, + { dim: "危险辨识", focus: "全面、无遗漏", result: "需修改", opinion: "补充液氨装卸泄漏场景", feedback: "待反馈", feedbackType: "warning" }, + { dim: "单元划分", focus: "科学合理", result: "符合", opinion: "划分合理", feedback: "—", feedbackType: "default" }, + { dim: "评价方法", focus: "适用、过程正确", result: "符合", opinion: "方法适用", feedback: "—", feedbackType: "default" }, + { dim: "对策措施", focus: "针对性、可操作性", result: "需修改", opinion: "细化报警联锁措施", feedback: "已验证", feedbackType: "success" }, + { dim: "评价结论", focus: "客观、正确", result: "符合", opinion: "结论客观", feedback: "—", feedbackType: "default" }, + { dim: "报告规范", focus: "格式、文字、数据逻辑", result: "符合", opinion: "统一图表编号", feedback: "—", feedbackType: "default" }, +]; + +const InternalReviewContent = () => { + const [rows, setRows] = useState(INITIAL_ROWS); + + const updateRow = (index, field, value) => { + const next = [...rows]; + next[index] = { ...next[index], [field]: value }; + setRows(next); + }; + + return ( +
+
+ 内部审核人 + 审核、修改、反馈、验证闭环 +
+ + +
审核版本
V1.3
+ 内审人
王丽萍
+ 审核项
7项
+ 问题
2项
+ + +
( + + ), + }, + { + title: "审核意见", dataIndex: "opinion", width: 180, + render: (val, _, idx) => ( + updateRow(idx, "opinion", e.target.value)} /> + ), + }, + { + title: "修改反馈", dataIndex: "feedback", width: 120, + render: (val, record) => { + if (record.feedbackType === "success") return 已验证; + if (record.feedbackType === "warning") return 待反馈; + return ; + }, + }, + ]} + rowKey="dim" + pagination={false} + size="small" + /> + +
+ 总体审核意见 +