From 606e45a92f15fd3c67b39238c1ce784486d9a8c8 Mon Sep 17 00:00:00 2001 From: jl-zhoujl2 Date: Wed, 27 Apr 2022 09:07:48 +0800 Subject: [PATCH] =?UTF-8?q?4.27=20=E6=96=B0=E5=A2=9E=E5=AD=97=E6=AE=B5?= =?UTF-8?q?=E5=8F=8A=E6=A0=B7=E5=BC=8F=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/PublicPlatform.tsx | 65 +++++++++++++++---- .../BiddingAnnouncement/components/style.less | 45 +++++++------ .../BiddingAnnouncementList.tsx | 24 +++---- 3 files changed, 89 insertions(+), 45 deletions(-) diff --git a/src/pages/Bid/BiddingAnnouncement/components/PublicPlatform.tsx b/src/pages/Bid/BiddingAnnouncement/components/PublicPlatform.tsx index cb5c29f..9982a6a 100644 --- a/src/pages/Bid/BiddingAnnouncement/components/PublicPlatform.tsx +++ b/src/pages/Bid/BiddingAnnouncement/components/PublicPlatform.tsx @@ -8,7 +8,8 @@ import { ArrowUpOutlined, CaretRightOutlined } from '@ant-design/icons'; import { getURLInformation, isNotEmpty, returnDictVal } from '@/utils/CommonUtils'; import ExtendUpload from '@/utils/ExtendUpload'; import { getPublicData, savePublicData } from '../service'; -import { getDicData } from '@/utils/session'; +import { getDefId, getDicData, getProMethod } from '@/utils/session'; +import { getAllFlowNameByRoomType } from '@/utils/FlowUtils'; const layout = { labelCol: { @@ -34,8 +35,16 @@ const PublicPlatform: React.FC<{}> = () => { const [readOnly, setReadOnly] = useState(true); //公示or公告 true-公示 false-公告 const [annoType, setAnnoType] = useState(false); - //annoId + //annoId 公告公示id const annoId = getURLInformation("id"); + //资审流程所处阶段 (roomType 2是后审,1是预审) + const roomType = getURLInformation('roomType') === null ? '2' : getURLInformation('roomType'); + //采购方式 + const proMethod = getProMethod(); + //所有流程名 + const flowName = getAllFlowNameByRoomType(proMethod, roomType); + //流程id + const defId = getDefId(); //获取字典 const getDict: any = getDicData(); const dictData = JSON.parse(getDict); @@ -67,7 +76,7 @@ const PublicPlatform: React.FC<{}> = () => { ) } //TextArea - function returnArea(name: string | string[], label: string, readonly: boolean, initialValue: string | null, rules?: any[], placeholder?: string, extra?: React.ReactNode) { + function returnArea(name: string | string[], label: string, readonly: boolean, initialValue: string | null, rules?: any[], placeholder?: string, extra?: React.ReactNode, maxLength?: number) { return ( = () => { >