فهرست منبع

新建乐团 上一步保留参数

1
mo 4 سال پیش
والد
کامیت
d0f2615844

+ 2 - 1
src/store/modules/buildTeam.js

@@ -7,6 +7,7 @@ const state = {
 
 const mutations = {
   SET_TOPINFO (state, topinfo) {
+    console.log(topinfo)
     state.topinfo = topinfo
   },
   SET_CHRCK (state, checkinfo) {
@@ -38,4 +39,4 @@ export default {
   state,
   mutations,
   actions
-}
+}

+ 21 - 20
src/views/teamBuild/components/teamBaseInfo.vue

@@ -617,26 +617,27 @@ export default {
           }
         });
       } else {
-        this.topFrom = {
-          type: "", // 收费类型
-          section: "", //所属分部
-          school: "", // 合作单位
-          teacher: "", // 乐团主管
-          name: "", //乐团名称
-          boss: "", // 运营主管
-          time: "", // 报名截止时间
-          startClass: [], // 招生年级起始
-          paymentValid: [], // 缴费有效期时间起始
-          address: "", // 教学地点
-          salary: "", // 收费模式
-          head: "",
-          paymentPattern: "", // 缴费方式
-          isClass: false, //是否为课堂课
-          startTime: "",
-          ownershipType: "OWN", // 合作机构类型
-          feeType: null,
-        };
-        this.$refs["topinfo"].resetFields();
+         console.log(this.$store.getters.topinfo)
+        // this.topFrom = {
+        //   type: "", // 收费类型
+        //   section: "", //所属分部
+        //   school: "", // 合作单位
+        //   teacher: "", // 乐团主管
+        //   name: "", //乐团名称
+        //   boss: "", // 运营主管
+        //   time: "", // 报名截止时间
+        //   startClass: [], // 招生年级起始
+        //   paymentValid: [], // 缴费有效期时间起始
+        //   address: "", // 教学地点
+        //   salary: "", // 收费模式
+        //   head: "",
+        //   paymentPattern: "", // 缴费方式
+        //   isClass: false, //是否为课堂课
+        //   startTime: "",
+        //   ownershipType: "OWN", // 合作机构类型
+        //   feeType: null,
+        // };
+        // this.$refs["topinfo"].resetFields();
       }
       // 1.获取各个选项卡的数据内容
       // getSection({ 'delFlag': 0, 'rows': 1000 }).then(res => {

+ 1 - 0
src/views/teamBuild/components/teamSoundSet.vue

@@ -82,6 +82,7 @@ export default {
       // console.log(evt)
     },
     goback () {
+
       this.$emit("chiosetab", 0);
     },
     submitInfo (val) {

+ 1 - 0
src/views/teamBuild/index.vue

@@ -108,6 +108,7 @@ export default {
       }
     },
     chiosetab (val) {
+        console.log('上一步调用',val)
       this.activeIndex = val;
       if (val == 0 && this.teamStatus != "newTeam" || val == 0 && this.teamStatus != "feeAudit") {
         this.$refs.teamBaseInfo.init()

+ 0 - 2
src/views/teamDetail/teamList.vue

@@ -563,8 +563,6 @@ export default {
       });
     },
     createNewTeam() {
-      let search = JSON.stringify(this.topForm);
-      let rules = JSON.stringify(this.rules);
       this.$router.push(
         { path: "/business/teamBuild", query: { type: "newTeam" } },
         (router) => {