diff --git a/src/pages/Container/Layout/menuConfig.js b/src/pages/Container/Layout/menuConfig.js index d400498..b688ff6 100644 --- a/src/pages/Container/Layout/menuConfig.js +++ b/src/pages/Container/Layout/menuConfig.js @@ -219,6 +219,11 @@ const menuItems = [ label: "A1 模块", icon: , }, + { + key: "/safetyEval/container/WpsEditor", + label: "报告编辑器", + icon: , + }, ], }, ]; diff --git a/src/pages/Container/SafetyEvalBusiness/ProjectFlow/index.js b/src/pages/Container/SafetyEvalBusiness/ProjectFlow/index.js index f0e6909..820ab86 100644 --- a/src/pages/Container/SafetyEvalBusiness/ProjectFlow/index.js +++ b/src/pages/Container/SafetyEvalBusiness/ProjectFlow/index.js @@ -1,72 +1,753 @@ import React, { useState } from "react"; -import { Tabs, Tag, Alert, Button, Card } from "antd"; -import { ArrowLeftOutlined } from "@ant-design/icons"; +import { + Tabs, + Tag, + Alert, + Button, + Card, + Row, + Col, + Table, + Statistic, + Form, + Input, + Select, + Radio, + DatePicker, + Steps, + Empty, +} from "antd"; +import { ArrowLeftOutlined, EditOutlined } from "@ant-design/icons"; import PageLayout from "@cqsjjb/jjb-react-admin-component/PageLayout"; import { AntdTableFuncControl } from "@cqsjjb/jjb-common-decorator/antd"; +import WpsEditor from "~/pages/Container/WpsEditor"; const PROCESS_TABS = [ - { key: "risk", index: "01", label: "风险分析", state: "已完成", stateType: "success" }, - { key: "contract", index: "02", label: "业务合同", state: "已完成", stateType: "success" }, - { key: "team", index: "03", label: "项目组", state: "已完成", stateType: "success" }, - { key: "survey", index: "04", label: "现场踏勘", state: "已完成", stateType: "success" }, - { key: "report", index: "05", label: "报告编制", state: "编制中", stateType: "processing" }, - { key: "internal", index: "06", label: "内部审核", state: "待办理", stateType: "default" }, - { key: "technical", index: "07", label: "技术审核", state: "待办理", stateType: "default" }, - { key: "control", index: "08", label: "过程控制", state: "前置未完成", stateType: "warning", locked: true }, + { + key: "risk", + index: "01", + label: "风险分析", + state: "已完成", + stateType: "success", + role: "市场部经办人 / 市场部经理", + }, + { + key: "contract", + index: "02", + label: "业务合同", + state: "已完成", + stateType: "success", + role: "机构管理员 / 项目负责人", + }, + { + key: "team", + index: "03", + label: "项目组", + state: "已完成", + stateType: "success", + role: "评价部经理 / 机构主账号", + }, + { + key: "survey", + index: "04", + label: "现场踏勘", + state: "已完成", + stateType: "success", + role: "项目组成员", + }, + { + key: "report", + index: "05", + label: "报告编制", + state: "编制中", + stateType: "processing", + role: "报告编制人", + }, + { + key: "internal", + index: "06", + label: "内部审核", + state: "待办理", + stateType: "default", + role: "内部审核人", + }, + { + key: "technical", + index: "07", + label: "技术审核", + state: "待办理", + stateType: "default", + role: "技术负责人", + }, + { + key: "control", + index: "08", + label: "过程控制", + state: "前置未完成", + stateType: "warning", + role: "过程控制负责人", + locked: true, + }, ]; +const { TextArea } = Input; + +const RiskAnalysisContent = () => { + const [form] = Form.useForm(); + + return ( +
+
+ + 市场部经办人 / 市场部经理 + + + 市场部组织前置条件调查和风险分析,相关职能部门参与;市场部经理依据分析结果决定是否签订技术服务合同。 + +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +