diff --git a/front-end/src/app/pages/LoginPage.tsx b/front-end/src/app/pages/LoginPage.tsx index 9e63ddb..8be5edf 100644 --- a/front-end/src/app/pages/LoginPage.tsx +++ b/front-end/src/app/pages/LoginPage.tsx @@ -8,20 +8,11 @@ import { XiaobinAssistant } from "../components/XiaobinAssistant"; type Mode = "employee" | "vendor"; type Tab = "account" | "mobile"; -type LoginRole = "purchaser" | "supplier" | "expert" | "other"; - -const ROLE_BUTTONS: { id: LoginRole; label: string; en: string }[] = [ - { id: "purchaser", label: "采购人", en: "Purchaser" }, - { id: "supplier", label: "供应商", en: "Supplier" }, - { id: "expert", label: "专家", en: "Expert" }, - { id: "other", label: "其他", en: "Other" }, -]; export function LoginPage() { const navigate = useNavigate(); const [mode, setMode] = useState("vendor"); const [tab, setTab] = useState("account"); - const [loginRole, setLoginRole] = useState("supplier"); const [account, setAccount] = useState("zhangwei"); const [pwd, setPwd] = useState("123456"); const [showPwd, setShowPwd] = useState(false); @@ -51,25 +42,13 @@ export function LoginPage() { function submit(e: React.FormEvent) { e.preventDefault(); if (mode === "employee") { - toast.info("正在跳转至集团 IAM 统一身份认证…"); + toast.info("正在跳转至滨化集团 IAM 统一身份认证…"); setTimeout(() => navigate("/app"), 800); return; } navigate("/app"); } - function selectRole(role: LoginRole) { - setLoginRole(role); - // 与现有登录逻辑联动:供应商走外部账号,其他角色默认走内部员工 - if (role === "supplier") { - setMode("vendor"); - setTab("account"); - } else { - setMode("employee"); - setTab("account"); - } - } - return (
@@ -90,26 +69,6 @@ export function LoginPage() { 去注册

- {/* 角色登录按钮:对齐万华站点风格 */} -
- {ROLE_BUTTONS.map((r) => ( - - ))} -
-
{( [ @@ -130,10 +89,6 @@ export function LoginPage() { ))}
-

- 当前角色:{ROLE_BUTTONS.find((x) => x.id === loginRole)?.label} -

-
{( [ @@ -279,8 +234,8 @@ export function LoginPage() { {[ ["[公开招标] 扣电测试柜框架", "2026-07-13"], ["[公开招标] 2026年橡胶密封件框架招标O型圈", "2026-07-13"], - ["[公开招标] 万华莱州100MW分散式风电项目EPC工程总承包[变更公告]", "2026-07-13"], - ["[公开招标] 万华旋塞阀框架包一 金属旋塞阀、包二 衬氟旋塞阀", "2026-07-10"], + ["[公开招标] 莱州100MW分散式风电项目EPC工程总承包[变更公告]", "2026-07-13"], + ["[公开招标] 旋塞阀框架包一 金属旋塞阀、包二 衬氟旋塞阀", "2026-07-10"], ["[公开招标] 改性TPU熟化料仓", "2026-07-09"], ].map(([title, date]) => (
  • @@ -295,9 +250,9 @@ export function LoginPage() {
    通知公告
    -

    万华蓬莱园区高温管道耐火衬里类物资供应商招募

    -

    万华化学桨叶冷却机类供应商招募

    -

    万华化学洗车平台服务类供应商招募

    +

    蓬莱园区高温管道耐火衬里类物资供应商招募

    +

    化学桨叶冷却机类供应商招募

    +

    化学洗车平台服务类供应商招募

    diff --git a/front-end/src/app/pages/PortalHome.tsx b/front-end/src/app/pages/PortalHome.tsx index daa8954..f368fa0 100644 --- a/front-end/src/app/pages/PortalHome.tsx +++ b/front-end/src/app/pages/PortalHome.tsx @@ -1,18 +1,11 @@ import { useState } from "react"; import { useNavigate } from "react-router"; -import { UserRound, Building2, Briefcase, Users } from "lucide-react"; import { cn } from "../components/ui/utils"; import { PortalShell } from "./portal/PortalShell"; import { XiaobinAssistant } from "../components/XiaobinAssistant"; type Notice = { title: string; date: string }; -const ROLES = [ - { key: "purchaser", label: "采购人", en: "Purchaser", icon: Building2 }, - { key: "supplier", label: "供应商", en: "Supplier", icon: Briefcase }, - { key: "expert", label: "专家", en: "Expert", icon: UserRound }, - { key: "other", label: "其他", en: "Other", icon: Users }, -]; const NOTICE_TABS = ["招标公告", "资格预审公告", "中标候选人公示", "结果公告", "终止公告"]; const BANNERS = [ { @@ -35,9 +28,9 @@ const BANNERS = [ const NOTICE_DATA: Record = { 招标公告: [ { title: "[公开招标] 2026年地脚螺栓、不锈钢及五金紧固件框架招标", date: "2026-07-13" }, - { title: "[公开招标] 万华莱州100MW分散式风电项目EPC工程总承包[变更公告]", date: "2026-07-13" }, + { title: "[公开招标] 莱州100MW分散式风电项目EPC工程总承包[变更公告]", date: "2026-07-13" }, { title: "[公开招标] 2026年橡胶密封件框架招标O型圈", date: "2026-07-13" }, - { title: "[公开招标] 万华旋塞阀框架包一 金属旋塞阀、包二 衬氟旋塞阀", date: "2026-07-10" }, + { title: "[公开招标] 旋塞阀框架包一 金属旋塞阀、包二 衬氟旋塞阀", date: "2026-07-10" }, { title: "[公开招标] 改性TPU熟化料仓", date: "2026-07-09" }, ], 资格预审公告: [ @@ -52,13 +45,13 @@ const NOTICE_DATA: Record = { ], 结果公告: [ { title: "[公开招标] HDPE管道管件框架招标中标结果公告", date: "2026-07-07" }, - { title: "[公开招标] 万华起重框架招标包一 单梁起重机中标结果公告", date: "2026-07-02" }, - { title: "[公开招标] 万华海阳绿电直连光伏组件项目中标结果公告", date: "2026-06-30" }, + { title: "[公开招标] 起重框架招标包一 单梁起重机中标结果公告", date: "2026-07-02" }, + { title: "[公开招标] 海阳绿电直连光伏组件项目中标结果公告", date: "2026-06-30" }, ], 终止公告: [ { title: "国标切断双偏心蝶阀框架招标废标公告", date: "2026-07-06" }, { title: "TPU四期熟化料仓招标废标公告", date: "2026-07-01" }, - { title: "万华滨州碳酸锂项目冷却窑废标公告", date: "2026-06-24" }, + { title: "滨州碳酸锂项目冷却窑废标公告", date: "2026-06-24" }, ], }; @@ -94,22 +87,6 @@ export function PortalHome() { 还没有账号,

    -
    - {ROLES.map((r) => { - const Icon = r.icon; - return ( - - ); - })} -
    diff --git a/front-end/src/app/pages/RegisterPage.tsx b/front-end/src/app/pages/RegisterPage.tsx index 595284c..ce3f28a 100644 --- a/front-end/src/app/pages/RegisterPage.tsx +++ b/front-end/src/app/pages/RegisterPage.tsx @@ -465,7 +465,7 @@ export function RegisterPage() {
    - 欢迎来到万华电子招标投标交易网! + 欢迎来到智慧电子招标投标交易网!
    @@ -63,9 +63,9 @@ export function PortalShell({
    -
    友情链接:万华集团 | 万华化学供应商注册系统 | 万华化学集团股份有限公司
    +
    友情链接:滨化集团 | 供应商注册系统 | 智慧招标平台
    招投标相关网站:中国招投标协会 | 中国招标投标公共服务平台 | 中国国际招标网 | 中国采购与招标网
    -
    版权所有:滨化集团股份有限公司 | 技术支持:国泰新点软件股份有限公司
    +
    版权所有:滨化集团
    diff --git a/front-end/src/app/pages/portal/TradingInfoPage.tsx b/front-end/src/app/pages/portal/TradingInfoPage.tsx index ecdc606..6a845d4 100644 --- a/front-end/src/app/pages/portal/TradingInfoPage.tsx +++ b/front-end/src/app/pages/portal/TradingInfoPage.tsx @@ -10,7 +10,7 @@ const NOTICE_DATA: Record = { 招标公告: [ { title: "[公开招标] 扣电测试柜框架", date: "2026-07-13" }, { title: "[公开招标] 2026年地脚螺栓、不锈钢及五金紧固件框架招标", date: "2026-07-13" }, - { title: "[公开招标] 万华莱州100MW分散式风电项目EPC工程总承包[变更公告]", date: "2026-07-13" }, + { title: "[公开招标] 莱州100MW分散式风电项目EPC工程总承包[变更公告]", date: "2026-07-13" }, { title: "[公开招标] TPU掺混特种线项目FFS包装机[变更公告]", date: "2026-07-13" }, ], 资格预审公告: [ @@ -25,13 +25,13 @@ const NOTICE_DATA: Record = { ], 结果公告: [ { title: "[公开招标] HDPE管道管件框架招标中标结果公告", date: "2026-07-07" }, - { title: "[公开招标] 万华起重框架招标包一 单梁起重机中标结果公告", date: "2026-07-02" }, - { title: "[公开招标] 万华海阳绿电直连光伏组件项目中标结果公告", date: "2026-06-30" }, + { title: "[公开招标] 起重框架招标包一 单梁起重机中标结果公告", date: "2026-07-02" }, + { title: "[公开招标] 海阳绿电直连光伏组件项目中标结果公告", date: "2026-06-30" }, ], 终止公告: [ { title: "国标切断双偏心蝶阀框架招标废标公告", date: "2026-07-06" }, { title: "TPU四期熟化料仓招标废标公告", date: "2026-07-01" }, - { title: "万华滨州碳酸锂项目冷却窑废标公告", date: "2026-06-24" }, + { title: "滨州碳酸锂项目冷却窑废标公告", date: "2026-06-24" }, ], }; diff --git a/shots/01.png b/shots/01.png index 4ec47a2..13bb1db 100644 Binary files a/shots/01.png and b/shots/01.png differ diff --git a/shots/02.png b/shots/02.png index d3ec52a..b5d3f63 100644 Binary files a/shots/02.png and b/shots/02.png differ diff --git a/shots/03.png b/shots/03.png index 2dfa190..849339d 100644 Binary files a/shots/03.png and b/shots/03.png differ diff --git a/shots/04.png b/shots/04.png index 41c94d1..8643957 100644 Binary files a/shots/04.png and b/shots/04.png differ diff --git a/shots/05.png b/shots/05.png index bd684b1..3649bff 100644 Binary files a/shots/05.png and b/shots/05.png differ diff --git a/shots/06.png b/shots/06.png index ed23883..14f0ad3 100644 Binary files a/shots/06.png and b/shots/06.png differ diff --git a/shots/07.png b/shots/07.png index f2b8b3f..6fa0d28 100644 Binary files a/shots/07.png and b/shots/07.png differ diff --git a/shots/13.png b/shots/13.png index 1b48c37..042ca3c 100644 Binary files a/shots/13.png and b/shots/13.png differ diff --git a/shots/14.png b/shots/14.png index 1c0f963..d49a747 100644 Binary files a/shots/14.png and b/shots/14.png differ diff --git a/shots/25.png b/shots/25.png index 469aa90..5f942fc 100644 Binary files a/shots/25.png and b/shots/25.png differ diff --git a/shots/32.png b/shots/32.png index c01e1cf..6b238df 100644 Binary files a/shots/32.png and b/shots/32.png differ diff --git a/滨化智慧招标平台-前端界面截图汇总.docx b/滨化智慧招标平台-前端界面截图汇总.docx index de0ec1a..9983fc4 100644 Binary files a/滨化智慧招标平台-前端界面截图汇总.docx and b/滨化智慧招标平台-前端界面截图汇总.docx differ