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 ( = () => { >