diff --git a/src/modules/08_KPI/components/Tab/Dialog/DialogCommentProgress.vue b/src/modules/08_KPI/components/Tab/Dialog/DialogCommentProgress.vue index 2a0dfb6..4a4d0bd 100644 --- a/src/modules/08_KPI/components/Tab/Dialog/DialogCommentProgress.vue +++ b/src/modules/08_KPI/components/Tab/Dialog/DialogCommentProgress.vue @@ -257,10 +257,10 @@ watch(
{{ - type == "capacity" || type == "development" - ? "เหตุการณ์/พฤติกรรม" - : "ความก้าวหน้า" - }} + type == "capacity" || type == "development" + ? "เหตุการณ์/พฤติกรรม" + : "ความก้าวหน้า" + }}
@@ -350,157 +350,159 @@ watch( - - -
-
- ความคิดเห็นของผู้ประเมิน -
-
- + + +
+
+ ความคิดเห็นของผู้ประเมิน +
+
+ +
+ +
-
- -
- บันทึกความคิดเห็น + บันทึกความคิดเห็น +
-
- + - - -
-
- ความคิดเห็นของผู้บังคับบัญชาเหนือขึ้นไป -
-
- +
+
+ ความคิดเห็นของผู้บังคับบัญชาเหนือขึ้นไป +
+
+ +
+ +
-
- -
- บันทึกความคิดเห็น + บันทึกความคิดเห็น +
-
- + - -
-
- ความคิดเห็นของผู้บังคับบัญชาเหนือขึ้นไปอีกขั้นหนึ่ง -
-
- +
+
+ ความคิดเห็นของผู้บังคับบัญชาเหนือขึ้นไปอีกขั้นหนึ่ง +
+
+ +
+ +
-
- -
- บันทึกความคิดเห็น + บันทึกความคิดเห็น +
-
- + +
diff --git a/src/modules/08_KPI/components/Tab/Dialog/DialogGovernment.vue b/src/modules/08_KPI/components/Tab/Dialog/DialogGovernment.vue index 77ddb0d..d9e31ca 100644 --- a/src/modules/08_KPI/components/Tab/Dialog/DialogGovernment.vue +++ b/src/modules/08_KPI/components/Tab/Dialog/DialogGovernment.vue @@ -1,7 +1,7 @@ @@ -348,4 +347,4 @@ onMounted(() => { right: 5px; top: -20px; } - \ No newline at end of file + diff --git a/src/modules/10_registry/01_Information/03_Address.vue b/src/modules/10_registry/01_Information/03_Address.vue index f84a26f..7678f62 100644 --- a/src/modules/10_registry/01_Information/03_Address.vue +++ b/src/modules/10_registry/01_Information/03_Address.vue @@ -238,7 +238,10 @@ function getData() { /** get history */ function getHistory() { - const url = store.typeProfile == 'OFFICER' ? config.API.dataUserHistory(''):config.API.dataUserHistory('-employee') + const url = + store.typeProfile == "OFFICER" + ? config.API.dataUserHistory("") + : config.API.dataUserHistory("-employee"); showLoader(); http .get(url) @@ -263,10 +266,19 @@ onMounted(() => { ข้อมูลที่อยู่ - + ประวัติข้อมูลที่อยู่ +
diff --git a/src/modules/10_registry/01_Information/04_Family.vue b/src/modules/10_registry/01_Information/04_Family.vue index 039f01f..5242184 100644 --- a/src/modules/10_registry/01_Information/04_Family.vue +++ b/src/modules/10_registry/01_Information/04_Family.vue @@ -11,7 +11,7 @@ import config from "@/app.config"; import type { FormChildren } from "@/modules/10_registry/interface/index/Family"; import { useRegistryInFormationStore } from "@/modules/10_registry/store/registry"; -const idFamily = ref('') +const idFamily = ref(""); const store = useRegistryInFormationStore(); const rowsHistory = ref([]); const $q = useQuasar(); @@ -41,7 +41,7 @@ const fatherData = reactive({ firstName: "", lastName: "", job: "", - profileId:'' + profileId: "", }); const motherData = reactive({ isLive: null, @@ -50,7 +50,7 @@ const motherData = reactive({ firstName: "", lastName: "", job: "", - profileId:'' + profileId: "", }); const coupleData = reactive({ isLive: null, @@ -61,7 +61,7 @@ const coupleData = reactive({ job: "", lastNameOld: "", statusMarital: "", - profileId:'' + profileId: "", }); const childData = ref([]); @@ -79,7 +79,7 @@ const columnsHistory = ref([ { name: "citizenId", align: "left", - label: "เลขบัตรประจำตัวประชาชน", + label: "เลขประจำตัวประชาชน", sortable: true, field: "citizenId", headerStyle: "font-size: 14px", @@ -143,10 +143,10 @@ const columnsHistory = ref([ }, ]); -function onHistory(type: string,id:string) { +function onHistory(type: string, id: string) { modalHistory.value = true; typeForm.value = type; - idFamily.value = id ? id:'user' + idFamily.value = id ? id : "user"; } /** get data */ @@ -202,7 +202,14 @@ function getData(type: string) { /** get history */ function getHistory() { - const url = store.typeProfile == 'OFFICER' ? config.API.dataUserFamilyHistory(typeForm.value,'',idFamily.value):config.API.dataUserFamilyHistory(typeForm.value,'-employee',idFamily.value) + const url = + store.typeProfile == "OFFICER" + ? config.API.dataUserFamilyHistory(typeForm.value, "", idFamily.value) + : config.API.dataUserFamilyHistory( + typeForm.value, + "-employee", + idFamily.value + ); showLoader(); http @@ -216,7 +223,8 @@ function getHistory() { lastName: e[`${typeForm.value}LastName`], job: e[`${typeForm.value}Career`], isLive: e[`${typeForm.value}Live`], - lastNameOld: typeForm.value === "couple" ? e.coupleLastNameOld : undefined, + lastNameOld: + typeForm.value === "couple" ? e.coupleLastNameOld : undefined, })); }) .catch((e) => { @@ -242,8 +250,6 @@ onMounted(async () => { >
- -
@@ -256,7 +262,7 @@ onMounted(async () => { dense round size="14px" - @click="onHistory('father','')" + @click="onHistory('father', '')" > ประวัติการแก้ไขข้อมูลบิดา @@ -266,7 +272,7 @@ onMounted(async () => {
- เลขบัตรประจำตัวประชาชน + เลขประจำตัวประชาชน
{{ fatherData.citizenId ? fatherData.citizenId : "-" }} @@ -329,7 +335,7 @@ onMounted(async () => { dense round size="14px" - @click="onHistory('mother','')" + @click="onHistory('mother', '')" > ประวัติการแก้ไขข้อมูลมารดา @@ -339,7 +345,7 @@ onMounted(async () => {
- เลขบัตรประจำตัวประชาชน + เลขประจำตัวประชาชน
{{ motherData.citizenId ? motherData.citizenId : "-" }} @@ -405,7 +411,7 @@ onMounted(async () => { dense round size="14px" - @click="onHistory('couple','')" + @click="onHistory('couple', '')" > ประวัติการแก้ไขข้อมูลคู่สมรส @@ -418,12 +424,16 @@ onMounted(async () => { สถานภาพการสมรส
- {{ coupleData.statusMarital ? coupleData.statusMarital : "-" }} + {{ + coupleData.statusMarital + ? coupleData.statusMarital + : "-" + }}
- เลขบัตรประจำตัวประชาชน + เลขประจำตัวประชาชน
{{ coupleData.citizenId ? coupleData.citizenId : "-" }} @@ -448,7 +458,9 @@ onMounted(async () => { นามสกุลเดิม
- {{ coupleData.lastNameOld ? coupleData.lastNameOld : "-" }} + {{ + coupleData.lastNameOld ? coupleData.lastNameOld : "-" + }}
@@ -503,7 +515,7 @@ onMounted(async () => { dense round size="14px" - @click="onHistory('children',item.id)" + @click="onHistory('children', item.id)" > ประวัติการแก้ไขข้อมูลบุตร @@ -513,7 +525,7 @@ onMounted(async () => {
- เลขบัตรประจำตัวประชาชน + เลขประจำตัวประชาชน
{{ diff --git a/src/modules/10_registry/01_Information/05_Educations.vue b/src/modules/10_registry/01_Information/05_Educations.vue index 1aa163c..d334590 100644 --- a/src/modules/10_registry/01_Information/05_Educations.vue +++ b/src/modules/10_registry/01_Information/05_Educations.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([]); @@ -428,9 +428,9 @@ const visibleColumnsHistory = ref([ "lastUpdatedAt", ]); -function onHistory(id:string) { +function onHistory(id: string) { modalHistory.value = true; - idByRow.value = id + idByRow.value = id; } /** get data */ @@ -587,7 +587,6 @@ onMounted(() => { ประวัติแก้ไขประวัติการศึกษา - {{ col.label @@ -604,13 +603,12 @@ onMounted(() => {
-
{ top: -20px; } -.fix_top{ - justify-content: start!important; +.fix_top { + justify-content: start !important; } - \ No newline at end of file + diff --git a/src/modules/10_registry/01_Information/06_Ability.vue b/src/modules/10_registry/01_Information/06_Ability.vue index fe92a46..b2697ba 100644 --- a/src/modules/10_registry/01_Information/06_Ability.vue +++ b/src/modules/10_registry/01_Information/06_Ability.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([]); @@ -153,9 +153,9 @@ const columnsHistory = ref([ }, ]); -function onHistory(id:string) { +function onHistory(id: string) { modalHistory.value = true; - idByRow.value = id + idByRow.value = id; } /** get data */ @@ -329,10 +329,10 @@ onMounted(() => {
@@ -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`" >