|  | @@ -132,30 +132,10 @@ export default {
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |    },
 | 
	
		
			
				|  |  |    created () {
 | 
	
		
			
				|  |  | -    this.id = this.$route.query.id;
 | 
	
		
			
				|  |  | -    // 判断是否带缓存参数
 | 
	
		
			
				|  |  | -    if (this.$route.query.search) {
 | 
	
		
			
				|  |  | -      this.Fsearch = this.$route.query.search;
 | 
	
		
			
				|  |  | -    }
 | 
	
		
			
				|  |  | -    if (this.$route.query.rules) {
 | 
	
		
			
				|  |  | -      this.Frules = this.$route.query.rules
 | 
	
		
			
				|  |  | -    }
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | -    this.activeIndex = sessionStorage.getItem('setStep') || 0;
 | 
	
		
			
				|  |  | -    getTeamBaseInfo({ musicGroupId: this.id }).then(res => {
 | 
	
		
			
				|  |  | -      if (res.code == 200) {
 | 
	
		
			
				|  |  | -        this.chargeTypeId = res.data.musicGroup.chargeTypeId;
 | 
	
		
			
				|  |  | -        this.name = res.data.musicGroup.name;
 | 
	
		
			
				|  |  | -        sessionStorage.setItem('chargeTypeId', this.chargeTypeId);
 | 
	
		
			
				|  |  | -        sessionStorage.setItem('createTeamOrgnId', res.data.musicGroup.organId)
 | 
	
		
			
				|  |  | -      }
 | 
	
		
			
				|  |  | -    })
 | 
	
		
			
				|  |  | -    // 获取是否设置课酬
 | 
	
		
			
				|  |  | -    checkSetSalary({ musicGroupId: this.id }).then(res => {
 | 
	
		
			
				|  |  | -      if (res.code == 200) {
 | 
	
		
			
				|  |  | -        this.isSetSalary = res.data;
 | 
	
		
			
				|  |  | -      }
 | 
	
		
			
				|  |  | -    })
 | 
	
		
			
				|  |  | +    this.init()
 | 
	
		
			
				|  |  | +  },
 | 
	
		
			
				|  |  | +  activated () {
 | 
	
		
			
				|  |  | +    this.init()
 | 
	
		
			
				|  |  |    },
 | 
	
		
			
				|  |  |    beforeDestroy () {
 | 
	
		
			
				|  |  |      sessionStorage.setItem('setStep', 0)
 | 
	
	
		
			
				|  | @@ -166,6 +146,32 @@ export default {
 | 
	
		
			
				|  |  |      // 根据乐团id 获取乐团信息
 | 
	
		
			
				|  |  |    },
 | 
	
		
			
				|  |  |    methods: {
 | 
	
		
			
				|  |  | +    init () {
 | 
	
		
			
				|  |  | +      this.id = this.$route.query.id;
 | 
	
		
			
				|  |  | +      // 判断是否带缓存参数
 | 
	
		
			
				|  |  | +      if (this.$route.query.search) {
 | 
	
		
			
				|  |  | +        this.Fsearch = this.$route.query.search;
 | 
	
		
			
				|  |  | +      }
 | 
	
		
			
				|  |  | +      if (this.$route.query.rules) {
 | 
	
		
			
				|  |  | +        this.Frules = this.$route.query.rules
 | 
	
		
			
				|  |  | +      }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +      this.activeIndex = sessionStorage.getItem('setStep') || 0;
 | 
	
		
			
				|  |  | +      getTeamBaseInfo({ musicGroupId: this.id }).then(res => {
 | 
	
		
			
				|  |  | +        if (res.code == 200) {
 | 
	
		
			
				|  |  | +          this.chargeTypeId = res.data.musicGroup.chargeTypeId;
 | 
	
		
			
				|  |  | +          this.name = res.data.musicGroup.name;
 | 
	
		
			
				|  |  | +          sessionStorage.setItem('chargeTypeId', this.chargeTypeId);
 | 
	
		
			
				|  |  | +          sessionStorage.setItem('createTeamOrgnId', res.data.musicGroup.organId)
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +      })
 | 
	
		
			
				|  |  | +      // 获取是否设置课酬
 | 
	
		
			
				|  |  | +      checkSetSalary({ musicGroupId: this.id }).then(res => {
 | 
	
		
			
				|  |  | +        if (res.code == 200) {
 | 
	
		
			
				|  |  | +          this.isSetSalary = res.data;
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +      })
 | 
	
		
			
				|  |  | +    },
 | 
	
		
			
				|  |  |      gotoNav (val) {
 | 
	
		
			
				|  |  |        this.activeIndex = val;
 | 
	
		
			
				|  |  |      },
 |