Browse Source

update manposer in dashboard project, and update header panel in collapse

pull/2/head
bnu 2 years ago
parent
commit
628ad2fb06
  1. 18
      src/views/DashboardPMOV1/index.js
  2. 2
      src/views/DashboardProject/index.js

18
src/views/DashboardPMOV1/index.js

@ -150,13 +150,14 @@ const DashboardPM = () => {
<Row style={{ marginTop: '15px' }}> <Row style={{ marginTop: '15px' }}>
<Col span={24} style={{ margin: '0px 0px 0px 0px' }}> <Col span={24} style={{ margin: '0px 0px 0px 0px' }}>
<Collapse> <Collapse>
<Panel key="1">
<Panel header="More Iformation Chart" key="1">
<Row style={{ margin: '10px 10px 0px 10px' }}> <Row style={{ margin: '10px 10px 0px 10px' }}>
<Col span={8} > <Col span={8} >
<Row> <Row>
<Col span={24}> <Col span={24}>
<h6 class="text-center">Car Management</h6> <h6 class="text-center">Car Management</h6>
<h6 class="text-center">Total Vehicles: -</h6> {/* <h6 class="text-center">Total Vehicles: -</h6> */}
</Col> </Col>
</Row> </Row>
<Row <Row
@ -169,9 +170,9 @@ const DashboardPM = () => {
> >
<Col span={12}> <Col span={12}>
<BoxDashboardNoIcon <BoxDashboardNoIcon
value="-"
bgColor="#5e5c70" bgColor="#5e5c70"
title="On Duty" title=""
value={<i style={{ color: '#fff' }} class="zmdi zmdi-truck zmdi-hc-2x"></i>}
/> />
</Col> </Col>
<Col span={12}> <Col span={12}>
@ -190,12 +191,19 @@ const DashboardPM = () => {
lg: 32, lg: 32,
}} }}
> >
<Col span={12}> {/* <Col span={12}>
<BoxDashboardNoIcon <BoxDashboardNoIcon
bgColor="#5e5c70" bgColor="#5e5c70"
title="" title=""
value={<i style={{ color: '#fff' }} class="zmdi zmdi-truck zmdi-hc-2x"></i>} value={<i style={{ color: '#fff' }} class="zmdi zmdi-truck zmdi-hc-2x"></i>}
/> />
</Col> */}
<Col span={12}>
<BoxDashboardNoIcon
value="-"
bgColor="#5e5c70"
title="On Duty"
/>
</Col> </Col>
<Col span={12}> <Col span={12}>
<BoxDashboardNoIcon <BoxDashboardNoIcon

2
src/views/DashboardProject/index.js

@ -132,7 +132,7 @@ const DashboardProject = () => {
const [CURRENCYSYMBOL, SET_CURRENCYSYMBOL] = useState([]) const [CURRENCYSYMBOL, SET_CURRENCYSYMBOL] = useState([])
const [BUDGETHEALTH, SET_BUDGETHEALTH] = useState([]) const [BUDGETHEALTH, SET_BUDGETHEALTH] = useState([])
const [COMMENT, SET_COMMENT] = useState([]) const [COMMENT, SET_COMMENT] = useState([])
const [MANPOWER, SET_MANPOWER] = useState([]) const [MANPOWER, SET_MANPOWER] = useState([0])
const [DATAKURVAS, SET_DATAKURVAS] = useState([]) const [DATAKURVAS, SET_DATAKURVAS] = useState([])
const [CHARTKURVAS, SET_CHARTKURVAS] = useState([]); const [CHARTKURVAS, SET_CHARTKURVAS] = useState([]);

Loading…
Cancel
Save