แก้ไขทะเบียนประวัติ ==> เพิ่ม จัดลำดับการ

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2025-05-21 15:22:10 +07:00
parent c404185776
commit ee35a2e709
3 changed files with 189 additions and 3 deletions

View file

@ -262,7 +262,7 @@ function onSubmit() {
watch(modal, async () => {
if (modal.value && props.dataSort) {
const dataList = props.dataSort;
rows.value = dataList;
rows.value.push(...dataList);
selected.value = dataList.filter((item: any) => item.isUse == true);
} else {
selected.value = [];
@ -294,7 +294,7 @@ watch(modal, async () => {
bordered
:rows="rows"
:columns="columns"
:rows-per-page-options="[100]"
:rows-per-page-options="[0]"
row-key="id"
hide-bottom
hide-pagination