|
|
@@ -1,11 +1,15 @@
|
|
|
<template>
|
|
|
<div>
|
|
|
+ <div v-if="drawPage.includes(role)" class="group-area mt-1">
|
|
|
+ <h3>抽獎功能</h3>
|
|
|
+ <hr>
|
|
|
+ </div>
|
|
|
<b-row class="match-height">
|
|
|
- <b-col v-if="checkinPage.includes(role)" md="6" :lg="lg">
|
|
|
+ <b-col v-if="drawPage.includes(role)" md="6" :lg="lg">
|
|
|
<b-card no-body border-variant="info" class="text-center">
|
|
|
<b-card-body>
|
|
|
<b-button variant="success"
|
|
|
- :to="{ name: 'checkin', params: { 'activity_id': this.$route.params.activity_id } }">報到頁面</b-button>
|
|
|
+ :to="{ name: 'draw', params: { 'activity_id': this.$route.params.activity_id } }">抽獎頁面</b-button>
|
|
|
</b-card-body>
|
|
|
</b-card>
|
|
|
</b-col>
|
|
|
@@ -13,7 +17,8 @@
|
|
|
<b-card no-body border-variant="info" class="text-center">
|
|
|
<b-card-body>
|
|
|
<b-button variant="success"
|
|
|
- :to="{ name: 'draw', params: { 'activity_id': this.$route.params.activity_id } }">抽獎頁面</b-button>
|
|
|
+ target="_blank"
|
|
|
+ :to="{ name: 'slot', params: { 'activity_id': this.$route.params.activity_id } }">大獎抽獎頁面</b-button>
|
|
|
</b-card-body>
|
|
|
</b-card>
|
|
|
</b-col>
|
|
|
@@ -22,25 +27,29 @@
|
|
|
<b-card-body>
|
|
|
<b-button variant="success"
|
|
|
target="_blank"
|
|
|
- :to="{ name: 'slot', params: { 'activity_id': this.$route.params.activity_id } }">大獎抽獎頁面</b-button>
|
|
|
+ :to="{ name: 'playPrizeList', params: { 'activity_id': this.$route.params.activity_id } }">中獎輪播名單</b-button>
|
|
|
</b-card-body>
|
|
|
</b-card>
|
|
|
</b-col>
|
|
|
-
|
|
|
- <b-col v-if="checkinPage.includes(role)" md="6" :lg="lg">
|
|
|
+ <b-col v-if="drawPage.includes(role)" md="6" :lg="lg">
|
|
|
<b-card no-body border-variant="info" class="text-center">
|
|
|
<b-card-body>
|
|
|
<b-button variant="success"
|
|
|
- :to="{ name: 'claim', params: { 'activity_id': this.$route.params.activity_id } }">兌獎頁面</b-button>
|
|
|
+ :to="{ name: 'prizeList', params: { 'activity_id': this.$route.params.activity_id } }">主持人中獎名單</b-button>
|
|
|
</b-card-body>
|
|
|
</b-card>
|
|
|
</b-col>
|
|
|
+ </b-row>
|
|
|
+ <div v-if="checkinPage.includes(role)" class="group-area mt-1">
|
|
|
+ <h3>報到功能</h3>
|
|
|
+ <hr>
|
|
|
+ </div>
|
|
|
+ <b-row class="match-height">
|
|
|
<b-col v-if="checkinPage.includes(role)" md="6" :lg="lg">
|
|
|
<b-card no-body border-variant="info" class="text-center">
|
|
|
<b-card-body>
|
|
|
<b-button variant="success"
|
|
|
- target="_blank"
|
|
|
- :to="{ name: 'playPrizeList', params: { 'activity_id': this.$route.params.activity_id } }">中獎輪播名單</b-button>
|
|
|
+ :to="{ name: 'checkin', params: { 'activity_id': this.$route.params.activity_id } }">報到頁面</b-button>
|
|
|
</b-card-body>
|
|
|
</b-card>
|
|
|
</b-col>
|
|
|
@@ -48,10 +57,16 @@
|
|
|
<b-card no-body border-variant="info" class="text-center">
|
|
|
<b-card-body>
|
|
|
<b-button variant="success"
|
|
|
- :to="{ name: 'prizeList', params: { 'activity_id': this.$route.params.activity_id } }">主持人中獎名單</b-button>
|
|
|
+ :to="{ name: 'claim', params: { 'activity_id': this.$route.params.activity_id } }">兌獎頁面</b-button>
|
|
|
</b-card-body>
|
|
|
</b-card>
|
|
|
</b-col>
|
|
|
+ </b-row>
|
|
|
+ <div v-if="checkinPage.includes(role)" class="group-area mt-1">
|
|
|
+ <h3>匯出功能</h3>
|
|
|
+ <hr>
|
|
|
+ </div>
|
|
|
+ <b-row class="match-height">
|
|
|
<b-col v-if="checkinPage.includes(role)" md="6" :lg="lg">
|
|
|
<b-card no-body border-variant="info" class="text-center">
|
|
|
<b-card-body>
|
|
|
@@ -68,15 +83,6 @@
|
|
|
</b-card-body>
|
|
|
</b-card>
|
|
|
</b-col>
|
|
|
- <b-col md="6" :lg="lg">
|
|
|
- <b-card no-body border-variant="info" class="text-center">
|
|
|
- <b-card-body>
|
|
|
- <b-button variant="success"
|
|
|
- :to="{ name: 'search', params: { 'activity_id': this.$route.params.activity_id } }">查詢個人資訊</b-button>
|
|
|
- </b-card-body>
|
|
|
- </b-card>
|
|
|
- </b-col>
|
|
|
-
|
|
|
</b-row>
|
|
|
<div v-if="canViewVerticalNavMenuLink({ route: 'slotManager' })" class="group-area mt-1">
|
|
|
<h3>管理功能</h3>
|
|
|
@@ -95,15 +101,23 @@
|
|
|
<b-card no-body border-variant="info" class="text-center">
|
|
|
<b-card-body>
|
|
|
<b-button variant="success"
|
|
|
- :to="{ name: 'randomTest', params: { 'activity_id': this.$route.params.activity_id } }">亂數分布測試</b-button>
|
|
|
+ :to="{ name: 'activityUpdate', params: { 'activity_id': this.$route.params.activity_id } }">編輯活動</b-button>
|
|
|
</b-card-body>
|
|
|
</b-card>
|
|
|
</b-col>
|
|
|
- <b-col v-if="drawPage.includes(role)" md="6" :lg="lg">
|
|
|
+ <b-col v-if="canViewVerticalNavMenuLink({ route: 'slotManager' })" md="6" :lg="lg">
|
|
|
<b-card no-body border-variant="info" class="text-center">
|
|
|
<b-card-body>
|
|
|
<b-button variant="success"
|
|
|
- :to="{ name: 'activityUpdate', params: { 'activity_id': this.$route.params.activity_id } }">編輯活動</b-button>
|
|
|
+ :to="{ name: 'search', params: { 'activity_id': this.$route.params.activity_id } }">查詢個人資訊</b-button>
|
|
|
+ </b-card-body>
|
|
|
+ </b-card>
|
|
|
+ </b-col>
|
|
|
+ <b-col v-if="canViewVerticalNavMenuLink({ route: 'slotManager' })" md="6" :lg="lg">
|
|
|
+ <b-card no-body border-variant="info" class="text-center">
|
|
|
+ <b-card-body>
|
|
|
+ <b-button variant="success"
|
|
|
+ :to="{ name: 'randomTest', params: { 'activity_id': this.$route.params.activity_id } }">亂數分布測試</b-button>
|
|
|
</b-card-body>
|
|
|
</b-card>
|
|
|
</b-col>
|