From 1349c8c5e0d9999e55e05a4b52af59aee8317c1f Mon Sep 17 00:00:00 2001 From: fengachen <373943794@qq.com> Date: Tue, 12 Oct 2021 13:40:10 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=9A=E8=AE=AE=E7=AD=BE=E5=88=B0=E4=BA=8C?= =?UTF-8?q?=E7=BB=B4=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/api_address_config.js | 2 ++ src/views/incomePayments/meetManage/Attendance.vue | 6 +++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/public/api_address_config.js b/public/api_address_config.js index ed45df9..b269fdd 100644 --- a/public/api_address_config.js +++ b/public/api_address_config.js @@ -13,4 +13,6 @@ window._CONFIG["onlinePreviewDomainURL"] = "http://localhost:8012/onlinePreview" // 会议管理报名二维码地址 window._CONFIG['singUpQRCodeURL'] = 'http://localhost:3000/signUpEntrance' +// 签到二维码url +window._CONFIG['signInUrl'] = '/meeting/payMeetingSituation/getSignInPage' diff --git a/src/views/incomePayments/meetManage/Attendance.vue b/src/views/incomePayments/meetManage/Attendance.vue index 55a5c11..9c95365 100644 --- a/src/views/incomePayments/meetManage/Attendance.vue +++ b/src/views/incomePayments/meetManage/Attendance.vue @@ -574,7 +574,7 @@ export default { // 生成会议报名二维码 this.signUpQRCode = await this.generateQRCode(this.signUpHerfUrl) // 生成签到二维码 - this.signInQRCode = await this.generateQRCode('https://www.baidu.com') + this.signInQRCode = await this.generateQRCode(this.signInUrl) }, computed: { // 标协会议类型 @@ -601,6 +601,10 @@ export default { // 报名链接 signUpHerfUrl() { return `${window._CONFIG['singUpQRCodeURL']}?id=${this.$route.query.id}` + }, + // 签到地址 + signInUrl() { + return `${window._CONFIG['signInUrl']}?id=${this.$route.query.id}` } }, methods: {