แก้วินัย

This commit is contained in:
setthawutttty 2025-04-21 16:29:32 +07:00
parent 456cf574f6
commit 91502f6d8b
8 changed files with 80 additions and 9 deletions

View file

@ -686,6 +686,8 @@ watch(props.data, async () => {
child3DnaId: person.child3DnaId,
child4DnaId: person.child4DnaId,
citizenId: person.idcard,
remarkReject: person.remarkReject,
disciplineRejectDoc: person.disciplineRejectDoc,
}));
mainStore.rowsAdd = listDataMain;
mainStore.rowsAddCheck = listDataMain;
@ -720,6 +722,9 @@ watch(props.data, async () => {
}
});
function onLoadFile(file: any) {
window.open(file.pathName);
}
watch(
() => formData.investigationDetail,
(newValue, oldValue) => {
@ -963,9 +968,24 @@ onMounted(async () => {
>
<q-tooltip>อมลในทะเบยนประว</q-tooltip>
</q-btn>
<q-btn
v-if="props.row.disciplineRejectDoc.length > 0"
flat
round
dense
color="blue"
icon="mdi-download"
@click="
onLoadFile(props.row.disciplineRejectDoc[0])
"
><q-tooltip
>ไฟลเอกสารทเกยวของกบการยเรอง</q-tooltip
></q-btn
>
<q-btn
v-if="
(!isReadonly &&
props.row.isSend == 'NEW' &&
!checkRoutePermisson &&
props.row.isAncestorDNA === false) ||
!mainStore.rowsAddCheck.some(