mo 4 سال پیش
والد
کامیت
2d23ade41a
3فایلهای تغییر یافته به همراه28 افزوده شده و 28 حذف شده
  1. 0 0
      dist/index.html
  2. 0 0
      dist/static/js/chunk-ac42450a.8f21ebf5.js
  3. 28 28
      src/views/teamBuild/components/teamBaseInfo.vue

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
dist/index.html


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
dist/static/js/chunk-ac42450a.8f21ebf5.js


+ 28 - 28
src/views/teamBuild/components/teamBaseInfo.vue

@@ -869,20 +869,20 @@ export default {
     gotoNext (num) {
       // 1.效验数据    判断是否数据正常=> 正常放入store存储
       // 不正常=>  进行效验提示
-      // let check = [];
-      // for (let i in this.checkList) {
-      //   if (this.checkList[i] && i != 'submit') {
-      //     check.push(this.checkList[i].ischeck)
-      //   }
-      // }
-      // let checkFlag = false
-      // check.forEach(item => {
-      //   checkFlag = checkFlag || item
-      // })
-      // if (!checkFlag) {
-      //   this.$message.error('请至少选择一种乐团课程类型')
-      //   return
-      // }
+      let check = [];
+      for (let i in this.checkList) {
+        if (this.checkList[i] && i != 'submit') {
+          check.push(this.checkList[i].ischeck)
+        }
+      }
+      let checkFlag = false
+      check.forEach(item => {
+        checkFlag = checkFlag || item
+      })
+      if (!checkFlag) {
+        this.$message.error('请至少选择一种乐团课程类型')
+        return
+      }
       this.$refs["topinfo"].validate((valid, object) => {
         if (!valid) {
           this.$message.error("请填写建团必要参数");
@@ -929,20 +929,20 @@ export default {
       });
     },
     resetSubmit () {
-      // let check = [];
-      // for (let i in this.checkList) {
-      //   if (this.checkList[i] && i != 'submit') {
-      //     check.push(this.checkList[i].ischeck)
-      //   }
-      // }
-      // let checkFlag = false
-      // check.forEach(item => {
-      //   checkFlag = checkFlag || item
-      // })
-      // if (!checkFlag) {
-      //   this.$message.error('请至少选择一种乐团课程类型')
-      //   return
-      // }
+      let check = [];
+      for (let i in this.checkList) {
+        if (this.checkList[i] && i != 'submit') {
+          check.push(this.checkList[i].ischeck)
+        }
+      }
+      let checkFlag = false
+      check.forEach(item => {
+        checkFlag = checkFlag || item
+      })
+      if (!checkFlag) {
+        this.$message.error('请至少选择一种乐团课程类型')
+        return
+      }
       this.$refs["topinfo"].validate((valid, object) => {
         if (!valid) {
           this.$message.error("请填写必要参数");

برخی فایل ها در این مقایسه diff نمایش داده نمی شوند زیرا تعداد فایل ها بسیار زیاد است