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;