update logika pemanggilan admin loket by payment
This commit is contained in:
No files matched your search
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user