ปรับ ออกคำสั่งลงโทษทางวินัย

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-01-12 09:56:39 +07:00
parent 5174ec3bfb
commit 68b788491b
2 changed files with 6 additions and 3 deletions

View file

@ -40,6 +40,8 @@ const {
const route = useRoute();
const $q = useQuasar();
const routeName = ref<string>(route.name ? route.name.toString() : "");
const modalData = ref<any>({
salaryAmount: null,
positionSalaryAmount: null,
@ -715,7 +717,9 @@ const pagination = ref({
:visible-columns="visibleColumns"
:filter="filter"
row-key="name"
selection="multiple"
:selection="
routeName === 'disciplineOrderDatail' ? 'single' : 'multiple'
"
v-model:selected="selected"
>
<template v-slot:header="props">

View file

@ -50,11 +50,9 @@ const dataGen = ref<any>();
const orderId = ref<string>(orderId_params.toString());
onMounted(async () => {
if (orderId.value) {
showLoader();
await fetchAttachment(orderId.value);
await fecthstatusOrder();
await getCommandDetail();
hideLoader();
}
});
@ -99,6 +97,7 @@ const genReportStatus = computed(() => {
//
const getCommandDetail = async () => {
showLoader();
await http
.get(config.API.detailOrder(orderId.value))
.then(async (res) => {