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-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", + }, + }, ];