mo 4 lat temu
rodzic
commit
a05877d2b2

+ 0 - 1
src/main.js

@@ -90,7 +90,6 @@ document.addEventListener('mousewheel', function () {
   }
 })
 document.addEventListener('keydown', function (event) {
-  console.log(document.activeElement,event.keyCode)
   if(event.keyCode == 13){
     setTimeout(res=>{
       document.activeElement.blur()

+ 4 - 2
src/views/teamDetail/components/modals/select-student.vue

@@ -25,7 +25,8 @@
             <!-- <remote-search :commit="'setTeachers'" v-model="form.coreTeacher"  /> -->
           </el-form-item>
         </el-col>
-        <el-col :span="10" :offset="4">
+        <!-- :offset="4" -->
+        <el-col :span="10" >
           <el-form-item
             label="助教老师"
             prop="assistant"
@@ -66,7 +67,8 @@
             />
           </el-form-item>
         </el-col>
-        <el-col :span="10" :offset="showName ? 4 : 0">
+        <!-- :offset="showName ? 4 : 0" -->
+        <el-col :span="10" >
           <el-form-item label="声部" style="margin-right: 0;" >
             <el-select
               v-model="sound"

+ 2 - 2
src/views/teamDetail/components/resetClass.vue

@@ -984,7 +984,7 @@ export default {
       this.isSearch = true;
       this.className = "";
       this.isTemporary = true;
-      this.activeType = "SPAN";
+      this.activeType = "SNAP";
       this.activeChioseSound = null;
       this.setType("SNAP");
       this.getNoClassStudent("SNAP");
@@ -1018,7 +1018,7 @@ export default {
       console.log(this.activeChioseSound);
       // 搜索学生
       // 根据声部id  乐团id搜索学生
-      if (this.activeType == "SPAN") {
+      if (this.activeType == "SNAP") {
         teamSoundStudent({
           musicGroupId: this.teamid,
           actualSubjectId: this.activeChioseSound,