update logika pemanggilan admin loket by payment

This commit is contained in:
bagus-arie05
2026-02-03 14:26:10 +07:00
parent 0428017cac
commit efeb42e0fe
3 changed files with 39 additions and 111 deletions

No files matched your search

+4 -2
View File
@@ -214,7 +214,7 @@
</template>
<script setup>
import { ref, computed, watch, onMounted, onUnmounted } from "vue";
import { ref, computed, watch, onMounted, onUnmounted, nextTick } from "vue";
import { useRoute, useRouter } from "vue-router";
import { useQueue } from "@/composables/useQueue";
import { useQueueStore } from "@/stores/queueStore";
@@ -617,12 +617,14 @@ const handlePatientAction = (action) => {
}
};
const handleCall = (count) => {
const handleCall = async (count) => {
if (count === 1) {
callNext(loketId.value);
} else {
callMultiplePatients(count, loketId.value);
}
// Force Vue to process reactivity updates
await nextTick();
};
const handleTableAction = (item, action) => {