From 5ad71403354d5ce3944b183b52fbbca7fe6086f7 Mon Sep 17 00:00:00 2001 From: waruneeta Date: Wed, 8 Nov 2023 12:05:25 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B9=81=E0=B8=81=E0=B9=89=E0=B8=84=E0=B8=B3?= =?UTF-8?q?=E0=B9=83=E0=B8=99=E0=B9=80=E0=B8=84=E0=B8=A3=E0=B8=B7=E0=B9=88?= =?UTF-8?q?=E0=B8=AD=E0=B8=87=E0=B8=A3=E0=B8=B2=E0=B8=8A=E0=B8=88=E0=B8=B2?= =?UTF-8?q?=E0=B8=81=20=E0=B9=80=E0=B8=84=E0=B8=A3=E0=B8=B7=E0=B9=88?= =?UTF-8?q?=E0=B8=AD=E0=B8=87=E0=B8=A3=E0=B8=B2=E0=B8=8A=20=E0=B9=80?= =?UTF-8?q?=E0=B8=9B=E0=B9=87=E0=B8=99=20=E0=B9=80=E0=B8=84=E0=B8=A3?= =?UTF-8?q?=E0=B8=B7=E0=B9=88=E0=B8=AD=E0=B8=87=E0=B8=A3=E0=B8=B2=E0=B8=8A?= =?UTF-8?q?=E0=B8=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../07_insignia/components/1_Proposals/addProposals.vue | 8 ++++---- .../07_insignia/components/2_Manage/listManage.vue | 2 +- src/modules/07_insignia/components/4_Allocate/Main.vue | 2 +- src/modules/07_insignia/components/5_Borrow/Main.vue | 4 ++-- src/modules/07_insignia/views/ResultPage.vue | 2 +- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/modules/07_insignia/components/1_Proposals/addProposals.vue b/src/modules/07_insignia/components/1_Proposals/addProposals.vue index 699c0fd55..2d7becceb 100644 --- a/src/modules/07_insignia/components/1_Proposals/addProposals.vue +++ b/src/modules/07_insignia/components/1_Proposals/addProposals.vue @@ -31,8 +31,8 @@ const fileDocDataUpload = ref([]); const roundInsig = ref(); const datelast = ref(1); const options = ref([ - { label: "รอบการเสนอขอพระราชทานเครื่องราชรอบที่ 1", value: 1 }, - { label: "รอบการเสนอขอพระราชทานเครื่องราชรอบที่ 2", value: 2 }, + { label: "รอบการเสนอขอพระราชทานเครื่องราชฯ รอบที่ 1", value: 1 }, + { label: "รอบการเสนอขอพระราชทานเครื่องราชฯ รอบที่ 2", value: 2 }, ]); onMounted(async () => { @@ -115,7 +115,7 @@ const updateDateRange = () => { // เพิ่มข้อมูลรอบการเสนอขอพระราชทานเครื่องราชฯ const addData = async () => { const formData = new FormData(); - const name = `รอบการเสนอขอพระราชทานเครื่องราชรอบที่ ${ + const name = `รอบการเสนอขอพระราชทานเครื่องราชฯ รอบที่ ${ roundInsig.value.value } ปี ${yearly.value + 543} `; formData.append("name", name); @@ -145,7 +145,7 @@ const addData = async () => { // แก้ไขข้อมูล const editData = async (id: string) => { const formData = new FormData(); - const name = `รอบการเสนอขอพระราชทานเครื่องราชรอบที่ ${ + const name = `รอบการเสนอขอพระราชทานเครื่องราชฯ รอบที่ ${ roundInsig.value.value } ปี ${yearly.value + 543}`; formData.append("name", name); diff --git a/src/modules/07_insignia/components/2_Manage/listManage.vue b/src/modules/07_insignia/components/2_Manage/listManage.vue index 53f5223a0..73d6d816d 100644 --- a/src/modules/07_insignia/components/2_Manage/listManage.vue +++ b/src/modules/07_insignia/components/2_Manage/listManage.vue @@ -151,7 +151,7 @@ const changround = async () => { const roundFilter = await optionRound.value.find( (x: any) => round.value === x.id ); - roundName.value = `รอบการเสนอขอพระราชทานเครื่องราชปี ${ + roundName.value = `รอบการเสนอขอพระราชทานเครื่องราชฯ ปี ${ roundFilter.year + 543 }`; }; diff --git a/src/modules/07_insignia/components/4_Allocate/Main.vue b/src/modules/07_insignia/components/4_Allocate/Main.vue index 850424b48..4dd5284c9 100644 --- a/src/modules/07_insignia/components/4_Allocate/Main.vue +++ b/src/modules/07_insignia/components/4_Allocate/Main.vue @@ -56,7 +56,7 @@ const fecthRound = async () => { if (data.length !== 0) { selectRoundOption.value = data.map((e: any) => ({ id: e.id, - name: "รอบการเสนอขอพระราชทานเครื่องราชปี" + " " + (e.year + 543), + name: "รอบการเสนอขอพระราชทานเครื่องราชฯ ปี" + " " + (e.year + 543), year: e.year, })); if (DataStore.roundId && DataStore.roundYear) { diff --git a/src/modules/07_insignia/components/5_Borrow/Main.vue b/src/modules/07_insignia/components/5_Borrow/Main.vue index 55c0681b0..34168a796 100644 --- a/src/modules/07_insignia/components/5_Borrow/Main.vue +++ b/src/modules/07_insignia/components/5_Borrow/Main.vue @@ -51,12 +51,12 @@ const fecthRound = async () => { ]; data.map((e: any) => { selectRoundOption.value.push({ - name: "รอบการเสนอขอพระราชทานเครื่องราชปี" + " " + (e.year + 543), + name: "รอบการเสนอขอพระราชทานเครื่องราชฯ ปี" + " " + (e.year + 543), id: e.id, year: e.year, }); selectRoundAllOption.value.push({ - name: "รอบการเสนอขอพระราชทานเครื่องราชปี" + " " + (e.year + 543), + name: "รอบการเสนอขอพระราชทานเครื่องราชฯ ปี" + " " + (e.year + 543), id: e.id, year: e.year, }); diff --git a/src/modules/07_insignia/views/ResultPage.vue b/src/modules/07_insignia/views/ResultPage.vue index 2919db0b4..7b01537de 100644 --- a/src/modules/07_insignia/views/ResultPage.vue +++ b/src/modules/07_insignia/views/ResultPage.vue @@ -58,7 +58,7 @@ const fecthRound = async () => { let data = res.data.result; if (data.length !== 0) { selectRoundOption.value = data.map((e: any) => ({ - name: "รอบการเสนอขอพระราชทานเครื่องราชปี" + " " + (e.year + 543), + name: "รอบการเสนอขอพระราชทานเครื่องราชฯ ปี" + " " + (e.year + 543), id: e.id, })); selectRound.value = data[0].id;