|
|
@ -7,6 +7,7 @@ import { useParams } from 'react-router-dom'; |
|
|
|
import '../../assets/css/customscroll.css' |
|
|
|
import '../../assets/css/customscroll.css' |
|
|
|
import moment from 'moment'; |
|
|
|
import moment from 'moment'; |
|
|
|
import { renderFormatRupiah } from '../../const/CustomFunc'; |
|
|
|
import { renderFormatRupiah } from '../../const/CustomFunc'; |
|
|
|
|
|
|
|
import { BASE_OSPRO } from '../../const/ApiConst'; |
|
|
|
|
|
|
|
|
|
|
|
const styles = { |
|
|
|
const styles = { |
|
|
|
cardContainer: { backgroundColor: '#F8F8F8', margin: 2, paddingLeft: 20, paddingRight: 20, paddingTop: 10 }, |
|
|
|
cardContainer: { backgroundColor: '#F8F8F8', margin: 2, paddingLeft: 20, paddingRight: 20, paddingTop: 10 }, |
|
|
@ -30,7 +31,8 @@ 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 = `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 = `http://103.73.125.81:8446/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("Project Tower ABC"); |
|
|
|
const [projectName, setProjectName] = useState("Project Tower ABC"); |
|
|
|
const [projectManagerName, setProjectManagerName] = useState("John Doe"); |
|
|
|
const [projectManagerName, setProjectManagerName] = useState("John Doe"); |
|
|
|