เผยแพร่โครงสร้าง

This commit is contained in:
Warunee Tamkoo 2024-02-02 15:50:51 +07:00
parent fe3a1367a6
commit a49dcbfd27

View file

@ -88,19 +88,19 @@ function onClickPublish() {
dialogConfirm( dialogConfirm(
$q, $q,
() => { () => {
alert("get"); showLoader();
// showLoader() http
// http .get(config.API.organizationPublishGet)
// .get(config.API.organizationPublishGet) .then((res) => {
// .then((res)=>{ props.fetchActive();
props.close?.(); props.close?.();
// }) })
// .catch((e)=>{ .catch((e) => {
// messageError($q,e) messageError($q, e);
// }) })
// .finally(()=>{ .finally(() => {
// hideLoader() hideLoader();
// }) });
}, },
"ยืนยันการเผยเเพร่ข้อมูล", "ยืนยันการเผยเเพร่ข้อมูล",
"ต้องการยืนยันการเผยเเพร่ข้อมูลนี้ใช่หรือไม่?" "ต้องการยืนยันการเผยเเพร่ข้อมูลนี้ใช่หรือไม่?"
@ -174,12 +174,7 @@ watch(
</q-card-section> </q-card-section>
<q-separator /> <q-separator />
<q-card-actions align="right"> <q-card-actions align="right">
<q-btn <q-btn flat color="blue-7" icon="public" @click="onClickPublish()">
flat
color="blue-7"
icon="public"
@click="onClickPublish()"
>
<q-tooltip>เผยแพรอมลทนท</q-tooltip> <q-tooltip>เผยแพรอมลทนท</q-tooltip>
</q-btn> </q-btn>
<q-space /> <q-space />