เพิ่ม dialog detail
This commit is contained in:
parent
46bee070f7
commit
d7a79c2169
7 changed files with 127 additions and 29 deletions
|
|
@ -94,11 +94,12 @@ function onSubmit() {
|
|||
showLoader();
|
||||
http
|
||||
.post(config.API.createOrganization, formData)
|
||||
.then(() => {
|
||||
// status.value = true;
|
||||
// store.typeOrganizational = "draft";
|
||||
.then((res) => {
|
||||
status.value = true;
|
||||
store.typeOrganizational = "draft";
|
||||
store.draftId = res.data.result.id;
|
||||
success($q, "บันทึกข้อมูลสำเร็จ");
|
||||
props.fetchActive?.();
|
||||
// props.fetchActive?.();
|
||||
})
|
||||
.catch((err) => {
|
||||
messageError($q, err);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue