no message
This commit is contained in:
parent
a984acb683
commit
4dc342d018
2 changed files with 7 additions and 7 deletions
|
|
@ -112,7 +112,7 @@ export class DevelopmentController extends Controller {
|
||||||
|
|
||||||
const development = Object.assign(new Development(), requestBody);
|
const development = Object.assign(new Development(), requestBody);
|
||||||
await new CallAPI()
|
await new CallAPI()
|
||||||
.PostData(request, "org/find/all", {
|
.PostData(request, "/org/find/all", {
|
||||||
node: requestBody.node,
|
node: requestBody.node,
|
||||||
nodeId: requestBody.nodeId,
|
nodeId: requestBody.nodeId,
|
||||||
})
|
})
|
||||||
|
|
@ -184,7 +184,7 @@ export class DevelopmentController extends Controller {
|
||||||
}
|
}
|
||||||
Object.assign(development, requestBody);
|
Object.assign(development, requestBody);
|
||||||
await new CallAPI()
|
await new CallAPI()
|
||||||
.PostData(request, "org/find/all", {
|
.PostData(request, "/org/find/all", {
|
||||||
node: requestBody.node,
|
node: requestBody.node,
|
||||||
nodeId: requestBody.nodeId,
|
nodeId: requestBody.nodeId,
|
||||||
})
|
})
|
||||||
|
|
@ -1671,7 +1671,7 @@ export class DevelopmentController extends Controller {
|
||||||
const _data = Object.assign(new DevelopmentHistory(), x);
|
const _data = Object.assign(new DevelopmentHistory(), x);
|
||||||
if (x.type == "OFFICER") {
|
if (x.type == "OFFICER") {
|
||||||
await new CallAPI()
|
await new CallAPI()
|
||||||
.PostData(request, "org/profile/training", {
|
.PostData(request, "/org/profile/training", {
|
||||||
profileId: x.profileId,
|
profileId: x.profileId,
|
||||||
name: x.development == null ? null : x.development.projectName,
|
name: x.development == null ? null : x.development.projectName,
|
||||||
topic: x.development == null ? null : x.development.topicAcademic,
|
topic: x.development == null ? null : x.development.topicAcademic,
|
||||||
|
|
@ -1693,7 +1693,7 @@ export class DevelopmentController extends Controller {
|
||||||
});
|
});
|
||||||
} else if (x.type == "EMPLOYEE") {
|
} else if (x.type == "EMPLOYEE") {
|
||||||
await new CallAPI()
|
await new CallAPI()
|
||||||
.PostData(request, "org/profile-employee/training", {
|
.PostData(request, "/org/profile-employee/training", {
|
||||||
profileEmployeeId: x.profileId,
|
profileEmployeeId: x.profileId,
|
||||||
name: x.development == null ? null : x.development.projectName,
|
name: x.development == null ? null : x.development.projectName,
|
||||||
topic: x.development == null ? null : x.development.topicAcademic,
|
topic: x.development == null ? null : x.development.topicAcademic,
|
||||||
|
|
@ -1803,7 +1803,7 @@ export class DevelopmentController extends Controller {
|
||||||
if (item["ประเภท"] == undefined) return;
|
if (item["ประเภท"] == undefined) return;
|
||||||
if (item["ประเภท"] == "ข้าราชการกรุงเทพมหานครสามัญ") {
|
if (item["ประเภท"] == "ข้าราชการกรุงเทพมหานครสามัญ") {
|
||||||
await new CallAPI()
|
await new CallAPI()
|
||||||
.GetData(request, `org/unauthorize/officer/citizen/${item["รหัสประจำตัวประชาชน"]}`)
|
.GetData(request, `/org/unauthorize/officer/citizen/${item["รหัสประจำตัวประชาชน"]}`)
|
||||||
.then(async (x: any) => {
|
.then(async (x: any) => {
|
||||||
let development = Object.assign(new DevelopmentHistory(), x);
|
let development = Object.assign(new DevelopmentHistory(), x);
|
||||||
development.dateStart =
|
development.dateStart =
|
||||||
|
|
@ -1836,7 +1836,7 @@ export class DevelopmentController extends Controller {
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
await new CallAPI()
|
await new CallAPI()
|
||||||
.GetData(request, `org/unauthorize/employee/citizen/${item["รหัสประจำตัวประชาชน"]}`)
|
.GetData(request, `/org/unauthorize/employee/citizen/${item["รหัสประจำตัวประชาชน"]}`)
|
||||||
.then(async (x: any) => {
|
.then(async (x: any) => {
|
||||||
let development = Object.assign(new DevelopmentHistory(), x);
|
let development = Object.assign(new DevelopmentHistory(), x);
|
||||||
development.dateStart =
|
development.dateStart =
|
||||||
|
|
|
||||||
|
|
@ -486,7 +486,7 @@ export class DevelopmentScholarshipController extends Controller {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
let profileEdu = await new CallAPI()
|
let profileEdu = await new CallAPI()
|
||||||
.PostData(request, "org/profile/educations", {
|
.PostData(request, "/org/profile/educations", {
|
||||||
profileId: getDevelopment.profileId,
|
profileId: getDevelopment.profileId,
|
||||||
institute: getDevelopment.educationalInstitution,
|
institute: getDevelopment.educationalInstitution,
|
||||||
startDate: getDevelopment.startDate,
|
startDate: getDevelopment.startDate,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue