diff --git a/src/modules/04_registryNew/components/detail/GovernmentInformation/01_Info.vue b/src/modules/04_registryNew/components/detail/GovernmentInformation/01_Info.vue index 2098dd75f..d87c7f308 100644 --- a/src/modules/04_registryNew/components/detail/GovernmentInformation/01_Info.vue +++ b/src/modules/04_registryNew/components/detail/GovernmentInformation/01_Info.vue @@ -434,7 +434,7 @@ const fieldLabels = { :key="index" >
- {{ + {{ fieldLabels[field as keyof typeof fieldLabels] }}
@@ -450,7 +450,7 @@ const fieldLabels = { :key="index" >
- {{ + {{ fieldLabels[field as keyof typeof fieldLabels] }}
@@ -466,7 +466,7 @@ const fieldLabels = {
- วันที่สั่งบรรจุ + วันที่สั่งบรรจุ
{{ @@ -478,7 +478,7 @@ const fieldLabels = {
- วันที่เริ่มปฏิบัติราชการ + วันที่เริ่มปฏิบัติราชการ
{{ @@ -495,7 +495,7 @@ const fieldLabels = { >
- เหตุผลที่วันที่ไม่ตรงกัน + เหตุผลที่วันที่ไม่ตรงกัน
{{ @@ -507,7 +507,7 @@ const fieldLabels = {
- วันเกษียณอายุ + วันเกษียณอายุ
{{ @@ -523,7 +523,7 @@ const fieldLabels = {
- อายุราชการ + อายุราชการ
{{ formMain.ageAll !== "" ? formMain.ageAll : "-" }} @@ -533,7 +533,7 @@ const fieldLabels = {
- ขาดราชการ + ขาดราชการ
{{ formMain.absent ? formMain.absent : 0 }} @@ -543,7 +543,7 @@ const fieldLabels = {
- อายุราชการเกื้อกูล + อายุราชการเกื้อกูล
{{ formMain.age ? formMain.age : 0 }} diff --git a/src/modules/04_registryNew/components/detail/GovernmentInformation/02_Discipline.vue b/src/modules/04_registryNew/components/detail/GovernmentInformation/02_Discipline.vue index 2afde253d..c75cbed7e 100644 --- a/src/modules/04_registryNew/components/detail/GovernmentInformation/02_Discipline.vue +++ b/src/modules/04_registryNew/components/detail/GovernmentInformation/02_Discipline.vue @@ -33,7 +33,7 @@ const { } = mixin; const rows = ref([]); -const mode = ref("card"); +const mode = ref("table"); const filterKeyword = ref(""); const formFilter = reactive({ page: 1, @@ -416,13 +416,13 @@ function getData() { rows.value = data; } + onMounted(() => { getData(); });