checkload

This commit is contained in:
STW_TTTY\stwtt 2024-09-26 12:04:46 +07:00
parent 13317f94f2
commit 5ffc84daf3
6 changed files with 33 additions and 24 deletions

View file

@ -39,7 +39,6 @@ const modal = defineModel<boolean>("modal", { required: true });
* props
*/
const props = defineProps({
closeModal: Function,
fetchData: Function,
rows: Array,
});
@ -209,6 +208,10 @@ function filterSelectOrder() {
});
}
function closeModal() {
modal.value = false;
commandType.value = "";
}
/**
* เม props.modal เป true
*
@ -314,7 +317,7 @@ watch(
:columns="columns"
:rows="rows"
:filter="filter"
row-key="id"
row-key="personalId"
:visible-columns="visibleColumns"
selection="multiple"
v-model:selected="selected"