Selaa lähdekoodia

添加连接按钮

lex-xin 4 vuotta sitten
vanhempi
commit
0cb914770f
1 muutettua tiedostoa jossa 14 lisäystä ja 0 poistoa
  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 type="primary" @click="onCreateQRCode('theory')"
           >乐理考级链接</el-button
           >乐理考级链接</el-button
         >
         >
+        <el-button type="primary" @click="onCreateQRCode('musicOut')"
+          >对外器乐考级报名链接</el-button
+        >
+        <el-button type="primary" @click="onCreateQRCode('theoryOut')"
+          >对外乐理考级链接</el-button
+        >
         <el-button
         <el-button
           type="primary"
           type="primary"
           @click="sendMsg"
           @click="sendMsg"
@@ -400,6 +406,14 @@ export default {
         this.codeTitle = "VIP课程链接";
         this.codeTitle = "VIP课程链接";
         this.qrCodeUrl = vaildStudentUrl() + "/#/childrenPayment";
         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;
       this.codeStatus = true;
     },
     },
     changeOrgan(val) {
     changeOrgan(val) {