From 868b0b10beecd2155bbbb8fb4e8b33721a44745c Mon Sep 17 00:00:00 2001 From: bnu Date: Wed, 3 Aug 2022 03:08:15 +0700 Subject: [PATCH] add manpower --- src/views/DashboardProject/index.js | 36 +++++++++++++++++++++-------- 1 file changed, 27 insertions(+), 9 deletions(-) diff --git a/src/views/DashboardProject/index.js b/src/views/DashboardProject/index.js index 6b9feea..b8f5b88 100644 --- a/src/views/DashboardProject/index.js +++ b/src/views/DashboardProject/index.js @@ -55,6 +55,7 @@ const DashboardProject = () => { const [CURRENCYSYMBOL, SET_CURRENCYSYMBOL] = useState([]) const [BUDGETHEALTH, SET_BUDGETHEALTH] = useState([]) const [COMMENT, SET_COMMENT] = useState([]) + const [MANPOWER, SET_MANPOWER] = useState([]) @@ -82,9 +83,10 @@ const DashboardProject = () => { SET_BASELINEFINISHDATE(resData.finish) SET_CURRENCYSYMBOL(resData.currency_symbol) SET_BUDGETHEALTH(resData.budget_health) - SET_ACWP(resData.actualCost) + SET_ACWP(resData.actual_cost) SET_PROGRESS(resData.progress) SET_COMMENT(resData.comment) + SET_MANPOWER(resData.man_power) } useEffect(() => { @@ -217,14 +219,30 @@ const DashboardProject = () => { -
-
-
HEALTH PROJECT
-
-
- -
-
+ {/*
*/} + + +
+
+
HEALTH PROJECT
+
+
+ +
+
+ + +
+
+
MANPOWER
+
+
+
{MANPOWER}
+
+
+ +
+ {/*
*/}