diff --git a/src/modules/04_registry/stores/salary.ts b/src/modules/04_registry/stores/salary.ts index 32be3b1c2..2804f75f5 100644 --- a/src/modules/04_registry/stores/salary.ts +++ b/src/modules/04_registry/stores/salary.ts @@ -107,21 +107,21 @@ export const useSalaryDataStore = defineStore("salary", () => { }, { id: 3, - name: "เลื่อนเงินเดือนตามคำสั่ง {หน่วยงาน/สำนัก} ที่ {เลขที่}/{ปีงบประมาณ} ลว. {วันที่ลงนาม}", + name: "เลื่อนขั้นเงินเดือนตามคำสั่ง {หน่วยงาน/สำนัก} ที่ {เลขที่}/{ปีงบประมาณ} ลว. {วันที่ลงนาม}", }, { id: 4, - name: "เลื่อนเงินขั้นเดือน คำสั่ง {หน่วยงาน/สำนัก} ที่ {เลขที่}/{ปีงบประมาณ} ลว. {วันที่ลงนาม}", + name: "เลื่อนขั้นเงินเดือน คำสั่ง {หน่วยงาน/สำนัก} ที่ {เลขที่}/{ปีงบประมาณ} ลว. {วันที่ลงนาม}", }, { id: 5, - name: "เลื่อนเงินขั้นเดือน (1 ขั้น) คำสั่ง {หน่วยงาน/สำนัก} ที่ {เลขที่}/{ปีงบประมาณ} ลว. {วันที่ลงนาม}", + name: "เลื่อนขั้นเงินเดือน (1 ขั้น) คำสั่ง {หน่วยงาน/สำนัก} ที่ {เลขที่}/{ปีงบประมาณ} ลว. {วันที่ลงนาม}", }, { id: 6, - name: "เลื่อนเงินขั้นเดือน (1.5 ขั้น) คำสั่ง {หน่วยงาน/สำนัก} ที่ {เลขที่}/{ปีงบประมาณ} ลว. {วันที่ลงนาม}", + name: "เลื่อนขั้นเงินเดือน (1.5 ขั้น) คำสั่ง {หน่วยงาน/สำนัก} ที่ {เลขที่}/{ปีงบประมาณ} ลว. {วันที่ลงนาม}", }, { id: 7, @@ -172,6 +172,10 @@ export const useSalaryDataStore = defineStore("salary", () => { id: 17, name: "แต่งตั้งข้าราชการให้ดำรงตำแหน่งตามคำสั่ง{หน่วยงาน/สำนัก} ที่ {เลขที่}/{ปีงบประมาณ} ลว. {วันที่ลงนาม}", }, + { + id: 18, + name: "ปรับอัตราเงินเดือนตามพระราชกฤษฎีกาการปรับอัตราเงินเดือนของข้าราชการ พ.ศ. (.............)", + }, ]); const optiontype = ref([ diff --git a/src/modules/05_placement/components/PersonalList/CardPosition.vue b/src/modules/05_placement/components/PersonalList/CardPosition.vue index f21cfa7af..29e399185 100644 --- a/src/modules/05_placement/components/PersonalList/CardPosition.vue +++ b/src/modules/05_placement/components/PersonalList/CardPosition.vue @@ -15,26 +15,18 @@ const positionId = defineModel("positionId", { required: true }); const seletcId = defineModel("seletcId", { required: true }); const date = defineModel("datePos", { required: true }); const positionData = defineModel("position", { required: true }); -// const props = defineProps({ -// position: { -// type: Array(), -// require: true, -// }, -// }); -// const positionId = ref(""); const filters = ref(""); const rowsPosition = ref([]); async function onClickSelectPos(id: string) { positionId.value = id; selected.value = []; - const position: DataPositionNo = positionData.value.find( (e: DataPositionNo) => e.id === id ); if (position) { - rowsPosition.value = await position.positions; + rowsPosition.value = position.positions; if (seletcId.value) { selected.value = rowsPosition.value.filter( (e) => e.id === seletcId.value @@ -200,10 +192,8 @@ onMounted(async () => { showLoader(); setTimeout(async () => { await onClickSelectPos(positionId.value); - await setTimeout(() => { - hideLoader(); - }, 500); - }, 500); + await hideLoader(); + }, 1000); } }); diff --git a/src/modules/05_placement/components/PersonalList/TablePosition.vue b/src/modules/05_placement/components/PersonalList/TablePosition.vue deleted file mode 100644 index e69de29bb..000000000