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