เผยแพร่โครงสร้าง
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(
|
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 />
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue