-
- ไม่พบข้อมูลความสามารถพิเศษ
-
+
+ ไม่พบข้อมูล
@@ -353,7 +353,7 @@ onMounted(() => {
top: -20px;
}
-.fix_top{
- justify-content: start!important;
+.fix_top {
+ justify-content: start !important;
}
diff --git a/src/modules/10_registry/02_Government/01_Government.vue b/src/modules/10_registry/02_Government/01_Government.vue
index 38db5a3..8287225 100644
--- a/src/modules/10_registry/02_Government/01_Government.vue
+++ b/src/modules/10_registry/02_Government/01_Government.vue
@@ -2,7 +2,7 @@
import { useCounterMixin } from "@/stores/mixin";
import { useQuasar, type QTableProps } from "quasar";
import { ref, reactive, onMounted } from "vue";
-import { useRegistryInFormationStore } from '@/modules/10_registry/store/registry'
+import { useRegistryInFormationStore } from "@/modules/10_registry/store/registry";
//history dialog
import DialogHistory from "@/modules/10_registry/Dialog/DialogHistory.vue";
@@ -10,7 +10,7 @@ import DialogHistory from "@/modules/10_registry/Dialog/DialogHistory.vue";
import http from "@/plugins/http";
import config from "@/app.config";
-const store = useRegistryInFormationStore()
+const store = useRegistryInFormationStore();
const rowsHistory = ref
([]);
const $q = useQuasar();
const mixin = useCounterMixin();
@@ -309,7 +309,10 @@ function getData() {
/** get history */
function getHistory() {
- const url = store.typeProfile == 'OFFICER' ? config.API.dataUserGovernmentHistory(''):config.API.dataUserGovernmentHistory('-employee')
+ const url =
+ store.typeProfile == "OFFICER"
+ ? config.API.dataUserGovernmentHistory("")
+ : config.API.dataUserGovernmentHistory("-employee");
showLoader();
http
.get(url)
@@ -354,23 +357,31 @@ onMounted(() => {
{{ formData.org ? formData.org : "-" }}
- ตำแหน่ง
+
+ ตำแหน่งในสายงาน
+
{{ formData.position ? formData.position : "-" }}
- เลขที่ตำแหน่ง
+ ตำแหน่งเลขที่
{{ formData.posMasterNo ? formData.posMasterNo : "-" }}
-
+
ตำแหน่งทางการบริหาร
{{ formData.posExecutive ? formData.posExecutive : "-" }}
-
+
ด้านทางการบริหาร
@@ -385,17 +396,26 @@ onMounted(() => {
-
สายงาน
+
+ สายงาน
+
{{ formData.positionField ? formData.positionField : "-" }}
- {{store.typeProfile == 'OFFICER' ? 'ประเภทตำแหน่ง':'กลุ่มงาน'}}
+ {{
+ store.typeProfile == "OFFICER" ? "ตำแหน่งประเภท" : "กลุ่มงาน"
+ }}
{{ formData.posType ? formData.posType : "-" }}
-
{{store.typeProfile == 'OFFICER' ? 'ระดับตำแหน่ง':'ระดับชั้นงาน'}}
+
+ {{ store.typeProfile == "OFFICER" ? "ระดับ" : "ระดับชั้นงาน" }}
+
{{ formData.posLevel ? formData.posLevel : "-" }}
diff --git a/src/modules/10_registry/02_Government/02_Discipline.vue b/src/modules/10_registry/02_Government/02_Discipline.vue
index 9fb7f1d..ddd6445 100644
--- a/src/modules/10_registry/02_Government/02_Discipline.vue
+++ b/src/modules/10_registry/02_Government/02_Discipline.vue
@@ -9,7 +9,7 @@ import DialogHistory from "@/modules/10_registry/Dialog/DialogHistory.vue";
import http from "@/plugins/http";
import config from "@/app.config";
-const idByRow = ref
('')
+const idByRow = ref("");
const rows = ref([]);
const filter = ref("");
const rowsHistory = ref([]);
@@ -205,9 +205,9 @@ const columnsHistory = ref([
},
]);
-function onHistory(id:string) {
+function onHistory(id: string) {
modalHistory.value = true;
- idByRow.value = id
+ idByRow.value = id;
}
/** get data */
@@ -252,9 +252,7 @@ onMounted(() => {
- วินัย
+ วินัย
{
{{ props.row.status ? props.row.status : "-" }}
- {{ col.value?col.value:'-' }}
+ {{ col.value ? col.value : "-" }}
@@ -364,7 +362,6 @@ onMounted(() => {
ประวัติแก้ไขวินัย
-
{{
col.label
@@ -381,10 +378,10 @@ onMounted(() => {
-
-
- ไม่พบข้อมูลวินัย
-
+
+ ไม่พบข้อมูล
@@ -397,7 +394,6 @@ onMounted(() => {
:visibleColumns="visibleColumns"
:columns="columns"
/>
-
\ No newline at end of file
+
diff --git a/src/modules/10_registry/02_Government/03_Leave.vue b/src/modules/10_registry/02_Government/03_Leave.vue
index 9324f24..d07cbfa 100644
--- a/src/modules/10_registry/02_Government/03_Leave.vue
+++ b/src/modules/10_registry/02_Government/03_Leave.vue
@@ -9,7 +9,7 @@ import DialogHistory from "@/modules/10_registry/Dialog/DialogHistory.vue";
import http from "@/plugins/http";
import config from "@/app.config";
-const idByRow = ref
('')
+const idByRow = ref("");
const rows = ref([]);
const filter = ref("");
const rowsHistory = ref([]);
@@ -203,9 +203,9 @@ const columnsHistory = ref([
},
]);
-function onHistory(id:string) {
+function onHistory(id: string) {
modalHistory.value = true;
- idByRow.value = id
+ idByRow.value = id;
}
/** get data */
@@ -225,7 +225,6 @@ function getData() {
status: item.status,
reason: item.reason,
typeLeaveId: item.leaveTypeId,
-
}));
})
.catch((e) => {
@@ -415,7 +414,7 @@ onMounted(() => {
>
ประวัติแก้ไขการลา
-
+
{{
col.label
@@ -434,10 +433,12 @@ onMounted(() => {
}}
- {{ props.row.status ? statusLeave(props.row.status) : "-" }}
{{
col.value ? col.value : "-"
@@ -450,9 +451,9 @@ onMounted(() => {
- ไม่พบข้อมูลการลา
+ ไม่พบข้อมูล
@@ -474,7 +475,7 @@ onMounted(() => {
top: -20px;
}
-.fix_top{
- justify-content: start!important;
+.fix_top {
+ justify-content: start !important;
}
diff --git a/src/modules/10_registry/02_Government/04_Duty.vue b/src/modules/10_registry/02_Government/04_Duty.vue
index afdeec4..97f22c6 100644
--- a/src/modules/10_registry/02_Government/04_Duty.vue
+++ b/src/modules/10_registry/02_Government/04_Duty.vue
@@ -9,7 +9,7 @@ import DialogHistory from "@/modules/10_registry/Dialog/DialogHistory.vue";
import http from "@/plugins/http";
import config from "@/app.config";
-const idByRow = ref('')
+const idByRow = ref("");
const rows = ref([]);
const filter = ref("");
const rowsHistory = ref([]);
@@ -206,9 +206,9 @@ const columnsHistory = ref([
},
]);
-function onHistory(id:string) {
+function onHistory(id: string) {
modalHistory.value = true;
- idByRow.value = id
+ idByRow.value = id;
}
/** get data */
@@ -330,7 +330,7 @@ onMounted(() => {
{{ props.row.status ? props.row.status : "-" }}
- {{ col.value?col.value:'-' }}
+ {{ col.value ? col.value : "-" }}
@@ -365,7 +365,6 @@ onMounted(() => {
ประวัติแก้ไขปฏิบัติราชการพิเศษ
-
{{
col.label
@@ -382,10 +381,10 @@ onMounted(() => {
-
-
- ไม่พบข้อมูลปฏิบัติราชการพิเศษ
-
+
+ ไม่พบข้อมูล
@@ -398,7 +397,6 @@ onMounted(() => {
:visibleColumns="visibleColumnsHistory"
:columns="columnsHistory"
/>
-
\ No newline at end of file
+
diff --git a/src/modules/10_registry/03_Salary/02_Nopaid.vue b/src/modules/10_registry/03_Salary/02_Nopaid.vue
index e812045..e94fb5c 100644
--- a/src/modules/10_registry/03_Salary/02_Nopaid.vue
+++ b/src/modules/10_registry/03_Salary/02_Nopaid.vue
@@ -9,7 +9,7 @@ import DialogHistory from "@/modules/10_registry/Dialog/DialogHistory.vue";
import http from "@/plugins/http";
import config from "@/app.config";
-const idByRow = ref
('')
+const idByRow = ref("");
const rows = ref([]);
const filter = ref("");
const rowsHistory = ref([]);
@@ -90,7 +90,6 @@ const columns = ref([
},
]);
-
const visibleColumnsHistory = ref([
"date",
"reference",
@@ -184,10 +183,9 @@ const columnsHistory = ref([
},
]);
-
-function onHistory(id:string) {
+function onHistory(id: string) {
modalHistory.value = true;
- idByRow.value = id
+ idByRow.value = id;
}
/** get data */
@@ -309,7 +307,7 @@ onMounted(() => {
{{ props.row.status ? props.row.status : "-" }}
- {{ col.value?col.value:'-' }}
+ {{ col.value ? col.value : "-" }}
@@ -341,10 +339,11 @@ onMounted(() => {
class="absolute_button"
@click="onHistory(props.row.id)"
>
- ประวัติแก้ไขบันทึกวันที่ไม่ได้รับเงินเดือนฯ
+ ประวัติแก้ไขบันทึกวันที่ไม่ได้รับเงินเดือนฯ
-
{{
col.label
@@ -361,10 +360,10 @@ onMounted(() => {
-
-
- ไม่พบข้อมูลบันทึกวันที่ไม่ได้รับเงินเดือนฯ
-
+
+ ไม่พบข้อมูล
@@ -377,7 +376,6 @@ onMounted(() => {
:visibleColumns="visibleColumnsHistory"
:columns="columnsHistory"
/>
-
\ No newline at end of file
+
diff --git a/src/modules/10_registry/04_Achievement/01_Certificate.vue b/src/modules/10_registry/04_Achievement/01_Certificate.vue
index 8d507e8..ba0facd 100644
--- a/src/modules/10_registry/04_Achievement/01_Certificate.vue
+++ b/src/modules/10_registry/04_Achievement/01_Certificate.vue
@@ -9,7 +9,7 @@ import DialogHistory from "@/modules/10_registry/Dialog/DialogHistory.vue";
import http from "@/plugins/http";
import config from "@/app.config";
-const idByRow = ref
('')
+const idByRow = ref("");
const rows = ref([]);
const filter = ref("");
const rowsHistory = ref([]);
@@ -181,9 +181,9 @@ const columnsHistory = ref([
a.localeCompare(b, undefined, { numeric: true, sensitivity: "base" }),
},
]);
-function onHistory(id:string) {
+function onHistory(id: string) {
modalHistory.value = true;
- idByRow.value = id
+ idByRow.value = id;
}
/** get data */
@@ -207,7 +207,7 @@ function getData() {
function getHistory() {
showLoader();
http
- .get(config.API.dataUserCertificateHistory("certificate",idByRow.value))
+ .get(config.API.dataUserCertificateHistory("certificate", idByRow.value))
.then((res) => {
const data = res.data.result;
rowsHistory.value = data;
@@ -357,9 +357,9 @@ onMounted(() => {
- ไม่พบข้อมูลใบอนุญาตประกอบวิชาชีพ
+ ไม่พบข้อมูล
diff --git a/src/modules/10_registry/04_Achievement/02_Training.vue b/src/modules/10_registry/04_Achievement/02_Training.vue
index 78d63e3..925f704 100644
--- a/src/modules/10_registry/04_Achievement/02_Training.vue
+++ b/src/modules/10_registry/04_Achievement/02_Training.vue
@@ -9,7 +9,7 @@ import DialogHistory from "@/modules/10_registry/Dialog/DialogHistory.vue";
import http from "@/plugins/http";
import config from "@/app.config";
-const idByRow = ref('')
+const idByRow = ref("");
const rows = ref([]);
const filter = ref("");
const rowsHistory = ref([]);
@@ -309,9 +309,9 @@ const columnsHistory = ref([
a.localeCompare(b, undefined, { numeric: true, sensitivity: "base" }),
},
]);
-function onHistory(id:string) {
+function onHistory(id: string) {
modalHistory.value = true;
- idByRow.value = id
+ idByRow.value = id;
}
/** get data */
@@ -335,7 +335,7 @@ function getData() {
function getHistory() {
showLoader();
http
- .get(config.API.dataUserCertificateHistory("training",idByRow.value))
+ .get(config.API.dataUserCertificateHistory("training", idByRow.value))
.then((res) => {
const data = res.data.result;
rowsHistory.value = data;
@@ -477,9 +477,9 @@ onMounted(() => {
- ไม่พบข้อมูลการฝึกอบรม/ดูงาน
+ ไม่พบข้อมูล
diff --git a/src/modules/10_registry/04_Achievement/03_Insignia.vue b/src/modules/10_registry/04_Achievement/03_Insignia.vue
index 3eba8b8..3192c30 100644
--- a/src/modules/10_registry/04_Achievement/03_Insignia.vue
+++ b/src/modules/10_registry/04_Achievement/03_Insignia.vue
@@ -10,7 +10,7 @@ import http from "@/plugins/http";
import config from "@/app.config";
import { useRegistryInFormationStore } from "@/modules/10_registry/store/registry";
-const idByRow = ref('')
+const idByRow = ref("");
const store = useRegistryInFormationStore();
const rows = ref([]);
const filter = ref("");
@@ -388,9 +388,9 @@ const columnsHistory = ref([
},
]);
-function onHistory(id:string) {
+function onHistory(id: string) {
modalHistory.value = true;
- idByRow.value = id
+ idByRow.value = id;
}
/** get data */
@@ -414,7 +414,7 @@ function getData() {
function getHistory() {
showLoader();
http
- .get(config.API.dataUserCertificateHistory("insignia",idByRow.value))
+ .get(config.API.dataUserCertificateHistory("insignia", idByRow.value))
.then((res) => {
const data = res.data.result;
rowsHistory.value = data;
@@ -577,9 +577,9 @@ onMounted(async () => {
- ไม่พบข้อมูลเครื่องราชอิสริยาภรณ์
+ ไม่พบข้อมูล
diff --git a/src/modules/10_registry/04_Achievement/04_Honor.vue b/src/modules/10_registry/04_Achievement/04_Honor.vue
index 7b0d67c..dc2a59e 100644
--- a/src/modules/10_registry/04_Achievement/04_Honor.vue
+++ b/src/modules/10_registry/04_Achievement/04_Honor.vue
@@ -10,7 +10,7 @@ import http from "@/plugins/http";
import config from "@/app.config";
import { useRegistryInFormationStore } from "@/modules/10_registry/store/registry";
-const idByRow = ref('')
+const idByRow = ref("");
const store = useRegistryInFormationStore();
const rows = ref([]);
const filter = ref("");
@@ -183,16 +183,16 @@ const columnsHistory = ref([
},
]);
-function onHistory(id:string) {
+function onHistory(id: string) {
modalHistory.value = true;
- idByRow.value = id
+ idByRow.value = id;
}
/** get data */
function getData() {
showLoader();
http
- .get(config.API.dataUserCertificate('honor'))
+ .get(config.API.dataUserCertificate("honor"))
.then((res) => {
const data = res.data.result;
rows.value = data;
@@ -207,7 +207,10 @@ function getData() {
/** get history */
function getHistory() {
- const url = store.typeProfile == 'OFFICER' ? config.API.dataUserHonorHistory('honor','',idByRow.value):config.API.dataUserHonorHistory('honor','-employee',idByRow.value)
+ const url =
+ store.typeProfile == "OFFICER"
+ ? config.API.dataUserHonorHistory("honor", "", idByRow.value)
+ : config.API.dataUserHonorHistory("honor", "-employee", idByRow.value);
showLoader();
http
.get(url)
@@ -308,7 +311,7 @@ onMounted(() => {
{{ props.row.status ? props.row.status : "-" }}
- {{ col.value?col.value:'-' }}
+ {{ col.value ? col.value : "-" }}
@@ -343,7 +346,6 @@ onMounted(() => {
ประวัติแก้ไขประกาศเกียรติคุณ
-
{{
col.label
@@ -360,10 +362,10 @@ onMounted(() => {
-
-
- ไม่พบข้อมูลประกาศเกียรติคุณ
-
+
+ ไม่พบข้อมูล
@@ -376,7 +378,6 @@ onMounted(() => {
:visibleColumns="visibleColumnsHistory"
:columns="columnsHistory"
/>
-
\ No newline at end of file
+
diff --git a/src/modules/10_registry/04_Achievement/05_Assessments.vue b/src/modules/10_registry/04_Achievement/05_Assessments.vue
index 75efd37..7e77294 100644
--- a/src/modules/10_registry/04_Achievement/05_Assessments.vue
+++ b/src/modules/10_registry/04_Achievement/05_Assessments.vue
@@ -9,7 +9,7 @@ import DialogHistory from "@/modules/10_registry/Dialog/DialogHistory.vue";
import http from "@/plugins/http";
import config from "@/app.config";
-const idByRow = ref
('')
+const idByRow = ref("");
const rows = ref([]);
const filter = ref("");
const rowsHistory = ref([]);
@@ -244,9 +244,9 @@ const visibleColumns = ref([
"date",
]);
-function onHistory(id:string) {
+function onHistory(id: string) {
modalHistory.value = true;
- idByRow.value = id
+ idByRow.value = id;
}
/** get data */
@@ -270,7 +270,7 @@ function getData() {
function getHistory() {
showLoader();
http
- .get(config.API.dataUserCertificateHistory("assessments",idByRow.value))
+ .get(config.API.dataUserCertificateHistory("assessments", idByRow.value))
.then((res) => {
const data = res.data.result;
rowsHistory.value = data;
@@ -440,9 +440,9 @@ onMounted(() => {
- ไม่พบข้อมูลผลการประเมินการปฏิบัติราชการ
+ ไม่พบข้อมูล
diff --git a/src/modules/10_registry/05_Other/01_Other.vue b/src/modules/10_registry/05_Other/01_Other.vue
index 6eb7b05..339fbe7 100644
--- a/src/modules/10_registry/05_Other/01_Other.vue
+++ b/src/modules/10_registry/05_Other/01_Other.vue
@@ -9,7 +9,7 @@ import DialogHistory from "@/modules/10_registry/Dialog/DialogHistory.vue";
import http from "@/plugins/http";
import config from "@/app.config";
-const idByRow = ref('')
+const idByRow = ref("");
const rows = ref([]);
const filter = ref("");
const rowsHistory = ref([]);
@@ -99,12 +99,11 @@ const columnsHistory = ref([
},
]);
-function onHistory(id:string) {
+function onHistory(id: string) {
modalHistory.value = true;
- idByRow.value = id
+ idByRow.value = id;
}
-
/** get data */
function getData() {
showLoader();
@@ -147,9 +146,7 @@ onMounted(() => {
- ข้อมูลอื่นๆ
+ ข้อมูลอื่นๆ
{
- ไม่พบข้อมูลข้อมูลอื่นๆ
+ ไม่พบข้อมูล
diff --git a/src/modules/10_registry/Dialog/DialogHistory.vue b/src/modules/10_registry/Dialog/DialogHistory.vue
index 9fb7592..81fabc7 100644
--- a/src/modules/10_registry/Dialog/DialogHistory.vue
+++ b/src/modules/10_registry/Dialog/DialogHistory.vue
@@ -226,9 +226,9 @@ watch(
- ไม่พบข้อมูลประวัติการแก้ไข
+ ไม่พบข้อมูล
diff --git a/src/modules/10_registry/views/main.vue b/src/modules/10_registry/views/main.vue
index 99db19a..bfa7837 100644
--- a/src/modules/10_registry/views/main.vue
+++ b/src/modules/10_registry/views/main.vue
@@ -21,7 +21,7 @@ import { useQuasar } from "quasar";
const store = useRegistryInFormationStore();
const $q = useQuasar();
const mixin = useCounterMixin();
-const { messageError, dialogConfirm ,showLoader,hideLoader } = mixin;
+const { messageError, dialogConfirm, showLoader, hideLoader } = mixin;
const profileImg = ref("");
const router = useRouter();
const tab = ref("information");
@@ -179,7 +179,7 @@ onMounted(async () => {
{{
- store.typeProfile == "OFFICER" ? "ประเภทตำแหน่ง" : "กลุ่มงาน"
+ store.typeProfile == "OFFICER" ? "ตำแหน่งประเภท" : "กลุ่มงาน"
}}
{{
formData.posTypeName ? formData.posTypeName : "-"
@@ -187,9 +187,7 @@ onMounted(async () => {
{{
- store.typeProfile == "OFFICER"
- ? "ระดับตำแหน่ง"
- : "ระดับชั้นงาน"
+ store.typeProfile == "OFFICER" ? "ระดับ" : "ระดับชั้นงาน"
}}
{{
formData.posLevelName ? formData.posLevelName : "-"
diff --git a/src/modules/11_probation/views/main.vue b/src/modules/11_probation/views/main.vue
index 3cc14dc..c84c092 100644
--- a/src/modules/11_probation/views/main.vue
+++ b/src/modules/11_probation/views/main.vue
@@ -145,7 +145,7 @@ function getList(id: string) {
http
.get(config.API.probationMain(id))
.then((res) => {
- const data = res.data.data
+ const data = res.data.data;
rows.value = data;
})
.catch((e) => {})
@@ -168,7 +168,6 @@ function onDetail(id: string) {
}
onMounted(async () => {
-
await getMain();
});
@@ -292,7 +291,7 @@ onMounted(async () => {
dense
v-model="filter"
label="ค้นหา"
- :style="mode ? `max-width: 200px`:`max-width: 150px`"
+ :style="mode ? `max-width: 200px` : `max-width: 150px`"
>
{
-
+
{{ props.rowIndex + 1 }}
@@ -404,9 +407,9 @@ onMounted(async () => {
- ไม่พบข้อมูลตำแหน่ง/เงินเดือน
+ ไม่พบข้อมูล