+
+
ประวัติส่วนตัว
+
+
{
>
แก้ไขข้อมูล
-
+
ประวัติข้อมูลส่วนตัว
@@ -352,7 +604,10 @@ onMounted(async () => {
-
+
@@ -591,15 +846,46 @@ onMounted(async () => {
flat
round
type="submit"
- icon="mdi-pencil-outline"
- color="primary"
+ icon="mdi-content-save-outline"
+ color="secondary"
>
- แก้ไขข้อมูล
+ บันทึก
+
+
+
+
+
+
+ {{ date2Thai(col.value) }}
+
+
+ {{ col.value }}
+
+
+
+
+
-
+
diff --git a/src/modules/04_registryNew/components/detail/PersonalInformation/02_NameChangeHistory.vue b/src/modules/04_registryNew/components/detail/PersonalInformation/02_NameChangeHistory.vue
index 624cd5b60..760c2c835 100644
--- a/src/modules/04_registryNew/components/detail/PersonalInformation/02_NameChangeHistory.vue
+++ b/src/modules/04_registryNew/components/detail/PersonalInformation/02_NameChangeHistory.vue
@@ -210,11 +210,11 @@ const paginationLabel = (start: string, end: string, total: string) => {
return start + "-" + end + " ใน " + total;
};
-const openFile = async (val: string | null) => {
+async function openFile(val: string | null) {
if (val != null) window.open(val);
-};
+}
-const clickHistory = async (row: RequestItemsObject) => {
+async function clickHistory(row: RequestItemsObject) {
modalHistory.value = true;
// showLoader();
// await http
@@ -242,9 +242,9 @@ const clickHistory = async (row: RequestItemsObject) => {
// .finally(() => {
// hideLoader();
// });
-};
+}
-const fetchData = async () => {
+async function fetchData() {
showLoader();
await http
.get(config.API.profileChangeNameId(profileId.value))
@@ -271,7 +271,7 @@ const fetchData = async () => {
.finally(() => {
hideLoader();
});
-};
+}
onMounted(async () => {
// await fetchData();
@@ -279,11 +279,9 @@ onMounted(async () => {
-
- ประวัติการเปลี่ยนชื่อ-นามสกุล
-
-
-
+
ประวัติการเปลี่ยนชื่อ-นามสกุล
+
+
{
v-model:tittle="tittleHistory"
:history="true"
>
+
+
+
+
+ {{ date2Thai(col.value) }}
+
+
+ {{ typeChangeName(col.value) }}
+
+
+ {{ col.value }}
+
+
+
+
+
+
+
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 1c6623747..de10f5f84 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,7 @@ import { QForm, useQuasar } from "quasar";
const mixin = useCounterMixin();
const $q = useQuasar();
-const { dialogConfirm, success, messageError, showLoader, hideLoader } = mixin;
+const { dialogConfirm } = mixin;
const formRef = ref(null);
@@ -16,7 +16,7 @@ const fatherPrefixRef = ref(null);
const fatherFirstNameRef = ref(null);
const fatherLastNameRef = ref(null);
const fatherData = reactive({
- isHaveInfo: "0",
+ isHaveInfo: 0,
isDead: false,
citizenId: null,
prefix: null,
@@ -26,7 +26,7 @@ const fatherData = reactive({
job: null,
});
const motherData = reactive({
- isHaveInfo: "0",
+ isHaveInfo: 0,
isDead: false,
citizenId: null,
prefix: null,
@@ -36,7 +36,7 @@ const motherData = reactive({
job: null,
});
const spouseData = reactive({
- isHave: "0",
+ isHave: 0,
isDead: false,
citizenId: null,
prefix: null,
@@ -69,7 +69,6 @@ function closeHistoryDialog() {
}
function validateForm() {
- console.log("test");
onSubmit();
}
@@ -105,8 +104,8 @@ function deleteChildren(items: any) {
-
-
ข้อมูลครอบครัว
+
+
ข้อมูลครอบครัว
+
+
- 5
+ ประวัติการศึกษา
+
+
+ เพิ่มข้อมูล
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ year + 543 }}
+ {{
+ parseInt(value + 543)
+ }}
+
+
+
+
+
+
+
+
+
+
+ {{ year + 543 }}
+ {{
+ parseInt(value + 543)
+ }}
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ year + 543 }}
+ {{
+ parseInt(value + 543)
+ }}
+
+
+
+
+
+
+
+
+
+
+ {{ year + 543 }}
+ {{
+ parseInt(value + 543)
+ }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ year + 543 }}
+ {{
+ parseInt(value + 543)
+ }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ บันทึกข้อมูล
+
+
+
+
+
-
+