From d74349355ade4157f75c5b8b8b27bfc19c5ca077 Mon Sep 17 00:00:00 2001 From: tangjie <122778500@qq.com> Date: Mon, 17 Aug 2026 16:55:05 +0800 Subject: [PATCH] style --- src/components/StatCardGroup/index.js | 36 +++++++ src/components/StatCardGroup/index.less | 48 +++++++++ .../DepartmentPosition/index.js | 2 +- .../EnterpriseInfo/EquipInfo/index.js | 2 +- .../EnterpriseInfo/PersonnelChange/index.js | 4 +- .../PersonnelInfo/List/index.less | 2 + .../EnterpriseInfo/ResignationApply/index.js | 4 +- .../InspectionNotice/index.js | 4 +- .../InspectionNotice/index.less | 32 ------ .../EvalProjectMonitor/List/index.js | 54 +++++----- .../EvalProjectMonitor/List/index.less | 3 - .../MonitorManage/QualMonitor/index.js | 40 +++----- .../MonitorManage/QualMonitor/index.less | 49 ---------- .../MonitorManage/RiskCenter/index.js | 33 +++---- .../MonitorManage/RiskCenter/index.less | 61 ------------ .../MonitorManage/SurveyMonitor/index.js | 49 ++++++---- .../MonitorManage/SurveyMonitor/index.less | 4 +- .../QualApplication/SiteReviewNotice/index.js | 4 +- .../QualificationReview/FilingTabs/index.js | 2 +- .../SiteReviewNotice/index.js | 58 ++++++----- .../BusinessReminder/index.js | 90 ++++++++--------- .../BusinessReminder/index.less | 9 -- .../EvalReportLibrary/index.js | 8 +- .../EvalReportLibrary/index.less | 11 +-- .../SafetyEvalBusiness/MyProject/index.js | 73 +++++++++----- .../SafetyEvalBusiness/Progress/index.js | 98 +++++++++---------- .../SafetyEvalBusiness/Progress/index.less | 10 -- .../ProjectFlow/TeamContent.js | 96 ++++++++---------- .../SafetyEvalBusiness/ProjectFlow/index.js | 1 + .../SafetyEvalBusiness/ProjectFlow/index.less | 8 +- .../SafetyEvalBusiness/RiskWarning/index.js | 52 +++++----- .../SafetyEvalBusiness/RiskWarning/index.less | 9 -- .../BasicInfo/EnterprisePortrait/index.js | 90 +++++++++-------- .../Supervision/BasicInfo/OrgAccount/index.js | 6 +- .../BasicInfo/RegisteredOrg/List/index.js | 2 +- .../Supervision/EvalPortrait/index.js | 4 +- .../Supervision/EvalPortrait/index.less | 33 ------- .../components/SpotCheckDetailModal.jsx | 2 +- .../Supervision/EvalReportDatabase/index.js | 14 +-- .../Supervision/InspectionNotice/index.js | 70 +++++-------- .../Supervision/InspectionNotice/index.less | 32 ------ src/pages/Container/index.js | 1 + src/pages/Container/index.less | 1 + 43 files changed, 533 insertions(+), 678 deletions(-) create mode 100644 src/components/StatCardGroup/index.js create mode 100644 src/components/StatCardGroup/index.less delete mode 100644 src/pages/Container/MonitorManage/EvalProjectMonitor/List/index.less diff --git a/src/components/StatCardGroup/index.js b/src/components/StatCardGroup/index.js new file mode 100644 index 0000000..e2b4d6c --- /dev/null +++ b/src/components/StatCardGroup/index.js @@ -0,0 +1,36 @@ +import React from "react"; +import "./index.less"; + +/** + * 统一统计卡片组 + * @param {Array} items - [{ key, title, value, valueColor, hint, iconBg, iconColor, iconText }] + * @param {Boolean} [loading] - 是否加载中 + */ +const StatCardGroup = ({ items = [], loading }) => ( +
+ {items.map((card) => ( +
+
+
{card.title}
+
+ {loading ? "· · ·" : card.value ?? "-"} +
+ {card.hint ?
{card.hint}
: null} +
+ {card.iconText ? ( +
+ {card.iconText} +
+ ) : null} +
+ ))} +
+); + +export default StatCardGroup; \ No newline at end of file diff --git a/src/components/StatCardGroup/index.less b/src/components/StatCardGroup/index.less new file mode 100644 index 0000000..db15bab --- /dev/null +++ b/src/components/StatCardGroup/index.less @@ -0,0 +1,48 @@ +// 统一统计卡片网格 +.stat-grid { + display: grid; + grid-template-columns: repeat(4, 1fr); + gap: 16px; + margin-bottom: 10px; +} + +// 统一统计卡片 +.stat-card { + background: #fff; + border: 1px solid #e2e8f0; + border-radius: 8px; + padding: 12px; + display: flex; + justify-content: space-between; + + .stat-info { + .stat-label { + font-size: 16px; + color: #64748b; + } + + .stat-value { + font-size: 20px; + font-weight: 700; + line-height: 1.15; + margin-top: 6px; + } + + .stat-hint { + font-size: 14px; + color: #64748b; + margin-top: 4px; + } + } + + .stat-icon { + width: 38px; + height: 38px; + border-radius: 10px; + display: flex; + align-items: center; + justify-content: center; + font-size: 15.4px; + flex-shrink: 0; + } +} \ No newline at end of file diff --git a/src/pages/Container/EnterpriseInfo/DepartmentPosition/index.js b/src/pages/Container/EnterpriseInfo/DepartmentPosition/index.js index 4e357ac..8cf70ff 100644 --- a/src/pages/Container/EnterpriseInfo/DepartmentPosition/index.js +++ b/src/pages/Container/EnterpriseInfo/DepartmentPosition/index.js @@ -377,7 +377,7 @@ function DepartmentPositionPage(props) { return ( -
+
(option?.label ?? "").toLowerCase().includes(input.toLowerCase())} /> - + setViewResignOpen(false)} > - + {resignInfo.applicantName} {resignInfo.applyTime} {resignInfo.expectedResignDate} diff --git a/src/pages/Container/EnterpriseInfo/PersonnelInfo/List/index.less b/src/pages/Container/EnterpriseInfo/PersonnelInfo/List/index.less index ba25eee..586d197 100644 --- a/src/pages/Container/EnterpriseInfo/PersonnelInfo/List/index.less +++ b/src/pages/Container/EnterpriseInfo/PersonnelInfo/List/index.less @@ -11,11 +11,13 @@ padding-right: 16px; overflow: auto; + &-title { font-weight: 500; margin-bottom: 12px; color: rgba(0, 0, 0, 0.85); } + } .personnel-info-main { diff --git a/src/pages/Container/EnterpriseInfo/ResignationApply/index.js b/src/pages/Container/EnterpriseInfo/ResignationApply/index.js index 8d61f35..4ce4d7d 100644 --- a/src/pages/Container/EnterpriseInfo/ResignationApply/index.js +++ b/src/pages/Container/EnterpriseInfo/ResignationApply/index.js @@ -334,13 +334,13 @@ function ViewModal({ open, currentId, requestDetail, onCancel }) { open={open} destroyOnHidden title="查看离职申请" - width={720} + width={800} loading={detailLoading} cancelText="返回" okButtonProps={{ style: { display: "none" } }} onCancel={onCancel} > - + {info.applicantName} diff --git a/src/pages/Container/InspNoticeManage/InspectionNotice/index.js b/src/pages/Container/InspNoticeManage/InspectionNotice/index.js index 18b1877..f50d833 100644 --- a/src/pages/Container/InspNoticeManage/InspectionNotice/index.js +++ b/src/pages/Container/InspNoticeManage/InspectionNotice/index.js @@ -656,7 +656,7 @@ const InstitutionInspectionNotice = (props) => { open={processOpen} onCancel={() => setProcessOpen(false)} width={820} - destroyOnClose + destroyOnHidden className="inst-modal" footer={ processViewOnly ? ( @@ -755,7 +755,7 @@ const InstitutionInspectionNotice = (props) => { open={exportOpen} onCancel={() => setExportOpen(false)} width={560} - destroyOnClose + destroyOnHidden className="inst-modal" footer={ ), @@ -178,26 +179,20 @@ const RiskCenter = (props) => {
{/* 统计卡片 */} -
- {overviewStats.map((stat, idx) => { + { const theme = CARD_THEMES[idx % CARD_THEMES.length]; - return ( -
-
-
{stat.label}
-
{stat.value}
-
{stat.hint}
-
-
- {stat.label.charAt(0)} -
-
- ); + return { + key: stat.label, + title: stat.label, + value: stat.value, + hint: stat.hint, + iconBg: theme.bg, + iconColor: theme.color, + iconText: stat.label.charAt(0), + }; })} -
+ /> {/* 项目预警规则提示 */}
diff --git a/src/pages/Container/MonitorManage/RiskCenter/index.less b/src/pages/Container/MonitorManage/RiskCenter/index.less index 00ae4e2..d26e28e 100644 --- a/src/pages/Container/MonitorManage/RiskCenter/index.less +++ b/src/pages/Container/MonitorManage/RiskCenter/index.less @@ -1,65 +1,4 @@ .risk-center { - // 统计卡片网格 - .stat-grid.cols-4 { - display: grid; - grid-template-columns: repeat(4, 1fr); - gap: 16px; - margin-bottom: 10px; - } - - // 统计卡片 - .stat-card { - background: #fff; - border: 1px solid #e2e8f0; - border-radius: 8px; - padding: 12px; - display: flex; - justify-content: space-between; - - .stat-info { - .stat-label { - font-size: 16px; - color: #64748b; - } - - .stat-value { - font-size: 20px; - font-weight: 700; - line-height: 1.15; - margin-top: 6px; - } - - .stat-value--high { - color: #dc2626; - } - - .stat-value--mid { - color: #d97706; - } - - .stat-value--ok { - color: #059669; - } - - .stat-hint { - font-size: 16px; - color: #64748b; - margin-top: 4px; - } - } - - .stat-icon { - width: 38px; - height: 38px; - border-radius: 10px; - display: flex; - align-items: center; - justify-content: center; - font-size: 18px; - flex-shrink: 0; - } - } - // 来源说明/规则提示 .source-note { background: #f8fafc; diff --git a/src/pages/Container/MonitorManage/SurveyMonitor/index.js b/src/pages/Container/MonitorManage/SurveyMonitor/index.js index 3d787aa..a813c4d 100644 --- a/src/pages/Container/MonitorManage/SurveyMonitor/index.js +++ b/src/pages/Container/MonitorManage/SurveyMonitor/index.js @@ -1,9 +1,5 @@ import React, { useState, useEffect } from "react"; import { - Row, - Col, - Card, - Statistic, Table, Tag, Button, @@ -21,6 +17,7 @@ import { DownloadOutlined } from "@ant-design/icons"; import * as XLSX from "xlsx"; import PageLayout from "@cqsjjb/jjb-react-admin-component/PageLayout"; import SearchForm from "~/components/SearchForm"; +import StatCardGroup from "~/components/StatCardGroup"; import ControlWrapper from "@cqsjjb/jjb-react-admin-component/ControlWrapper"; import { Connect } from "@cqsjjb/jjb-dva-runtime"; import { NS_SAFETY_EVAL_BUSINESS } from "~/enumerate/namespace"; @@ -150,10 +147,30 @@ const roleText = (v) => { }; const STAT_ITEMS = [ - { key: "notificationArchivedCount", title: "告知书已归档", color: "#1677ff" }, - { key: "clockInNormalCount", title: "人员打卡正常", color: "#52c41a" }, - { key: "notificationAbnormalCount", title: "告知异常", color: "#faad14" }, - { key: "clockInAbnormalCount", title: "打卡异常", color: "#ff4d4f" }, + { + key: "notificationArchivedCount", + title: "告知书已归档", + valueColor: "#1677ff", + + }, + { + key: "clockInNormalCount", + title: "人员打卡正常", + valueColor: "#52c41a", + + }, + { + key: "notificationAbnormalCount", + title: "告知异常", + valueColor: "#faad14", + + }, + { + key: "clockInAbnormalCount", + title: "打卡异常", + valueColor: "#ff4d4f", + + }, ]; /** 解析文件 JSON */ @@ -457,19 +474,9 @@ const SurveyMonitor = (props) => { return ( - - {STAT_ITEMS.map((item) => ( - - - - - - ))} - + ({ ...item, value: statData[item.key] }))} + /> { open={detailModalVisible} onCancel={() => setDetailModalVisible(false)} footer={null} - width={680} + width={800} destroyOnHide={true} > {currentRecord && ( - + {currentRecord.id} {currentRecord.supervisorContact || "-"} {currentRecord.contactPhone || "-"} diff --git a/src/pages/Container/QualificationReview/FilingTabs/index.js b/src/pages/Container/QualificationReview/FilingTabs/index.js index a00b520..bbb6e20 100644 --- a/src/pages/Container/QualificationReview/FilingTabs/index.js +++ b/src/pages/Container/QualificationReview/FilingTabs/index.js @@ -444,7 +444,7 @@ const FilingTabs = ({ { title: "序号", width: 60, render: (_, __, i) => i + 1 }, { title: "装备名称", dataIndex: "deviceName", ellipsis: true }, { title: "规格型号", dataIndex: "deviceModel", ellipsis: true }, - { title: "生产厂家", dataIndex: "manufacturer" }, + { title: "生产厂家", dataIndex: "manufacturer",ellipsis: true }, { title: "计量检定情况", width: 120, diff --git a/src/pages/Container/QualificationReview/SiteReviewNotice/index.js b/src/pages/Container/QualificationReview/SiteReviewNotice/index.js index 55e2566..469857b 100644 --- a/src/pages/Container/QualificationReview/SiteReviewNotice/index.js +++ b/src/pages/Container/QualificationReview/SiteReviewNotice/index.js @@ -1,6 +1,6 @@ import React, { useState, useEffect } from "react"; import dayjs from "dayjs"; -import { Form, Table, Button, Modal, Input, Select, DatePicker, Card, Row, Col, Statistic, message, Tag } from "antd"; +import { Form, Table, Button, Modal, Input, Select, DatePicker, Row, Col, message, Tag } from "antd"; import PageLayout from "@cqsjjb/jjb-react-admin-component/PageLayout"; import SearchForm from "~/components/SearchForm"; import ControlWrapper from "@cqsjjb/jjb-react-admin-component/ControlWrapper"; @@ -11,6 +11,7 @@ import { NS_QUAL_REVIEW } from "~/enumerate/namespace"; import { Connect } from "@cqsjjb/jjb-dva-runtime"; import { ON_SITE_REVIEW_STATUS_MAP } from "~/enumerate/constant"; import AttachmentUpload from "~/components/AttachmentUpload"; +import StatCardGroup from "~/components/StatCardGroup"; const { router } = tools; @@ -42,7 +43,6 @@ const SiteReviewNotice = (props) => { qualOnSiteReviewStats = {}, orgSelectList = [], siteReviewNoticeLoading, - siteReviewStatisticsLoading, siteReviewSaveLoading, siteReviewResultLoading, } = qualReview || {}; @@ -227,26 +227,40 @@ const SiteReviewNotice = (props) => { > - - - - -
{qualOnSiteReviewStats.annualCumulativeCount ?? 0} 条本年度累计
-
- - - - -
未来30日内
-
- - - - -
审查结果已归档
-
- -
+ { return ( - - - - 按行业周期和属地要求维护} - /> - - - - - 到期前6个月启动商务对接} - /> - - - - - 到期前3个月正式委托启动} - /> - - - - - 到期前1个月加快编制评审} - /> - - - +
提醒时间规则: diff --git a/src/pages/Container/SafetyEvalBusiness/BusinessReminder/index.less b/src/pages/Container/SafetyEvalBusiness/BusinessReminder/index.less index b7a94bc..872e8d2 100644 --- a/src/pages/Container/SafetyEvalBusiness/BusinessReminder/index.less +++ b/src/pages/Container/SafetyEvalBusiness/BusinessReminder/index.less @@ -5,15 +5,6 @@ margin-bottom: 16px; } - &-stat-row { - margin-bottom: 16px; - } - - &-stat-suffix { - font-size: 14px; - color: #999; - } - &-note { padding: 8px 12px; background: #f6f8fa; diff --git a/src/pages/Container/SafetyEvalBusiness/EvalReportLibrary/index.js b/src/pages/Container/SafetyEvalBusiness/EvalReportLibrary/index.js index dd0a272..ec6675c 100644 --- a/src/pages/Container/SafetyEvalBusiness/EvalReportLibrary/index.js +++ b/src/pages/Container/SafetyEvalBusiness/EvalReportLibrary/index.js @@ -891,7 +891,7 @@ const EvalReportLibrary = (props) => { okText="确认上传" cancelText="取消" width={820} - destroyOnClose + destroyOnHidden className="erl-upload-modal" >
{ onCancel={() => setDetailVisible(false)} footer={} width={820} - destroyOnClose + destroyOnHidden className="erl-upload-modal" > {detailData ? ( @@ -1309,7 +1309,7 @@ const EvalReportLibrary = (props) => { } width={980} - destroyOnClose + destroyOnHidden > { okText="提交整改" cancelText="取消" width={560} - destroyOnClose + destroyOnHidden > {rectifyRecord && (
diff --git a/src/pages/Container/SafetyEvalBusiness/EvalReportLibrary/index.less b/src/pages/Container/SafetyEvalBusiness/EvalReportLibrary/index.less index cd8f712..92b3916 100644 --- a/src/pages/Container/SafetyEvalBusiness/EvalReportLibrary/index.less +++ b/src/pages/Container/SafetyEvalBusiness/EvalReportLibrary/index.less @@ -144,16 +144,7 @@ overflow: hidden; } - .micro-temp-modal-body { - max-height: 72vh; - overflow-y: auto; - - &::-webkit-scrollbar { - width: 0; - height: 0; - display: none; - } - } + } /* 原型单层虚线框,避免 Dragger 内外双边框 */ diff --git a/src/pages/Container/SafetyEvalBusiness/MyProject/index.js b/src/pages/Container/SafetyEvalBusiness/MyProject/index.js index 99f370f..143d655 100644 --- a/src/pages/Container/SafetyEvalBusiness/MyProject/index.js +++ b/src/pages/Container/SafetyEvalBusiness/MyProject/index.js @@ -1,6 +1,6 @@ import React, { useState, useEffect } from "react"; import { - Form, Table, Tag, Button, Card, Row, Col, Statistic, Select, Modal, message, Tooltip, + Form, Table, Tag, Button, Select, Modal, message, Tooltip, } from "antd"; import PageLayout from "@cqsjjb/jjb-react-admin-component/PageLayout"; import SearchForm from "~/components/SearchForm"; @@ -11,6 +11,7 @@ import { NODE_LABELS } from "~/enumerate/constant"; import { NS_SAFETY_EVAL_BUSINESS } from "~/enumerate/namespace"; import { Connect } from "@cqsjjb/jjb-dva-runtime"; import { tools } from "@cqsjjb/jjb-common-lib"; +import StatCardGroup from "~/components/StatCardGroup"; import "./index.less"; const { router } = tools; @@ -138,32 +139,50 @@ const MyProject = (props) => { return ( - -
- - -
负责人/编制人/审核人
-
- - - - -
当前角色可操作节点
-
- - - - -
需定位打卡和人脸识别
-
- - - - -
需优先处理
-
- - + { return ( - - - - 当前机构名下评价项目 - } - /> - - - - - 距项目结束日期超过3天 - } - /> - - - - - 项目结束前3天自动提醒 - } - /> - - - - - 已超过项目结束日期 - } - /> - - - + { - - - - - - - - - - - - - - - - - - - - - - + {!readOnly && ( diff --git a/src/pages/Container/SafetyEvalBusiness/ProjectFlow/index.js b/src/pages/Container/SafetyEvalBusiness/ProjectFlow/index.js index 622603d..efba212 100644 --- a/src/pages/Container/SafetyEvalBusiness/ProjectFlow/index.js +++ b/src/pages/Container/SafetyEvalBusiness/ProjectFlow/index.js @@ -262,6 +262,7 @@ const ProjectFlow = (props) => { activeKey={activeKey} onChange={handleTabChange} items={tabItems} + className="pf-tabs" destroyOnHidden /> {visible && ( diff --git a/src/pages/Container/SafetyEvalBusiness/ProjectFlow/index.less b/src/pages/Container/SafetyEvalBusiness/ProjectFlow/index.less index b0a8d09..3f11b48 100644 --- a/src/pages/Container/SafetyEvalBusiness/ProjectFlow/index.less +++ b/src/pages/Container/SafetyEvalBusiness/ProjectFlow/index.less @@ -1,4 +1,10 @@ +.pf-tabs{ + .micro-temp-tabs-tab { + padding-top: 0px; + } +} .pf { + // 区块头部 &-section-header { display: flex; @@ -47,7 +53,7 @@ // 权限标签区域 &-permission { - margin-bottom: 12px; + margin-bottom: 8px; .pf-tag { margin-right: 8px; diff --git a/src/pages/Container/SafetyEvalBusiness/RiskWarning/index.js b/src/pages/Container/SafetyEvalBusiness/RiskWarning/index.js index 1894bf2..51d754e 100644 --- a/src/pages/Container/SafetyEvalBusiness/RiskWarning/index.js +++ b/src/pages/Container/SafetyEvalBusiness/RiskWarning/index.js @@ -3,10 +3,6 @@ import { Form, Table, Tag, - Row, - Col, - Card, - Statistic, Button, Modal, Upload, @@ -19,6 +15,7 @@ import { UploadOutlined } from "@ant-design/icons"; import { AntdTableFuncControl } from "@cqsjjb/jjb-common-decorator/antd"; import PageLayout from "@cqsjjb/jjb-react-admin-component/PageLayout"; import SearchForm from "~/components/SearchForm"; +import StatCardGroup from "~/components/StatCardGroup"; import ControlWrapper from "@cqsjjb/jjb-react-admin-component/ControlWrapper"; import { NS_SAFETY_EVAL_BUSINESS } from "~/enumerate/namespace"; import { @@ -185,27 +182,30 @@ const RiskWarning = (props) => { return ( - - - - 来自项目过程控制与周期规则} - /> - - - - - 需在周例会确认} - /> - - - + { onOk={handleModalOk} onCancel={handleModalCancel} confirmLoading={riskWarningHandleLoading} - destroyOnClose + destroyOnHidden > diff --git a/src/pages/Container/SafetyEvalBusiness/RiskWarning/index.less b/src/pages/Container/SafetyEvalBusiness/RiskWarning/index.less index a268054..03a24e8 100644 --- a/src/pages/Container/SafetyEvalBusiness/RiskWarning/index.less +++ b/src/pages/Container/SafetyEvalBusiness/RiskWarning/index.less @@ -1,13 +1,4 @@ .rw { - &-stat-row { - margin-bottom: 16px; - } - - &-stat-suffix { - font-size: 14px; - color: #999; - } - &-note { padding: 8px 12px; background: #f6f8fa; diff --git a/src/pages/Container/Supervision/BasicInfo/EnterprisePortrait/index.js b/src/pages/Container/Supervision/BasicInfo/EnterprisePortrait/index.js index 2269a05..e2694fb 100644 --- a/src/pages/Container/Supervision/BasicInfo/EnterprisePortrait/index.js +++ b/src/pages/Container/Supervision/BasicInfo/EnterprisePortrait/index.js @@ -1,7 +1,8 @@ -import { Button, Card, Col, Descriptions, Form, Modal, Row, Statistic, Table, Tag } from "antd"; +import { Button, Descriptions, Form, Modal, Table, Tag } from "antd"; import { useEffect, useState } from "react"; import PageLayout from "@cqsjjb/jjb-react-admin-component/PageLayout"; import SearchForm from "~/components/SearchForm"; +import StatCardGroup from "~/components/StatCardGroup"; import ControlWrapper from "@cqsjjb/jjb-react-admin-component/ControlWrapper"; import { AntdTableFuncControl } from "@cqsjjb/jjb-common-decorator/antd"; import { CHONGQING_DISTRICTS } from "~/enumerate/enterpriseOptions"; @@ -183,45 +184,54 @@ function EnterprisePortraitPage(props) {

- -
- - -
- ↑ - {" "} - {detail.projectOnTime} -
-
- - - - -
- {detail.reportQualityDesc} -
-
- - - - -
- {detail.penaltyDesc} -
-
- - - - -
- {detail.evalCountDesc} -
-
- - + + ↑ {detail.projectOnTime} + + ), + iconBg: "#f6ffed", + iconColor: "#52c41a", + iconText: "时", + }, + { + key: "reportQuality", + title: "报告质量", + value: detail.reportQuality, + valueColor: "#1e293b", + hint: detail.reportQualityDesc, + iconBg: "#eff6ff", + iconColor: "#1677ff", + iconText: "质", + }, + { + key: "complaintPenalty", + title: "投诉/处罚", + value: detail.complaintCount + detail.penaltyCount, + valueColor: "#faad14", + hint: detail.penaltyDesc, + iconBg: "#fffbe6", + iconColor: "#faad14", + iconText: "诉", + }, + { + key: "evalCount", + title: "评价次数", + value: detail.evalCount, + valueColor: "#1e293b", + hint: detail.evalCountDesc, + iconBg: "#eef2ff", + iconColor: "#4f46e5", + iconText: "评", + }, + ]} + /> diff --git a/src/pages/Container/Supervision/BasicInfo/OrgAccount/index.js b/src/pages/Container/Supervision/BasicInfo/OrgAccount/index.js index 19663dd..1030a11 100644 --- a/src/pages/Container/Supervision/BasicInfo/OrgAccount/index.js +++ b/src/pages/Container/Supervision/BasicInfo/OrgAccount/index.js @@ -278,7 +278,7 @@ function OrgAccountPage(props) { ), }, - { title: "开户时间", dataIndex: "createTime", width: 110 }, + { title: "开户时间", dataIndex: "createTime", width: 155 }, { title: "操作", width: 200, @@ -414,7 +414,7 @@ function OrgAccountPage(props) { open={viewOpen} destroyOnHidden title="机构信息查看" - width={900} + width={1000} loading={detailLoading} cancelText="关闭" okButtonProps={{ style: { display: "none" } }} @@ -424,7 +424,7 @@ function OrgAccountPage(props) { }} > {detail && ( - + {detail.unitName} diff --git a/src/pages/Container/Supervision/BasicInfo/RegisteredOrg/List/index.js b/src/pages/Container/Supervision/BasicInfo/RegisteredOrg/List/index.js index 1efd688..8027444 100644 --- a/src/pages/Container/Supervision/BasicInfo/RegisteredOrg/List/index.js +++ b/src/pages/Container/Supervision/BasicInfo/RegisteredOrg/List/index.js @@ -133,7 +133,7 @@ function RegisteredOrgListPage(props) { { title: "统一社会信用代码", dataIndex: "creditCode", width: 170, ellipsis: true }, { title: "是否本地单位", - width: 100, + width: 120, // 由 filingUnitTypeName(本地单位/异地单位)判断;变更时间:2026-08-10 render: (_, record) => record.filingUnitTypeName === "本地单位" diff --git a/src/pages/Container/Supervision/EvalPortrait/index.js b/src/pages/Container/Supervision/EvalPortrait/index.js index 57b9954..557a09b 100644 --- a/src/pages/Container/Supervision/EvalPortrait/index.js +++ b/src/pages/Container/Supervision/EvalPortrait/index.js @@ -288,7 +288,7 @@ const EvalPortrait = (props) => { open={detailOpen} onCancel={() => setDetailOpen(false)} width={980} - destroyOnClose + destroyOnHidden className="ep-modal" footer={ @@ -348,7 +348,7 @@ const EvalPortrait = (props) => { open={rulesOpen} onCancel={() => setRulesOpen(false)} width={720} - destroyOnClose + destroyOnHidden className="ep-modal" footer={ diff --git a/src/pages/Container/Supervision/EvalPortrait/index.less b/src/pages/Container/Supervision/EvalPortrait/index.less index 1bc5a6f..c82f65d 100644 --- a/src/pages/Container/Supervision/EvalPortrait/index.less +++ b/src/pages/Container/Supervision/EvalPortrait/index.less @@ -42,40 +42,7 @@ color: #92400e; } -/* 原型 modal */ -.ep-modal { - .micro-temp-modal-content { - border-radius: 12px; - overflow: hidden; - box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15); - } - .micro-temp-modal-header { - padding: 14px 21px; - border-bottom: 1px solid #e2e8f0; - margin-bottom: 0; - } - - .micro-temp-modal-body { - padding: 21px; - max-height: 72vh; - overflow-y: auto; - scrollbar-width: none; - -ms-overflow-style: none; - - &::-webkit-scrollbar { - width: 0; - height: 0; - display: none; - } - } - - .micro-temp-modal-footer { - padding: 14px 21px; - border-top: 1px solid #e2e8f0; - margin-top: 0; - } -} /* 原型 .reg-modal-section */ .ep-modal-section { diff --git a/src/pages/Container/Supervision/EvalReportDatabase/components/SpotCheckDetailModal.jsx b/src/pages/Container/Supervision/EvalReportDatabase/components/SpotCheckDetailModal.jsx index 9b1fdbb..6bbe078 100644 --- a/src/pages/Container/Supervision/EvalReportDatabase/components/SpotCheckDetailModal.jsx +++ b/src/pages/Container/Supervision/EvalReportDatabase/components/SpotCheckDetailModal.jsx @@ -81,7 +81,7 @@ const SpotCheckDetailModal = ({ open, record, onCancel }) => { open={open} onCancel={onCancel} width={980} - destroyOnClose + destroyOnHidden className="redb-modal" footer={ diff --git a/src/pages/Container/Supervision/EvalReportDatabase/index.js b/src/pages/Container/Supervision/EvalReportDatabase/index.js index fecea6d..9d7baa6 100644 --- a/src/pages/Container/Supervision/EvalReportDatabase/index.js +++ b/src/pages/Container/Supervision/EvalReportDatabase/index.js @@ -1073,7 +1073,7 @@ const EvalReportDatabase = (props) => { open={aiVisible} onCancel={() => setAiVisible(false)} width={980} - destroyOnClose + destroyOnHidden className="redb-modal" footer={ @@ -1149,7 +1149,7 @@ const EvalReportDatabase = (props) => { okText="生成文件" cancelText="关闭" width={720} - destroyOnClose + destroyOnHidden className="redb-modal" > { okText="确认执行" cancelText="关闭" width={720} - destroyOnClose + destroyOnHidden className="redb-modal" > { open={spotcheckVisible} onCancel={() => setSpotcheckVisible(false)} width={980} - destroyOnClose + destroyOnHidden className="redb-modal" footer={ @@ -1306,7 +1306,7 @@ const EvalReportDatabase = (props) => { confirmLoading={regulatorSpotcheckStartLoading} okText="提交抽查" width={640} - destroyOnClose + destroyOnHidden className="redb-modal" > { confirmLoading={regulatorSpotcheckReviewLoading} okText="提交复核结果" width={520} - destroyOnClose + destroyOnHidden className="redb-modal" > {reviewRecord && ( @@ -1554,7 +1554,7 @@ const EvalReportDatabase = (props) => { width: 90, render: (_, record) => ( + openProcessView(record)}>处理查看 ) : null; if (code === 0) { return ( - - - + + openCreate(record)}>编辑 + handleIssueRow(record)}>下发 {processViewBtn} - + ); } if (code === 1) { return ( - - - + + openDetail(record)}>查看 + handleUrge(record)}>提醒 {processViewBtn} - + ); } if (code === 2 || code === 3) { return ( - - - + + openDetail(record)}>查看 + openResult(record)}>登记结果 {processViewBtn} - + ); } return ( - - - + + openDetail(record)}>查看 + handleDownloadRecord(record)}>下载记录 {processViewBtn} - + ); }, }, @@ -820,7 +804,7 @@ const InspectionNotice = (props) => { open={createOpen} onCancel={() => setCreateOpen(false)} width={820} - destroyOnClose + destroyOnHidden className="insp-modal" footer={ } > @@ -1047,7 +1031,7 @@ const InspectionNotice = (props) => { open={resultOpen} onCancel={() => setResultOpen(false)} width={820} - destroyOnClose + destroyOnHidden className="insp-modal" footer={