mo пре 5 година
родитељ
комит
2a138a41b5

Разлика између датотеке није приказан због своје велике величине
+ 0 - 0
dist/index.html


+ 1 - 0
dist/static/css/chunk-1a98d35e.6bb6025d.css

@@ -0,0 +1 @@
+.floor[data-v-48b2192d]{padding-right:20px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;width:100%;height:48px;line-height:48px;background:#edeef0;font-size:14px;color:#444;-webkit-box-align:center;-ms-flex-align:center;align-items:center;position:relative;z-index:1}.floor .remove[data-v-48b2192d]{width:98px;background:#f85043;margin-left:164px}.floor .add[data-v-48b2192d],.floor .remove[data-v-48b2192d]{height:32px;border-radius:3px;color:#fff;line-height:32px;text-align:center;cursor:pointer}.floor .add[data-v-48b2192d]{width:auto;padding:0 10px;background:#14928a;margin-left:20px}.studentMask[data-v-48b2192d]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.studentMask .left[data-v-48b2192d]{width:200px;margin-right:20px}.studentMask .left .wrap[data-v-48b2192d]{margin-bottom:20px}.studentMask .left h4[data-v-48b2192d]{font-size:16px;color:#444;line-height:38px}.studentMask .left .chioseStudentList[data-v-48b2192d]{height:500px;overflow-y:auto;border:1px solid #ccc}.studentMask .left .chioseStudentList .studentItem[data-v-48b2192d]{padding-left:10px;line-height:25px}.studentMask .right[data-v-48b2192d]{width:calc(100% - 200px)}.studentMask .right .tableList[data-v-48b2192d]{max-height:500px;overflow-y:auto}.resetClassForm[data-v-48b2192d] .el-date-editor.el-input,.resetClassForm[data-v-48b2192d] .el-date-editor.el-input__inner{width:180px!important}[data-v-48b2192d] .el-date-editor.el-input,[data-v-48b2192d] .el-date-editor.el-input__inner{width:100px!important}

Разлика између датотеке није приказан због своје велике величине
+ 0 - 0
dist/static/css/chunk-603282ea.dada8fbf.css


+ 0 - 1
dist/static/css/chunk-c8c7e0b6.887ecfad.css

@@ -1 +0,0 @@
-.floor[data-v-617d7c91]{padding-right:20px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;width:100%;height:48px;line-height:48px;background:#edeef0;font-size:14px;color:#444;-webkit-box-align:center;-ms-flex-align:center;align-items:center;position:relative;z-index:1}.floor .remove[data-v-617d7c91]{width:98px;background:#f85043;margin-left:164px}.floor .add[data-v-617d7c91],.floor .remove[data-v-617d7c91]{height:32px;border-radius:3px;color:#fff;line-height:32px;text-align:center;cursor:pointer}.floor .add[data-v-617d7c91]{width:auto;padding:0 10px;background:#14928a;margin-left:20px}.studentMask[data-v-617d7c91]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.studentMask .left[data-v-617d7c91]{width:200px;margin-right:20px}.studentMask .left .wrap[data-v-617d7c91]{margin-bottom:20px}.studentMask .left h4[data-v-617d7c91]{font-size:16px;color:#444;line-height:38px}.studentMask .left .chioseStudentList[data-v-617d7c91]{height:500px;overflow-y:auto;border:1px solid #ccc}.studentMask .left .chioseStudentList .studentItem[data-v-617d7c91]{padding-left:10px;line-height:25px}.studentMask .right[data-v-617d7c91]{width:calc(100% - 200px)}.studentMask .right .tableList[data-v-617d7c91]{max-height:500px;overflow-y:auto}.resetClassForm[data-v-617d7c91] .el-date-editor.el-input,.resetClassForm[data-v-617d7c91] .el-date-editor.el-input__inner{width:180px!important}[data-v-617d7c91] .el-date-editor.el-input,[data-v-617d7c91] .el-date-editor.el-input__inner{width:100px!important}

Разлика између датотеке није приказан због своје велике величине
+ 0 - 0
dist/static/js/app.a195e250.js


Разлика између датотеке није приказан због своје велике величине
+ 0 - 0
dist/static/js/chunk-0898b6ce.9af85e0c.js


Разлика између датотеке није приказан због своје велике величине
+ 0 - 0
dist/static/js/chunk-1a98d35e.dbeffdff.js


Разлика између датотеке није приказан због своје велике величине
+ 0 - 0
dist/static/js/chunk-3fcf770e.8bd7ddb4.js


Разлика између датотеке није приказан због своје велике величине
+ 0 - 0
dist/static/js/chunk-603282ea.b6b74ce9.js


+ 2 - 1
src/views/teamBuild/teamSeting/components/setClassV2.vue

@@ -781,7 +781,8 @@ export default {
     },
     getList () {
       this.teamid = this.$route.query.id;
-      getMusicGroupClass({ groupType: 'MUSIC', musicGroupId: this.teamid, type: this.searchForm.classType, page: this.rules.page }).then(res => {
+      // 
+      getMusicGroupClass({ groupType: 'MUSIC', musicGroupId: this.teamid, type: this.searchForm.classType, page: this.rules.page, rows: this.rules.limit }).then(res => {
         if (res.code == 200) {
           this.tableList = res.data.rows;
           this.rules.total = res.data.total

+ 10 - 1
src/views/teamDetail/components/resetClass.vue

@@ -955,11 +955,12 @@ export default {
     },
     // 选择学生的方法修改
     SelectionStudent (val) {
-      console.log('选择学生')
+
       this.chioseStudent = val;
     },
     // 新增选中的学生
     NewselectionStudent (val) {
+
       this.chioseStudent = val;
       // 这里新增的添加到选中的学生列表  根据学生id去重
       if (this.chioseStudent.length > 0) {
@@ -1144,12 +1145,16 @@ export default {
         return;
       }
       if (this.activeType == 'HIGH_ONLINE') {
+
         superFindClassGroups({ classGroupId: this.activeClass }).then(res => {
           if (res.code == 200) {
             let maxNum = res.data.rows[0].expectStudentNum;
             if (arr.length + this.activeListStudent.length > maxNum) {
               this.$message.error('超过预计招生人数');
               return;
+            } else if (this.activeListStudent.length > 5 || this.activeListStudent.length < 3) {
+              this.$message.error('线上技能班必须为3-5人');
+              return;
             } else {
               addStudents({
                 classGroupId: this.activeClass,
@@ -1216,6 +1221,10 @@ export default {
         this.$message.error("班级里至少要有一名学生");
         return;
       }
+      if (this.activeType == 'HIGH_ONLINE' && (this.activeListStudent.length > 5 || this.activeListStudent.length < 3)) {
+        this.$message.error("线上技能班必须为3-5人");
+        return;
+      }
       this.infoVisible = true;
     },
     addWeek () {

+ 2 - 2
vue.config.js

@@ -20,8 +20,8 @@ const name = defaultSettings.title || '管乐迷后台管理系统' // page titl
 // let target = 'http://testadm.dayaedu.com/' //test环境
 // let target = 'http://192.168.3.27:8000' // 箭河
 // let target = 'http://192.168.3.28:8000' //邹璇
-// let target = 'http://192.168.3.8:8000' //勇哥
-let target = 'http://admin.dayaedu.com' // 测试服
+let target = 'http://192.168.3.8:8000' //勇哥
+// let target = 'http://admin.dayaedu.com' // 测试服
 // let target = 'http://192.168.3.48:8080' // 乔
 // let target = 'http://195s22s709.imwork.net/' // 邹璇家
 // All configuration item explanations can be find in https://cli.vuejs.org/config/

Неке датотеке нису приказане због велике количине промена