|
@@ -495,6 +495,7 @@ import store from "@/store";
|
|
|
import numeral from "numeral";
|
|
|
import { formatData } from "@/utils/utils";
|
|
|
import qs from "qs";
|
|
|
+import MusicStore from '@/views/resetTeaming/store'
|
|
|
export default {
|
|
|
name: "teamBaseInfo",
|
|
|
props: ["getTeamList"],
|
|
@@ -707,7 +708,9 @@ export default {
|
|
|
) {
|
|
|
// 单团修改
|
|
|
this.teamid = this.$route.query.id;
|
|
|
- getTeamBaseInfo({ musicGroupId: this.teamid }).then((res) => {
|
|
|
+ MusicStore.dispatch('getBaseInfo', {
|
|
|
+ data: { musicGroupId: this.teamid }
|
|
|
+ }).then((res) => {
|
|
|
if (res.code == 200) {
|
|
|
if (this.$listeners.getBaseInfo) {
|
|
|
this.$listeners.getBaseInfo(res.data)
|
|
@@ -1142,7 +1145,7 @@ export default {
|
|
|
if (res.code == 200) {
|
|
|
if (this.teamStatus == "teamDraft") {
|
|
|
this.$message.success("保存成功");
|
|
|
- // 跳到第二页
|
|
|
+ // 跳到第二页
|
|
|
|
|
|
this.$emit("chiosetab", 1);
|
|
|
} else {
|