From 78f1b2e2a35339ca18c13c2ff6cdaa0d3f2b0888 Mon Sep 17 00:00:00 2001 From: jl-zhoujl2 Date: Wed, 13 Apr 2022 16:51:43 +0800 Subject: [PATCH 01/16] =?UTF-8?q?4.13=20=E5=A2=9E=E5=8A=A0=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/ZhaoBiao/router_menucBid.config.ts | 5 ++ .../components/PublicPlatform.tsx | 87 +++++++++++++++++++ 2 files changed, 92 insertions(+) create mode 100644 src/pages/Bid/BiddingAnnouncement/components/PublicPlatform.tsx diff --git a/config/ZhaoBiao/router_menucBid.config.ts b/config/ZhaoBiao/router_menucBid.config.ts index 39ee12f..410da96 100644 --- a/config/ZhaoBiao/router_menucBid.config.ts +++ b/config/ZhaoBiao/router_menucBid.config.ts @@ -24,6 +24,11 @@ export default [//招标 投标邀请 path: '/ProjectLayout/NoticeFileStruct/List', component: './Bid/NoticeFileStruct/list', }, + //公共服务平台 + { + path: '/ProjectLayout/PublicPlatform', + component: './Bid/BiddingAnnouncement/components/PublicPlatform', + }, //应答格式开始 { diff --git a/src/pages/Bid/BiddingAnnouncement/components/PublicPlatform.tsx b/src/pages/Bid/BiddingAnnouncement/components/PublicPlatform.tsx new file mode 100644 index 0000000..90135e4 --- /dev/null +++ b/src/pages/Bid/BiddingAnnouncement/components/PublicPlatform.tsx @@ -0,0 +1,87 @@ +import { Form, Input, InputNumber, Button, Card } from 'antd'; +import React from 'react'; + +interface PublicPlatformProps { + modalVisible: boolean; + onCancel: () => void; +} + +const layout = { + labelCol: { + span: 6, + }, + wrapperCol: { + span: 16, + }, +}; +/* eslint-disable no-template-curly-in-string */ + +const validateMessages = { + required: '${label} is required!', + types: { + email: '${label} is not a valid email!', + number: '${label} is not a valid number!', + }, + number: { + range: '${label} must be between ${min} and ${max}', + }, +}; +/* eslint-enable no-template-curly-in-string */ + +const PublicPlatform: React.FC = (props) => { + // const { modalVisible, onCancel } = props; + + const onFinish = (values: any) => { + console.log(values); + }; + + return ( + +
+

项目信息

+ + + + + + +

标段信息

+ + + + + + +

中标候选人信息

+ + + + + + + + + + + + + + + + + + + + + + {/* + + */} +
+
+ ); +}; + +export default PublicPlatform \ No newline at end of file From 0595d4e33922d1470412b81bc2f6321df41d33da Mon Sep 17 00:00:00 2001 From: jl-zhoujl2 Date: Sun, 17 Apr 2022 21:05:11 +0800 Subject: [PATCH 02/16] =?UTF-8?q?4.17=20=E6=A0=87=E6=AE=B5=E4=BF=A1?= =?UTF-8?q?=E6=81=AF=E5=A2=9E=E5=8A=A0=E5=B8=83=E5=B1=80=EF=BC=8C=E5=9B=BA?= =?UTF-8?q?=E9=92=89=EF=BC=8C=E9=94=9A=E7=82=B9=E8=B7=B3=E8=BD=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/PublicPlatform.tsx | 196 ++++++++++++++---- src/utils/CommonUtils.ts | 70 ++++--- 2 files changed, 201 insertions(+), 65 deletions(-) diff --git a/src/pages/Bid/BiddingAnnouncement/components/PublicPlatform.tsx b/src/pages/Bid/BiddingAnnouncement/components/PublicPlatform.tsx index 90135e4..56caedc 100644 --- a/src/pages/Bid/BiddingAnnouncement/components/PublicPlatform.tsx +++ b/src/pages/Bid/BiddingAnnouncement/components/PublicPlatform.tsx @@ -1,5 +1,7 @@ -import { Form, Input, InputNumber, Button, Card } from 'antd'; -import React from 'react'; +import { scrollToAnchor } from '@/utils/CommonUtils'; +import ProCard from '@ant-design/pro-card'; +import { Form, Input, InputNumber, Button, Card, Row, Col, Typography, Tooltip, Space, Radio, Affix, List, Tag } from 'antd'; +import React, { useState } from 'react'; interface PublicPlatformProps { modalVisible: boolean; @@ -11,9 +13,44 @@ const layout = { span: 6, }, wrapperCol: { - span: 16, + span: 17, }, }; +const bidLayout = { + labelCol: { + span: 4, + }, + wrapperCol: { + span: 20, + }, +}; +const candidateLayout = { + labelCol: { + span: 7, + }, + wrapperCol: { + span: 17, + }, +}; + +const data = [ + { + title: '标段一', + description: 'XY92632011202', + }, + { + title: '标段二', + description: 'XY92632011202', + }, + { + title: '标段三', + description: 'XY92632011202', + }, + { + title: '标段四', + description: 'XY92632011202', + }, +]; /* eslint-disable no-template-curly-in-string */ const validateMessages = { @@ -30,57 +67,144 @@ const validateMessages = { const PublicPlatform: React.FC = (props) => { // const { modalVisible, onCancel } = props; + const { Text } = Typography; + const { TextArea } = Input; + const [container, setContainer] = useState(null); const onFinish = (values: any) => { console.log(values); }; return ( - -
+
+

项目信息

- +