permission => บรรจุ แต่งตั้ง ย้าย โอน,สรรหา
This commit is contained in:
parent
c8fef97125
commit
d3b2733ad5
24 changed files with 206 additions and 99 deletions
|
|
@ -310,7 +310,7 @@ function helpPost() {
|
|||
await http
|
||||
.post(config.API.placemenHelpGov, formData)
|
||||
.then(async () => {
|
||||
await router.push("/help-government");
|
||||
await router.push("/placement/help-government");
|
||||
await success($q, "ดำเนินการสำเร็จ");
|
||||
})
|
||||
.catch((e) => {
|
||||
|
|
@ -333,7 +333,7 @@ function repatriationPost() {
|
|||
await http
|
||||
.post(config.API.placemenRepatriation, formData)
|
||||
.then(async () => {
|
||||
await router.push("/repatriate");
|
||||
await router.push("/placement/repatriate");
|
||||
await success($q, "ดำเนินการสำเร็จ");
|
||||
})
|
||||
.catch((e) => {
|
||||
|
|
@ -356,7 +356,7 @@ function appointPost() {
|
|||
await http
|
||||
.post(config.API.placemenAppointment, formData)
|
||||
.then(async () => {
|
||||
await router.push("/appoint-promote");
|
||||
await router.push("/placement/appoint-promote");
|
||||
await success($q, "ดำเนินการสำเร็จ");
|
||||
})
|
||||
.catch((e) => {
|
||||
|
|
@ -386,7 +386,7 @@ function outPost() {
|
|||
await http
|
||||
.post(config.API.retirementOut, formData)
|
||||
.then(async () => {
|
||||
await router.push("/dismiss-order");
|
||||
await router.push("/retirement/dismiss-order");
|
||||
await success($q, "ดำเนินการสำเร็จ");
|
||||
})
|
||||
.catch((e) => {
|
||||
|
|
@ -409,7 +409,7 @@ function otherPost() {
|
|||
await http
|
||||
.post(config.API.placemenOther, formData)
|
||||
.then(async () => {
|
||||
await router.push("/other");
|
||||
await router.push("/placement/other");
|
||||
await success($q, "ดำเนินการสำเร็จ");
|
||||
})
|
||||
.catch((e) => {
|
||||
|
|
@ -461,8 +461,8 @@ function clickSaveDeceased() {
|
|||
await http
|
||||
.post(config.API.listDeceased(), formData)
|
||||
.then(async () => {
|
||||
await router.push("/retirement/deceased");
|
||||
await success($q, "บันทึกข้อมูลสำเร็จ");
|
||||
await router.push("/deceased");
|
||||
})
|
||||
.catch((e) => {
|
||||
messageError($q, e);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue