Browse Source

Merge branch '0601Action' into test

lex-xin 4 years ago
parent
commit
709e9574c5
1 changed files with 14 additions and 0 deletions
  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) {