fix ordering oraganization

This commit is contained in:
Warunee Tamkoo 2025-06-06 11:27:14 +07:00
parent 17d8c32ce4
commit 3aa299ae8e
6 changed files with 25 additions and 7 deletions

View file

@ -32,6 +32,10 @@ const { dialogConfirm, showLoader, success, hideLoader, messageError } =
const modal = defineModel<boolean>("sortPosition", { required: true });
const props = defineProps({
fetchDataTable: Function,
totalData: {
type: Number,
default: 0,
},
});
/** ข้อมูล Table*/
@ -95,7 +99,7 @@ function getData() {
type: store.level,
isAll: false,
page: 1,
pageSize: 100,
pageSize: props.totalData,
keyword: "",
revisionId: store.activeId,
})

View file

@ -397,7 +397,7 @@ watch(
<q-tooltip>เพมตำแหน</q-tooltip>
</q-btn>
<!-- <q-btn
<q-btn
v-if="checkPermission($route)?.attrIsUpdate"
flat
round
@ -407,7 +407,7 @@ watch(
@click="onClickSort()"
>
<q-tooltip>ดลำด</q-tooltip>
</q-btn> -->
</q-btn>
<q-btn
v-if="checkPermission($route)?.attrIsUpdate"
@ -703,6 +703,7 @@ watch(
<DialogSort
v-model:sort-position="modalSort"
:fetchDataTable="props.fetchDataTable"
:total-data="totalData"
/>
<!-- ายตำแหน -->