โครง get (ยังไม่เสร็จ) ประกาศเกษียณ
This commit is contained in:
parent
5d2fdf254d
commit
3e626d48e1
4 changed files with 52 additions and 30 deletions
|
|
@ -1,6 +1,6 @@
|
|||
/**
|
||||
* api พ้นจากราชการ
|
||||
*/
|
||||
import env from "../index";
|
||||
const retirement = `${env.API_RETIREMENT_URI}/retirement`
|
||||
|
||||
export default {};
|
||||
export default {
|
||||
retirement:(type:string) => `${retirement}/${type}/2023`
|
||||
};
|
||||
|
|
|
|||
|
|
@ -25,6 +25,7 @@ const config = ref<any>({
|
|||
API_URI_ORG_TREE:
|
||||
"https://s3cluster.frappet.com/bma-ehr-fpt/organization/strueture/tree_20230712_172702.json",
|
||||
MEET_URI: "meet.frappet.com",
|
||||
API_RETIREMENT_URI: "https://bma-ehr.frappet.synology.me/api/v1",
|
||||
},
|
||||
test: {
|
||||
API_URI: "http://localhost:5010/api/v1",
|
||||
|
|
@ -65,6 +66,9 @@ const API_URI_PROFILE_SERVICE = ref<string>(
|
|||
const API_PLACEMENT_URI = ref<string>(
|
||||
config.value[env.value].API_PLACEMENT_URI
|
||||
);
|
||||
const API_RETIREMENT_URI = ref<string>(
|
||||
config.value[env.value].API_RETIREMENT_URI
|
||||
);
|
||||
const API_URI_ORG_TREE = ref<string>(config.value[env.value].API_URI_ORG_TREE);
|
||||
|
||||
export default {
|
||||
|
|
@ -79,4 +83,5 @@ export default {
|
|||
API_PLACEMENT_URI: API_PLACEMENT_URI.value,
|
||||
API_URI_ORG_TREE: API_URI_ORG_TREE.value,
|
||||
MEET_URI: MEET_URI.value,
|
||||
API_RETIREMENT_URI:API_RETIREMENT_URI.value,
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue