closed: edit positions in current org structure (#1418)
This commit is contained in:
parent
8e56123e12
commit
7cb580060b
9 changed files with 85 additions and 31 deletions
|
|
@ -119,7 +119,11 @@ function onClickMovePos() {
|
|||
await http
|
||||
.post(config.API.orgPosMove, body)
|
||||
.then(async () => {
|
||||
await props.fetchDataTree?.(store.draftId);
|
||||
await props.fetchDataTree?.(
|
||||
store.typeOrganizational === "draft"
|
||||
? store.draftId
|
||||
: store.activeId
|
||||
);
|
||||
await success($q, "ย้ายตำแหน่งสำเร็จ");
|
||||
modal.value = false;
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue