From 89776860821d412ac540d51969c345e9193aa455 Mon Sep 17 00:00:00 2001 From: Jason Date: Tue, 9 Jan 2024 17:38:26 +0800 Subject: [PATCH 1/2] update color --- src/utils/statusUtils/PublicNoteStatusUtils.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/utils/statusUtils/PublicNoteStatusUtils.js b/src/utils/statusUtils/PublicNoteStatusUtils.js index 8fddc1b..4c6c592 100644 --- a/src/utils/statusUtils/PublicNoteStatusUtils.js +++ b/src/utils/statusUtils/PublicNoteStatusUtils.js @@ -28,9 +28,9 @@ export function getStatusByText(status, creditor) { case "resubmit": return getStatusTag({ color: "#757373", text: "需重新提交" }) case "cancelled": - return getStatusTag({ color: "#f5a83d", text: "已取消" }) + return getStatusTag({ color: "#909497", text: "已取消" }) case "withdrawn": - return getStatusTag({ color: "#8a8784", text: "已撤銷" }) + return getStatusTag({ color: "#909497", text: "已撤銷" }) default: return getStatusTag({ text: status }) } @@ -42,18 +42,18 @@ export function getStatusEng(params) { export function getStatusByTextEng(status, creditor) { switch (status) { case "submitted": - return getStatusTag({ color: "#f5a83d", text: "Submitted" }) + return getStatusTag({ color: "#F1C40F", text: "Submitted" }) case "reviewed": return getStatusTag({ color: "#0C489E", text: "Reviewed" }) case "confirmed": if (creditor) - return getStatusTag({ color: "#22a13f", text: "Pending Publish" }) + return getStatusTag({ color: "#3498DB", text: "Pending Publish" }) else - return getStatusTag({ color: "#22a13f", text: "Pending Payment" }) + return getStatusTag({ color: "#F39C12", text: "Pending Payment" }) case "published": - return getStatusTag({ color: "#22a13f", text: "Pending Payment" }) + return getStatusTag({ color: "#F39C12", text: "Pending Payment" }) case "paid": - return getStatusTag({ color: "#22a13f", text: "Pending Publish" }) + return getStatusTag({ color: "#3498DB", text: "Pending Publish" }) case "complated": return getStatusTag({ color: "#8a8784", text: "Completed" }) case "notAccepted": From 81848787fa1a5e2d4b831856db86febd5cbe69e6 Mon Sep 17 00:00:00 2001 From: Jason Date: Tue, 9 Jan 2024 17:46:29 +0800 Subject: [PATCH 2/2] update label --- src/layout/MainLayout/Header/index.js | 2 +- src/pages/DemandNote/Create/index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/layout/MainLayout/Header/index.js b/src/layout/MainLayout/Header/index.js index 383f321..49c6ac6 100644 --- a/src/layout/MainLayout/Header/index.js +++ b/src/layout/MainLayout/Header/index.js @@ -127,7 +127,7 @@ function Header(props) { Download XML
  • - Create DN + Create Demand Note
  • Demand Note diff --git a/src/pages/DemandNote/Create/index.js b/src/pages/DemandNote/Create/index.js index 1c6cafe..f92908d 100644 --- a/src/pages/DemandNote/Create/index.js +++ b/src/pages/DemandNote/Create/index.js @@ -79,7 +79,7 @@ const Index = () => {
    - Create DN + Create Demand Note