เปลี่ยนเส้น API
This commit is contained in:
parent
2c43a3ac58
commit
9f92268087
2 changed files with 2 additions and 1 deletions
|
|
@ -52,6 +52,7 @@ export default {
|
|||
`${org}/profile${emType}/salary/position/history/${id}`,
|
||||
|
||||
dataUserSalary: `${profileOrg}/salary/user`,
|
||||
dataUserSalaryPosition: `${profileOrg}/salary/position/user`,
|
||||
dataUserSalaryByType: (type: string) => `${org}/profile${type}/salary/user`,
|
||||
dataUserAssessments: `${profileOrg}/assessments/user`,
|
||||
dataUserPortfolio: `${env.API_URI}/development/portfolio/user`,
|
||||
|
|
|
|||
|
|
@ -123,7 +123,7 @@ async function fetchDataAllDetail() {
|
|||
});
|
||||
|
||||
// ดึงข้อมูลประวัติการรับราชการ
|
||||
http.get(config.API.dataUserSalary).then((res) => {
|
||||
http.get(config.API.dataUserSalaryPosition).then((res) => {
|
||||
formDetail.salaries = res.data.result;
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue