IsAncestorDNA / แก้ชื่อฟิล popup

This commit is contained in:
setthawutttty 2024-01-26 09:57:07 +07:00
parent b9d04bef5c
commit 2f0594ee08
7 changed files with 24 additions and 11 deletions

View file

@ -134,6 +134,7 @@ const formData = reactive<FormData>({
persons: [],
investigationExtendHistory: [],
isDisciplinary: false,
isAncestorDNA: false,
});
const rows = ref([]);
@ -272,6 +273,7 @@ watch(props.data, async () => {
organization: person.organization,
isSend: person.isSend,
isDisciplinary: person.isDisciplinary,
isAncestorDNA: person.isAncestorDNA,
}));
mainStore.rowsCheck = mainStore.rowsAdd.filter(
(item: any) => item.isDisciplinary === false && item.isSend === "NEW"
@ -783,7 +785,7 @@ onMounted(async () => {
col.label
}}</span>
</q-th>
<!-- <q-th auto-width></q-th> -->
<q-th auto-width></q-th>
</q-tr>
</template>
<template v-slot:body="props">
@ -821,9 +823,9 @@ onMounted(async () => {
{{ col.value }}
</div>
</q-td>
<!-- <q-td auto-width>
<q-td auto-width>
<q-btn
v-if="!isReadonly"
v-if="!isReadonly && props.row.isAncestorDNA === false"
size="12px"
flat
round
@ -834,7 +836,7 @@ onMounted(async () => {
@click="deletePerson(props.row.personId)"
><q-tooltip>ลบผกรองเรยน</q-tooltip></q-btn
>
</q-td> -->
</q-td>
</q-tr>
</template>
</d-table>