Xiao_Mo 4 éve
szülő
commit
e300e3c7cf

+ 3 - 2
src/views/teamBuild/components/soundSetComponents/soundSetCore.vue

@@ -395,7 +395,9 @@ export default {
             obj.musicGroupSubjectGoodsGroups.push(some);
           }
         });
-        if (this.teamStatus == "newTeam") {
+        
+      });
+      if (this.teamStatus == "newTeam") {
           createTeam(obj).then((res) => {
             if (res.code == 200) {
               // 成功 跳转到乐团报名详情
@@ -426,7 +428,6 @@ export default {
             }
           });
         }
-      });
     },
     deleteRow() {
       if (this.checkList.length < 1) {

+ 2 - 58
src/views/teamBuild/components/teamBaseInfo.vue

@@ -679,63 +679,7 @@ export default {
       };
     },
     init () {
-      (this.checkList = {
-        soundInfo: {
-          // 声部
-          ischeck: false,
-          value: "",
-          checkBuy: false,
-          isNew: 0,
-          isStatus: false,
-        },
-        allInfo: {
-          // 合奏
-          ischeck: false,
-          value: "",
-          checkBuy: false,
-          isNew: 0,
-          isStatus: false,
-        },
-        baseInfo: {
-          // 基础
-          ischeck: false,
-          value: "",
-          checkBuy: false,
-          isNew: 0,
-          isStatus: false,
-        },
-        holidayInfo: {
-          // 假期
-          ischeck: false,
-          value: "",
-          checkBuy: false,
-          isNew: 0,
-          isStatus: false,
-        },
-        networkInfo: {
-          ischeck: false,
-          value: "",
-          checkBuy: false,
-          isNew: 0,
-          isStatus: false,
-        },
-        submit: {
-          ischeck: false,
-          value:
-            "年度安排个月共xxx课时,课时,原价xxx元,现价xxxx元/月(约 xxxx元/课时 )",
-        },
-      }),
-        (this.newStudentList = {
-          baseInfo: {
-            // 基础
-            ischeck: false,
-            value: "",
-            checkBuy: true,
-            nowValue: "",
-            isNew: 1,
-            isStatus: false,
-          },
-        });
+
       this.isInit = true;
       // 分为3种  this.teamStatus
       //          1.resetTeam 乐团修改
@@ -896,7 +840,7 @@ export default {
           ownershipType: "OWN", // 合作机构类型
           feeType: null,
         }),
-          this.$refs["topinfo"].resetFields();
+        this.$refs["topinfo"].resetFields();
       }
       // 1.获取各个选项卡的数据内容
       // getSection({ 'delFlag': 0, 'rows': 1000 }).then(res => {

+ 3 - 1
src/views/teamBuild/components/teamPayInfo.vue

@@ -24,7 +24,9 @@ export default {
   },
   created() {},
   methods: {
-    goback() {},
+    goback() {
+       this.$emit("chiosetab",1);
+    },
     submitAudit(){
       let teamId =  this.$route.query.id
     }

+ 2 - 2
src/views/teamBuild/components/teamSoundSet.vue

@@ -29,10 +29,10 @@
       >
         提交审核
       </div> -->
-      <div class="submitBtn" @click="approval" v-if="teamStatus == 'teamAudit'">
+      <div class="submitBtn" @click="approval" v-if="teamStatus == 'teamAudit'"  v-permission="{child: 'musicGroup/auditSuccess', parent: '/teamBuild/teamAudit/soundMoney'}">
         审核通过
       </div>
-       <div class="submitBtn" @click="refuse" v-if="teamStatus == 'teamAudit'">
+       <div class="submitBtn" @click="refuse" v-if="teamStatus == 'teamAudit'" v-permission="{child: 'musicGroup/auditFailed', parent: '/teamBuild/teamAudit/soundMoney'}"> 
         驳回
       </div>
     </div>