From 2f9a5954b4ea9c6a50962e0f2362d947dbb6a311 Mon Sep 17 00:00:00 2001 From: waruneeauy Date: Wed, 3 Apr 2024 17:34:53 +0700 Subject: [PATCH 1/6] =?UTF-8?q?fig=20bug=20=E0=B9=81=E0=B8=AA=E0=B8=94?= =?UTF-8?q?=E0=B8=87=E0=B9=80=E0=B8=A5=E0=B8=B7=E0=B9=88=E0=B8=AD=E0=B8=99?= =?UTF-8?q?=E0=B9=80=E0=B8=87=E0=B8=B4=E0=B8=99=E0=B9=80=E0=B8=94=E0=B8=B7?= =?UTF-8?q?=E0=B8=AD=E0=B8=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/SalaryEmployeeLists/TableTypeOther.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/modules/13_salary/components/SalaryEmployeeLists/TableTypeOther.vue b/src/modules/13_salary/components/SalaryEmployeeLists/TableTypeOther.vue index c8dac4995..202945bb8 100644 --- a/src/modules/13_salary/components/SalaryEmployeeLists/TableTypeOther.vue +++ b/src/modules/13_salary/components/SalaryEmployeeLists/TableTypeOther.vue @@ -383,7 +383,9 @@ watch(
{{ props.row.amountUse !== null - ? props.row.amountUse.toLocaleString() + ? props.row.amountUse > 0 + ? props.row.amountUse.toLocaleString() + : 0 : "" }} {{ From e022451d75bcab7a201a005ac45fdf454d4a9d4e Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Wed, 3 Apr 2024 17:51:00 +0700 Subject: [PATCH 2/6] =?UTF-8?q?=E0=B9=80=E0=B8=9E=E0=B8=B4=E0=B9=88?= =?UTF-8?q?=E0=B8=A1=E0=B9=82=E0=B8=84=E0=B8=A3=E0=B8=87=E0=B8=81=E0=B8=B2?= =?UTF-8?q?=E0=B8=A3/=E0=B8=AB=E0=B8=A5=E0=B8=B1=E0=B8=81=E0=B8=AA?= =?UTF-8?q?=E0=B8=B9=E0=B8=95=E0=B8=A3=E0=B8=81=E0=B8=B2=E0=B8=A3=E0=B8=9D?= =?UTF-8?q?=E0=B8=B6=E0=B8=81=E0=B8=AD=E0=B8=9A=E0=B8=A3=E0=B8=A1=20=3D>?= =?UTF-8?q?=20=E0=B8=82=E0=B9=89=E0=B8=AD=E0=B8=A1=E0=B8=B9=E0=B8=A5?= =?UTF-8?q?=E0=B9=80=E0=B8=9A=E0=B8=B7=E0=B9=89=E0=B8=AD=E0=B8=87=E0=B8=95?= =?UTF-8?q?=E0=B9=89=E0=B8=99,=E0=B9=80=E0=B8=9B=E0=B9=89=E0=B8=B2?= =?UTF-8?q?=E0=B8=AB=E0=B8=A1=E0=B8=B2=E0=B8=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/15_development/api.development.ts | 1 + .../15_development/components/BasicInfo.vue | 190 ++++++------ .../15_development/components/MainTab.vue | 109 ++++++- .../15_development/components/Target.vue | 285 ++++++++++++++---- .../15_development/interface/request/Main.ts | 75 ++++- .../15_development/store/developmentStore.ts | 93 +++++- src/modules/15_development/views/MainPage.vue | 8 +- .../15_development/views/Scholarship.vue | 2 - 8 files changed, 588 insertions(+), 175 deletions(-) diff --git a/src/api/15_development/api.development.ts b/src/api/15_development/api.development.ts index 619a66198..e0a8521fc 100644 --- a/src/api/15_development/api.development.ts +++ b/src/api/15_development/api.development.ts @@ -4,4 +4,5 @@ const development = `${env.API_URI}/development`; export default { /** รายการโครงการ*/ developmentMain: `${development}/main`, + developmentMainById: (id: string) => `${development}/main/${id}`, }; diff --git a/src/modules/15_development/components/BasicInfo.vue b/src/modules/15_development/components/BasicInfo.vue index 90d4dceeb..1da06b539 100644 --- a/src/modules/15_development/components/BasicInfo.vue +++ b/src/modules/15_development/components/BasicInfo.vue @@ -7,8 +7,10 @@ import type { FormBasicinfo } from "@/modules/15_development/interface/request/M import DialogSelectAgency from "@/modules/15_development/components/DialogSelectAgency.vue"; import { useCounterMixin } from "@/stores/mixin"; +import { useDevelopmentDataStore } from "@/modules/15_development/store/developmentStore"; const $q = useQuasar(); +const store = useDevelopmentDataStore(); const { showLoader, hideLoader, dialogConfirm } = useCounterMixin(); const formData = reactive({ @@ -19,14 +21,6 @@ const formData = reactive({ objective: "", }); -const options = ref([ - "สำนักงานคณะกรรมการข้าราชการกรุงเทพมหานครกองบริหารทั้วไป", - "สำนักงานคณะกรรมการข้าราชการกรุงเทพมหานคร", -]); -function onSubmit() { - dialogConfirm($q, () => {}); -} - const modalDialogSelect = ref(false); function selectAgency() { modalDialogSelect.value = true; @@ -34,111 +28,99 @@ function selectAgency() { function updateAgency(name: string) { formData.org = name; } - -onMounted(() => { - console.log("ข้อมูลเบื้องต้น"); -}); - + From ee4837d89b83faba651af7ad0cb3e2af695398ae Mon Sep 17 00:00:00 2001 From: waruneeauy Date: Thu, 4 Apr 2024 11:26:12 +0700 Subject: [PATCH 6/6] =?UTF-8?q?=E0=B9=81=E0=B8=81=E0=B9=89=E0=B8=8A?= =?UTF-8?q?=E0=B8=B7=E0=B9=88=E0=B8=AD=E0=B8=84=E0=B8=AD=E0=B8=A5=E0=B8=B1?= =?UTF-8?q?=E0=B8=A1=E0=B8=99=E0=B9=8C=E0=B8=97=E0=B8=B8=E0=B8=99=E0=B8=81?= =?UTF-8?q?=E0=B8=B2=E0=B8=A3=E0=B8=A8=E0=B8=B6=E0=B8=81=E0=B8=A9=E0=B8=B2?= =?UTF-8?q?/=E0=B8=9D=E0=B8=B6=E0=B8=81=E0=B8=AD=E0=B8=9A=E0=B8=A3?= =?UTF-8?q?=E0=B8=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/15_development/views/Scholarship.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/15_development/views/Scholarship.vue b/src/modules/15_development/views/Scholarship.vue index aabaf3588..5a1c9e11e 100644 --- a/src/modules/15_development/views/Scholarship.vue +++ b/src/modules/15_development/views/Scholarship.vue @@ -45,7 +45,7 @@ const columns = ref([ { name: "type", align: "left", - label: "ประเภท", + label: "ประเภทตำแหน่ง", sortable: true, field: "type", headerStyle: "font-size: 14px", @@ -54,7 +54,7 @@ const columns = ref([ { name: "level", align: "left", - label: "ระดับ", + label: "ระดับตำแหน่ง", sortable: true, field: "level", headerStyle: "font-size: 14px",