|
|
@ -36,10 +36,7 @@ const DashboardProject = () => { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
const { PROJECT_ID, GANTT_ID } = useParams(); |
|
|
|
const { PROJECT_ID, GANTT_ID } = useParams(); |
|
|
|
// const URL_GANTT = `http://103.73.125.81:8446/index.html?base_url=http://103.73.125.81:8444/api&gantt_id=${GANTT_ID}&proyek_id=${PROJECT_ID}&token=${token}&ro=1`;
|
|
|
|
const URL_GANTT = `https://adw-gantt.ospro.id/view-mode/index.html?base_url=${BASE_OSPRO}/api&gantt_id=${GANTT_ID}&proyek_id=${PROJECT_ID}&token=${token}&ro=1`; |
|
|
|
// const URL_GANTT = `https://adw-gantt.ospro.id/index.html?base_url=${BASE_OSPRO}/api&gantt_id=${GANTT_ID}&proyek_id=${PROJECT_ID}&token=${token}&ro=1`;
|
|
|
|
|
|
|
|
// const URL_GANTT = '';
|
|
|
|
|
|
|
|
const URL_GANTT = `http://192.168.1.104:8446/view-mode/index.html?base_url=${BASE_OSPRO}/api&gantt_id=${GANTT_ID}&proyek_id=${PROJECT_ID}&token=${token}&ro=1`; |
|
|
|
|
|
|
|
const mapRef = useRef() |
|
|
|
const mapRef = useRef() |
|
|
|
const [projectName, setProjectName] = useState(""); |
|
|
|
const [projectName, setProjectName] = useState(""); |
|
|
|
const [projectManagerName, setProjectManagerName] = useState(""); |
|
|
|
const [projectManagerName, setProjectManagerName] = useState(""); |
|
|
@ -505,7 +502,7 @@ const DashboardProject = () => { |
|
|
|
</Col> |
|
|
|
</Col> |
|
|
|
</Row> |
|
|
|
</Row> |
|
|
|
<Row> |
|
|
|
<Row> |
|
|
|
<Col span={12} style={{fontSize: 11, fontWeight: 'bold'}}><i className="fa fa-calendar" style={{marginRight:8}}></i>Acutal Start</Col> |
|
|
|
<Col span={12} style={{fontSize: 11, fontWeight: 'bold'}}><i className="fa fa-calendar" style={{marginRight:8}}></i>Actual Start</Col> |
|
|
|
<Col span={12} style={{fontSize: 11}}> |
|
|
|
<Col span={12} style={{fontSize: 11}}> |
|
|
|
{isReadyProjectDetail ? |
|
|
|
{isReadyProjectDetail ? |
|
|
|
actualStart ? moment(actualStart).format('D MMMM YYYY') : '-' |
|
|
|
actualStart ? moment(actualStart).format('D MMMM YYYY') : '-' |
|
|
|