From 2249097b075e216901f7c9a51c73385b52cec324 Mon Sep 17 00:00:00 2001 From: Kittapath Date: Mon, 10 Jul 2023 10:10:46 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B8=A3=E0=B8=A7=E0=B8=A1=E0=B9=84=E0=B8=9F?= =?UTF-8?q?=E0=B8=A5=E0=B9=8C=E0=B9=81=E0=B8=81=E0=B9=89=E0=B8=87=E0=B8=B2?= =?UTF-8?q?=E0=B8=99=E0=B8=87=E0=B8=A7=E0=B8=942?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/02_organizational/api.treelist.ts | 8 + src/api/manage/api.person.ts | 3 +- src/api/manage/api.positionEmployee.ts | 1 - src/assets/structChartData.ts | 511 +-- src/components/TableHistory.vue | 5 + src/interface/request/main/main.ts | 26 +- src/interface/request/manage/prefix.ts | 2 +- src/interface/response/manage/prefix.ts | 2 +- .../components/organization/Organization.vue | 2 +- .../components/organization/ShortName.vue | 16 +- .../components/organization/TelExternal.vue | 10 +- .../components/organization/TelInternal.vue | 10 +- .../01_metadata/components/person/Prefix.vue | 8 +- src/modules/01_metadata/views/Main.vue | 34 +- .../components/DialogFooter.vue | 20 +- .../components/Tree/MappingPositions.vue | 60 +- .../interface/response/Mapping.ts | 3 +- .../02_organizational/views/MainReport.vue | 357 +- .../02_organizational/views/MainTree.vue | 3033 +++++++++-------- .../02_organizational/views/ManageReport2.vue | 17 +- .../views/ManageReport2Add.vue | 64 +- .../views/ManageReport2History.vue | 6 +- .../02_organizational/views/Report.vue | 222 +- .../03_recruiting/components/DialogFooter.vue | 19 +- .../03_recruiting/components/ExamFinished.vue | 16 + .../03_recruiting/components/Family.vue | 13 +- .../03_recruiting/components/Information.vue | 4 +- .../03_recruiting/components/Occupation.vue | 4 +- .../03_recruiting/components/Table.vue | 376 +- .../components/TableCandidate.vue | 3 +- .../03_recruiting/views/01_compete/Detail.vue | 100 +- .../views/01_compete/DetailEx.vue | 63 +- .../03_recruiting/views/01_compete/Period.vue | 1275 +++---- .../views/01_compete/PeriodAdd.vue | 2009 ++++++----- .../views/01_compete/PeriodStat.vue | 2 +- .../views/02_qualify/DisableDetail.vue | 6 +- .../views/02_qualify/DisableDetailEx.vue | 74 +- .../views/02_qualify/DisablePeriod.vue | 1268 +++---- .../views/02_qualify/DisablePeriodAdd.vue | 13 +- .../03_recruiting/views/02_qualify/Manage.vue | 2 +- .../03_recruiting/views/02_qualify/Period.vue | 627 ++-- .../views/02_qualify/PeriodAdd.vue | 189 +- .../views/02_qualify/manageDetail.vue | 20 +- .../03_recruiting/views/03_editor/index.vue | 47 +- .../04_registry/components/Assessment.vue | 106 +- src/modules/04_registry/components/Coin.vue | 250 +- .../04_registry/components/DialogFooter.vue | 77 +- .../04_registry/components/Discipline.vue | 194 +- .../04_registry/components/Document.vue | 100 +- .../04_registry/components/Education.vue | 565 +-- .../components/Information/Address.vue | 155 +- .../components/Information/Certicate.vue | 98 +- .../components/Information/Family.vue | 662 +++- .../components/Information/Government.vue | 42 +- .../components/Information/Information.vue | 256 +- .../components/Information/OldName.vue | 158 +- .../components/Information/top.vue | 7 +- .../04_registry/components/Insignia.vue | 274 +- src/modules/04_registry/components/Leave.vue | 227 +- src/modules/04_registry/components/Other.vue | 82 +- .../04_registry/components/Profile.vue | 118 +- src/modules/04_registry/components/Record.vue | 242 +- src/modules/04_registry/components/Salary.vue | 99 +- .../04_registry/components/SalaryEmployee.vue | 891 +++-- .../components/SalaryEmployeeTemp.vue | 2087 ++++++++++++ .../04_registry/components/TableProfile.vue | 20 +- src/modules/04_registry/components/Talent.vue | 264 +- src/modules/04_registry/components/Train.vue | 114 +- src/modules/04_registry/components/Work.vue | 245 +- .../04_registry/components/profileType.ts | 14 +- .../04_registry/interface/request/Coin.ts | 2 + .../interface/request/Discipline.ts | 3 +- .../interface/request/Education.ts | 5 +- .../04_registry/interface/request/Insignia.ts | 2 + .../04_registry/interface/request/Record.ts | 2 + .../04_registry/interface/request/Salary.ts | 6 +- .../04_registry/interface/request/Talent.ts | 2 - .../04_registry/interface/request/Work.ts | 2 + .../04_registry/interface/response/Coin.ts | 2 + .../interface/response/Discipline.ts | 1 + .../interface/response/Education.ts | 5 +- .../04_registry/interface/response/Family.ts | 14 + .../interface/response/Insignia.ts | 2 + .../04_registry/interface/response/Record.ts | 2 + .../04_registry/interface/response/Salary.ts | 6 +- .../04_registry/interface/response/Talent.ts | 2 - .../04_registry/interface/response/Work.ts | 2 + src/modules/04_registry/views/Main.vue | 347 +- src/stores/mixin.ts | 31 + 89 files changed, 11287 insertions(+), 7048 deletions(-) create mode 100644 src/modules/04_registry/components/SalaryEmployeeTemp.vue diff --git a/src/api/02_organizational/api.treelist.ts b/src/api/02_organizational/api.treelist.ts index 46dac9e6b..40285ee7a 100644 --- a/src/api/02_organizational/api.treelist.ts +++ b/src/api/02_organizational/api.treelist.ts @@ -35,6 +35,9 @@ export default { getTreeRoot: `${organizationPath}treeroot`, getDraftTreeRoot: `${organizationPath}history/treeroot`, getTreeHistory: `${organizationPath}publish-history`, + + getPublishFileHistory: `${organizationPath}publish-file`, + getTreeNode: (organizationId: string, keyId: string) => `${organizationPath}tree?organizationId=${organizationId}&keyId=${keyId}`, getDraftTreeNode: (organizationId: string, keyId: string) => @@ -79,4 +82,9 @@ export default { `${postionMasterPath}/position-number/${id}`, getPositionNumberIdByOcId: (OcId: string) => `${postionMasterPath}/position-number/Oc/${OcId}`, + + + /** + * api ประวัติการ publish + */ }; diff --git a/src/api/manage/api.person.ts b/src/api/manage/api.person.ts index cdc0c73bd..962cc5575 100644 --- a/src/api/manage/api.person.ts +++ b/src/api/manage/api.person.ts @@ -29,7 +29,6 @@ export default { /** * api เขต */ - district, listDistrict: (id: string) => `${district}${id}`, listDistrictHistory: `${district}history`, listDistrictHistoryId: (id: string | string[]) => `${district}history/${id}`, @@ -54,7 +53,7 @@ export default { `${subDistrict}history/published-history/${id}`, /** - * api คำนำหน้า + * api คำนำหน้าชื่อ */ prefix, listPrefixHistory: `${prefix}history`, diff --git a/src/api/manage/api.positionEmployee.ts b/src/api/manage/api.positionEmployee.ts index 240d943cd..abd2be21b 100644 --- a/src/api/manage/api.positionEmployee.ts +++ b/src/api/manage/api.positionEmployee.ts @@ -64,7 +64,6 @@ export default { /** * api สถานะของตำแหน่ง */ - positionEmployeeStatus, listPositionEmployeeStatusHistory: `${positionEmployeeStatus}history`, listPositionEmployeeStatusHistoryId: (id: string) => `${positionEmployeeStatus}history/${id}`, diff --git a/src/assets/structChartData.ts b/src/assets/structChartData.ts index bac5fe2ff..1277ee406 100644 --- a/src/assets/structChartData.ts +++ b/src/assets/structChartData.ts @@ -10,263 +10,266 @@ * - offcier : เป็น Array ของ Object ที่เก็บตำแหน่งระดับเจ้าหน้าที่ * - children : เป็น Array ของหน่วยงานย่อย ซึ่ง Root ของ children ต้องเป็น Object ของหน่วยงานเสมอ * - Object ส่วนที่เป็นตำแหน่งประกอบด้วย - * - positionID : Unique ID ของประเภทตำแหน่งนั้น เงื่อนไขเหมือน deptID + * - positionID : Unique ID ของตำแหน่งประเภทนั้น เงื่อนไขเหมือน deptID * - positionName : ชื่อตำแหน่ง * - positionNum : เลขที่ประจำตำแหน่ง เช่น กทข. * - totalPositionCount : จำนวนตำแหน่งทั้งหมด * - totalPositionVacant : จำนวนตำแหน่งว่างทั้งหมด */ -const chartData = { // root ของข้อมูลเป็น Object (ไม่ใช่ Array แบบ TreeList) - deptID: 1, // Unique ID ของสำนัก/ฝ่าย/กอง (ถ้ามี?) - departmentName: "สำนักงานเลขานุการผู้ว่าราชการกรุงเทพมหานคร", // ชื่อสำนัก/ฝ่าย/กอง - totalPositionCount: 75, // จำนวนตำแหน่งทั้งหมดในหน่วยงาน - totalPositionVacant: 2, // จำนวนตำแหน่งว่างทั้งหมดในหน่วยงาน - heads: [ // Array ของผู้บริหารในหน่วยงานนั้น ๆ (ผู้อำนวยการ/หัวหน้า) - { - positionID: 2, // Unique ID ของประเภทตำแหน่งนั้น (ถ้ามี?) - positionName: "ผู้อำนวยการสูง", // ชื่อตำแหน่ง - positionNum: "(หัวหน้าสำนักงาน)", // เลขที่ประจำตำแหน่ง (ถ้ามี) เช่นพวก กทข. - totalPositionCount: 1, // จำนวนตำแหน่งทั้งหมด - totalPositionVacant: 0 // จำนวนตำแหน่งว่างทั้งหมด - } - ], - officer: [ // Array ของเจ้าหน้าที่ในหน่วยงาน (รายการตำแหน่งในหน่วยงานที่ขึ้นตรงกับ deptID นั้น ๆ) - ], - children: [ // Array ของหน่วยงานย่อย เช่น ฝ่าย กอง - { // โครงสร้างที่เหลือจะเหมือนกับส่วน Root ทุกอย่าง คือแต่ละหน่วยงานย่อย มี heads ไว้ระบุหัวหน้า ผู้อำนวยการ มี Officer ไว้ระบุรายการตำแหน่งในหน่วยงาน มี Children ไว้ระบุหน่วยงานย่อย - deptID: 3, - departmentName: "ฝ่ายบริหารทั่วไป", - totalPositionCount: 14, - totalPositionVacant: 0, - heads: [ - { - positionID: 2, - positionName: "นักจัดการงานทั่วไป", - positionNum: "ชพ. (หัวหน้าฝ่าย)", - totalPositionCount: 1, - totalPositionVacant: 0 - } - ], - officer: [ - { - positionID: 3, - positionName: "นักจัดการงานทั่วไป", - positionNum: "ปก./ชก", - totalPositionCount: 1, - totalPositionVacant: 0 - }, - { - positionID: 4, - positionName: "นักทรัพยากรบุคคล", - positionNum: "ปก./ชก.", - totalPositionCount: 1, - totalPositionVacnt: 0 - }, - { - positionID: 5, - positionName: "นักวิชาการเงินและบัญชี", - positionNum: "ปก./ชก.", - totalPositionCount: 2, - totalPositionVacnt: 0 - }, - { - positionID: 6, - positionName: "นักวิชาการพัสดุ", - positionNum: "ปก./ชก.", - totalPositionCount: 1, - totalPositionVacnt: 0 - }, - { - positionID: 7, - positionName: "เจ้าพนักงานการเงินและบัญชี", - positionNum: "ปง./ชง.", - totalPositionCount: 3, - totalPositionVacnt: 0 - }, - { - positionID: 8, - positionName: "เจ้าพนักงานพัสดุ", - positionNum: "ปง./ชง.", - totalPositionCount: 1, - totalPositionVacnt: 0 - }, - { - positionID: 9, - positionName: "เจ้าพนักงานธุรการ", - positionNum: "ปง./ชง.", - totalPositionCount: 4, - totalPositionVacnt: 0 - } - ] - }, - { - deptID: 4, - departmentName: "ส่วนประสานนโยบาย", - totalPositionCount: 15, - totalPositionVacant: 0, - heads: [ - { - positionID: 10, - positionName: "ผู้อำนวยการต้น", - positionNum: "(ผู้อำนวยการส่วน)", - totalPositionCount: 1, - totalPositionVacant: 0, - } - ], - children: [ - { - deptID: 11, - departmentName: "กลุ่มงานประชุม", - totalPositionCount: 6, - totalPositionVacant: 0, - heads: [ - { - positionID: 11, - positionName: "นักจัดการงานทั่วไป", - positionNum: "ชพ. (หัวหน้ากลุ่มงาน)", - totalPositionCount: 1, - totalPositionVacant: 0, - } - ], - officer: [ - { - positionID: 12, - positionName: "นักจัดการงานทั่วไป", - positionNum: "ปก./ชก.", - totalPositionCount: 4, - totalPositionVacant: 0 - }, - { - positionID: 13, - positionName: "เจ้าพนักงานธุรการ", - positionNum: "ปง./ชง.", - totalPositionCount: 1, - totalPositionVacant: 0 - } - ] - }, - { - deptID: 12, - departmentName: "กลุ่มงานการเมืองและประสานนโยบาย", - totalPositionCount: 8, - totalPositionVacant: 0, - heads: [ - { - positionID: 14, - positionName: "นักจัดการงานทั่วไป", - positionNum: "ชพ. (หัวหน้ากลุ่มงาน)", - totalPositionCount: 1, - totalPositionVacant: 0, - } - ], - officer: [ - { - positionID: 15, - positionName: "นักจัดการงานทั่วไป", - positionNum: "ปก./ชก.", - totalPositionCount: 4, - totalPositionVacant: 0 - }, - { - positionID: 16, - positionName: "เจ้าพนักงานสถิติ", - positionNum: "ปง./ชง.", - totalPositionCount: 1, - totalPositionVacant: 0 - }, - { - positionID: 17, - positionName: "เจ้าพนักงานธุรการ", - positionNum: "ปง./ชง.", - totalPositionCount: 2, - totalPositionVacant: 0 - } - ] - } +const chartData = { + // root ของข้อมูลเป็น Object (ไม่ใช่ Array แบบ TreeList) + deptID: 1, // Unique ID ของสำนัก/ฝ่าย/กอง (ถ้ามี?) + departmentName: "สำนักงานเลขานุการผู้ว่าราชการกรุงเทพมหานคร", // ชื่อสำนัก/ฝ่าย/กอง + totalPositionCount: 75, // จำนวนตำแหน่งทั้งหมดในหน่วยงาน + totalPositionVacant: 2, // จำนวนตำแหน่งว่างทั้งหมดในหน่วยงาน + heads: [ + // Array ของผู้บริหารในหน่วยงานนั้น ๆ (ผู้อำนวยการ/หัวหน้า) + { + positionID: 2, // Unique ID ของตำแหน่งประเภทนั้น (ถ้ามี?) + positionName: "ผู้อำนวยการสูง", // ชื่อตำแหน่ง + positionNum: "(หัวหน้าสำนักงาน)", // เลขที่ประจำตำแหน่ง (ถ้ามี) เช่นพวก กทข. + totalPositionCount: 1, // จำนวนตำแหน่งทั้งหมด + totalPositionVacant: 0, // จำนวนตำแหน่งว่างทั้งหมด + }, + ], + officer: [ + // Array ของเจ้าหน้าที่ในหน่วยงาน (รายการตำแหน่งในหน่วยงานที่ขึ้นตรงกับ deptID นั้น ๆ) + ], + children: [ + // Array ของหน่วยงานย่อย เช่น ฝ่าย กอง + { + // โครงสร้างที่เหลือจะเหมือนกับส่วน Root ทุกอย่าง คือแต่ละหน่วยงานย่อย มี heads ไว้ระบุหัวหน้า ผู้อำนวยการ มี Officer ไว้ระบุรายการตำแหน่งในหน่วยงาน มี Children ไว้ระบุหน่วยงานย่อย + deptID: 3, + departmentName: "ฝ่ายบริหารทั่วไป", + totalPositionCount: 14, + totalPositionVacant: 0, + heads: [ + { + positionID: 2, + positionName: "นักจัดการงานทั่วไป", + positionNum: "ชพ. (หัวหน้าฝ่าย)", + totalPositionCount: 1, + totalPositionVacant: 0, + }, + ], + officer: [ + { + positionID: 3, + positionName: "นักจัดการงานทั่วไป", + positionNum: "ปก./ชก", + totalPositionCount: 1, + totalPositionVacant: 0, + }, + { + positionID: 4, + positionName: "นักทรัพยากรบุคคล", + positionNum: "ปก./ชก.", + totalPositionCount: 1, + totalPositionVacnt: 0, + }, + { + positionID: 5, + positionName: "นักวิชาการเงินและบัญชี", + positionNum: "ปก./ชก.", + totalPositionCount: 2, + totalPositionVacnt: 0, + }, + { + positionID: 6, + positionName: "นักวิชาการพัสดุ", + positionNum: "ปก./ชก.", + totalPositionCount: 1, + totalPositionVacnt: 0, + }, + { + positionID: 7, + positionName: "เจ้าพนักงานการเงินและบัญชี", + positionNum: "ปง./ชง.", + totalPositionCount: 3, + totalPositionVacnt: 0, + }, + { + positionID: 8, + positionName: "เจ้าพนักงานพัสดุ", + positionNum: "ปง./ชง.", + totalPositionCount: 1, + totalPositionVacnt: 0, + }, + { + positionID: 9, + positionName: "เจ้าพนักงานธุรการ", + positionNum: "ปง./ชง.", + totalPositionCount: 4, + totalPositionVacnt: 0, + }, + ], + }, + { + deptID: 4, + departmentName: "ส่วนประสานนโยบาย", + totalPositionCount: 15, + totalPositionVacant: 0, + heads: [ + { + positionID: 10, + positionName: "ผู้อำนวยการต้น", + positionNum: "(ผู้อำนวยการส่วน)", + totalPositionCount: 1, + totalPositionVacant: 0, + }, + ], + children: [ + { + deptID: 11, + departmentName: "กลุ่มงานประชุม", + totalPositionCount: 6, + totalPositionVacant: 0, + heads: [ + { + positionID: 11, + positionName: "นักจัดการงานทั่วไป", + positionNum: "ชพ. (หัวหน้ากลุ่มงาน)", + totalPositionCount: 1, + totalPositionVacant: 0, + }, + ], + officer: [ + { + positionID: 12, + positionName: "นักจัดการงานทั่วไป", + positionNum: "ปก./ชก.", + totalPositionCount: 4, + totalPositionVacant: 0, + }, + { + positionID: 13, + positionName: "เจ้าพนักงานธุรการ", + positionNum: "ปง./ชง.", + totalPositionCount: 1, + totalPositionVacant: 0, + }, + ], + }, + { + deptID: 12, + departmentName: "กลุ่มงานการเมืองและประสานนโยบาย", + totalPositionCount: 8, + totalPositionVacant: 0, + heads: [ + { + positionID: 14, + positionName: "นักจัดการงานทั่วไป", + positionNum: "ชพ. (หัวหน้ากลุ่มงาน)", + totalPositionCount: 1, + totalPositionVacant: 0, + }, + ], + officer: [ + { + positionID: 15, + positionName: "นักจัดการงานทั่วไป", + positionNum: "ปก./ชก.", + totalPositionCount: 4, + totalPositionVacant: 0, + }, + { + positionID: 16, + positionName: "เจ้าพนักงานสถิติ", + positionNum: "ปง./ชง.", + totalPositionCount: 1, + totalPositionVacant: 0, + }, + { + positionID: 17, + positionName: "เจ้าพนักงานธุรการ", + positionNum: "ปง./ชง.", + totalPositionCount: 2, + totalPositionVacant: 0, + }, + ], + }, + ], + }, + { + deptID: 14, + departmentName: "ส่วนเรื่องราวร้องทุกข์", + totalPositionCount: 15, + totalPositionVacant: 0, + heads: [ + { + positionID: 18, + positionName: "ผู้อำนวยการต้น", + positionNum: "(ผู้อำนวยการส่วน)", + totalPositionCount: 1, + totalPositionVacant: 0, + }, + ], + children: [ + { + deptID: 15, + departmentName: "กลุ่มงานรับเรื่องราวร้องทุกข์", + totalPositionCount: 7, + totalPositionVacant: 0, + heads: [ + { + positionID: 19, + positionName: "นักจัดการงานทั่วไป", + positionNum: "ชพ. (หัวหน้ากลุ่มงาน)", + totalPositionCount: 1, + totalPositionVacant: 0, + }, + ], + officer: [ + { + positionID: 20, + positionName: "นักจัดการงานทั่วไป", + positionNum: "ปก./ชก.", + totalPositionCount: 4, + totalPositionVacant: 0, + }, + { + positionID: 21, + positionName: "เจ้าพนักงานธุรการ", + positionNum: "ปง./ชง.", + totalPositionCount: 2, + totalPositionVacant: 0, + }, + ], + }, + { + deptID: 16, + departmentName: "กลุ่มงานตรวจสอบ ติดตามและประมวลผล", + totalPositionCount: 7, + totalPositionVacant: 0, + heads: [ + { + positionID: 22, + positionName: "นักจัดการงานทั่วไป", + positionNum: "ชพ. (หัวหน้ากลุ่มงาน)", + totalPositionCount: 1, + totalPositionVacant: 0, + }, + ], + officer: [ + { + positionID: 23, + positionName: "นักจัดการงานทั่วไป", + positionNum: "ปก./ชก.", + totalPositionCount: 4, + totalPositionVacant: 0, + }, + { + positionID: 24, + positionName: "เจ้าพนักงานธุรการ", + positionNum: "ปง./ชง.", + totalPositionCount: 2, + totalPositionVacant: 0, + }, + ], + }, + ], + }, + ], +}; - ] - }, - { - deptID: 14, - departmentName: "ส่วนเรื่องราวร้องทุกข์", - totalPositionCount: 15, - totalPositionVacant: 0, - heads: [ - { - positionID: 18, - positionName: "ผู้อำนวยการต้น", - positionNum: "(ผู้อำนวยการส่วน)", - totalPositionCount: 1, - totalPositionVacant: 0 - } - ], - children: [ - { - deptID: 15, - departmentName: "กลุ่มงานรับเรื่องราวร้องทุกข์", - totalPositionCount: 7, - totalPositionVacant: 0, - heads: [ - { - positionID: 19, - positionName: "นักจัดการงานทั่วไป", - positionNum: "ชพ. (หัวหน้ากลุ่มงาน)", - totalPositionCount: 1, - totalPositionVacant: 0 - } - ], - officer: [ - { - positionID: 20, - positionName: "นักจัดการงานทั่วไป", - positionNum: "ปก./ชก.", - totalPositionCount: 4, - totalPositionVacant: 0 - }, - { - positionID: 21, - positionName: "เจ้าพนักงานธุรการ", - positionNum: "ปง./ชง.", - totalPositionCount: 2, - totalPositionVacant: 0 - } - ] - }, - { - deptID: 16, - departmentName: "กลุ่มงานตรวจสอบ ติดตามและประมวลผล", - totalPositionCount: 7, - totalPositionVacant: 0, - heads: [ - { - positionID: 22, - positionName: "นักจัดการงานทั่วไป", - positionNum: "ชพ. (หัวหน้ากลุ่มงาน)", - totalPositionCount: 1, - totalPositionVacant: 0 - } - ], - officer: [ - { - positionID: 23, - positionName: "นักจัดการงานทั่วไป", - positionNum: "ปก./ชก.", - totalPositionCount: 4, - totalPositionVacant: 0 - }, - { - positionID: 24, - positionName: "เจ้าพนักงานธุรการ", - positionNum: "ปง./ชง.", - totalPositionCount: 2, - totalPositionVacant: 0 - } - ] - } - - ] - } - ] -} - -export default chartData \ No newline at end of file +export default chartData; diff --git a/src/components/TableHistory.vue b/src/components/TableHistory.vue index ad631ec58..eddd27bfd 100644 --- a/src/components/TableHistory.vue +++ b/src/components/TableHistory.vue @@ -97,6 +97,7 @@ {{ col.label }} + @@ -156,6 +157,10 @@ const props = defineProps({ type: Boolean, defualt: false, }, + history: { + type: Boolean, + defualt: false, + }, // optionsHistory: Array, // updateHistory: { // type: Function, diff --git a/src/interface/request/main/main.ts b/src/interface/request/main/main.ts index 377179b8d..4a463859c 100644 --- a/src/interface/request/main/main.ts +++ b/src/interface/request/main/main.ts @@ -127,12 +127,12 @@ const menuList = readonly([ role: "recruit", children: [ { - label: "จัดการข้อมูลผู้สมัครสอบ" /* แข่งขัน */, + label: "จัดการรอบสอบแข่งขัน" /* แข่งขัน */, path: "competePeriod", role: "recruit", }, { - label: "ข้อมูลสถิติการสมัครสอบ" /* แข่งขัน */, + label: "สถิติสมัครสอบแข่งขัน" /* แข่งขัน */, path: "competePeriodStat", role: "recruit", }, @@ -233,6 +233,26 @@ const tabList = readonly([ label: "ข้อมูลทั่วไป", tag: "information", }, + { + key: 19, + label: "ประวัติการเปลี่ยนชื่อ", + tag: "oldName", + }, + { + key: 16, + label: "ข้อมูลราชการ", + tag: "government", + }, + { + key: 17, + label: "ข้อมูลที่อยู่", + tag: "address", + }, + { + key: 18, + label: "ข้อมูลครอบครัว", + tag: "family", + }, { key: 15, label: "ใบอนุญาตประกอบอาชีพ", @@ -265,7 +285,7 @@ const tabList = readonly([ }, { key: 7, - label: "ตำแหน่ง/เงินเดือน", + label: "ตำแหน่ง/เงินเดือน/ค่าจ้าง", tag: "position", }, { diff --git a/src/interface/request/manage/prefix.ts b/src/interface/request/manage/prefix.ts index 26fa74e2e..b73cdfbc5 100644 --- a/src/interface/request/manage/prefix.ts +++ b/src/interface/request/manage/prefix.ts @@ -12,7 +12,7 @@ interface ResultHistoryObject { version: String; } -//ข้อมูล คำนำหน้า +//ข้อมูล คำนำหน้าชื่อ interface RequestPrefixHistoryObject { createdAt?: Date; createdFullName: String; diff --git a/src/interface/response/manage/prefix.ts b/src/interface/response/manage/prefix.ts index ac28ca790..a4a8f99ac 100644 --- a/src/interface/response/manage/prefix.ts +++ b/src/interface/response/manage/prefix.ts @@ -1,4 +1,4 @@ -//ข้อมูล คำนำหน้า +//ข้อมูล คำนำหน้าชื่อ interface ResponsePrefixHistoryObject { createdAt?: Date; createdFullName: String; diff --git a/src/modules/01_metadata/components/organization/Organization.vue b/src/modules/01_metadata/components/organization/Organization.vue index 4f6d1a7b2..4e5b34c58 100644 --- a/src/modules/01_metadata/components/organization/Organization.vue +++ b/src/modules/01_metadata/components/organization/Organization.vue @@ -221,7 +221,7 @@ const { manageData, changeManageColumns, getOrganization, dataOrganization } = const rows = ref([]); //list data table const rowsHistory = ref([]); //select data history const rawHistory = ref([]); //raw data history -const tittleHistory = ref("ประวัติแก้ไขชื่อหน่วยงาน"); // +const tittleHistory = ref("ประวัติแก้ไขชื่อหน่วยงาน/ส่วนราชการ"); // const myForm = ref(null); //ref สำหรับเช็คข้อมูลว่ามีช่องว่างไหม const filter = ref(""); //search data table const filterHistory = ref(""); //search data table history diff --git a/src/modules/01_metadata/components/organization/ShortName.vue b/src/modules/01_metadata/components/organization/ShortName.vue index d93096222..10d6ade7a 100644 --- a/src/modules/01_metadata/components/organization/ShortName.vue +++ b/src/modules/01_metadata/components/organization/ShortName.vue @@ -266,7 +266,7 @@ const { const rows = ref([]); //list data table const rowsHistory = ref([]); //select data history const rawHistory = ref([]); //raw data history -const tittleHistory = ref("ประวัติแก้ไขชื่อหน่วยงาน"); // +const tittleHistory = ref("ประวัติแก้ไขตัวย่อหน่วยงาน/ส่วนราชการ"); // const myForm = ref(null); //ref สำหรับเช็คข้อมูลว่ามีช่องว่างไหม const filter = ref(""); //search data table const filterHistory = ref(""); //search data table history @@ -282,7 +282,7 @@ const columns = ref([ { name: "agencyCode", align: "left", - label: "รหัสหน่วยงาน", + label: "หน่วยงานต้นสังกัด", sortable: true, field: "agencyCode", headerStyle: "font-size: 14px", @@ -293,7 +293,7 @@ const columns = ref([ { name: "governmentCode", align: "left", - label: "รหัสส่วนราชการ", + label: "ส่วนราชการต้นสังกัด", sortable: true, field: "governmentCode", headerStyle: "font-size: 14px", @@ -304,7 +304,7 @@ const columns = ref([ { name: "name", align: "left", - label: "ตัวย่อหน่วยงาน", + label: "ตัวย่อหน่วยงาน/ส่วนราชการ", sortable: true, field: "name", headerStyle: "font-size: 14px", @@ -387,7 +387,7 @@ const columnsHistory = ref([ { name: "agencyCode", align: "left", - label: "รหัสหน่วยงาน", + label: "หน่วยงานต้นสังกัด", sortable: true, field: "agencyCode", headerStyle: "font-size: 14px", @@ -398,7 +398,7 @@ const columnsHistory = ref([ { name: "governmentCode", align: "left", - label: "รหัสส่วนราชการ", + label: "ส่วนราชการต้นสังกัด", sortable: true, field: "governmentCode", headerStyle: "font-size: 14px", @@ -409,7 +409,7 @@ const columnsHistory = ref([ { name: "name", align: "left", - label: "ตัวย่อหน่วยงาน", + label: "ตัวย่อหน่วยงาน/ส่วนราชการ", sortable: true, field: "name", headerStyle: "font-size: 14px", @@ -691,7 +691,7 @@ const save = async (publish: boolean) => { /** * เช็ครหัสซ้ำกับข้อมูลที่มีอยู่แล้ว - * @param val input รหัสส่วนราชการ + * @param val input ส่วนราชการต้นสังกัด */ const checkDupDataGovernmentCode = (gCode: string, aCode: string) => { if (gCode == null || gCode == "") return true; diff --git a/src/modules/01_metadata/components/organization/TelExternal.vue b/src/modules/01_metadata/components/organization/TelExternal.vue index 5eb7278ba..677bc905a 100644 --- a/src/modules/01_metadata/components/organization/TelExternal.vue +++ b/src/modules/01_metadata/components/organization/TelExternal.vue @@ -1,4 +1,4 @@ - +