fetch Stat
This commit is contained in:
parent
3d862e21e8
commit
26787f5c4e
2 changed files with 10 additions and 0 deletions
|
|
@ -211,6 +211,9 @@ const props = defineProps({
|
|||
requestStatus: {
|
||||
type: String,
|
||||
},
|
||||
fecthStat: {
|
||||
type: Function,
|
||||
},
|
||||
});
|
||||
|
||||
onMounted(async () => {
|
||||
|
|
@ -449,6 +452,9 @@ const savaReasonReject = (reason: string) => {
|
|||
$q,
|
||||
async () => {
|
||||
await listreject(rowid.value, reason);
|
||||
if (props.fecthStat) {
|
||||
await props.fecthStat(DataStore.roundId);
|
||||
}
|
||||
},
|
||||
"ยืนยันการย้ายข้อมูล",
|
||||
"ต้องการยืนยันการย้ายข้อมูลนี้หรือไม่ ?"
|
||||
|
|
@ -492,6 +498,9 @@ const savaReasonDelete = (reason: string) => {
|
|||
$q,
|
||||
async () => {
|
||||
await listdelete(rowid.value, reason);
|
||||
if (props.fecthStat) {
|
||||
await props.fecthStat(DataStore.roundId);
|
||||
}
|
||||
},
|
||||
"ยืนยันการลบออกข้ออมูล",
|
||||
"ต้องการยืนยันการลบข้อมูลนี้หรือไม่ ?"
|
||||
|
|
|
|||
|
|
@ -419,6 +419,7 @@ const requestSendNote = async () => {
|
|||
:roundName="roundName"
|
||||
:fecthInsigniaByOc="fecthInsigniaByOc"
|
||||
:request-status="requestStatus"
|
||||
:fecthStat="fecthStat"
|
||||
/>
|
||||
</q-tab-panel>
|
||||
<q-tab-panel name="reject" class="q-pa-none">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue