From 1d9735f0201261a775b7fd2703d936423f8047c2 Mon Sep 17 00:00:00 2001 From: tangjie <122778500@qq.com> Date: Mon, 27 Jul 2026 18:06:06 +0800 Subject: [PATCH] feat --- src/enumerate/constant/index.js | 1 + .../SafetyEvalBusiness/Progress/index.js | 20 +++--- .../ProjectFlow/SurveyContent.js | 6 +- .../SafetyEvalBusiness/RiskWarning/index.js | 66 +------------------ 4 files changed, 16 insertions(+), 77 deletions(-) diff --git a/src/enumerate/constant/index.js b/src/enumerate/constant/index.js index 6888c85..ce6e5eb 100644 --- a/src/enumerate/constant/index.js +++ b/src/enumerate/constant/index.js @@ -343,6 +343,7 @@ export const MATERIAL_TYPE_OPTIONS = [ { label: "报告资料", value: "REPORT" }, { label: "整改资料", value: "RECTIFICATION" }, { label: "其他项目资料", value: "OTHER" }, + { label: "归档", value: "ARCHIVED" }, ]; export const MATERIAL_TYPE_MAP = MATERIAL_TYPE_OPTIONS.reduce((acc, cur) => { diff --git a/src/pages/Container/SafetyEvalBusiness/Progress/index.js b/src/pages/Container/SafetyEvalBusiness/Progress/index.js index c20adaf..8135473 100644 --- a/src/pages/Container/SafetyEvalBusiness/Progress/index.js +++ b/src/pages/Container/SafetyEvalBusiness/Progress/index.js @@ -148,16 +148,16 @@ const ProjectProgress = (props) => { ); }, }, - { - title: "操作", - width: 80, - fixed: "right", - render: (_, record) => ( - - ), - }, + // { + // title: "操作", + // width: 80, + // fixed: "right", + // render: (_, record) => ( + // + // ), + // }, ]; return ( diff --git a/src/pages/Container/SafetyEvalBusiness/ProjectFlow/SurveyContent.js b/src/pages/Container/SafetyEvalBusiness/ProjectFlow/SurveyContent.js index 7ddfe48..53a9786 100644 --- a/src/pages/Container/SafetyEvalBusiness/ProjectFlow/SurveyContent.js +++ b/src/pages/Container/SafetyEvalBusiness/ProjectFlow/SurveyContent.js @@ -21,12 +21,12 @@ const STAGES = [ const downloadTemplate = async () => { try { - const res = await fetch("https://test-dragon-yf-pub.oss-cn-hangzhou.aliyuncs.com/jjb/6a608cb30dc53ed98d0b13ae.pdf"); + const res = await fetch("https://test-dragon-yf-pub.oss-cn-hangzhou.aliyuncs.com/jjb/6a6726510dc57d9450a911be.docx"); const blob = await res.blob(); const url = URL.createObjectURL(blob); const a = document.createElement("a"); a.href = url; - a.download = "从业告知书模板.pdf"; + a.download = "从业告知书模板.docx"; a.click(); URL.revokeObjectURL(url); } catch { @@ -54,7 +54,7 @@ const NoticePanel = () => ( 📄
- 项目: - {currentRecord.projectName} -
-
- 风险等级:
-
- 预警类型: - {currentRecord.warningTypeName} -
-- 触发条件: - {currentRecord.triggerCondition} -
-- 责任人: - {currentRecord.responsiblePerson} -
-- 预警时间: - {currentRecord.warningTime} -
-