From 353fecfbe0d9fb7bd2d01e9d83863f7ece67f010 Mon Sep 17 00:00:00 2001 From: jl-zhoujl2 Date: Fri, 6 Jan 2023 23:13:24 +0800 Subject: [PATCH] =?UTF-8?q?1.6=20=E7=AC=AC=E5=8D=81=E4=BA=8C=E7=89=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/ElecEvaluation/Monitor/Home/index.tsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/pages/ElecEvaluation/Monitor/Home/index.tsx b/src/pages/ElecEvaluation/Monitor/Home/index.tsx index ea67c7a..3da7128 100644 --- a/src/pages/ElecEvaluation/Monitor/Home/index.tsx +++ b/src/pages/ElecEvaluation/Monitor/Home/index.tsx @@ -1217,7 +1217,7 @@ export const GraphChart = (props: { type: string, chartData: any[], chartColor?: }, visualMap: { min: 0, - max: 50, + max: 2000, inRange: { color: [ '#01417f', @@ -1418,12 +1418,12 @@ const MonitorHome: React.FC<{}> = () => { //评审专家数量 const [expertNumber, setExpertNumber] = useState(""); //评标室监控 - const [monitorList, setMonitorList] = useState([]); + const [monitorList, setMonitorList] = useState([{ status: 3 }, { status: 3 }, { status: 3 }]); //今日开标-评标阶段,评标及时率 const [todayInfoData, setTodayInfoData] = useState(); //权限校验 const auth = useRef(authCheck()); - const bidStatusMap = ["准备评标", "正在评标", "评标结束", "暂无数据"]; + const bidStatusMap = ["准备评标", "正在评标", "评标结束", ""]; const statusColorMap = ["card-text-orange", "card-text-green", "card-text-purple", "card-text-white"]; //year select const localYear: string = moment().month() < 2 ? String(moment().year() - 1) : String(moment().year()); @@ -1607,7 +1607,7 @@ const MonitorHome: React.FC<{}> = () => {
- {monitorList.length > 0 ?
+
{monitorList.map((item, index) => (
onCardClick(item)}> @@ -1619,7 +1619,7 @@ const MonitorHome: React.FC<{}> = () => {
))} -
: } +