From a5faf436a4de468463d715df29c150c2a6ff25fa Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Thu, 26 Oct 2023 13:47:42 +0700 Subject: [PATCH] =?UTF-8?q?format=20Date=20=E0=B9=80=E0=B8=A3=E0=B8=B7?= =?UTF-8?q?=E0=B9=88=E0=B8=AD=E0=B8=87=E0=B8=A3=E0=B9=89=E0=B8=AD=E0=B8=87?= =?UTF-8?q?=E0=B9=80=E0=B8=A3=E0=B8=B5=E0=B8=A2=E0=B8=99=E0=B9=81=E0=B8=A5?= =?UTF-8?q?=E0=B8=B0=E0=B8=A3=E0=B8=B2=E0=B8=A2=E0=B8=81=E0=B8=B2=E0=B8=A3?= =?UTF-8?q?=E0=B8=AD=E0=B8=AD=E0=B8=81=E0=B8=84=E0=B8=B3=E0=B8=AA=E0=B8=B1?= =?UTF-8?q?=E0=B9=88=E0=B8=87=E0=B8=A5=E0=B8=87=E0=B9=82=E0=B8=97=E0=B8=A9?= =?UTF-8?q?=E0=B8=97=E0=B8=B2=E0=B8=87=E0=B8=A7=E0=B8=B4=E0=B8=99=E0=B8=B1?= =?UTF-8?q?=E0=B8=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/1_Complaint/MainPage.vue | 12 ++++++------ .../components/4_Order/MainPage.vue | 10 +++++----- .../interface/response/complaint.ts | 16 +++++++++++++--- .../11_discipline/interface/response/order.ts | 14 ++++++++++++-- .../11_discipline/store/ComplaintsStore.ts | 12 ++++++++---- src/modules/11_discipline/store/OrderStore.ts | 17 ++++++++++------- 6 files changed, 54 insertions(+), 27 deletions(-) diff --git a/src/modules/11_discipline/components/1_Complaint/MainPage.vue b/src/modules/11_discipline/components/1_Complaint/MainPage.vue index 9413af425..32560b97d 100644 --- a/src/modules/11_discipline/components/1_Complaint/MainPage.vue +++ b/src/modules/11_discipline/components/1_Complaint/MainPage.vue @@ -29,18 +29,18 @@ async function fetchListComplaints() { detail: "มีข้อร้องเรียนเรื่องการทุจริตทางการเงิน", complainant: "นางศิรินภา คงน้อย", offenseDescription: "ร้ายแรง", - creationDate: "20 ก.พ. 2566", + creationDate: new Date("2023-12-01"), considerationLevel: "ด่วนมาก", - considerationDeadlineDate: "20 ก.พ. 2566", + considerationDeadlineDate: new Date("2023-12-02"), }, { subject: "ทุจริตในหน้าที่", detail: "มีข้อร้องเรียนเรื่องการทุจริตทางการเงิน", complainant: "นายแก้ว คำ", offenseDescription: "ร้ายแรง", - creationDate: "20 ก.พ. 2566", + creationDate: new Date("2023-12-01"), considerationLevel: "ด่วนมาก", - considerationDeadlineDate: "20 ก.พ. 2566", + considerationDeadlineDate: new Date("2023-12-02"), }, { subject: "ทุจริตในหน้าที่", @@ -48,9 +48,9 @@ async function fetchListComplaints() { "มีข้อร้องเรียนเรื่องการทุจริตทางการเงิน มีข้อร้องเรียนเรื่องการทุจริตทางการเงิน มีข้อร้องเรียนเรื่องการทุจริตทางการเงิน มีข้อร้องเรียนเรื่องการทุจริตทางการเงิน มีข้อร้องเรียนเรื่องการทุจริตทางการเงิน มีข้อร้องเรียนเรื่องการทุจริตทางการเงิน มีข้อร้องเรียนเรื่องการทุจริตทางการเงิน มีข้อร้องเรียนเรื่องการทุจริตทางการเงิน มีข้อร้องเรียนเรื่องการทุจริตทางการเงิน มีข้อร้องเรียนเรื่องการทุจริตทางการเงิน มีข้อร้องเรียนเรื่องการทุจริตทางการเงิน", complainant: "นายภัทรานุย คงนอย", offenseDescription: "ร้ายแรง", - creationDate: "20 ก.พ. 2566", + creationDate: new Date("2023-12-01"), considerationLevel: "ด่วนมาก", - considerationDeadlineDate: "20 ก.พ. 2566", + considerationDeadlineDate: new Date("2023-12-02"), }, ]; await fetchComplainst(listData); diff --git a/src/modules/11_discipline/components/4_Order/MainPage.vue b/src/modules/11_discipline/components/4_Order/MainPage.vue index 88d819187..59ac80fd3 100644 --- a/src/modules/11_discipline/components/4_Order/MainPage.vue +++ b/src/modules/11_discipline/components/4_Order/MainPage.vue @@ -1,7 +1,7 @@