浏览代码

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

yuwenjun1997 2 年之前
父节点
当前提交
7e9b468e65
共有 1 个文件被更改,包括 8 次插入0 次删除
  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
       // 生成二维码参数信息