แก้วินัย
This commit is contained in:
parent
456cf574f6
commit
91502f6d8b
8 changed files with 80 additions and 9 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue