Browse Source

ross供应商机构二维码链接修改

yuwenjun1997 2 years ago
parent
commit
7e9b468e65
1 changed files with 8 additions and 0 deletions
  1. 8 0
      src/components/qrcode/club-qrcode.vue

+ 8 - 0
src/components/qrcode/club-qrcode.vue

@@ -65,6 +65,10 @@ export default {
     async initQrcode() {
       console.log(this.qrcodeData)
       this.qrcodePath = `${this.wwwServer}/${this.authUserId}/app/approve/club/detail?id=${this.qrcodeData.authId}`
+      if (this.authUserId === 12) {
+        this.qrcodePath = `${this.wwwServer}/${this.authUserId}/ross/approve/club/detail?id=${this.qrcodeData.authId}`
+      }
+      console.log(this.qrcodePath)
       // 二维码配置
       const options = {
         width: 192,
@@ -80,6 +84,10 @@ export default {
     // 生成下载的文件
     async createDownFile(callback) {
       this.qrcodePath = `${this.wwwServer}/${this.authUserId}/app/approve/club/detail?id=${this.qrcodeData.authId}`
+      if (this.authUserId === 12) {
+        this.qrcodePath = `${this.wwwServer}/${this.authUserId}/ross/approve/club/detail?id=${this.qrcodeData.authId}`
+      }
+      console.log(this.qrcodePath)
       const strHeader = this.name + '正品授权'
       const strFooter = this.qrcodeData.authParty
       // 生成二维码参数信息