Kaynağa Gözat

添加连接按钮

lex-xin 4 yıl önce
ebeveyn
işleme
0cb914770f
1 değiştirilmiş dosya ile 14 ekleme ve 0 silme
  1. 14 0
      src/views/childrensDay/index.vue

+ 14 - 0
src/views/childrensDay/index.vue

@@ -82,6 +82,12 @@
         <el-button type="primary" @click="onCreateQRCode('theory')"
           >乐理考级链接</el-button
         >
+        <el-button type="primary" @click="onCreateQRCode('musicOut')"
+          >对外器乐考级报名链接</el-button
+        >
+        <el-button type="primary" @click="onCreateQRCode('theoryOut')"
+          >对外乐理考级链接</el-button
+        >
         <el-button
           type="primary"
           @click="sendMsg"
@@ -400,6 +406,14 @@ export default {
         this.codeTitle = "VIP课程链接";
         this.qrCodeUrl = vaildStudentUrl() + "/#/childrenPayment";
       }
+      if (status == "musicOut") {
+        this.codeTitle = "对外器乐考级报名链接";
+        this.qrCodeUrl = vaildStudentUrl() + "/#/childrenOut";
+      }
+      if (status == "theoryOut") {
+        this.codeTitle = "对外乐理考级链接";
+        this.qrCodeUrl = vaildStudentUrl() + "/#/childrenOut?dHlwZT0y";
+      }
       this.codeStatus = true;
     },
     changeOrgan(val) {