From 94976daa5d4f04e5dc31a7a95d930fd57a6fd53d Mon Sep 17 00:00:00 2001 From: setthawutttty Date: Thu, 1 Feb 2024 14:46:13 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B9=80=E0=B8=9C=E0=B8=A2=E0=B9=81=E0=B8=9E?= =?UTF-8?q?=E0=B8=A3=E0=B9=88=E0=B8=82=E0=B9=89=E0=B8=AD=E0=B8=A1=E0=B8=B9?= =?UTF-8?q?=E0=B8=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/02_organizational/api.organization.ts | 1 + .../components/DialogFormDateTime.vue | 21 +++++++++++++++++++ 2 files changed, 22 insertions(+) diff --git a/src/api/02_organizational/api.organization.ts b/src/api/02_organizational/api.organization.ts index db44353f9..0123c0604 100644 --- a/src/api/02_organizational/api.organization.ts +++ b/src/api/02_organizational/api.organization.ts @@ -25,4 +25,5 @@ export default { orgPosMasterList: `${orgPos}/master/list`, orgPosSort: `${orgPos}/sort`, organizationShortName: `${organization}/sort`, + organizationPublishGet: `${organization}/get/publish`, }; diff --git a/src/modules/02_organizationalNew/components/DialogFormDateTime.vue b/src/modules/02_organizationalNew/components/DialogFormDateTime.vue index 46ca2da44..8ed7e8166 100644 --- a/src/modules/02_organizationalNew/components/DialogFormDateTime.vue +++ b/src/modules/02_organizationalNew/components/DialogFormDateTime.vue @@ -84,6 +84,25 @@ function onSubmit() { }); } +function onClickPublish(){ + dialogConfirm($q,()=>{ + + + alert('get') + // showLoader() + // http + // .get(config.API.organizationPublishGet) + // .then((res)=>{ + props.close?.() + // }) + // .catch((e)=>{ + // messageError($q,e) + // }) + // .finally(()=>{ + // hideLoader() + // }) +},'ยืนยันการเผยเเพร่ข้อมูล','ต้องการยืนยันการเผยเเพร่ข้อมูลนี้ใช่หรือไม่?') +} watch( () => props.modal, () => { @@ -152,6 +171,8 @@ watch( + +