|  | @@ -712,7 +712,7 @@ export default {
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  |      chioseSchool(val) {},
 | 
	
		
			
				|  |  |      gotoNext() {
 | 
	
		
			
				|  |  | -      this.$refs["topinfo"].validate(async(valid, object) => {
 | 
	
		
			
				|  |  | +      this.$refs["topinfo"].validate(async (valid, object) => {
 | 
	
		
			
				|  |  |          if (!valid) {
 | 
	
		
			
				|  |  |            this.$message.error("请填写建团必要参数");
 | 
	
		
			
				|  |  |          } else {
 | 
	
	
		
			
				|  | @@ -723,7 +723,9 @@ export default {
 | 
	
		
			
				|  |  |              // 获取数据提交
 | 
	
		
			
				|  |  |              this.$emit("handleClick", { name: "2" });
 | 
	
		
			
				|  |  |            } else {
 | 
	
		
			
				|  |  | -           await this.resetSubmit();
 | 
	
		
			
				|  |  | +               this.$emit("getName", this.topFrom.name);
 | 
	
		
			
				|  |  | +            await this.resetSubmit();
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |            }
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |        });
 | 
	
	
		
			
				|  | @@ -795,17 +797,20 @@ export default {
 | 
	
		
			
				|  |  |            if (this.teamStatus != "newTeam") {
 | 
	
		
			
				|  |  |              resetTeamBaseInfo(obj).then((res) => {
 | 
	
		
			
				|  |  |                if (res.code == 200) {
 | 
	
		
			
				|  |  | -                localStorage.setItem(`${this.teamid}base`,JSON.stringify(this.topFrom));
 | 
	
		
			
				|  |  | -                  this.$emit("getBaseInfo");
 | 
	
		
			
				|  |  | +                localStorage.setItem(
 | 
	
		
			
				|  |  | +                  `${this.teamid}base`,
 | 
	
		
			
				|  |  | +                  JSON.stringify(this.topFrom)
 | 
	
		
			
				|  |  | +                );
 | 
	
		
			
				|  |  | +                this.$emit("getBaseInfo");
 | 
	
		
			
				|  |  |                  if (this.teamStatus == "teamDraft") {
 | 
	
		
			
				|  |  |                    this.$message.success("保存成功");
 | 
	
		
			
				|  |  |                    this.$emit("handleClick", { name: "2" });
 | 
	
		
			
				|  |  |                    // 跳到第二页
 | 
	
		
			
				|  |  |                  } else {
 | 
	
		
			
				|  |  |                    this.$message.success("修改乐团成功");
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |                    // this.$router.push({ path: '/teamLists', query: { id: this.teamid, name: this.topFrom.name } })
 | 
	
		
			
				|  |  |                  }
 | 
	
		
			
				|  |  | -                this.init();
 | 
	
		
			
				|  |  |                }
 | 
	
		
			
				|  |  |              });
 | 
	
		
			
				|  |  |            } else {
 | 
	
	
		
			
				|  | @@ -837,7 +842,7 @@ export default {
 | 
	
		
			
				|  |  |                          }),
 | 
	
		
			
				|  |  |                        },
 | 
	
		
			
				|  |  |                        (router) => {
 | 
	
		
			
				|  |  | -                        console.log(router);
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |                          router.meta.title = "乐团编辑中";
 | 
	
		
			
				|  |  |                        }
 | 
	
		
			
				|  |  |                      );
 | 
	
	
		
			
				|  | @@ -846,16 +851,19 @@ export default {
 | 
	
		
			
				|  |  |                      this.$emit("handleClick", { name: "2" });
 | 
	
		
			
				|  |  |                    })
 | 
	
		
			
				|  |  |                    .catch(() => {
 | 
	
		
			
				|  |  | -                    this.$router.push({
 | 
	
		
			
				|  |  | -                      query: merge(this.$route.query, {
 | 
	
		
			
				|  |  | -                        type: "teamDraft",
 | 
	
		
			
				|  |  | -                        id: res.data,
 | 
	
		
			
				|  |  | -                        team_status: "DRAFT",
 | 
	
		
			
				|  |  | -                      }),
 | 
	
		
			
				|  |  | -                    },(router) => {
 | 
	
		
			
				|  |  | -                        console.log(router);
 | 
	
		
			
				|  |  | +                    this.$router.push(
 | 
	
		
			
				|  |  | +                      {
 | 
	
		
			
				|  |  | +                        query: merge(this.$route.query, {
 | 
	
		
			
				|  |  | +                          type: "teamDraft",
 | 
	
		
			
				|  |  | +                          id: res.data,
 | 
	
		
			
				|  |  | +                          team_status: "DRAFT",
 | 
	
		
			
				|  |  | +                        }),
 | 
	
		
			
				|  |  | +                      },
 | 
	
		
			
				|  |  | +                      (router) => {
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |                          router.meta.title = "乐团编辑中";
 | 
	
		
			
				|  |  | -                      });
 | 
	
		
			
				|  |  | +                      }
 | 
	
		
			
				|  |  | +                    );
 | 
	
		
			
				|  |  |                      this.$emit("getName", this.topFrom.name);
 | 
	
		
			
				|  |  |                      this.init();
 | 
	
		
			
				|  |  |                    });
 | 
	
	
		
			
				|  | @@ -1129,11 +1137,11 @@ export default {
 | 
	
		
			
				|  |  |        this.applyExpireDate = res.data.musicGroup.applyExpireDate;
 | 
	
		
			
				|  |  |        localStorage.setItem(`${this.teamid}base`, JSON.stringify(this.topFrom));
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  | -    changeType(val){
 | 
	
		
			
				|  |  | -      if(val){
 | 
	
		
			
				|  |  | +    changeType(val) {
 | 
	
		
			
				|  |  | +      if (val) {
 | 
	
		
			
				|  |  |          localStorage.removeItem(`${this.teamid}sound`);
 | 
	
		
			
				|  |  |        }
 | 
	
		
			
				|  |  | -    }
 | 
	
		
			
				|  |  | +    },
 | 
	
		
			
				|  |  |    },
 | 
	
		
			
				|  |  |    computed: {
 | 
	
		
			
				|  |  |      startClassString() {
 |