เพิ่ม dialog detail

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-01-29 14:22:25 +07:00
parent 46bee070f7
commit d7a79c2169
7 changed files with 127 additions and 29 deletions

View file

@ -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);