เผยแพร่โครงสร้าง
This commit is contained in:
parent
fe3a1367a6
commit
a49dcbfd27
1 changed files with 14 additions and 19 deletions
|
|
@ -88,19 +88,19 @@ function onClickPublish() {
|
|||
dialogConfirm(
|
||||
$q,
|
||||
() => {
|
||||
alert("get");
|
||||
// showLoader()
|
||||
// http
|
||||
// .get(config.API.organizationPublishGet)
|
||||
// .then((res)=>{
|
||||
props.close?.();
|
||||
// })
|
||||
// .catch((e)=>{
|
||||
// messageError($q,e)
|
||||
// })
|
||||
// .finally(()=>{
|
||||
// hideLoader()
|
||||
// })
|
||||
showLoader();
|
||||
http
|
||||
.get(config.API.organizationPublishGet)
|
||||
.then((res) => {
|
||||
props.fetchActive();
|
||||
props.close?.();
|
||||
})
|
||||
.catch((e) => {
|
||||
messageError($q, e);
|
||||
})
|
||||
.finally(() => {
|
||||
hideLoader();
|
||||
});
|
||||
},
|
||||
"ยืนยันการเผยเเพร่ข้อมูล",
|
||||
"ต้องการยืนยันการเผยเเพร่ข้อมูลนี้ใช่หรือไม่?"
|
||||
|
|
@ -174,12 +174,7 @@ watch(
|
|||
</q-card-section>
|
||||
<q-separator />
|
||||
<q-card-actions align="right">
|
||||
<q-btn
|
||||
flat
|
||||
color="blue-7"
|
||||
icon="public"
|
||||
@click="onClickPublish()"
|
||||
>
|
||||
<q-btn flat color="blue-7" icon="public" @click="onClickPublish()">
|
||||
<q-tooltip>เผยแพร่ข้อมูลทันที</q-tooltip>
|
||||
</q-btn>
|
||||
<q-space />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue