From bca5207fa679e55dfd532d8db2f813059d553e3f Mon Sep 17 00:00:00 2001 From: seigo Date: Tue, 26 Mar 2024 01:55:34 +0000 Subject: [PATCH 1/6] =?UTF-8?q?fix:=20=E5=86=8D=E8=AA=AD=E3=81=BF=E8=BE=BC?= =?UTF-8?q?=E3=81=BF=E3=82=92=E6=B6=88=E3=81=97=E3=81=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/groups/_groupId/index.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pages/groups/_groupId/index.vue b/pages/groups/_groupId/index.vue index b118b8a..cef1832 100644 --- a/pages/groups/_groupId/index.vue +++ b/pages/groups/_groupId/index.vue @@ -149,10 +149,11 @@ >すると整理券を取得できます。 - +
Date: Tue, 26 Mar 2024 10:34:44 +0000 Subject: [PATCH 2/6] =?UTF-8?q?fix:=20/tickets=E3=81=A7API=E3=81=8B?= =?UTF-8?q?=E3=82=89=E6=83=85=E5=A0=B1=E3=82=92=E5=8F=96=E5=BE=97=E3=81=99?= =?UTF-8?q?=E3=82=8B=E3=81=AE=E3=82=92=E5=81=9C=E6=AD=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/groups/_groupId/index.vue | 13 ++----------- pages/tickets/index.vue | 3 +++ 2 files changed, 5 insertions(+), 11 deletions(-) diff --git a/pages/groups/_groupId/index.vue b/pages/groups/_groupId/index.vue index cef1832..8d4a7c3 100644 --- a/pages/groups/_groupId/index.vue +++ b/pages/groups/_groupId/index.vue @@ -518,17 +518,8 @@ export default Vue.extend({ }) } } - this.$axios - .$get( - '/ga/screenpageview?start_date=7daysAgo&end_date=today&page_path=' + - this.$route.path - ) - .then((res) => { - this.view_count = res.view - }) - .catch(() => { - this.view_count = 'エラー' - }) + + this.view_count = 'エラー' // 全ての公演(events)から,ログイン中のユーザ属性(e.g.students,parents)に合致する公演のみがfilteredEventsに格納される // '&& this.isToday(val.sell_starts, val.sell_ends, val.starts_at)'を付け加えれば,当日の整理券のみが表示されるようになる diff --git a/pages/tickets/index.vue b/pages/tickets/index.vue index c63b4a5..13e0527 100644 --- a/pages/tickets/index.vue +++ b/pages/tickets/index.vue @@ -423,6 +423,8 @@ export default Vue.extend({ title: '整理券', }, async created() { + // 静的サイトにするにあたって全て削除 + /* this.fetchTicket() try { if (this.$auth.$state.strategy === 'ad') { @@ -431,6 +433,7 @@ export default Vue.extend({ this.qrcodeUrl = await getQRCodeDataUrl(this.$auth.user?.sub as string) } } catch {} + */ // 500msごとに現在時刻を取得 // setInterval(this.getNow, 500) }, From 1de47d79fc31f0c8f886a987fc52e1fabba726de Mon Sep 17 00:00:00 2001 From: seigo Date: Tue, 26 Mar 2024 10:37:49 +0000 Subject: [PATCH 3/6] =?UTF-8?q?fix:=20linter=E3=81=AB=E5=BC=BE=E3=81=8B?= =?UTF-8?q?=E3=82=8C=E3=81=9F=E5=A0=B4=E6=89=80=E3=82=92=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/tickets/index.vue | 1 - 1 file changed, 1 deletion(-) diff --git a/pages/tickets/index.vue b/pages/tickets/index.vue index 13e0527..08484f5 100644 --- a/pages/tickets/index.vue +++ b/pages/tickets/index.vue @@ -354,7 +354,6 @@