소스 검색

Merge branch 'online' into wxlNew

lex-xin 4 년 전
부모
커밋
9182b3ed2d

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
dist/index.html


+ 0 - 1
dist/static/css/chunk-12f41b66.07058daa.css

@@ -1 +0,0 @@
-.floor[data-v-5ddd1598]{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-5ddd1598]{width:98px;background:#f85043;margin-left:164px}.floor .add[data-v-5ddd1598],.floor .remove[data-v-5ddd1598]{height:32px;border-radius:3px;color:#fff;line-height:32px;text-align:center;cursor:pointer}.floor .add[data-v-5ddd1598]{width:auto;padding:0 10px;background:#14928a;margin-left:20px}.studentMask[data-v-5ddd1598]{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-5ddd1598]{width:200px;margin-right:20px}.studentMask .left .wrap[data-v-5ddd1598]{margin-bottom:20px}.studentMask .left h4[data-v-5ddd1598]{font-size:16px;color:#444;line-height:38px}.studentMask .left .chioseStudentList[data-v-5ddd1598]{height:500px;overflow-y:auto;border:1px solid #ccc}.studentMask .left .chioseStudentList .studentItem[data-v-5ddd1598]{padding-left:10px;line-height:25px}.studentMask .right[data-v-5ddd1598]{width:calc(100% - 200px)}.studentMask .right .tableList[data-v-5ddd1598]{max-height:500px;overflow-y:auto}.resetClassForm[data-v-5ddd1598] .el-date-editor.el-input,.resetClassForm[data-v-5ddd1598] .el-date-editor.el-input__inner{width:180px!important}[data-v-5ddd1598] .el-date-editor.el-input,[data-v-5ddd1598] .el-date-editor.el-input__inner{width:100px!important}.higheSelect[data-v-5ddd1598] .el-input__inner{height:40px!important}

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
dist/static/css/chunk-19c4b4b2.308f2cf7.css


+ 0 - 1
dist/static/css/chunk-428bf690.8bf03ce3.css

@@ -1 +0,0 @@
-.pagination-container[data-v-31cb099a]{background:#fff;padding:32px 16px;width:100%;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:center;-ms-flex-pack:center;justify-content:center}.pagination-container.hidden[data-v-31cb099a]{display:none}.newBand[data-v-63913c24]{display:inline-block;margin-right:10px}.right-code .title[data-v-63913c24]{font-size:18px;text-align:center;padding-bottom:8px}[data-v-63913c24] .studentInfo .el-dialog__body{padding-top:0;padding-bottom:0}[data-v-63913c24] .studentInfo .multiple.el-select{width:185px!important}

+ 1 - 0
dist/static/css/chunk-5c1dac65.7bc17bf0.css

@@ -0,0 +1 @@
+.floor[data-v-f92e9986]{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-f92e9986]{width:98px;background:#f85043;margin-left:164px}.floor .add[data-v-f92e9986],.floor .remove[data-v-f92e9986]{height:32px;border-radius:3px;color:#fff;line-height:32px;text-align:center;cursor:pointer}.floor .add[data-v-f92e9986]{width:auto;padding:0 10px;background:#14928a;margin-left:20px}.studentMask[data-v-f92e9986]{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-f92e9986]{width:200px;margin-right:20px}.studentMask .left .wrap[data-v-f92e9986]{margin-bottom:20px}.studentMask .left h4[data-v-f92e9986]{font-size:16px;color:#444;line-height:38px}.studentMask .left .chioseStudentList[data-v-f92e9986]{height:500px;overflow-y:auto;border:1px solid #ccc}.studentMask .left .chioseStudentList .studentItem[data-v-f92e9986]{padding-left:10px;line-height:25px}.studentMask .right[data-v-f92e9986]{width:calc(100% - 200px)}.studentMask .right .tableList[data-v-f92e9986]{max-height:500px;overflow-y:auto}.resetClassForm[data-v-f92e9986] .el-date-editor.el-input,.resetClassForm[data-v-f92e9986] .el-date-editor.el-input__inner{width:180px!important}[data-v-f92e9986] .el-date-editor.el-input,[data-v-f92e9986] .el-date-editor.el-input__inner{width:100px!important}.higheSelect[data-v-f92e9986] .el-input__inner{height:40px!important}

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
dist/static/css/chunk-70db4f77.8e47f3ab.css


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
dist/static/css/chunk-af8308ae.8278721c.css


+ 1 - 0
dist/static/css/chunk-f10da84e.e0eb3ab8.css

@@ -0,0 +1 @@
+.pagination-container[data-v-31cb099a]{background:#fff;padding:32px 16px;width:100%;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:center;-ms-flex-pack:center;justify-content:center}.pagination-container.hidden[data-v-31cb099a]{display:none}.newBand[data-v-039c20a8]{display:inline-block;margin-right:10px}.right-code .title[data-v-039c20a8]{font-size:18px;text-align:center;padding-bottom:8px}[data-v-039c20a8] .studentInfo .el-dialog__body{padding-top:0;padding-bottom:0}[data-v-039c20a8] .studentInfo .multiple.el-select{width:185px!important}

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
dist/static/js/app.3475e502.js


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
dist/static/js/chunk-022203a4.fe4a1eab.js


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
dist/static/js/chunk-12f41b66.fc790348.js


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
dist/static/js/chunk-19c4b4b2.2d76b984.js


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
dist/static/js/chunk-428bf690.b7bc3ace.js


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
dist/static/js/chunk-5c1dac65.050b449b.js


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
dist/static/js/chunk-af8308ae.fc8a5dd2.js


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
dist/static/js/chunk-f10da84e.b7911345.js


+ 9 - 9
src/views/contentManager/contentOperation.vue

@@ -384,13 +384,13 @@ export default {
 
       // this.form.type
       let tempTitle = {
-        1: "468px * 552px",
-        2: "456px * 288px",
-        3: "686px * 140px",
-        4: null,
-        5: null,
-        6: null,
-        7: null,
+        1: "468px * 552px;图片不能超过500KB;",
+        2: "456px * 288px; 图片不能超过500KB;",
+        3: "686px * 140px; 图片不能超过500KB;",
+        4: "图片不能超过500KB;",
+        5: "图片不能超过500KB;",
+        6: "图片不能超过500KB;",
+        7: "图片不能超过500KB;",
       };
       this.imageSize = tempTitle[this.form.type];
     },
@@ -587,13 +587,13 @@ export default {
         "image/jpeg": true
       };
       const isImage = imageType[file.type];
-      const isLt2M = file.size / 1024 / 1024 < 2;
+      const isLt2M = file.size / 1024 / 1024 < 0.5;
 
       if (!isImage) {
         this.$message.error("只能上传图片格式!");
       }
       if (!isLt2M) {
-        this.$message.error("上传图片大小不能超过 2MB!");
+        this.$message.error("上传图片大小不能超过 500K!");
       }
       return isImage && isLt2M;
     },

+ 12 - 11
src/views/studentManager/studentList.vue

@@ -461,6 +461,7 @@ export default {
     getTeacher().then(res => {
       if (res.code == 200) {
         this.teacherList = res.data;
+        console.log(this.teacherList.length)
       }
     });
     this.getList();
@@ -682,20 +683,20 @@ export default {
           this.active = row;
           this.studentVisible = true;
           this.maskName = "修改学员";
-
+          console.log(row)
           this.studentForm = {
-            phone: row.parentsPhone|| null,
-            name: row.username|| null,
-            sex: row.gender|| null,
-            parseName: row.realName|| null,
-            date: row.birthdate|| null,
-            organId: row.organId|| null,
-            nation: row.nation|| null,
-            serviceTag: row.serviceTag|| null,
-            operatingTag: row.operatingTag|| null,
+            phone: row.parentsPhone || null,
+            name: row.username || null,
+            sex: row.gender,
+            parseName: row.realName || null,
+            date: row.birthdate || null,
+            organId: row.organId || null,
+            nation: row.nation || null,
+            serviceTag: row.serviceTag || null,
+            operatingTag: row.operatingTag || null,
             teacherId: row.teacherId || null
           }
-       
+
 
         }
       });

+ 9 - 8
src/views/teamBuild/teamSeting/components/setClassV2.vue

@@ -273,9 +273,8 @@
         </div>
         <div class="right">
           <!--  multiple
-          collapse-tags-->
-          <el-select v-if="isSearch"
-                     v-model.trim="activeChioseSound"
+          collapse-tags  v-if="isSearch" -->
+          <el-select v-model.trim="activeChioseSound"
                      style="width:180px"
                      @change="searchStudent"
                      clearable
@@ -685,7 +684,7 @@ export default {
       activeListStudent: [], // 待选的学生
       isNewClass: true, // 是否是新增班级
       studentVisible: false, // 选择学员弹窗
-      activeChioseSound: [],
+      // activeChioseSound: [],
       isSearch: false,
       studentList: [],
       activeChioseSound: null, // 默认选择的声部
@@ -696,7 +695,7 @@ export default {
         assistant: [],
         courseType: "",
         courseTime: "",
-        checked: false,
+        checked: true,
         courseNum: "",
         mixClassGroupId: ""
       },
@@ -734,7 +733,7 @@ export default {
         courseType: null,
         courseTime: null,
         teachMode: null,
-        checked: false
+        checked: true
       }, // 排课信息
       chioseTab: [], // 记录选中的项
 
@@ -1307,6 +1306,8 @@ export default {
       this.activeClass = row.id;
       this.isSearch = false;
       this.activeType = row.type;
+      this.newClassForm.type = row.type
+      this.activeChioseSound = null
       // 根据单机班id 查询单技班内的所有学生
       getClassAllStudent({ classGroupId: row.id }).then(res => {
         if (res.code == 200) {
@@ -1543,7 +1544,7 @@ export default {
           assistant: [],
           courseType: "",
           courseTime: "",
-          checked: false,
+          checked: true,
           courseNum: "",
           mixClassGroupId: ""
         };
@@ -1558,7 +1559,7 @@ export default {
           courseType: null,
           courseTime: null,
           teachMode: null,
-          checked: false
+          checked: true
         };
         this.$refs["arrangeForm"].resetFields();
         this.weekList = [

+ 49 - 25
src/views/teamDetail/components/resetClass.vue

@@ -192,9 +192,8 @@
         </div>
         <div class="right">
           <!--  multiple
-          collapse-tags-->
-          <el-select v-if="isSearch"
-                     v-model.trim="activeChioseSound"
+          collapse-tags v-if="isSearch"  -->
+          <el-select  v-model.trim="activeChioseSound"
                      style="width:180px"
                      @change="searchStudent"
                      clearable
@@ -306,6 +305,7 @@
         <el-form-item label="主教老师"
                       prop="coreTeacher">
           <el-select v-model.trim="teacherForm.coreTeacher"
+                     placeholder="请选择主教老师"
                      clearable
                      filterable>
             <el-option v-for="(item,index) in teacherList"
@@ -318,6 +318,7 @@
                       v-if="activeType!='HIGH_ONLINE'&&activeType!='MUSIC_NETWORK'"
                       prop="assistant">
           <el-select v-model.trim="teacherForm.assistant"
+                     placeholder="请选择助教老师"
                      filterable
                      clearable
                      @change="setAssistant"
@@ -332,6 +333,7 @@
                       prop="courseType"
                       v-if="teacherForm.isAdd !='onlyUpdateTeacher'">
           <el-select v-model.trim="teacherForm.courseType"
+                     placeholder="请选择课程类型"
                      clearable
                      filterable>
             <el-option v-for="(item,index) in courseTypeList"
@@ -348,7 +350,7 @@
                      style="width:180px"
                      clearable
                      filterable
-                     placeholder="声部选择">
+                     placeholder="请选择声部">
             <el-option v-for="(item,index) in soundList"
                        :key="index"
                        :label="item.name"
@@ -358,7 +360,7 @@
         <el-form-item label="预计招生人数"
                       v-if="isNewClass"
                       prop="expectStudentNum">
-          <el-input type="number"
+          <el-input type="number" placeholder="请输入预计招生人数"
                     :disabled="activeType=='HIGH_ONLINE'"
                     @mousewheel.native.prevent
                     v-model="teacherForm.expectStudentNum"></el-input>
@@ -367,7 +369,7 @@
         <el-form-item label="排课次数"
                       prop="courseNum"
                       v-if="teacherForm.isAdd !='onlyUpdateTeacher'">
-          <el-input type="number"
+          <el-input type="number" placeholder="请输入排课次数"
                     @mousewheel.native.prevent
                     v-model.trim="teacherForm.courseNum"></el-input>
         </el-form-item>
@@ -709,7 +711,7 @@ export default {
         assistant: [],
         courseType: "",
         courseTime: "",
-        checked: false,
+        checked: true,
         courseNum: "",
         mixClassGroupId: "",
         sound: "",
@@ -787,7 +789,7 @@ export default {
         memo: [],
         subjectId: null
       },
-      classGroupIds: null
+      classGroupIds: null,
     };
   },
   created () {
@@ -909,6 +911,7 @@ export default {
       this.className = "";
       this.isTemporary = true;
       this.activeType = "SPAN";
+      this.activeChioseSound = null
       this.setType("SNAP");
       this.getNoClassStudent("SNAP");
     },
@@ -979,19 +982,24 @@ export default {
       this.isSearch = false;
       this.className = "";
       this.isTemporary = false;
+      this.activeChioseSound = null;
       this.getNoClassStudent(type);
     },
     searchStudent () {
       // 搜索学生
       // 根据声部id  乐团id搜索学生
-      teamSoundStudent({
-        musicGroupId: this.teamid,
-        actualSubjectId: this.activeChioseSound
-      }).then(res => {
-        if (res.code == 200) {
-          this.studentList = res.data;
-        }
-      });
+      if(this.activeType == 'SPAN') {
+        teamSoundStudent({
+          musicGroupId: this.teamid,
+          actualSubjectId: this.activeChioseSound
+        }).then(res => {
+          if (res.code == 200) {
+            this.studentList = res.data;
+          }
+        });
+      } else {
+        this.getNoClassStudent(this.activeType, this.activeChioseSound)
+      }
     },
     // 选择学生的方法修改
     SelectionStudent (val) {
@@ -1064,6 +1072,7 @@ export default {
       this.activeClass = row.id;
       this.isSearch = false;
       this.activeType = row.type;
+      this.activeChioseSound = null
       // 根据单机班id 查询单技班内的所有学生
       getClassAllStudent({ classGroupId: row.id }).then(res => {
         if (res.code == 200) {
@@ -1097,7 +1106,7 @@ export default {
       }
       this.infoVisible = true;
     },
-    getNoClassStudent (type) {
+    async getNoClassStudent (type, actualSubjectId) {
       // 获取乐团内所有未分班的学生
       // if (type && type == 'SNAP') {
       //   teamSoundStudent({ musicGroupId: this.teamid }).then(res => {
@@ -1113,28 +1122,43 @@ export default {
       //   })
       // }
       // res.data - activeListStudent
-      getMusicGroupStuNoClassType({ musicGroupId: this.teamid, type }).then(
+      const params = {
+        musicGroupId: this.teamid,
+        type,
+        actualSubjectId
+      }
+      await getMusicGroupStuNoClassType(params).then(
         res => {
           if (res.code == 200) {
             // this.studentList = res.data.concat(this.activeListStudent).filter(item=>{
             //   return res.data
             // });
             if (this.activeType == "SNAP") {
-              let idarr1 = [];
               let idarr2 = [];
-              let arr3 = res.data.concat(this.activeListStudent);
-              for (let i in res.data) {
-                idarr1.push(res.data[i].userId);
-              }
+              let arr3 = res.data
               for (let j in this.activeListStudent) {
                 idarr2.push(this.activeListStudent[j].userId);
               }
               this.studentList = arr3.filter(item => {
                 return (
-                  idarr1.indexOf(item.userId) === -1 ||
                   idarr2.indexOf(item.userId) === -1
                 );
               });
+              // let idarr1 = [];
+              // let idarr2 = [];
+              // let arr3 = res.data.concat(this.activeListStudent);
+              // for (let i in res.data) {
+              //   idarr1.push(res.data[i].userId);
+              // }
+              // for (let j in this.activeListStudent) {
+              //   idarr2.push(this.activeListStudent[j].userId);
+              // }
+              // this.studentList = arr3.filter(item => {
+              //   return (
+              //     idarr1.indexOf(item.userId) === -1 ||
+              //     idarr2.indexOf(item.userId) === -1
+              //   );
+              // });
             } else {
               this.studentList = res.data;
             }
@@ -1568,7 +1592,7 @@ export default {
           assistant: [],
           courseType: "",
           courseTime: "",
-          checked: false,
+          checked: true,
           courseNum: "",
           mixClassGroupId: "",
           sound: "",

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.