|  | @@ -58,10 +58,10 @@
 | 
	
		
			
				|  |  |              延长报名
 | 
	
		
			
				|  |  |            </div>
 | 
	
		
			
				|  |  |            <div class="newBand" @click="onCreateQRCode('payment')"   v-show="
 | 
	
		
			
				|  |  | -              status == 'PAY' ||
 | 
	
		
			
				|  |  | +              (status == 'PAY' ||
 | 
	
		
			
				|  |  |                status == 'APPLY' ||
 | 
	
		
			
				|  |  |                status == 'PROGRESS' ||
 | 
	
		
			
				|  |  | -              status == 'PREPARE'
 | 
	
		
			
				|  |  | +              status == 'PREPARE')&&ischeckCanReg
 | 
	
		
			
				|  |  |              ">报名链接</div>
 | 
	
		
			
				|  |  |            <div class="newBand" @click="onCreateQRCode('detail')">缴费详情</div>
 | 
	
		
			
				|  |  |            <div
 | 
	
	
		
			
				|  | @@ -86,7 +86,12 @@
 | 
	
		
			
				|  |  |              class="newBand"
 | 
	
		
			
				|  |  |              v-permission="'musicGroup/addMusicGroupRegs'"
 | 
	
		
			
				|  |  |              @click="mergeVisible = true"
 | 
	
		
			
				|  |  | -            v-show="status == 'PAY' || status == 'APPLY'"
 | 
	
		
			
				|  |  | +             v-show="
 | 
	
		
			
				|  |  | +              (status == 'PAY' ||
 | 
	
		
			
				|  |  | +              status == 'APPLY' ||
 | 
	
		
			
				|  |  | +              status == 'PROGRESS' ||
 | 
	
		
			
				|  |  | +              status == 'PREPARE')&&ischeckCanReg
 | 
	
		
			
				|  |  | +            "
 | 
	
		
			
				|  |  |            >
 | 
	
		
			
				|  |  |              合并学员
 | 
	
		
			
				|  |  |            </div>
 | 
	
	
		
			
				|  | @@ -94,6 +99,12 @@
 | 
	
		
			
				|  |  |              class="newBand"
 | 
	
		
			
				|  |  |              style="background-color: #f97215; border: 1px solid #f97215"
 | 
	
		
			
				|  |  |              @click="onCreateQRCode('rePayment')"
 | 
	
		
			
				|  |  | +             v-show="
 | 
	
		
			
				|  |  | +              (status == 'PAY' ||
 | 
	
		
			
				|  |  | +              status == 'APPLY' ||
 | 
	
		
			
				|  |  | +              status == 'PROGRESS' ||
 | 
	
		
			
				|  |  | +              status == 'PREPARE')&&ischeckCanReg
 | 
	
		
			
				|  |  | +            "
 | 
	
		
			
				|  |  |            >
 | 
	
		
			
				|  |  |              报名链接(无乐器)
 | 
	
		
			
				|  |  |            </div>
 | 
	
	
		
			
				|  | @@ -252,7 +263,7 @@
 | 
	
		
			
				|  |  |            <el-table-column align="center" label="入团年份">
 | 
	
		
			
				|  |  |              <template slot-scope="scope">
 | 
	
		
			
				|  |  |                <div>
 | 
	
		
			
				|  |  | -                {{ scope.row.currentGradeDate | dayjsFormat("YYYY年") }}
 | 
	
		
			
				|  |  | +                {{ scope.row.createTime | dayjsFormat("YYYY年") }}
 | 
	
		
			
				|  |  |                </div>
 | 
	
		
			
				|  |  |              </template>
 | 
	
		
			
				|  |  |            </el-table-column>
 | 
	
	
		
			
				|  | @@ -692,6 +703,7 @@ import {
 | 
	
		
			
				|  |  |    studentApplyDetailExport,
 | 
	
		
			
				|  |  |    StudentQuit,
 | 
	
		
			
				|  |  |    getMusicGroupGradeList,
 | 
	
		
			
				|  |  | +  checkCanReg
 | 
	
		
			
				|  |  |  } from "@/api/buildTeam";
 | 
	
		
			
				|  |  |  import mergeMusic from "./components/merge-music";
 | 
	
		
			
				|  |  |  import forecastList from "./components/forecast-list";
 | 
	
	
		
			
				|  | @@ -844,6 +856,7 @@ export default {
 | 
	
		
			
				|  |  |        applyDates: this.applyDate(),
 | 
	
		
			
				|  |  |        detail: null,
 | 
	
		
			
				|  |  |        gradeList: [],
 | 
	
		
			
				|  |  | +      ischeckCanReg:false
 | 
	
		
			
				|  |  |      };
 | 
	
		
			
				|  |  |    },
 | 
	
		
			
				|  |  |    created() {},
 | 
	
	
		
			
				|  | @@ -858,13 +871,21 @@ export default {
 | 
	
		
			
				|  |  |      permission(str) {
 | 
	
		
			
				|  |  |        return permission(str);
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  | -    init() {
 | 
	
		
			
				|  |  | +   async init() {
 | 
	
		
			
				|  |  |        this.status = this.$route.query.team_status;
 | 
	
		
			
				|  |  |        // 通过乐团id 获取乐团招生状态
 | 
	
		
			
				|  |  |        this.id = this.$route.query.id;
 | 
	
		
			
				|  |  |        this.teamName = this.$route.query.name;
 | 
	
		
			
				|  |  |        // 判断是否带缓存参数
 | 
	
		
			
				|  |  |        this.pickerOptions = this.beginDate(new Date());
 | 
	
		
			
				|  |  | +      // checkCanReg
 | 
	
		
			
				|  |  | +      try{
 | 
	
		
			
				|  |  | +       this.ischeckCanReg = await (await checkCanReg({musicGroupId:this.id})).data
 | 
	
		
			
				|  |  | +       console.log(this.ischeckCanReg)
 | 
	
		
			
				|  |  | +      }catch(e){
 | 
	
		
			
				|  |  | +        console.log(e)
 | 
	
		
			
				|  |  | +      }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |        getMusicGroupGradeList({ musicGroupId: this.id }).then((res) => {
 | 
	
		
			
				|  |  |          let result = res.data;
 |