diff --git a/src/api/07_insignia/api.insignia.ts b/src/api/07_insignia/api.insignia.ts index 4d996f36f..aa40e3a81 100644 --- a/src/api/07_insignia/api.insignia.ts +++ b/src/api/07_insignia/api.insignia.ts @@ -35,7 +35,8 @@ export default { insigniaSendToDirector: (roundId: string, ocId: string) => `${insignia}/request/officer/approve/${roundId}/${ocId}`, insigniaDirectorBackToEdit: (roundId: string, ocId: string) => `${insignia}/request/director/reject/${roundId}/${ocId}`, insigniaDirectorApproved: (roundId: string, ocId: string) => `${insignia}/request/director/approve/${roundId}/${ocId}`, - + insigniaRequestSendNote: (insigniaPeriodId: string) => `${insignia}/insignia/request/send/note/${insigniaPeriodId}`, + // uploadfile uploadfilereceice: (noteId: string) => `${insignia}/request/import/receice/${noteId}`, uploadfileinvoice: (noteId: string) => `${insignia}/request/import/invoice/${noteId}`, diff --git a/src/modules/07_insignia/components/1_Proposals/addProposals.vue b/src/modules/07_insignia/components/1_Proposals/addProposals.vue index 0f44d80e9..21c008961 100644 --- a/src/modules/07_insignia/components/1_Proposals/addProposals.vue +++ b/src/modules/07_insignia/components/1_Proposals/addProposals.vue @@ -1,20 +1,11 @@ - + @@ -125,45 +61,22 @@ {{ parseInt(value + 543) }} - - + + @@ -178,14 +91,8 @@
- +
@@ -278,9 +185,7 @@ const updateYear = async (e: number) => { const editData = async (id: string) => { const formData = new FormData(); - const name = `รอบการเสนอขอพระราชทานเครื่องราชรอบที่ ${ - roundInsig.value.value - } ปี ${yearly.value + 543} `; + const name = `รอบการเสนอขอพระราชทานเครื่องราชรอบที่ ${roundInsig.value.value} ปี ${yearly.value + 543}`; formData.append("name", name); formData.append("year", yearly.value.toString()); formData.append("amount", datelast.value.toString()); @@ -299,7 +204,7 @@ const editData = async (id: string) => { showLoader(); await http .put(config.API.editRoundInsignia(id), formData) - .then(async () => {}) + .then(async () => { }) .catch((e) => { messageError($q, e); }) @@ -352,9 +257,8 @@ const updateDateRange = () => { const addData = async () => { const formData = new FormData(); - const name = `รอบการเสนอขอพระราชทานเครื่องราชรอบที่ ${ - roundInsig.value.value - } ปี ${yearly.value + 543} `; + const name = `รอบการเสนอขอพระราชทานเครื่องราชรอบที่ ${roundInsig.value.value + } ปี ${yearly.value + 543} `; console.log(name); formData.append("name", name); formData.append("year", yearly.value.toString()); @@ -376,7 +280,7 @@ const addData = async () => { showLoader(); await http .post(config.API.listRoundInsignia(), formData) - .then(async (res) => {}) + .then(async (res) => { }) .catch((e) => { messageError($q, e); }) diff --git a/src/modules/07_insignia/components/2_Manage/Tab1.vue b/src/modules/07_insignia/components/2_Manage/Tab1.vue index 88b911d67..f8e181788 100644 --- a/src/modules/07_insignia/components/2_Manage/Tab1.vue +++ b/src/modules/07_insignia/components/2_Manage/Tab1.vue @@ -194,6 +194,9 @@ const props = defineProps({ roleUser: { type: String, }, + requestStatus: { + type: String, + } }); onMounted(async () => { @@ -522,113 +525,40 @@ const paginationLabel2 = (start: number, end: number, total: number) => {
- - + +
ดาวน์โหลด - + เพิ่ม
- + - +
- +
@@ -764,44 +645,21 @@ const paginationLabel2 = (start: number, end: number, total: number) => { เพิ่มรายชื่อ - +
- + - +
@@ -858,39 +703,18 @@ const paginationLabel2 = (start: number, end: number, total: number) => { - แก้ไขเครื่องราชฯ ที่ยื่นขอ + แก้ไขเครื่องราชฯ ที่ยื่นขอ - +
- +
+ - + @@ -338,6 +368,7 @@ const directorApproved = async () => { border: 1px solid #FFA800; border-radius: 5px; } + .filter-card { background-color: #f1f1f1b0; } diff --git a/src/modules/07_insignia/components/4_Allocate/listAllocate.vue b/src/modules/07_insignia/components/4_Allocate/listAllocate.vue index 096d7a4dd..32691aadd 100644 --- a/src/modules/07_insignia/components/4_Allocate/listAllocate.vue +++ b/src/modules/07_insignia/components/4_Allocate/listAllocate.vue @@ -349,7 +349,7 @@ const resetFilter = () => { > บันทึกผลการได้รับพระราชทานเครื่องราชย์อิสริยสภรณ์บันทึกผลการได้รับพระราชทานเครื่องราชอิสริยาภรณ์ @@ -530,7 +530,7 @@ const resetFilter = () => { > บันทึกผลการได้รับพระราชทานเครื่องราชย์อิสริยสภรณ์บันทึกผลการได้รับพระราชทานเครื่องราชอิสริยาภรณ์ @@ -662,7 +662,7 @@ const resetFilter = () => { > บันทึกผลการได้รับพระราชทานเครื่องราชย์อิสริยสภรณ์บันทึกผลการได้รับพระราชทานเครื่องราชอิสริยาภรณ์ diff --git a/src/modules/07_insignia/views/ResultPage.vue b/src/modules/07_insignia/views/ResultPage.vue index 3effceabe..3bf469189 100644 --- a/src/modules/07_insignia/views/ResultPage.vue +++ b/src/modules/07_insignia/views/ResultPage.vue @@ -331,7 +331,7 @@ const resetFilter = () => { อัพโหลดไฟล์บันทึกผลการได้รับพระราชทานเครื่องราชย์อิสริยสภรณ์อัพโหลดไฟล์บันทึกผลการได้รับพระราชทานเครื่องราชอิสริยาภรณ์
@@ -410,7 +410,7 @@ const resetFilter = () => { @click="uploadFile(fileResult, 'result')" > อัพโหลดไฟล์บันทึกผลการได้รับพระราชทานเครื่องราชย์อิสริยสภรณ์อัพโหลดไฟล์บันทึกผลการได้รับพระราชทานเครื่องราชอิสริยาภรณ์