ดึงข้อมูลเมื่อ save
This commit is contained in:
parent
992541eded
commit
468f69be5d
1 changed files with 2 additions and 0 deletions
|
|
@ -196,6 +196,7 @@ async function postData(action: string) {
|
|||
.post(config.API.createformReport(assignId.value), data)
|
||||
.then(() => {
|
||||
success($q, "บันทึกสำเร็จ");
|
||||
fecthResult(assignId.value)
|
||||
router.push(`/probation/detail/${personalId.value}/${assignId.value}`);
|
||||
})
|
||||
.catch((e: any) => {
|
||||
|
|
@ -211,6 +212,7 @@ async function postData(action: string) {
|
|||
.put(config.API.createformReport(assignId.value), data)
|
||||
.then(() => {
|
||||
success($q, "บันทึกสำเร็จ");
|
||||
fecthResult(assignId.value)
|
||||
router.push(`/probation/detail/${personalId.value}/${assignId.value}`);
|
||||
})
|
||||
.catch((e: any) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue