fixing remove import file

This commit is contained in:
Warunee Tamkoo 2024-11-21 16:58:49 +07:00
parent e541bbb6d2
commit ed683d0bb3
24 changed files with 201 additions and 831 deletions

View file

@ -116,9 +116,7 @@ async function fetchInformation(id: string) {
imformation.age = data.birthDate ? calculateAge(data.birthDate) : "-";
imformation.gender = data.gender ?? "-";
avatar.fullname = `${data.rank ? data.rank : data.prefix}${
data.firstName
} ${data.lastName}`;
avatar.fullname = `${data.prefix}${data.firstName} ${data.lastName}`;
avatar.position = data.position ? data.position : "-";
if (data.avatarName) {

View file

@ -125,7 +125,7 @@
</template>
<script setup lang="ts">
import { ref, useAttrs, computed } from "vue";
import type { Pagination } from "@/modules/01_metadata/interface/index/Main";
import type { Pagination } from "@/modules/01_masterdata/interface/index/Main";
const rows = ref<any[]>([]);
const attrs = ref<any>(useAttrs());

View file

@ -1,6 +1,6 @@
//interface class array object {name string ,id number}
import type { childrenFamily } from "@/modules/04_registry/interface/response/Family";
import type { ChildrenFamily } from "@/modules/04_registryPerson/interface/index/family";
interface ChangeActive {
name: string;
id: number;
@ -51,7 +51,7 @@ interface Family {
citizenIdF: string | null;
liveF: string | null;
same: string | null;
childrens: childrenFamily[];
childrens: ChildrenFamily[];
}
interface Address {

View file

@ -1,6 +1,6 @@
//interface class array object {name string ,id number}
import type { childrenFamily } from "@/modules/04_registry/interface/response/Family";
import type { ChildrenFamily } from "@/modules/04_registryPerson/interface/index/family";
interface ChangeActive {
name: string;
id: number;
@ -51,7 +51,7 @@ interface Family {
citizenIdF: string | null;
liveF: string | null;
same: string | null;
childrens: childrenFamily[];
childrens: ChildrenFamily[];
}
interface Address {