From 68ac03ffa53234234a8d96037d3e142c3005c534 Mon Sep 17 00:00:00 2001 From: waruneeauy Date: Thu, 13 Jun 2024 16:44:41 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B9=81=E0=B8=81=E0=B9=89=E0=B8=82=E0=B9=89?= =?UTF-8?q?=E0=B8=AD=E0=B8=84=E0=B8=A7=E0=B8=B2=E0=B8=A1=E0=B9=81=E0=B8=A5?= =?UTF-8?q?=E0=B8=B0=E0=B8=84=E0=B8=B3=E0=B8=9C=E0=B8=B4=E0=B8=94=E0=B8=97?= =?UTF-8?q?=E0=B8=B0=E0=B9=80=E0=B8=9A=E0=B8=B5=E0=B8=A2=E0=B8=99=E0=B8=9B?= =?UTF-8?q?=E0=B8=A3=E0=B8=B0=E0=B8=A7=E0=B8=B1=E0=B8=95=E0=B8=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/DialogAddData.vue | 10 +++++----- .../04_registryNew/components/TableView.vue | 19 +++++++++++++------ .../detail/GovernmentInformation/01_Info.vue | 6 +++--- .../detail/PersonalInformation/04_Family.vue | 19 ++++++++++--------- .../PersonalInformation/04_FamilyNew.vue | 10 +++++----- .../PersonalInformation/05_Education.vue | 4 ++-- .../Salary/01_PositionSalaryHistory.vue | 2 +- src/modules/04_registryNew/store.ts | 2 +- .../04_registryNew/views/detailView.vue | 6 +++--- src/modules/04_registryNew/views/list.vue | 8 ++++---- 10 files changed, 47 insertions(+), 39 deletions(-) diff --git a/src/modules/04_registryNew/components/DialogAddData.vue b/src/modules/04_registryNew/components/DialogAddData.vue index 7b91ec9ca..837224e5a 100644 --- a/src/modules/04_registryNew/components/DialogAddData.vue +++ b/src/modules/04_registryNew/components/DialogAddData.vue @@ -329,7 +329,7 @@ watch( bg-color="white" outlined v-model="formData.position" - label="ตำแหน่ง" + label="ตำแหน่งในสายงาน" dense lazy-rules borderless @@ -339,7 +339,7 @@ watch( diff --git a/src/modules/04_registryNew/components/TableView.vue b/src/modules/04_registryNew/components/TableView.vue index b8988c058..2bf0609fe 100644 --- a/src/modules/04_registryNew/components/TableView.vue +++ b/src/modules/04_registryNew/components/TableView.vue @@ -64,7 +64,7 @@ const columns = ref([ { name: "position", align: "left", - label: "ตำแหน่ง", + label: "ตำแหน่งในสายงาน", sortable: true, field: "position", headerStyle: "font-size: 14px", @@ -75,7 +75,7 @@ const columns = ref([ { name: "posPath", align: "left", - label: "ประเภทตำแหน่ง", + label: "ตำแหน่งประเภท", sortable: true, field: "posType", headerStyle: "font-size: 14px", @@ -86,7 +86,7 @@ const columns = ref([ { name: "posLevel", align: "left", - label: "ระดับตำแหน่ง", + label: "ระดับ", sortable: true, field: "posLevel", headerStyle: "font-size: 14px", @@ -295,6 +295,11 @@ watch( {{ empType === "officer" ? col.label : "กลุ่มงาน" }} + {{ empType === "officer" ? col.label : "ตำแหน่ง" }} {{ col.label }} @@ -375,7 +380,9 @@ watch( - ตำแหน่ง + {{ + empType === "officer" ? `ตำแหน่งในสายงาน` : `ตำแหน่ง` + }} @@ -390,7 +397,7 @@ watch( {{ - empType === "officer" ? "ประเภทตำแหน่ง" : "กลุ่มงาน" + empType === "officer" ? "ตำแหน่งประเภท" : "กลุ่มงาน" }} @@ -407,7 +414,7 @@ watch( {{ - empType === "officer" ? "ระดับตำแหน่ง" : "ระดับชั้นงาน" + empType === "officer" ? "ระดับ" : "ระดับชั้นงาน" }} 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 edb66ec3c..27cba1187 100644 --- a/src/modules/04_registryNew/components/detail/GovernmentInformation/01_Info.vue +++ b/src/modules/04_registryNew/components/detail/GovernmentInformation/01_Info.vue @@ -466,7 +466,7 @@ onMounted(() => {
-
ตำแหน่ง
+
{{ empType === "" ? `ตำแหน่งในสายงาน` : `ตำแหน่ง` }}
{{ formMain.positionId }}
@@ -504,7 +504,7 @@ onMounted(() => {
-
{{ empType === "" ? "ประเภทตำแหน่ง" : "กลุ่มงาน" }}
+
{{ empType === "" ? "ตำแหน่งประเภท" : "กลุ่มงาน" }}
{{ formMain.positionType }} @@ -512,7 +512,7 @@ onMounted(() => {
-
{{ empType === "" ? "ระดับตำแหน่ง" : "ระดับชั้นงาน" }}
+
{{ empType === "" ? "ระดับ" : "ระดับชั้นงาน" }}
{{ formMain.positionLevel }} 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 e300744fc..b6ffdadf5 100644 --- a/src/modules/04_registryNew/components/detail/PersonalInformation/04_Family.vue +++ b/src/modules/04_registryNew/components/detail/PersonalInformation/04_Family.vue @@ -216,7 +216,8 @@ async function addData() { const method = rows.value === null ? "post" : "patch"; await http[method](url, { - profileId: rows.value === null && empType.value === "" ? id.value : undefined, + profileId: + rows.value === null && empType.value === "" ? id.value : undefined, profileEmployeeId: empType.value !== "" ? id.value : undefined, motherLive: motherIsHaveInfo.value ? motherIsLive.value : null, motherCitizenId: motherIsHaveInfo.value ? motherDataEdit.citizenId : null, @@ -353,7 +354,7 @@ onMounted(async () => {
-
เลขประจำตัวประชาชนตัวประชาชน
+
เลขประจำตัวประชาชน
{{ fatherData.citizenId ? fatherData.citizenId : "-" }} @@ -397,7 +398,7 @@ onMounted(async () => {
-
เลขประจำตัวประชาชนตัวประชาชน
+
เลขประจำตัวประชาชน
{{ motherData.citizenId ? motherData.citizenId : "-" }} @@ -441,7 +442,7 @@ onMounted(async () => {
-
เลขประจำตัวประชาชนตัวประชาชน
+
เลขประจำตัวประชาชน
{{ spouseData.citizenId ? spouseData.citizenId : "-" }} @@ -493,7 +494,7 @@ onMounted(async () => {
-
เลขประจำตัวประชาชนตัวประชาชน
+
เลขประจำตัวประชาชน
{{ children.childrenCitizenId }} @@ -1156,7 +1157,7 @@ onMounted(async () => {
-
เลขประจำตัวประชาชนตัวประชาชน
+
เลขประจำตัวประชาชน
{{ historyRows[index - 1].fatherCitizenId }} @@ -1200,7 +1201,7 @@ onMounted(async () => {
-
เลขประจำตัวประชาชนตัวประชาชน
+
เลขประจำตัวประชาชน
{{ historyRows[index - 1].motherCitizenId }} @@ -1251,7 +1252,7 @@ onMounted(async () => { >
-
เลขประจำตัวประชาชนตัวประชาชน
+
เลขประจำตัวประชาชน
{{ historyRows[index - 1].coupleCitizenId }} @@ -1309,7 +1310,7 @@ onMounted(async () => {
-
เลขประจำตัวประชาชนตัวประชาชน
+
เลขประจำตัวประชาชน
{{ children.childrenCitizenId }} diff --git a/src/modules/04_registryNew/components/detail/PersonalInformation/04_FamilyNew.vue b/src/modules/04_registryNew/components/detail/PersonalInformation/04_FamilyNew.vue index 2b31a01f1..9ec4c28a1 100644 --- a/src/modules/04_registryNew/components/detail/PersonalInformation/04_FamilyNew.vue +++ b/src/modules/04_registryNew/components/detail/PersonalInformation/04_FamilyNew.vue @@ -46,7 +46,7 @@ const columns = ref([ { name: "citizenId", align: "left", - label: "เลขประจำตัวประชาชนตัวประชาชน", + label: "เลขประจำตัวประชาชน", sortable: true, field: "citizenId", headerStyle: "font-size: 14px", @@ -465,7 +465,7 @@ onMounted(() => {
-
เลขประจำตัวประชาชนตัวประชาชน
+
เลขประจำตัวประชาชน
{{ fatherData.citizenId ? fatherData.citizenId : "-" }} @@ -540,7 +540,7 @@ onMounted(() => {
-
เลขประจำตัวประชาชนตัวประชาชน
+
เลขประจำตัวประชาชน
{{ motherData.citizenId ? motherData.citizenId : "-" }} @@ -635,7 +635,7 @@ onMounted(() => {
-
เลขประจำตัวประชาชนตัวประชาชน
+
เลขประจำตัวประชาชน
{{ coupleData.citizenId ?? "-" }} @@ -738,7 +738,7 @@ onMounted(() => {
-
เลขประจำตัวประชาชนตัวประชาชน
+
เลขประจำตัวประชาชน
{{ item.childrenCitizenId }} diff --git a/src/modules/04_registryNew/components/detail/PersonalInformation/05_Education.vue b/src/modules/04_registryNew/components/detail/PersonalInformation/05_Education.vue index 20e886e3a..6b15106f0 100644 --- a/src/modules/04_registryNew/components/detail/PersonalInformation/05_Education.vue +++ b/src/modules/04_registryNew/components/detail/PersonalInformation/05_Education.vue @@ -29,7 +29,7 @@ const columns = ref([ { name: "educationLevel", align: "left", - label: "ระดับศึกษา", + label: "ระดับการศึกษา", sortable: true, field: "educationLevel", headerStyle: "font-size: 14px", @@ -202,7 +202,7 @@ const historyColumns = ref([ { name: "educationLevel", align: "left", - label: "ระดับศึกษา", + label: "ระดับการศึกษา", sortable: true, field: "educationLevel", headerStyle: "font-size: 14px", diff --git a/src/modules/04_registryNew/components/detail/Salary/01_PositionSalaryHistory.vue b/src/modules/04_registryNew/components/detail/Salary/01_PositionSalaryHistory.vue index 7fda9a7db..37521b40f 100644 --- a/src/modules/04_registryNew/components/detail/Salary/01_PositionSalaryHistory.vue +++ b/src/modules/04_registryNew/components/detail/Salary/01_PositionSalaryHistory.vue @@ -118,7 +118,7 @@ const columns = ref([ { name: "positionType", align: "left", - label: "ประเภทตำแหน่ง", + label: "ตำแหน่งประเภท", sortable: true, field: "positionType", headerStyle: "font-size: 14px", diff --git a/src/modules/04_registryNew/store.ts b/src/modules/04_registryNew/store.ts index 99bff104d..e4aea4edc 100644 --- a/src/modules/04_registryNew/store.ts +++ b/src/modules/04_registryNew/store.ts @@ -12,7 +12,7 @@ export const useRegistryNewDataStore = defineStore("registryNew", () => { { id: "fullName", name: "ชื่อ-นามสกุล" }, { id: "citizenId", name: "เลขประจำตัวประชาชน" }, // { id: "posNo", name: "ตำแหน่งเลขที่" }, - { id: "position", name: "ตำแหน่งสายงาน" }, + { id: "position", name: "ตำแหน่งในสายงาน" }, ]); const employeeClassOps = ref([ { id: "officer", name: "ข้าราชการ กทม.สามัญ" }, diff --git a/src/modules/04_registryNew/views/detailView.vue b/src/modules/04_registryNew/views/detailView.vue index 1461cecd1..54d657581 100644 --- a/src/modules/04_registryNew/views/detailView.vue +++ b/src/modules/04_registryNew/views/detailView.vue @@ -647,7 +647,7 @@ onMounted(async () => { icon="mdi-file-eye-outline" size="md" > - ดาวน์ไฟล์ + ดาวน์โหลดไฟล์ @@ -712,7 +712,7 @@ onMounted(async () => {
- {{ empType === "" ? "ประเภทตำแหน่ง" : "กลุ่มงาน" }} + {{ empType === "" ? "ตำแหน่งประเภท" : "กลุ่มงาน" }}
{{ formDetail?.posType?.posTypeName || "-" }} @@ -722,7 +722,7 @@ onMounted(async () => {
- {{ empType === "" ? "ระดับตำแหน่ง" : "ระดับชั้นงาน" }} + {{ empType === "" ? "ระดับ" : "ระดับชั้นงาน" }}
{{ formDetail?.posLevel?.posLevelName || "-" }} diff --git a/src/modules/04_registryNew/views/list.vue b/src/modules/04_registryNew/views/list.vue index 93d4f45c5..1cb04ef48 100644 --- a/src/modules/04_registryNew/views/list.vue +++ b/src/modules/04_registryNew/views/list.vue @@ -61,7 +61,7 @@ const conditionTotal = computed(() => { return num; }); -/** function เรียกข้อมูลประเภทตำแหน่ง*/ +/** function เรียกข้อมูลตำแหน่งประเภท*/ function fetchType() { http .get(config.API.orgPosType) @@ -73,7 +73,7 @@ function fetchType() { }); } -/** function เรียกข้อมูลระดับตำแหน่ง*/ +/** function เรียกข้อมูลระดับ*/ function fetchLevel() { http .get(config.API.orgPosLevel) @@ -396,7 +396,7 @@ onMounted(async () => { labelOption.posType !== "ทั้งหมด" ? labelOption.posType : empType === "officer" - ? `ประเภทตำแหน่ง${labelOption.posType}` + ? `ตำแหน่งประเภท${labelOption.posType}` : `กลุ่มงาน${labelOption.posType}` }} { labelOption.posLevel !== "ทั้งหมด" ? labelOption.posLevel : empType === "officer" - ? `ระดับตำแหน่ง${labelOption.posLevel}` + ? `ระดับ${labelOption.posLevel}` : `ระดับชั้นงาน${labelOption.posLevel}` }}