|
|
@ -121,11 +121,11 @@ export let BASE_OSPRO = "http://localhost:8444/generic-ospro-backend"; |
|
|
|
export let BASE_SIMPRO_LUMEN = `${BASE_OSPRO}/api`; |
|
|
|
export let BASE_SIMPRO_LUMEN = `${BASE_OSPRO}/api`; |
|
|
|
export let BASE_SIMPRO_LUMEN_IMAGE = `${BASE_OSPRO}/assets/image`; |
|
|
|
export let BASE_SIMPRO_LUMEN_IMAGE = `${BASE_OSPRO}/assets/image`; |
|
|
|
export let BASE_SIMPRO_LUMEN_FILE = `${BASE_OSPRO}/assets/file/project`; |
|
|
|
export let BASE_SIMPRO_LUMEN_FILE = `${BASE_OSPRO}/assets/file/project`; |
|
|
|
export let BASE_SIMPRO_LUMEN_FILE_COMPANY = (file, company_name) => { |
|
|
|
export let BASE_SIMPRO_LUMEN_FILE_COMPANY = (file, company_name, dateFile) => { |
|
|
|
return `${BASE_OSPRO}/assets/${company_name}/file/project/${file}`; |
|
|
|
return `${BASE_OSPRO}/assets/${company_name}/${dateFile}/file/project/${file}`; |
|
|
|
} |
|
|
|
} |
|
|
|
export let BASE_SIMPRO_LUMEN_IMAGE_COMPANY = (file, company_name) => { |
|
|
|
export let BASE_SIMPRO_LUMEN_IMAGE_COMPANY = (file, company_name, dateFile) => { |
|
|
|
return `${BASE_OSPRO}/assets/${company_name}/image/${file}`; |
|
|
|
return `${BASE_OSPRO}/assets/${company_name}/${dateFile}/image/${file}`; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
export const USERROLE_ADD = `${BASE_SIMPRO}/user-role/add`; |
|
|
|
export const USERROLE_ADD = `${BASE_SIMPRO}/user-role/add`; |
|
|
@ -736,8 +736,8 @@ export const FOLDER_DOCUMENT_PROYEK_ADD = `${BASE_SIMPRO_LUMEN}/folder-document- |
|
|
|
export const FOLDER_DOCUMENT_PROYEK_SEARCH = `${BASE_SIMPRO_LUMEN}/folder-document-proyek/search`; |
|
|
|
export const FOLDER_DOCUMENT_PROYEK_SEARCH = `${BASE_SIMPRO_LUMEN}/folder-document-proyek/search`; |
|
|
|
export const FOLDER_DOCUMENT_PROYEK_UPDATE = (id) => |
|
|
|
export const FOLDER_DOCUMENT_PROYEK_UPDATE = (id) => |
|
|
|
`${BASE_SIMPRO_LUMEN}/folder-document-proyek/update/${id}`; |
|
|
|
`${BASE_SIMPRO_LUMEN}/folder-document-proyek/update/${id}`; |
|
|
|
export const FOLDER_DOCUMENT_PROYEK_DELETE = (id) => |
|
|
|
export const FOLDER_DOCUMENT_PROYEK_DELETE = (id, company_id) => |
|
|
|
`${BASE_SIMPRO_LUMEN}/folder-document-proyek/delete/${id}`; |
|
|
|
`${BASE_SIMPRO_LUMEN}/folder-document-proyek/delete/${id}/${company_id}`; |
|
|
|
export const FOLDER_DOCUMENT_PROYEK_GET_TREE = (proyek_id) => |
|
|
|
export const FOLDER_DOCUMENT_PROYEK_GET_TREE = (proyek_id) => |
|
|
|
`${BASE_SIMPRO_LUMEN}/folder-document-proyek/get-tree/${proyek_id}`; |
|
|
|
`${BASE_SIMPRO_LUMEN}/folder-document-proyek/get-tree/${proyek_id}`; |
|
|
|
|
|
|
|
|
|
|
|