From 4571b047ebbc33388415b8a32cb91237511d8305 Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Thu, 17 Aug 2023 15:27:51 +0700 Subject: [PATCH 1/6] =?UTF-8?q?ui=20=E0=B9=80=E0=B8=AB=E0=B8=A3=E0=B8=B5?= =?UTF-8?q?=E0=B8=A2=E0=B8=8D=E0=B8=88=E0=B8=B1=E0=B8=81=E0=B8=A3=E0=B8=9E?= =?UTF-8?q?=E0=B8=A3=E0=B8=A3=E0=B8=94=E0=B8=B4=E0=B8=A1=E0=B8=B2=E0=B8=A5?= =?UTF-8?q?=E0=B8=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../07_insignia/components/2_Manage/Tab2.vue | 3 +- .../09_coin/components/2_Manage/Main.vue | 154 ++++++ .../09_coin/components/2_Manage/StatCard.vue | 43 ++ .../09_coin/components/2_Manage/Tab1.vue | 465 ++++++++++++++++ .../09_coin/components/2_Manage/Tab2.vue | 340 ++++++++++++ .../09_coin/components/2_Manage/Tab3.vue | 339 ++++++++++++ .../09_coin/components/2_Manage/Tab4.vue | 315 +++++++++++ .../09_coin/components/3_Receive/Main.vue | 495 ++++++++++++++++++ .../09_coin/components/4_Payment/Main.vue | 298 +++++++++++ src/modules/09_coin/router.ts | 34 +- 10 files changed, 2484 insertions(+), 2 deletions(-) create mode 100644 src/modules/09_coin/components/2_Manage/Main.vue create mode 100644 src/modules/09_coin/components/2_Manage/StatCard.vue create mode 100644 src/modules/09_coin/components/2_Manage/Tab1.vue create mode 100644 src/modules/09_coin/components/2_Manage/Tab2.vue create mode 100644 src/modules/09_coin/components/2_Manage/Tab3.vue create mode 100644 src/modules/09_coin/components/2_Manage/Tab4.vue create mode 100644 src/modules/09_coin/components/3_Receive/Main.vue create mode 100644 src/modules/09_coin/components/4_Payment/Main.vue diff --git a/src/modules/07_insignia/components/2_Manage/Tab2.vue b/src/modules/07_insignia/components/2_Manage/Tab2.vue index 06e7fcf32..720d26b59 100644 --- a/src/modules/07_insignia/components/2_Manage/Tab2.vue +++ b/src/modules/07_insignia/components/2_Manage/Tab2.vue @@ -1,7 +1,8 @@ + + + + diff --git a/src/modules/09_coin/components/2_Manage/StatCard.vue b/src/modules/09_coin/components/2_Manage/StatCard.vue new file mode 100644 index 000000000..67ddb48bc --- /dev/null +++ b/src/modules/09_coin/components/2_Manage/StatCard.vue @@ -0,0 +1,43 @@ + + diff --git a/src/modules/09_coin/components/2_Manage/Tab1.vue b/src/modules/09_coin/components/2_Manage/Tab1.vue new file mode 100644 index 000000000..10d8a7f18 --- /dev/null +++ b/src/modules/09_coin/components/2_Manage/Tab1.vue @@ -0,0 +1,465 @@ + + diff --git a/src/modules/09_coin/components/2_Manage/Tab2.vue b/src/modules/09_coin/components/2_Manage/Tab2.vue new file mode 100644 index 000000000..720d26b59 --- /dev/null +++ b/src/modules/09_coin/components/2_Manage/Tab2.vue @@ -0,0 +1,340 @@ + + diff --git a/src/modules/09_coin/components/2_Manage/Tab3.vue b/src/modules/09_coin/components/2_Manage/Tab3.vue new file mode 100644 index 000000000..06e7fcf32 --- /dev/null +++ b/src/modules/09_coin/components/2_Manage/Tab3.vue @@ -0,0 +1,339 @@ + + diff --git a/src/modules/09_coin/components/2_Manage/Tab4.vue b/src/modules/09_coin/components/2_Manage/Tab4.vue new file mode 100644 index 000000000..079f68c1f --- /dev/null +++ b/src/modules/09_coin/components/2_Manage/Tab4.vue @@ -0,0 +1,315 @@ + + diff --git a/src/modules/09_coin/components/3_Receive/Main.vue b/src/modules/09_coin/components/3_Receive/Main.vue new file mode 100644 index 000000000..ed204cd62 --- /dev/null +++ b/src/modules/09_coin/components/3_Receive/Main.vue @@ -0,0 +1,495 @@ + + + + diff --git a/src/modules/09_coin/components/4_Payment/Main.vue b/src/modules/09_coin/components/4_Payment/Main.vue new file mode 100644 index 000000000..6069533aa --- /dev/null +++ b/src/modules/09_coin/components/4_Payment/Main.vue @@ -0,0 +1,298 @@ + + + + diff --git a/src/modules/09_coin/router.ts b/src/modules/09_coin/router.ts index ede52ede8..d2631a4ec 100644 --- a/src/modules/09_coin/router.ts +++ b/src/modules/09_coin/router.ts @@ -8,7 +8,9 @@ const coinProposals = () => import("@/modules/09_coin/components/1_Proposals/listProposals.vue"); const coinRoundAdd = () => import("@/modules/09_coin/components/1_Proposals/addProposals.vue"); - +const mainMange = () => import("@/modules/09_coin/components/2_Manage/Main.vue"); +const mainReceive = () => import("@/modules/09_coin/components/3_Receive/Main.vue"); +const mainPayment = () => import("@/modules/09_coin/components/4_Payment/Main.vue"); export default [ { path: "/coin", @@ -60,4 +62,34 @@ export default [ Role: "coin", }, }, + { + path: "/coin/manage", + name: "coinManage", + component: mainMange, + meta: { + Auth: true, + Key: [8.2], + Role: "coin", + }, + }, + { + path: "/coin/receive", + name: "coinReceive", + component: mainReceive, + meta: { + Auth: true, + Key: [8.2], + Role: "coin", + }, + }, + { + path: "/coin/payment", + name: "coinPayment", + component: mainPayment, + meta: { + Auth: true, + Key: [8.2], + Role: "coin", + }, + }, ]; From fb15b33c0bba1d17a1271345994ecc4a57725b0d Mon Sep 17 00:00:00 2001 From: waruneeta Date: Thu, 17 Aug 2023 15:34:39 +0700 Subject: [PATCH 2/6] =?UTF-8?q?fix=20text=20=E0=B8=A3=E0=B8=AD=E0=B8=9A?= =?UTF-8?q?=E0=B9=80=E0=B8=84=E0=B8=A3=E0=B8=B7=E0=B9=88=E0=B8=AD=E0=B8=87?= =?UTF-8?q?=E0=B8=A3=E0=B8=B2=E0=B8=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../07_insignia/components/1_Proposals/addProposals.vue | 4 ++-- src/modules/09_coin/components/1_Proposals/addProposals.vue | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/modules/07_insignia/components/1_Proposals/addProposals.vue b/src/modules/07_insignia/components/1_Proposals/addProposals.vue index bb59267c9..725b8ced2 100644 --- a/src/modules/07_insignia/components/1_Proposals/addProposals.vue +++ b/src/modules/07_insignia/components/1_Proposals/addProposals.vue @@ -217,8 +217,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 () => { await fetchData(); diff --git a/src/modules/09_coin/components/1_Proposals/addProposals.vue b/src/modules/09_coin/components/1_Proposals/addProposals.vue index c9fb7a7ca..76e0933af 100644 --- a/src/modules/09_coin/components/1_Proposals/addProposals.vue +++ b/src/modules/09_coin/components/1_Proposals/addProposals.vue @@ -217,8 +217,8 @@ const fileDocDataUpload = ref([]); const roundCoin = 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 () => { await fetchData(); From eb6b05d73861d007e5fa49ee66c88c69c78c5afd Mon Sep 17 00:00:00 2001 From: setthawutttty Date: Thu, 17 Aug 2023 15:51:08 +0700 Subject: [PATCH 3/6] =?UTF-8?q?UI=20=E0=B8=88=E0=B8=B1=E0=B8=94=E0=B8=AA?= =?UTF-8?q?=E0=B8=A3=E0=B8=A3=E0=B9=80=E0=B8=AB=E0=B8=A3=E0=B8=B5=E0=B8=A2?= =?UTF-8?q?=E0=B8=8D=E0=B8=95=E0=B8=A3=E0=B8=B2=20=E0=B8=A3=E0=B8=B2?= =?UTF-8?q?=E0=B8=A2=E0=B8=87=E0=B8=B2=E0=B8=99=20=E0=B8=A3=E0=B8=B2?= =?UTF-8?q?=E0=B8=A2=E0=B8=8A=E0=B8=B7=E0=B9=88=E0=B8=AD=E0=B8=97=E0=B8=B5?= =?UTF-8?q?=E0=B9=88=E0=B8=A2=E0=B8=B7=E0=B9=88=E0=B8=99=E0=B8=84=E0=B8=B3?= =?UTF-8?q?=E0=B8=A3=E0=B9=89=E0=B8=AD=E0=B8=87=E0=B8=82=E0=B8=AD=E0=B9=81?= =?UTF-8?q?=E0=B8=81=E0=B9=89=E0=B9=84=E0=B8=82=E0=B8=82=E0=B9=89=E0=B8=AD?= =?UTF-8?q?=E0=B8=A1=E0=B8=B9=E0=B8=A5=E0=B8=81=E0=B8=B2=E0=B8=A3=E0=B8=82?= =?UTF-8?q?=E0=B8=AD=E0=B8=9E=E0=B8=A3=E0=B8=B0=E0=B8=A3=E0=B8=B2=E0=B8=8A?= =?UTF-8?q?=E0=B8=97=E0=B8=B2=E0=B8=99=E0=B9=80=E0=B8=AB=E0=B8=A3=E0=B8=B5?= =?UTF-8?q?=E0=B8=A2=E0=B8=8D=E0=B8=88=E0=B8=B1=E0=B8=81=E0=B8=A3=E0=B8=9E?= =?UTF-8?q?=E0=B8=A3=E0=B8=A3=E0=B8=94=E0=B8=B4=E0=B8=A1=E0=B8=B2=E0=B8=A5?= =?UTF-8?q?=E0=B8=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/interface/request/main/main.ts | 10 +- .../CoinRequest/coinRequestMain.vue | 335 +++++++++ .../coinAllocate/coinAllocateAdd.vue | 78 ++ .../coinAllocate/coinAllocateDetail.vue | 419 +++++++++++ .../coinAllocate/coinAllocateDetailAdd.vue | 690 ++++++++++++++++++ .../coinAllocate/coinAllocateMain.vue | 363 +++++++++ .../coinReport/coinReportDetail.vue | 271 +++++++ .../components/coinReport/coinReportMain.vue | 38 + .../components/dialog/DialogHeader.vue | 28 + src/modules/09_coin/router.ts | 78 +- 10 files changed, 2304 insertions(+), 6 deletions(-) create mode 100644 src/modules/09_coin/components/CoinRequest/coinRequestMain.vue create mode 100644 src/modules/09_coin/components/coinAllocate/coinAllocateAdd.vue create mode 100644 src/modules/09_coin/components/coinAllocate/coinAllocateDetail.vue create mode 100644 src/modules/09_coin/components/coinAllocate/coinAllocateDetailAdd.vue create mode 100644 src/modules/09_coin/components/coinAllocate/coinAllocateMain.vue create mode 100644 src/modules/09_coin/components/coinReport/coinReportDetail.vue create mode 100644 src/modules/09_coin/components/coinReport/coinReportMain.vue create mode 100644 src/modules/09_coin/components/dialog/DialogHeader.vue diff --git a/src/interface/request/main/main.ts b/src/interface/request/main/main.ts index 6277348a8..b7d75e34f 100644 --- a/src/interface/request/main/main.ts +++ b/src/interface/request/main/main.ts @@ -395,11 +395,11 @@ const menuList = readonly([ path: "coinRequest", role: "coin", }, - { - label: "ประวัติการยื่นขอ", - path: "coinHistory", - role: "coin", - }, + // { + // label: "ประวัติการยื่นขอ", + // path: "coinHistory", + // role: "coin", + // }, { label: "จัดสรรเหรียญตรา", path: "coinAllocate", diff --git a/src/modules/09_coin/components/CoinRequest/coinRequestMain.vue b/src/modules/09_coin/components/CoinRequest/coinRequestMain.vue new file mode 100644 index 000000000..925ebdf02 --- /dev/null +++ b/src/modules/09_coin/components/CoinRequest/coinRequestMain.vue @@ -0,0 +1,335 @@ + + diff --git a/src/modules/09_coin/components/coinAllocate/coinAllocateAdd.vue b/src/modules/09_coin/components/coinAllocate/coinAllocateAdd.vue new file mode 100644 index 000000000..ea7e35e85 --- /dev/null +++ b/src/modules/09_coin/components/coinAllocate/coinAllocateAdd.vue @@ -0,0 +1,78 @@ + + + \ No newline at end of file diff --git a/src/modules/09_coin/components/coinAllocate/coinAllocateDetail.vue b/src/modules/09_coin/components/coinAllocate/coinAllocateDetail.vue new file mode 100644 index 000000000..b778cfbd5 --- /dev/null +++ b/src/modules/09_coin/components/coinAllocate/coinAllocateDetail.vue @@ -0,0 +1,419 @@ + + + + + diff --git a/src/modules/09_coin/components/coinAllocate/coinAllocateDetailAdd.vue b/src/modules/09_coin/components/coinAllocate/coinAllocateDetailAdd.vue new file mode 100644 index 000000000..e8c118990 --- /dev/null +++ b/src/modules/09_coin/components/coinAllocate/coinAllocateDetailAdd.vue @@ -0,0 +1,690 @@ + + + + + + \ No newline at end of file diff --git a/src/modules/09_coin/components/coinAllocate/coinAllocateMain.vue b/src/modules/09_coin/components/coinAllocate/coinAllocateMain.vue new file mode 100644 index 000000000..6b5536ebc --- /dev/null +++ b/src/modules/09_coin/components/coinAllocate/coinAllocateMain.vue @@ -0,0 +1,363 @@ + + + + + + + \ No newline at end of file diff --git a/src/modules/09_coin/components/coinReport/coinReportDetail.vue b/src/modules/09_coin/components/coinReport/coinReportDetail.vue new file mode 100644 index 000000000..790750219 --- /dev/null +++ b/src/modules/09_coin/components/coinReport/coinReportDetail.vue @@ -0,0 +1,271 @@ + + + + + diff --git a/src/modules/09_coin/components/coinReport/coinReportMain.vue b/src/modules/09_coin/components/coinReport/coinReportMain.vue new file mode 100644 index 000000000..7f460bec7 --- /dev/null +++ b/src/modules/09_coin/components/coinReport/coinReportMain.vue @@ -0,0 +1,38 @@ + + + + + diff --git a/src/modules/09_coin/components/dialog/DialogHeader.vue b/src/modules/09_coin/components/dialog/DialogHeader.vue new file mode 100644 index 000000000..eb1561f11 --- /dev/null +++ b/src/modules/09_coin/components/dialog/DialogHeader.vue @@ -0,0 +1,28 @@ + + + \ No newline at end of file diff --git a/src/modules/09_coin/router.ts b/src/modules/09_coin/router.ts index ede52ede8..6507166d6 100644 --- a/src/modules/09_coin/router.ts +++ b/src/modules/09_coin/router.ts @@ -8,7 +8,13 @@ const coinProposals = () => import("@/modules/09_coin/components/1_Proposals/listProposals.vue"); const coinRoundAdd = () => import("@/modules/09_coin/components/1_Proposals/addProposals.vue"); - +const coinRequestMain = () => import("@/modules/09_coin/components/CoinRequest/coinRequestMain.vue") +const coinAllocateMain = () => import("@/modules/09_coin/components/coinAllocate/coinAllocateMain.vue") +const coinAllocateAdd = () => import("@/modules/09_coin/components/coinAllocate/coinAllocateAdd.vue") +const coinAllocateDetail = () => import("@/modules/09_coin/components/coinAllocate/coinAllocateDetail.vue") +const coinAllocateDetailAdd = () => import("@/modules/09_coin/components/coinAllocate/coinAllocateDetailAdd.vue") +const coinReport = () => import("@/modules/09_coin/components/coinReport/coinReportMain.vue") +const coinReportDetail = () => import("@/modules/09_coin/components/coinReport/coinReportDetail.vue") export default [ { path: "/coin", @@ -60,4 +66,74 @@ export default [ Role: "coin", }, }, + { + path: "/coin/request", + name: "coinRequest", + component: coinRequestMain, + meta: { + Auth: true, + Key: [8.2], + Role: "coin", + }, + }, + { + path: "/coin/allocate/list-allocate", + name: "coinAllocate", + component: coinAllocateMain, + meta: { + Auth: true, + Key: [8.2], + Role: "coin", + }, + }, + { + path: "/coin/allocate/allocate-add", + name: "coinAllocate-Add", + component: coinAllocateAdd, + meta: { + Auth: true, + Key: [8.2], + Role: "coin", + }, + }, + { + path: "/coin/allocate/detail/:id", + name: "coinAllocate-detail", + component: coinAllocateDetail, + meta: { + Auth: true, + Key: [8.2], + Role: "coin", + }, + }, + { + path: "/coin/allocate/detail-add", + name: "coinAllocate-detailAdd", + component: coinAllocateDetailAdd, + meta: { + Auth: true, + Key: [8.2], + Role: "coin", + }, + }, + { + path: "/coin/coinReport", + name: "coinReport", + component: coinReport, + meta: { + Auth: true, + Key: [8.2], + Role: "coin", + }, + }, + { + path: "/coin/coinReport/detail", + name: "coinReportDetail", + component: coinReportDetail, + meta: { + Auth: true, + Key: [8.2], + Role: "coin", + }, + }, ]; From d3f8ce15ce009da8d4d3ed7cd255fe4c7db2bbcd Mon Sep 17 00:00:00 2001 From: waruneeta Date: Thu, 17 Aug 2023 15:58:10 +0700 Subject: [PATCH 4/6] =?UTF-8?q?=E0=B9=81=E0=B8=81=E0=B9=89=20label=20?= =?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?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/10_order/components/step/step01.vue | 4 ++-- src/modules/10_order/components/step/step04.vue | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/modules/10_order/components/step/step01.vue b/src/modules/10_order/components/step/step01.vue index 0307b4fd6..4005a2ba4 100644 --- a/src/modules/10_order/components/step/step01.vue +++ b/src/modules/10_order/components/step/step01.vue @@ -53,8 +53,8 @@