เพิ่ม field posNumCodeSit , posNumCodeSitAbb

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2025-03-28 14:28:41 +07:00
parent b8b812c319
commit 5abf3c5945
6 changed files with 121 additions and 5 deletions

View file

@ -7,7 +7,7 @@ import type { DataHistory } from "@/modules/04_registryPerson/interface/index/Ma
import DialogHeader from "@/components/DialogHeader.vue";
const { onSearchDataTable } = useCounterMixin();
const { onSearchDataTable, findOrgNameHtml } = useCounterMixin();
const modal = defineModel<boolean>("modal", { required: true });
const title = defineModel<string>("title", { required: true });
@ -117,6 +117,19 @@ watch(
<div v-if="col.name === 'no'">
{{ props.rowIndex + 1 }}
</div>
<div v-else-if="col.name == 'organization'" class="text-html">
{{
props.row
? findOrgNameHtml({
root: props.row.orgRoot,
child1: props.row.orgChild1,
child2: props.row.orgChild2,
child3: props.row.orgChild3,
child4: props.row.orgChild4,
})
: "-"
}}
</div>
<div v-else>
{{ col.value ? col.value : "-" }}
</div>