diff --git a/src/modules/04_registryNew/components/detail/PersonalInformation/04_Family.vue b/src/modules/04_registryNew/components/detail/PersonalInformation/04_Family.vue index e4e0f1249..c5e87d9a1 100644 --- a/src/modules/04_registryNew/components/detail/PersonalInformation/04_Family.vue +++ b/src/modules/04_registryNew/components/detail/PersonalInformation/04_Family.vue @@ -6,7 +6,6 @@ import { QForm, useQuasar } from "quasar"; import http from "@/plugins/http"; import config from "@/app.config"; import { useRoute } from "vue-router"; -import DialogHistory from "@/modules/04_registryNew/components/detail/PersonalInformation/04_FamilyHistory.vue"; import { useProfileDataStore } from "@/modules/04_registryNew/stores/profile"; const mixin = useCounterMixin(); const $q = useQuasar(); @@ -105,7 +104,6 @@ const childrenDataEdit: any = reactive({ function editForm(rows: any) { if (rows !== null) { - fatherDataEdit.isHaveInfo = rows.fatherFirstName !== null ? 1 : 0; fatherDataEdit.isLive = rows.fatherLive ? 1 : 0; fatherDataEdit.citizenId = rows.fatherCitizenId; @@ -286,7 +284,9 @@ const addChildren = async () => { }; function deleteChildren(items: any) { - const index = childrenDataEdit.childrens.findIndex((r: any) => r.id == items.id); + const index = childrenDataEdit.childrens.findIndex( + (r: any) => r.id == items.id + ); childrenDataEdit.childrens.splice(index, 1); } @@ -356,17 +356,16 @@ onMounted(async () => {