mo 2 years ago
parent
commit
268d223568
73 changed files with 1021 additions and 455 deletions
  1. 16 3
      src/templateList.vue
  2. 7 1
      src/views/OAMananger/index.vue
  3. 6 1
      src/views/afterSchoolManager/afterSchoolList.vue
  4. 9 2
      src/views/afterSchoolManager/afterWorkList.vue
  5. 8 1
      src/views/agentManager/agentList.vue
  6. 8 1
      src/views/attendanceManager/attendanceList/index.vue
  7. 19 4
      src/views/auditList/musicGroup.vue
  8. 7 1
      src/views/backManager/index.vue
  9. 8 1
      src/views/businessManager/orderManager/incomeOut.vue
  10. 7 1
      src/views/businessManager/orderManager/orderAudit-taoqi/index.vue
  11. 8 1
      src/views/businessManager/orderManager/orderAudit/index.vue
  12. 7 1
      src/views/businessManager/resetList/index.vue
  13. 7 1
      src/views/categroyManager/activeSenior.vue
  14. 8 1
      src/views/categroyManager/globalSubjects.vue
  15. 7 1
      src/views/categroyManager/insideSetting/adminManager.vue
  16. 7 1
      src/views/categroyManager/insideSetting/branchActive.vue
  17. 35 21
      src/views/categroyManager/insideSetting/staffManager.vue
  18. 7 1
      src/views/categroyManager/insideSetting/staffPlatManager.vue
  19. 8 1
      src/views/categroyManager/specialSetup/branchSetting.vue
  20. 7 1
      src/views/childrensDay/resetDays.vue
  21. 29 11
      src/views/couponManager/couponDetail.vue
  22. 7 1
      src/views/couponManager/index.vue
  23. 14 2
      src/views/deviceNumManager/index.vue
  24. 8 1
      src/views/dictionaryManager/index.vue
  25. 8 1
      src/views/evaluateManager/networkList.vue
  26. 8 1
      src/views/evaluateManager/vipEvaluateList.vue
  27. 8 1
      src/views/groupChatManager/component/chatList.vue
  28. 8 1
      src/views/groupChatManager/component/sysChatList.vue
  29. 28 0
      src/views/levelManager/levelManager.vue
  30. 8 1
      src/views/littleArtistCamp/index.vue
  31. 7 1
      src/views/liveClassManager/index.vue
  32. 8 1
      src/views/liveClassManager/liveClassDetail.vue
  33. 8 1
      src/views/liveClassManager/liveShopControl.vue
  34. 8 1
      src/views/liveShopManger/index.vue
  35. 8 1
      src/views/main/hasfreeCourse/index.vue
  36. 177 164
      src/views/main/notClassStudent.vue
  37. 194 176
      src/views/main/studentLeaveList.vue
  38. 7 1
      src/views/main/teamShowList.vue
  39. 8 2
      src/views/matchManager/index.vue
  40. 8 1
      src/views/musicalManager/index.vue
  41. 8 1
      src/views/operateManager/operateStudent.vue
  42. 7 1
      src/views/operateManager/serverIndexList.vue
  43. 8 1
      src/views/operationManual/index.vue
  44. 7 1
      src/views/platformManager/paltformAdmin/index.vue
  45. 7 1
      src/views/reaplceMusicPlayer/answerList.vue
  46. 7 1
      src/views/reaplceMusicPlayer/index.vue
  47. 7 1
      src/views/recodeManager/recodeList.vue
  48. 8 1
      src/views/repairManager/repairList.vue
  49. 8 1
      src/views/resetTeaming/components/strudentPayInfo.vue
  50. 7 1
      src/views/setQuestions/userAskList.vue
  51. 8 1
      src/views/settlementManager/settlementList.vue
  52. 7 1
      src/views/smallStudentManager/components/tableList.vue
  53. 22 4
      src/views/stuRecodeManager/index.vue
  54. 8 2
      src/views/studentManager/components/studentLebao.vue
  55. 7 1
      src/views/studentManager/components/studentOrder.vue
  56. 8 1
      src/views/studentManager/components/studentOutList.vue
  57. 14 2
      src/views/studentManager/components/studentRecord.vue
  58. 8 1
      src/views/studentManager/components/studentVip.vue
  59. 7 1
      src/views/studentManager/memberList.vue
  60. 7 1
      src/views/teachManager/teachClass.vue
  61. 8 2
      src/views/teacherManager/teacherDetail/components/courseInfo1.vue
  62. 8 2
      src/views/teacherManager/teacherDetail/components/outCourseList.vue
  63. 8 1
      src/views/teacherManager/teacherDetail/components/teacherRecord.vue
  64. 8 1
      src/views/teacherManager/teacherList.vue
  65. 7 1
      src/views/teamBuild/components/forecast-list.vue
  66. 7 1
      src/views/teamBuild/components/newForecast-list.vue
  67. 7 1
      src/views/teamBuild/forecastName.vue
  68. 7 1
      src/views/teamBuild/initiationList.vue
  69. 7 1
      src/views/teamDetail/components/studentList.vue
  70. 7 1
      src/views/teamDetail/teamClassList.vue
  71. 7 1
      src/views/teamDetail/teamList.vue
  72. 8 1
      src/views/workBenchManager/classFeesIsOk.vue
  73. 7 1
      src/views/workBenchManager/requestComponent/progressRequest.vue

+ 16 - 3
src/templateList.vue

@@ -11,19 +11,32 @@
         :model="searchForm"
         @submit="search"
         @reset="onReSet"
+        ref="saveForm"
       >
         <el-form-item>
           <el-input
             v-model.trim="searchForm.search"
             clearable
-            @keyup.enter.native="search"
+            @keyup.enter.native="
+              (e) => {
+                e.target.blur();
+                $refs.saveForm.save();
+                search();
+              }
+            "
             placeholder="请输入乐团编号"
           ></el-input>
         </el-form-item>
         <el-form-item>
           <el-input
             v-model.trim="searchForm.search"
-            @keyup.enter.native="search"
+            @keyup.enter.native="
+              (e) => {
+                e.target.blur();
+                $refs.saveForm.save();
+                search();
+              }
+            "
             placeholder="请输入乐团编号"
           ></el-input>
         </el-form-item>
@@ -68,7 +81,7 @@
             prop="studentId"
             label="激活数量"
           ></el-table-column>
-                 <el-table-column
+          <el-table-column
             align="center"
             prop="studentId"
             label="推荐人"

+ 7 - 1
src/views/OAMananger/index.vue

@@ -18,7 +18,13 @@
             type="text"
             clearable
             v-model.trim="searchForm.search"
-            @keyup.enter.native="search"
+             @keyup.enter.native="
+              (e) => {
+                e.target.blur();
+                $refs.searchForm.save();
+                search();
+              }
+            "
             placeholder="姓名/编号/手机号"
           ></el-input>
         </el-form-item>

+ 6 - 1
src/views/afterSchoolManager/afterSchoolList.vue

@@ -11,12 +11,17 @@
         @reset="onReSet"
         :saveKey="'afterSchoolList'"
         :model="searchForm"
+        ref="saveForm"
       >
         <el-form-item>
           <el-input
             v-model.trim="searchForm.listSearch"
             clearable
-            @keyup.enter.native="search"
+            @keyup.enter.native="(e) =>{
+                e.target.blur();
+                $refs.saveForm.save();
+                search();
+              }"
             placeholder="请输入标题"
           ></el-input>
         </el-form-item>

+ 9 - 2
src/views/afterSchoolManager/afterWorkList.vue

@@ -12,11 +12,18 @@
         :saveKey="formSaveKey"
         @reset="onReSet"
         v-if="show"
+        ref="saveForm"
       >
         <el-form-item>
           <el-input
             v-model.trim="searchForm.search"
-            @keyup.enter.native="search"
+            @keyup.enter.native="
+              (e) => {
+                e.target.blur();
+                $refs.saveForm.save();
+                search();
+              }
+            "
             clearable
             placeholder="请输入标题 学生姓名"
           ></el-input>
@@ -465,7 +472,7 @@ export default {
       this.searchForm.existVipCourse
         ? (obj.existVipCourse = this.searchForm.existVipCourse)
         : null;
-        obj.cloudHomeworkFlag=this.searchForm.cloudHomeworkFlag
+      obj.cloudHomeworkFlag = this.searchForm.cloudHomeworkFlag;
       return obj;
     },
     onReSet() {

+ 8 - 1
src/views/agentManager/agentList.vue

@@ -11,12 +11,19 @@
         :model="searchForm"
         @submit="search"
         @reset="onReSet"
+        ref="saveForm"
       >
         <el-form-item prop="search">
           <el-input
             v-model.trim="searchForm.search"
             clearable
-            @keyup.enter.native="search"
+               @keyup.enter.native="
+              (e) => {
+                e.target.blur();
+                $refs.saveForm.save();
+                search();
+              }
+            "
             placeholder="姓名/手机号"
           ></el-input>
         </el-form-item>

+ 8 - 1
src/views/attendanceManager/attendanceList/index.vue

@@ -11,13 +11,20 @@
         :model="searchForm"
         @submit="search"
         @reset="onReSet"
+        ref="saveForm"
       >
         <el-form-item>
           <el-input
             class="search"
             v-model.trim="searchForm.search"
             clearable
-            @keyup.enter.native="search"
+               @keyup.enter.native="
+              (e) => {
+                e.target.blur();
+                $refs.saveForm.save();
+                search();
+              }
+            "
             placeholder="课程编号/名称/乐团名称/老师"
           ></el-input>
         </el-form-item>

+ 19 - 4
src/views/auditList/musicGroup.vue

@@ -17,7 +17,13 @@
           <el-input
             v-model.trim="searchForm.search"
             clearable
-            @keyup.enter.native="search"
+            @keyup.enter.native="
+              (e) => {
+                e.target.blur();
+                $refs.searchForm.save();
+                search();
+              }
+            "
             placeholder="乐团名称/编号"
           ></el-input>
         </el-form-item>
@@ -219,14 +225,24 @@
               <el-button
                 @click="lookDetail(scope.row)"
                 type="text"
-                v-if="scope.row.status == 'AUDITING' && $helpers.permission('musicGroupPaymentCalender/auditListDetail/update')"
+                v-if="
+                  scope.row.status == 'AUDITING' &&
+                  $helpers.permission(
+                    'musicGroupPaymentCalender/auditListDetail/update'
+                  )
+                "
               >
                 审核
               </el-button>
               <el-button
                 @click="lookDetail(scope.row)"
                 type="text"
-                v-if="scope.row.status != 'AUDITING' && $helpers.permission('musicGroupPaymentCalender/getDetail/look')"
+                v-if="
+                  scope.row.status != 'AUDITING' &&
+                  $helpers.permission(
+                    'musicGroupPaymentCalender/getDetail/look'
+                  )
+                "
               >
                 查看
               </el-button>
@@ -388,6 +404,5 @@ export default {
 }
 .newBand {
   display: inline-block;
-
 }
 </style>

+ 7 - 1
src/views/backManager/index.vue

@@ -18,7 +18,13 @@
             class="search"
             v-model.trim="searchForm.search"
             clearable
-            @keyup.enter.native="search"
+           @keyup.enter.native="
+              (e) => {
+                e.target.blur();
+                $refs.searchForm.save();
+                search();
+              }
+            "
             placeholder="退费编号/学员/课程组/流水号"
           ></el-input>
         </el-form-item>

+ 8 - 1
src/views/businessManager/orderManager/incomeOut.vue

@@ -21,13 +21,20 @@
         :inline="true"
         class="searchForm"
         :model="searchForm"
+        ref="searchForm"
         @reset="onReSet"
         @submit="search"
       >
         <el-form-item>
           <el-input
             v-model.trim="searchForm.phone"
-            @keyup.enter.native="search"
+            @keyup.enter.native="
+              (e) => {
+                e.target.blur();
+                $refs.searchForm.save();
+                search();
+              }
+            "
             clearable
             placeholder="手机号"
           ></el-input>

+ 7 - 1
src/views/businessManager/orderManager/orderAudit-taoqi/index.vue

@@ -9,7 +9,13 @@
       <saveform ref="searchForm" :model.sync="searchForm" inline style="margin-top: 20px" >
         <el-form-item>
           <el-input v-model.trim="searchForm.transNo"
-                    @keyup.enter.native="transNo"
+                    @keyup.enter.native="
+              (e) => {
+                e.target.blur();
+                $refs.searchForm.save();
+                search();
+              }
+            "
                     clearable
                     placeholder='交易流水号'></el-input>
         </el-form-item>

+ 8 - 1
src/views/businessManager/orderManager/orderAudit/index.vue

@@ -15,7 +15,14 @@
         <el-form-item>
           <el-input
             v-model.trim="searchForm.transNo"
-            @keyup.enter.native="transNo"
+            @keyup.enter.native="
+              (e) => {
+                e.target.blur();
+                $refs.searchForm.save();
+                search();
+              }
+            "
+
             clearable
             placeholder="交易流水号"
           ></el-input>

+ 7 - 1
src/views/businessManager/resetList/index.vue

@@ -17,7 +17,13 @@
           <el-input
             v-model.trim="searchForm.search"
             clearable
-            @keyup.enter.native="search"
+             @keyup.enter.native="
+              (e) => {
+                e.target.blur();
+                $refs.searchForm.save();
+                search();
+              }
+            "
             placeholder="流水号 订单号 学生姓名"
           ></el-input>
         </el-form-item>

+ 7 - 1
src/views/categroyManager/activeSenior.vue

@@ -23,7 +23,13 @@
             class="search"
             v-model.trim="searchForm.search"
             clearable
-            @keyup.enter.native="search"
+            @keyup.enter.native="
+              (e) => {
+                e.target.blur();
+                $refs.searchForm.save();
+                search();
+              }
+            "
             placeholder="学员名称/编号/手机号"
           ></el-input>
         </el-form-item>

+ 8 - 1
src/views/categroyManager/globalSubjects.vue

@@ -12,12 +12,19 @@
         :model="searchForm"
         @submit="search"
         @reset="onReSet"
+        ref="searchForm"
       >
         <el-form-item prop="search">
           <el-input
             v-model.trim="searchForm.search"
             clearable
-            @keyup.enter.native="search"
+            @keyup.enter.native="
+              (e) => {
+                e.target.blur();
+                $refs.searchForm.save();
+                search();
+              }
+            "
             placeholder="请输入编号/名称"
           ></el-input>
         </el-form-item>

+ 7 - 1
src/views/categroyManager/insideSetting/adminManager.vue

@@ -17,7 +17,13 @@
           <el-input
             v-model.trim="searchForm.search"
             clearable
-            @keyup.enter.native="search"
+            @keyup.enter.native="
+              (e) => {
+                e.target.blur();
+                $refs.searchForm.save();
+                search();
+              }
+            "
             placeholder="请输入角色类型"
           ></el-input>
         </el-form-item>

+ 7 - 1
src/views/categroyManager/insideSetting/branchActive.vue

@@ -25,7 +25,13 @@
           <el-input
             type="text"
             v-model.trim="searchForm.search"
-            @keyup.enter.native="getList"
+            @keyup.enter.native="
+              (e) => {
+                e.target.blur();
+                $refs.searchForm.save();
+                onSearch();
+              }
+            "
             placeholder="分部活动名"
           ></el-input>
         </el-form-item>

+ 35 - 21
src/views/categroyManager/insideSetting/staffManager.vue

@@ -18,7 +18,13 @@
             type="text"
             clearable
             v-model.trim="searchForm.search"
-            @keyup.enter.native="search"
+            @keyup.enter.native="
+              (e) => {
+                e.target.blur();
+                $refs.searchForm.save();
+                search();
+              }
+            "
             placeholder="姓名/编号/手机号"
           ></el-input>
         </el-form-item>
@@ -398,7 +404,11 @@
         </el-row>
         <el-row>
           <el-col :span="24">
-            <el-form-item prop="positionIds" :label-width="formLabelWidth" class="hiddenStart">
+            <el-form-item
+              prop="positionIds"
+              :label-width="formLabelWidth"
+              class="hiddenStart"
+            >
               <template slot="label">
                 <p style="position: relative">
                   <span style="color: #f56c6c; margin-right: 4px">*</span>
@@ -561,7 +571,7 @@
     <el-dialog
       title="教务交接"
       width="400px"
-    v-if="educationViseble"
+      v-if="educationViseble"
       close-on-click-modal
       :visible.sync="educationViseble"
     >
@@ -596,7 +606,11 @@
       </span>
     </el-dialog>
 
-    <qr-code v-model="qrCodeStatus" title="管理端APP下载链接" :codeUrl="codeUrl" />
+    <qr-code
+      v-model="qrCodeStatus"
+      title="管理端APP下载链接"
+      :codeUrl="codeUrl"
+    />
   </div>
 </template>
 <script>
@@ -778,22 +792,22 @@ export default {
           const { organIdLists, postDeptIds, deptIds, deptId, ...res } =
             this.form;
           let tempPost = [];
-        // console.log(postDeptIds,'deptIds',deptIds,'deptId',deptId)
-        //   postDeptIds.forEach((post) => {
-        //     let tempIds = [];
-        //     post.deptIds.forEach((item) => {
-        //       tempIds.push(item[item.length - 1]);
-        //     });
-        //     tempPost.push({
-        //       postId: post.postId,
-        //       deptIds: tempIds,
-        //     });
-        //   });
-        //   const tempDeptIds = [];
-        //   deptIds.forEach((ds) => {
-        //     tempDeptIds.push(ds[ds.length - 1]);
-        //   });
-        //   console.log(tempDeptIds)
+          // console.log(postDeptIds,'deptIds',deptIds,'deptId',deptId)
+          //   postDeptIds.forEach((post) => {
+          //     let tempIds = [];
+          //     post.deptIds.forEach((item) => {
+          //       tempIds.push(item[item.length - 1]);
+          //     });
+          //     tempPost.push({
+          //       postId: post.postId,
+          //       deptIds: tempIds,
+          //     });
+          //   });
+          //   const tempDeptIds = [];
+          //   deptIds.forEach((ds) => {
+          //     tempDeptIds.push(ds[ds.length - 1]);
+          //   });
+          //   console.log(tempDeptIds)
           // const tempDeptId = deptId ? deptId[deptId.length - 1] : "";
 
           let tempForm = {
@@ -1016,7 +1030,7 @@ export default {
           //     deptIds: deptArr,
           //   });
           // });
-          postDeptArr = [...postDept]
+          postDeptArr = [...postDept];
           // console.log('postDeptArr',postDeptArr)
         } else {
           postDeptArr = [

+ 7 - 1
src/views/categroyManager/insideSetting/staffPlatManager.vue

@@ -18,7 +18,13 @@
             type="text"
             clearable
             v-model.trim="searchForm.search"
-            @keyup.enter.native="search"
+                   @keyup.enter.native="
+              (e) => {
+                e.target.blur();
+                $refs.searchForm.save();
+                search();
+              }
+            "
             placeholder="姓名/编号/手机号"
           ></el-input>
         </el-form-item>

+ 8 - 1
src/views/categroyManager/specialSetup/branchSetting.vue

@@ -9,6 +9,7 @@
       <save-form
         :inline="true"
         class="searchForm"
+        ref="searchForm"
         saveKey="contentFlashPage"
         @submit="search"
         :model="searchForm"
@@ -17,7 +18,13 @@
           <el-input
             v-model.trim="searchForm.search"
             clearable
-            @keyup.enter.native="search"
+                   @keyup.enter.native="
+              (e) => {
+                e.target.blur();
+                $refs.searchForm.save();
+                search();
+              }
+            "
             placeholder="分部名称/编号"
           ></el-input>
         </el-form-item>

+ 7 - 1
src/views/childrensDay/resetDays.vue

@@ -11,7 +11,13 @@
         <el-input
           v-model.trim="searchForm.search"
           clearable
-          @keyup.enter.native="search"
+                 @keyup.enter.native="
+              (e) => {
+                e.target.blur();
+                $refs.searchForm.save();
+                search();
+              }
+            "
           placeholder="姓名/编号/手机号"
         ></el-input>
       </el-form-item>

+ 29 - 11
src/views/couponManager/couponDetail.vue

@@ -11,26 +11,45 @@
         :model="searchForm"
         @submit="search"
         @reset="onReSet"
+        ref="searchForm"
       >
         <el-form-item prop="search">
           <el-input
             v-model.trim="searchForm.search"
             clearable
-            @keyup.enter.native="search"
+            @keyup.enter.native="
+              (e) => {
+                e.target.blur();
+                $refs.searchForm.save();
+                search();
+              }
+            "
             placeholder="姓名/编号/手机号"
           ></el-input>
         </el-form-item>
         <el-form-item prop="couponName">
           <el-input
             v-model.trim="searchForm.couponName"
-            @keyup.enter.native="search"
+            @keyup.enter.native="
+              (e) => {
+                e.target.blur();
+                $refs.searchForm.save();
+                search();
+              }
+            "
             placeholder="优惠券名称"
           ></el-input>
         </el-form-item>
         <el-form-item prop="paymentOrderId">
           <el-input
             v-model.trim="searchForm.paymentOrderId"
-            @keyup.enter.native="search"
+            @keyup.enter.native="
+              (e) => {
+                e.target.blur();
+                $refs.searchForm.save();
+                search();
+              }
+            "
             placeholder="关联订单号"
           ></el-input>
         </el-form-item>
@@ -62,7 +81,7 @@
             ></el-option>
           </el-select>
         </el-form-item>
-                <el-form-item prop="issueType">
+        <el-form-item prop="issueType">
           <el-select
             class="multiple"
             v-model.trim="searchForm.issueType"
@@ -167,7 +186,7 @@
               </div>
             </template>
           </el-table-column>
-               <el-table-column
+          <el-table-column
             align="center"
             prop="couponId"
             width="100px"
@@ -175,7 +194,7 @@
           >
             <template slot-scope="scope">
               <div>
-                <p>{{ scope.row.issueType| issueType}}</p>
+                <p>{{ scope.row.issueType | issueType }}</p>
               </div>
             </template>
           </el-table-column>
@@ -220,7 +239,7 @@ import pagination from "@/components/Pagination/index";
 import { getSysCouponCode } from "./api";
 import Tooltip from "@/components/Tooltip/index";
 import load from "@/utils/loading";
-import {issueList} from '@/utils/searchArray'
+import { issueList } from "@/utils/searchArray";
 export default {
   components: { pagination, Tooltip },
   data() {
@@ -275,10 +294,9 @@ export default {
       this.getList();
     },
     onReSet() {
-      this.$nextTick(()=>{
-          this.search();
-      })
-
+      this.$nextTick(() => {
+        this.search();
+      });
     },
     gotoOrder(id) {
       this.$router.push({

+ 7 - 1
src/views/couponManager/index.vue

@@ -17,7 +17,13 @@
           <el-input
             v-model.trim="searchForm.search"
             clearable
-            @keyup.enter.native="search"
+                    @keyup.enter.native="
+              (e) => {
+                e.target.blur();
+                $refs.searchForm.save();
+                search();
+              }
+            "
             placeholder="优惠券名称/编号"
           ></el-input>
         </el-form-item>

+ 14 - 2
src/views/deviceNumManager/index.vue

@@ -17,14 +17,26 @@
           <el-input
             v-model.trim="searchForm.search"
             clearable
-            @keyup.enter.native="search"
+                   @keyup.enter.native="
+              (e) => {
+                e.target.blur();
+                $refs.searchForm.save();
+                search();
+              }
+            "
             placeholder="姓名/编号/手机号"
           ></el-input>
         </el-form-item>
         <el-form-item prop="deviceNum">
           <el-input
             v-model.trim="searchForm.deviceNum"
-            @keyup.enter.native="deviceNum"
+              @keyup.enter.native="
+              (e) => {
+                e.target.blur();
+                $refs.searchForm.save();
+                search();
+              }
+            "
             clearable
             placeholder="设备号"
           ></el-input>

+ 8 - 1
src/views/dictionaryManager/index.vue

@@ -10,6 +10,7 @@
         :inline="true"
         :model="searchForm"
         @submit="search"
+        ref="searchForm"
 
       >
       <!--        @reset="onReSet" -->
@@ -17,7 +18,13 @@
           <el-input
             v-model.trim="searchForm.search"
             clearable
-            @keyup.enter.native="search"
+            @keyup.enter.native="
+              (e) => {
+                e.target.blur();
+                $refs.searchForm.save();
+                search();
+              }
+            "
             placeholder="请输入功能名称"
           ></el-input>
         </el-form-item>

+ 8 - 1
src/views/evaluateManager/networkList.vue

@@ -7,13 +7,20 @@
       :model="searchForm"
       @submit="search"
       @reset="onReSet"
+      ref="searchForm"
       save-key="commentManager-networkList"
     >
       <!-- 状态 指导老师 活动方案-->
       <el-form-item>
         <el-input
           v-model.trim="searchForm.search"
-          @keyup.enter.native="search"
+            @keyup.enter.native="
+              (e) => {
+                e.target.blur();
+                $refs.searchForm.save();
+                search();
+              }
+            "
           clearable
           placeholder="请输入课程组名称 ID"
         ></el-input>

+ 8 - 1
src/views/evaluateManager/vipEvaluateList.vue

@@ -8,12 +8,19 @@
       :model="searchForm"
       @submit="search"
       @reset="onReSet"
+      ref="searchForm"
     >
       <!-- 状态 指导老师 活动方案-->
       <el-form-item>
         <el-input
           v-model.trim="searchForm.search"
-          @keyup.enter.native="search"
+            @keyup.enter.native="
+              (e) => {
+                e.target.blur();
+                $refs.searchForm.save();
+                search();
+              }
+            "
           clearable
           placeholder="请输入课程组名称 ID"
         ></el-input>

+ 8 - 1
src/views/groupChatManager/component/chatList.vue

@@ -6,12 +6,19 @@
       :model="searchForm"
       @submit="search"
       @reset="onReSet"
+      ref="searchForm"
     >
       <el-form-item>
         <el-input
           v-model.trim="searchForm.search"
           clearable
-          @keyup.enter.native="search"
+            @keyup.enter.native="
+              (e) => {
+                e.target.blur();
+                $refs.searchForm.save();
+                search();
+              }
+            "
           placeholder="群聊名称"
         ></el-input>
       </el-form-item>

+ 8 - 1
src/views/groupChatManager/component/sysChatList.vue

@@ -6,12 +6,19 @@
       :model="searchForm"
       @submit="search"
       @reset="onReSet"
+      ref="searchForm"
     >
       <el-form-item>
         <el-input
           v-model.trim="searchForm.search"
           clearable
-          @keyup.enter.native="search"
+           @keyup.enter.native="
+              (e) => {
+                e.target.blur();
+                $refs.searchForm.save();
+                search();
+              }
+            "
           placeholder="群聊名称"
         ></el-input>
       </el-form-item>

+ 28 - 0
src/views/levelManager/levelManager.vue

@@ -19,6 +19,13 @@
             v-model.trim="searchForm.name"
             clearable
             placeholder="请输入姓名"
+              @keyup.enter.native="
+              (e) => {
+                e.target.blur();
+                $refs.searchForm.save();
+                search();
+              }
+            "
           ></el-input>
         </el-form-item>
         <el-form-item prop="orderNo">
@@ -26,11 +33,25 @@
             v-model.trim="searchForm.orderNo"
             clearable
             placeholder="请输入订单编号"
+              @keyup.enter.native="
+              (e) => {
+                e.target.blur();
+                $refs.searchForm.save();
+                search();
+              }
+            "
           ></el-input>
         </el-form-item>
         <el-form-item prop="transNo">
           <el-input
             v-model.trim="searchForm.transNo"
+              @keyup.enter.native="
+              (e) => {
+                e.target.blur();
+                $refs.searchForm.save();
+                search();
+              }
+            "
             clearable
             placeholder="请输入交易流水号"
           ></el-input>
@@ -43,6 +64,13 @@
         <el-form-item prop="city">
           <el-input
             v-model.trim="searchForm.city"
+              @keyup.enter.native="
+              (e) => {
+                e.target.blur();
+                $refs.searchForm.save();
+                search();
+              }
+            "
             clearable
             placeholder="请输入所属城市"
           ></el-input>

+ 8 - 1
src/views/littleArtistCamp/index.vue

@@ -11,12 +11,19 @@
         :model="searchForm"
         @submit="search"
         @reset="onReSet"
+        ref="searchForm"
       >
         <el-form-item prop="name">
           <el-input
             v-model.trim="searchForm.name"
             clearable
-            @keyup.enter.native="name"
+             @keyup.enter.native="
+              (e) => {
+                e.target.blur();
+                $refs.searchForm.save();
+                search();
+              }
+            "
             placeholder="训练营标题"
           ></el-input>
         </el-form-item>

+ 7 - 1
src/views/liveClassManager/index.vue

@@ -25,7 +25,13 @@
           <el-input
             v-model.trim="searchForm.search"
             clearable
-            @keyup.enter.native="search"
+              @keyup.enter.native="
+              (e) => {
+                e.target.blur();
+                $refs.searchForm.save();
+                search();
+              }
+            "
             placeholder="直播间编号/标题"
           ></el-input>
         </el-form-item>

+ 8 - 1
src/views/liveClassManager/liveClassDetail.vue

@@ -50,12 +50,19 @@
         :model="searchForm"
         @submit="search"
         @reset="onReSet"
+        ref="searchForm"
       >
         <el-form-item>
           <el-input
             v-model.trim="searchForm.search"
             clearable
-            @keyup.enter.native="search"
+              @keyup.enter.native="
+              (e) => {
+                e.target.blur();
+                $refs.searchForm.save();
+                search();
+              }
+            "
             placeholder="学员编号/姓名"
           ></el-input>
         </el-form-item>

+ 8 - 1
src/views/liveClassManager/liveShopControl.vue

@@ -34,12 +34,19 @@
         :model="searchForm"
         @submit="search"
         @reset="onReSet"
+        ref="searchForm"
       >
         <el-form-item>
           <el-input
             v-model.trim="searchForm.search"
             clearable
-            @keyup.enter.native="search"
+             @keyup.enter.native="
+              (e) => {
+                e.target.blur();
+                $refs.searchForm.save();
+                search();
+              }
+            "
             placeholder="商品编号/名称"
           ></el-input>
         </el-form-item>

+ 8 - 1
src/views/liveShopManger/index.vue

@@ -19,12 +19,19 @@
         :model="searchForm"
         @submit="search"
         @reset="onReSet"
+        ref="searchForm"
       >
         <el-form-item>
           <el-input
             v-model.trim="searchForm.search"
             clearable
-            @keyup.enter.native="search"
+             @keyup.enter.native="
+              (e) => {
+                e.target.blur();
+                $refs.searchForm.save();
+                search();
+              }
+            "
             placeholder="商品编号/名称"
           ></el-input>
         </el-form-item>

+ 8 - 1
src/views/main/hasfreeCourse/index.vue

@@ -11,12 +11,19 @@
         :model="searchForm"
         @submit="search"
         @reset="onReSet"
+        ref="searchForm"
       >
         <el-form-item prop="search">
           <el-input
             v-model.trim="searchForm.search"
             clearable
-            @keyup.enter.native="search"
+             @keyup.enter.native="
+              (e) => {
+                e.target.blur();
+                $refs.searchForm.save();
+                search();
+              }
+            "
             placeholder="请输入姓名/编号"
           ></el-input>
         </el-form-item>

+ 177 - 164
src/views/main/notClassStudent.vue

@@ -1,181 +1,194 @@
 <!--  -->
 <template>
-    <div class="m-container">
-        <h2>
-            <div class="squrt"></div>
-            未在班级学员
-        </h2>
-        <div class="m-core">
-            <save-form
-                :inline="true"
-                @submit="search"
-                @reset="onReSet"
-                ref="searchFrom"
-                :model="searchForm"
-            >
-                <el-form-item prop="musicGroupSearch">
-                    <el-input
-                        v-model.trim="searchForm.musicGroupSearch"
-                        clearable
-                        @keyup.enter.native="search"
-                        placeholder="乐团名称/编号"
-                    ></el-input>
-                </el-form-item>
-                <el-form-item prop="studentSearch">
-                    <el-input
-                        v-model.trim="searchForm.studentSearch"
-                        clearable
-                        @keyup.enter.native="search"
-                        placeholder="学员姓名/编号"
-                    ></el-input>
-                </el-form-item>
-                <el-form-item prop="organIds">
-                    <el-select
-                        placeholder="请选择分部"
-                        v-model="searchForm.organIds"
-                        clearable
-                    >
-                        <el-option
-                        v-for="(item, index) in selects.branchs"
-                        :label="item.name"
-                        :value="item.id"
-                        :key="index"
-                        ></el-option>
-                    </el-select>
-                </el-form-item>
-                <el-form-item>
-                    <el-button type="danger" native-type="submit">搜索</el-button>
-                    <el-button native-type="reset" type="primary">重置</el-button>
-                </el-form-item>
-            </save-form>
-            <div class="tableWrap">
-                <el-table
-                style="width: 100%"
-                :header-cell-style="{ background: '#EDEEF0', color: '#444' }"
-                :data="tableList"
+  <div class="m-container">
+    <h2>
+      <div class="squrt"></div>
+      未在班级学员
+    </h2>
+    <div class="m-core">
+      <save-form
+        :inline="true"
+        @submit="search"
+        @reset="onReSet"
+        ref="searchFrom"
+        :model="searchForm"
+      >
+        <el-form-item prop="musicGroupSearch">
+          <el-input
+            v-model.trim="searchForm.musicGroupSearch"
+            clearable
+            @keyup.enter.native="
+              (e) => {
+                e.target.blur();
+                $refs.searchForm.save();
+                search();
+              }
+            "
+            placeholder="乐团名称/编号"
+          ></el-input>
+        </el-form-item>
+        <el-form-item prop="studentSearch">
+          <el-input
+            v-model.trim="searchForm.studentSearch"
+            clearable
+            @keyup.enter.native="
+              (e) => {
+                e.target.blur();
+                $refs.searchForm.save();
+                search();
+              }
+            "
+            placeholder="学员姓名/编号"
+          ></el-input>
+        </el-form-item>
+        <el-form-item prop="organIds">
+          <el-select
+            placeholder="请选择分部"
+            v-model="searchForm.organIds"
+            clearable
+          >
+            <el-option
+              v-for="(item, index) in selects.branchs"
+              :label="item.name"
+              :value="item.id"
+              :key="index"
+            ></el-option>
+          </el-select>
+        </el-form-item>
+        <el-form-item>
+          <el-button type="danger" native-type="submit">搜索</el-button>
+          <el-button native-type="reset" type="primary">重置</el-button>
+        </el-form-item>
+      </save-form>
+      <div class="tableWrap">
+        <el-table
+          style="width: 100%"
+          :header-cell-style="{ background: '#EDEEF0', color: '#444' }"
+          :data="tableList"
+        >
+          <el-table-column align="center" label="分部">
+            <template slot-scope="scope">
+              <copy-text>{{ scope.row.organName }}</copy-text>
+            </template>
+          </el-table-column>
+          <el-table-column align="center" label="乐团编号">
+            <template slot-scope="scope">
+              <copy-text>{{ scope.row.groupId }}</copy-text>
+            </template>
+          </el-table-column>
+          <el-table-column align="center" label="乐团名称">
+            <template slot-scope="scope">
+              <copy-text>{{ scope.row.groupName }}</copy-text>
+            </template>
+          </el-table-column>
+          <el-table-column align="center" label="学员编号">
+            <template slot-scope="scope">
+              <copy-text>{{ scope.row.studentId }}</copy-text>
+            </template>
+          </el-table-column>
+          <el-table-column align="center" label="学员姓名">
+            <template slot-scope="scope">
+              <copy-text>{{ scope.row.studentName }}</copy-text>
+            </template>
+          </el-table-column>
+          <el-table-column align="center" label="学员声部" prop="subjectName">
+          </el-table-column>
+          <el-table-column align="center" label="操作">
+            <template slot-scope="scope">
+              <auth :auths="['notClassStudent/nowLook', '/resetTeaming']" mulit>
+                <el-button type="text" @click="showDetail(scope.row)"
+                  >立即处理</el-button
                 >
-                <el-table-column align="center" label="分部">
-                    <template slot-scope="scope">
-                        <copy-text>{{ scope.row.organName }}</copy-text>
-                    </template>
-                </el-table-column>
-                <el-table-column align="center" label="乐团编号">
-                    <template slot-scope="scope">
-                        <copy-text>{{ scope.row.groupId }}</copy-text>
-                    </template>
-                </el-table-column>
-                <el-table-column align="center" label="乐团名称">
-                    <template slot-scope="scope">
-                        <copy-text>{{ scope.row.groupName }}</copy-text>
-                    </template>
-                </el-table-column>
-                <el-table-column align="center" label="学员编号">
-                    <template slot-scope="scope">
-                        <copy-text>{{ scope.row.studentId }}</copy-text>
-                    </template>
-                </el-table-column>
-                <el-table-column align="center" label="学员姓名">
-                    <template slot-scope="scope">
-                        <copy-text>{{ scope.row.studentName }}</copy-text>
-                    </template>
-                </el-table-column>
-                <el-table-column align="center" label="学员声部" prop="subjectName">
-                </el-table-column>
-                <el-table-column align="center" label="操作">
-                    <template slot-scope="scope">
-                        <auth :auths="['notClassStudent/nowLook', '/resetTeaming']" mulit>
-                            <el-button type="text" @click="showDetail(scope.row)">立即处理</el-button>
-                        </auth>
-                    </template>
-                </el-table-column>
-                </el-table>
-                <pagination
-                sync
-                :total.sync="rules.total"
-                :page.sync="rules.page"
-                :limit.sync="rules.limit"
-                :page-sizes="rules.page_size"
-                @pagination="getList"
-                />
-            </div>
-        </div>
+              </auth>
+            </template>
+          </el-table-column>
+        </el-table>
+        <pagination
+          sync
+          :total.sync="rules.total"
+          :page.sync="rules.page"
+          :limit.sync="rules.limit"
+          :page-sizes="rules.page_size"
+          @pagination="getList"
+        />
+      </div>
     </div>
+  </div>
 </template>
 
 <script>
 import pagination from "@/components/Pagination/index";
-import { queryNoClassMusicStudentInfo } from './api.js'
+import { queryNoClassMusicStudentInfo } from "./api.js";
 export default {
-    components: { pagination },
-    data() {
-        return {
-            searchForm: {
-                musicGroupSearch: null,
-                studentSearch: null,
-                organIds: null,
-            },
-            rules: {
-                // 分页规则
-                limit: 10, // 限制显示条数
-                page: 1, // 当前页
-                total: 0, // 总条数
-                page_size: [10, 20, 40, 50], // 选择限制显示条数
-            },
-            tableList: []
-        };
-    },
-    //生命周期 - 挂载完成(可以访问DOM元素)
-    mounted() {
-        const { query } = this.$route
-        if (query.organId) {
-            this.searchForm.organIds = Number(query.organId)
-        }
-        this.$store.dispatch("setBranchs");
+  components: { pagination },
+  data() {
+    return {
+      searchForm: {
+        musicGroupSearch: null,
+        studentSearch: null,
+        organIds: null,
+      },
+      rules: {
+        // 分页规则
+        limit: 10, // 限制显示条数
+        page: 1, // 当前页
+        total: 0, // 总条数
+        page_size: [10, 20, 40, 50], // 选择限制显示条数
+      },
+      tableList: [],
+    };
+  },
+  //生命周期 - 挂载完成(可以访问DOM元素)
+  mounted() {
+    const { query } = this.$route;
+    if (query.organId) {
+      this.searchForm.organIds = Number(query.organId);
+    }
+    this.$store.dispatch("setBranchs");
 
-        this.getList()
+    this.getList();
+  },
+  methods: {
+    search() {
+      this.rules.page = 1;
+      this.getList();
     },
-    methods: {
-        search() {
-            this.rules.page = 1;
-            this.getList();
-        },
-        onReSet() {
-            this.$refs['searchFrom'].resetFields()
-            this.getList()
-        },
-        async getList() {
-            try {
-                const { ...search } = this.searchForm
-                const params = {
-                    ...search,
-                    page: this.rules.page,
-                    rows: this.rules.limit
-                }
-                let res = await queryNoClassMusicStudentInfo(params)
-                this.tableList = res.data.rows;
-                this.rules.total = res.data.total;
-            } catch (err) {
-                //
-            }
+    onReSet() {
+      this.$refs["searchFrom"].resetFields();
+      this.getList();
+    },
+    async getList() {
+      try {
+        const { ...search } = this.searchForm;
+        const params = {
+          ...search,
+          page: this.rules.page,
+          rows: this.rules.limit,
+        };
+        let res = await queryNoClassMusicStudentInfo(params);
+        this.tableList = res.data.rows;
+        this.rules.total = res.data.total;
+      } catch (err) {
+        //
+      }
+    },
+    showDetail(item) {
+      // ?status=PROGRESS&id=21040114171500001&name=0401莫莫2&organId=1&type=resetTeam&team_status=PROGRESS&tabrouter=5
+      this.$router.push({
+        path: "/business/resetTeaming",
+        query: {
+          type: "resetTeam",
+          status: "PROGRESS",
+          team_status: "PROGRESS",
+          id: item.groupId,
+          name: item.groupName,
+          organId: item.organId,
+          tabrouter: 5,
         },
-        showDetail(item) {
-            // ?status=PROGRESS&id=21040114171500001&name=0401莫莫2&organId=1&type=resetTeam&team_status=PROGRESS&tabrouter=5
-            this.$router.push({
-                path: '/business/resetTeaming',
-                query: {
-                    type: 'resetTeam',
-                    status: 'PROGRESS',
-                    team_status: 'PROGRESS',
-                    id: item.groupId,
-                    name: item.groupName,
-                    organId: item.organId,
-                    tabrouter: 5
-                }
-            })
-        }
+      });
     },
+  },
 };
 </script>
 <style lang='scss' scoped>
-
 </style>

+ 194 - 176
src/views/main/studentLeaveList.vue

@@ -1,194 +1,212 @@
 <!--  -->
 <template>
-    <div class="m-container">
-        <h2>
-            <div class="squrt"></div>
-            学员请假列表
-        </h2>
-        <div class="m-core">
-            <save-form
-                :inline="true"
-                @submit="search"
-                @reset="onReSet"
-                ref="searchFrom"
-                :model="searchForm"
-            >
-                <el-form-item prop="search">
-                    <el-input
-                        v-model.trim="searchForm.search"
-                        clearable
-                        @keyup.enter.native="search"
-                        placeholder="学员编号/姓名/手机号"
-                    ></el-input>
-                </el-form-item>
-                <el-form-item prop="organId">
-                    <el-select
-                        placeholder="请选择分部"
-                        v-model="searchForm.organId"
-                        clearable
-                    >
-                        <el-option
-                        v-for="(item, index) in selects.branchs"
-                        :label="item.name"
-                        :value="item.id"
-                        :key="index"
-                        ></el-option>
-                    </el-select>
-                </el-form-item>
-                <el-form-item>
-                    <el-button type="danger" native-type="submit">搜索</el-button>
-                    <el-button native-type="reset" type="primary">重置</el-button>
-                </el-form-item>
-            </save-form>
-            <div class="tableWrap">
-                <el-table
-                style="width: 100%"
-                :header-cell-style="{ background: '#EDEEF0', color: '#444' }"
-                :data="tableList"
+  <div class="m-container">
+    <h2>
+      <div class="squrt"></div>
+      学员请假列表
+    </h2>
+    <div class="m-core">
+      <save-form
+        :inline="true"
+        @submit="search"
+        @reset="onReSet"
+        ref="searchFrom"
+        :model="searchForm"
+      >
+        <el-form-item prop="search">
+          <el-input
+            v-model.trim="searchForm.search"
+            clearable
+            @keyup.enter.native="
+              (e) => {
+                e.target.blur();
+                $refs.searchForm.save();
+                search();
+              }
+            "
+            placeholder="学员编号/姓名/手机号"
+          ></el-input>
+        </el-form-item>
+        <el-form-item prop="organId">
+          <el-select
+            placeholder="请选择分部"
+            v-model="searchForm.organId"
+            clearable
+          >
+            <el-option
+              v-for="(item, index) in selects.branchs"
+              :label="item.name"
+              :value="item.id"
+              :key="index"
+            ></el-option>
+          </el-select>
+        </el-form-item>
+        <el-form-item>
+          <el-button type="danger" native-type="submit">搜索</el-button>
+          <el-button native-type="reset" type="primary">重置</el-button>
+        </el-form-item>
+      </save-form>
+      <div class="tableWrap">
+        <el-table
+          style="width: 100%"
+          :header-cell-style="{ background: '#EDEEF0', color: '#444' }"
+          :data="tableList"
+        >
+          <el-table-column align="center" label="分部">
+            <template slot-scope="scope">
+              <copy-text>{{ scope.row.organName }}</copy-text>
+            </template>
+          </el-table-column>
+          <el-table-column align="center" label="学员编号">
+            <template slot-scope="scope">
+              <copy-text>{{ scope.row.userId }}</copy-text>
+            </template>
+          </el-table-column>
+          <el-table-column align="center" label="学员姓名">
+            <template slot-scope="scope">
+              <copy-text>{{ scope.row.studentName }}</copy-text>
+            </template>
+          </el-table-column>
+          <el-table-column align="center" label="手机号" prop="phone">
+          </el-table-column>
+          <el-table-column
+            align="center"
+            label="近两个月请假次数"
+            prop="totalNum"
+          >
+          </el-table-column>
+          <el-table-column
+            align="center"
+            label="本月请假次数"
+            prop="currentNum"
+          >
+          </el-table-column>
+          <el-table-column align="center" label="操作">
+            <template slot-scope="scope">
+              <auth :auths="['studentManage/queryStudentLeaveCourseList']">
+                <el-button type="text" @click="showDetail(scope.row)"
+                  >查看</el-button
+                >
+              </auth>
+              <auth :auths="['visit/add?page=studentLeaveList']">
+                <el-button type="text" @click="addVisit(scope.row)"
+                  >新增回访</el-button
                 >
-                <el-table-column align="center" label="分部">
-                    <template slot-scope="scope">
-                        <copy-text>{{ scope.row.organName }}</copy-text>
-                    </template>
-                </el-table-column>
-                <el-table-column align="center" label="学员编号">
-                    <template slot-scope="scope">
-                        <copy-text>{{ scope.row.userId }}</copy-text>
-                    </template>
-                </el-table-column>
-                <el-table-column align="center" label="学员姓名">
-                    <template slot-scope="scope">
-                        <copy-text>{{ scope.row.studentName }}</copy-text>
-                    </template>
-                </el-table-column>
-                <el-table-column align="center" label="手机号" prop="phone">
-                </el-table-column>
-                <el-table-column align="center" label="近两个月请假次数" prop="totalNum">
-                </el-table-column>
-                <el-table-column align="center" label="本月请假次数" prop="currentNum">
-                </el-table-column>
-                <el-table-column align="center" label="操作">
-                    <template slot-scope="scope">
-                        <auth :auths="['studentManage/queryStudentLeaveCourseList']">
-                            <el-button type="text" @click="showDetail(scope.row)">查看</el-button>
-                        </auth>
-                        <auth :auths="['visit/add?page=studentLeaveList']">
-                         <el-button type="text" @click="addVisit(scope.row)">新增回访</el-button>
-                        </auth>
-                    </template>
-                </el-table-column>
-                </el-table>
-                <pagination
-                sync
-                :total.sync="pageInfo.total"
-                :page.sync="pageInfo.page"
-                :limit.sync="pageInfo.limit"
-                :page-sizes="pageInfo.page_size"
-                @pagination="getList"
-                />
-            </div>
-        </div>
+              </auth>
+            </template>
+          </el-table-column>
+        </el-table>
+        <pagination
+          sync
+          :total.sync="pageInfo.total"
+          :page.sync="pageInfo.page"
+          :limit.sync="pageInfo.limit"
+          :page-sizes="pageInfo.page_size"
+          @pagination="getList"
+        />
+      </div>
+    </div>
 
-        <el-dialog
-            title="查看"
-            width="1000px"
-            :visible.sync="leaveVisible"
-            append-to-body>
-            <student-leave-detail v-if="leaveVisible" :studentId="studentId" />
-        </el-dialog>
+    <el-dialog
+      title="查看"
+      width="1000px"
+      :visible.sync="leaveVisible"
+      append-to-body
+    >
+      <student-leave-detail v-if="leaveVisible" :studentId="studentId" />
+    </el-dialog>
 
-        <el-dialog
-            title="新增回访"
-            width="500px"
-            :visible.sync="visitVisible"
-            append-to-body
-        >
-            <visit
-                v-if="visitVisible && detail"
-                :detail="detail"
-                :username="detail.username"
-                @close="visitVisible = false"
-                @submited="getList"
-                :useVisitType="['其它','异常请假回访']"
-            />
-        </el-dialog>
-    </div>
+    <el-dialog
+      title="新增回访"
+      width="500px"
+      :visible.sync="visitVisible"
+      append-to-body
+    >
+      <visit
+        v-if="visitVisible && detail"
+        :detail="detail"
+        :username="detail.username"
+        @close="visitVisible = false"
+        @submited="getList"
+        :useVisitType="['其它', '异常请假回访']"
+      />
+    </el-dialog>
+  </div>
 </template>
 
 <script>
 import pagination from "@/components/Pagination/index";
 import visit from "@/views/withdrawal-application/modals/visit";
-import studentLeaveDetail from './modals/studentLeaveDetail'
-import { queryStudentErrorLeaveList } from './api.js'
+import studentLeaveDetail from "./modals/studentLeaveDetail";
+import { queryStudentErrorLeaveList } from "./api.js";
 export default {
-    components: { pagination, visit, studentLeaveDetail },
-    data() {
-        return {
-            searchForm: {
-                search: null,
-                studentSearch: null,
-                organId: null,
-            },
-            visitVisible: false,
-            detail: null,
-            pageInfo: {
-                // 分页规则
-                limit: 10, // 限制显示条数
-                page: 1, // 当前页
-                total: 0, // 总条数
-                page_size: [10, 20, 40, 50], // 选择限制显示条数
-            },
-            tableList: [],
-            leaveVisible: false,
-            studentId: null,
-        };
-    },
-    //生命周期 - 挂载完成(可以访问DOM元素)
-    mounted() {
-        const { query } = this.$route
-        if (query.organId) {
-            this.searchForm.organId = Number(query.organId)
-        }
-        this.$store.dispatch("setBranchs");
+  components: { pagination, visit, studentLeaveDetail },
+  data() {
+    return {
+      searchForm: {
+        search: null,
+        studentSearch: null,
+        organId: null,
+      },
+      visitVisible: false,
+      detail: null,
+      pageInfo: {
+        // 分页规则
+        limit: 10, // 限制显示条数
+        page: 1, // 当前页
+        total: 0, // 总条数
+        page_size: [10, 20, 40, 50], // 选择限制显示条数
+      },
+      tableList: [],
+      leaveVisible: false,
+      studentId: null,
+    };
+  },
+  //生命周期 - 挂载完成(可以访问DOM元素)
+  mounted() {
+    const { query } = this.$route;
+    if (query.organId) {
+      this.searchForm.organId = Number(query.organId);
+    }
+    this.$store.dispatch("setBranchs");
 
-        this.getList()
+    this.getList();
+  },
+  methods: {
+    addVisit(row) {
+      this.visitVisible = true;
+      row.id = row.userId;
+      this.detail = row;
+    },
+    search() {
+      this.pageInfo.page = 1;
+      this.getList();
+    },
+    onReSet() {
+      this.$refs["searchFrom"].resetFields();
+      this.getList();
     },
-    methods: {
-        addVisit(row) {
-            this.visitVisible = true;
-            row.id = row.userId
-            this.detail = row;
-        },
-        search() {
-            this.pageInfo.page = 1;
-            this.getList();
-        },
-        onReSet() {
-            this.$refs['searchFrom'].resetFields()
-            this.getList()
-        },
-        async getList() {
-            try {
-                const { ...search } = this.searchForm
-                const params = {
-                    ...search,
-                    page: this.pageInfo.page,
-                    rows: this.pageInfo.limit
-                }
-                let res = await queryStudentErrorLeaveList(params)
-                this.tableList = res.data.rows;
-                this.pageInfo.total = res.data.total;
-            } catch (err) {
-                //
-            }
-        },
-        showDetail(item) {
-            this.leaveVisible = true
-            this.studentId = item.userId
-        }
+    async getList() {
+      try {
+        const { ...search } = this.searchForm;
+        const params = {
+          ...search,
+          page: this.pageInfo.page,
+          rows: this.pageInfo.limit,
+        };
+        let res = await queryStudentErrorLeaveList(params);
+        this.tableList = res.data.rows;
+        this.pageInfo.total = res.data.total;
+      } catch (err) {
+        //
+      }
+    },
+    showDetail(item) {
+      this.leaveVisible = true;
+      this.studentId = item.userId;
     },
+  },
 };
 </script>
 <style lang='scss' scoped>
-
 </style>

+ 7 - 1
src/views/main/teamShowList.vue

@@ -17,7 +17,13 @@
           <el-input
             v-model.trim="searchForm.search"
             clearable
-            @keyup.enter.native="search"
+             @keyup.enter.native="
+              (e) => {
+                e.target.blur();
+                $refs.searchForm.save();
+                search();
+              }
+            "
             placeholder="乐团名称/编号"
           ></el-input>
         </el-form-item>

+ 8 - 2
src/views/matchManager/index.vue

@@ -9,7 +9,13 @@
         <el-form-item prop="search">
           <el-input v-model.trim="searchForm.search"
                     clearable
-                    @keyup.enter.native="search"
+                  @keyup.enter.native="
+              (e) => {
+                e.target.blur();
+                $refs.searchForm.save();
+                search();
+              }
+            "
                     placeholder='选手姓名/编号/身份证号'></el-input>
         </el-form-item>
         <el-form-item prop="grade">
@@ -366,4 +372,4 @@ export default {
 /deep/.el-dialog__body {
     padding: 10px 20px;
 }
-</style>
+</style>

+ 8 - 1
src/views/musicalManager/index.vue

@@ -11,12 +11,19 @@
         :model="searchForm"
         @submit="search"
         @reset="onReSet"
+        ref="searchForm"
       >
         <el-form-item prop="search">
           <el-input
             v-model.trim="searchForm.search"
             clearable
-            @keyup.enter.native="search"
+             @keyup.enter.native="
+              (e) => {
+                e.target.blur();
+                $refs.searchForm.save();
+                search();
+              }
+            "
             placeholder="学生姓名/编号/电话"
           ></el-input>
         </el-form-item>

+ 8 - 1
src/views/operateManager/operateStudent.vue

@@ -11,12 +11,19 @@
         :model="searchForm"
         @submit="search"
         @reset="onReSet"
+        ref="searchForm"
       >
         <el-form-item>
           <el-input
             v-model.trim="searchForm.search"
             clearable
-            @keyup.enter.native="search"
+           @keyup.enter.native="
+              (e) => {
+                e.target.blur();
+                $refs.searchForm.save();
+                search();
+              }
+            "
             placeholder="学生姓名 编号"
           ></el-input>
         </el-form-item>

+ 7 - 1
src/views/operateManager/serverIndexList.vue

@@ -32,7 +32,13 @@
         <el-form-item>
           <el-input
             v-model.trim="searchForm.search"
-            @keyup.enter.native="search"
+              @keyup.enter.native="
+              (e) => {
+                e.target.blur();
+                $refs.searchForm.save();
+                search();
+              }
+            "
             clearable
             placeholder="学生姓名"
           ></el-input>

+ 8 - 1
src/views/operationManual/index.vue

@@ -10,12 +10,19 @@
         :model="searchForm"
         @submit="search"
         @reset="onReSet"
+        ref="searchForm"
       >
         <el-form-item prop="search">
           <el-input
             v-model.trim="searchForm.search"
             clearable
-            @keyup.enter.native="search"
+             @keyup.enter.native="
+              (e) => {
+                e.target.blur();
+                $refs.searchForm.save();
+                search();
+              }
+            "
             placeholder="请输入手册名称"
           ></el-input>
         </el-form-item>

+ 7 - 1
src/views/platformManager/paltformAdmin/index.vue

@@ -17,7 +17,13 @@
           <el-input
             v-model.trim="searchForm.search"
             clearable
-            @keyup.enter.native="search"
+             @keyup.enter.native="
+              (e) => {
+                e.target.blur();
+                $refs.searchForm.save();
+                search();
+              }
+            "
             placeholder="请输入角色类型"
           ></el-input>
         </el-form-item>

+ 7 - 1
src/views/reaplceMusicPlayer/answerList.vue

@@ -15,7 +15,13 @@
           <el-input
             v-model.trim="searchForm.search"
             clearable
-            @keyup.enter.native="search"
+            @keyup.enter.native="
+              (e) => {
+                e.target.blur();
+                $refs.searchForm.save();
+                search();
+              }
+            "
             placeholder="编号/姓名/手机号"
           ></el-input>
         </el-form-item>

+ 7 - 1
src/views/reaplceMusicPlayer/index.vue

@@ -31,7 +31,13 @@
           <el-input
             v-model.trim="searchForm.search"
             clearable
-            @keyup.enter.native="search"
+            @keyup.enter.native="
+              (e) => {
+                e.target.blur();
+                $refs.searchForm.save();
+                search();
+              }
+            "
             placeholder="学校名称或编号"
           ></el-input>
         </el-form-item>

+ 7 - 1
src/views/recodeManager/recodeList.vue

@@ -22,7 +22,13 @@
           <el-input
             v-model.trim="searchForm.search"
             clearable
-            @keyup.enter.native="search"
+            @keyup.enter.native="
+              (e) => {
+                e.target.blur();
+                $refs.searchForm.save();
+                search();
+              }
+            "
             placeholder="课程名称/编号"
           ></el-input>
         </el-form-item>

+ 8 - 1
src/views/repairManager/repairList.vue

@@ -11,12 +11,19 @@
         @submit="search"
         @reset="onReSet"
         :model="searchForm"
+        ref="searchForm"
       >
         <el-form-item>
           <el-input
             v-model.trim="searchForm.search"
             clearable
-            @keyup.enter.native="search"
+            @keyup.enter.native="
+              (e) => {
+                e.target.blur();
+                $refs.searchForm.save();
+                search();
+              }
+            "
             placeholder="维修单号/姓名"
           ></el-input>
         </el-form-item>

+ 8 - 1
src/views/resetTeaming/components/strudentPayInfo.vue

@@ -125,11 +125,18 @@
         :model.sync="searchForm"
         @submit="search"
         @reset="onReSet"
+        ref="searchForm"
       >
         <el-form-item>
           <el-input
             v-model.trim="searchForm.search"
-            @keyup.enter.native="search"
+           @keyup.enter.native="
+              (e) => {
+                e.target.blur();
+                $refs.searchForm.save();
+                search();
+              }
+            "
             placeholder="学员编号,手机号"
           ></el-input>
         </el-form-item>

+ 7 - 1
src/views/setQuestions/userAskList.vue

@@ -15,7 +15,13 @@
           <el-input
             v-model.trim="searchForm.search"
             clearable
-            @keyup.enter.native="search"
+            @keyup.enter.native="
+              (e) => {
+                e.target.blur();
+                $refs.searchForm.save();
+                search();
+              }
+            "
             placeholder="请输入搜索内容"
           ></el-input>
         </el-form-item>

+ 8 - 1
src/views/settlementManager/settlementList.vue

@@ -11,11 +11,18 @@
         @submit="search"
         @reset="onReSet"
         :model="searchForm"
+        ref="searchForm"
       >
         <el-form-item>
           <el-input
             v-model.trim="searchForm.search"
-            @keyup.enter.native="search"
+             @keyup.enter.native="
+              (e) => {
+                e.target.blur();
+                $refs.searchForm.save();
+                search();
+              }
+            "
             clearable
             placeholder="课程组编号&名字"
           ></el-input>

+ 7 - 1
src/views/smallStudentManager/components/tableList.vue

@@ -12,7 +12,13 @@
         <el-input
           clearable
           placeholder="学生姓名/编号"
-          @keyup.enter.native="onSearch"
+           @keyup.enter.native="
+              (e) => {
+                e.target.blur();
+                $refs.searchForm.save();
+                onSearch();
+              }
+            "
           v-model.trim="searchForm.search"
         ></el-input>
       </el-form-item>

+ 22 - 4
src/views/stuRecodeManager/index.vue

@@ -17,7 +17,13 @@
           <el-input
             v-model.trim="searchForm.studentID"
             clearable
-            @keyup.enter.native="search"
+              @keyup.enter.native="
+              (e) => {
+                e.target.blur();
+                $refs.searchForm.save();
+                search();
+              }
+            "
             placeholder="学生编号"
           ></el-input>
         </el-form-item>
@@ -50,7 +56,13 @@
           <el-input
             v-model.trim="searchForm.musicGroupId"
             clearable
-            @keyup.enter.native="search"
+               @keyup.enter.native="
+              (e) => {
+                e.target.blur();
+                $refs.searchForm.save();
+                search();
+              }
+            "
             placeholder="乐团编号"
           ></el-input>
         </el-form-item>
@@ -58,7 +70,13 @@
           <el-input
             v-model.trim="searchForm.courseScheduleId"
             clearable
-            @keyup.enter.native="search"
+            @keyup.enter.native="
+              (e) => {
+                e.target.blur();
+                $refs.searchForm.save();
+                search();
+              }
+            "
             placeholder="课程编号"
           ></el-input>
         </el-form-item>
@@ -131,7 +149,7 @@
             @click="onExport"
             type="primary"
             v-permission="'export/queryTeacherAttendances'"
-          
+
             >导出</el-button> -->
         </el-form-item>
       </save-form>

+ 8 - 2
src/views/studentManager/components/studentLebao.vue

@@ -7,13 +7,19 @@
       :model="searchForm"
       @submit="onSearch"
       @reset="onReSet"
-      save-key="studentDetail-studentLebao"
+      save-key="studentDeonSearchtail-studentLebao"
     >
       <el-form-item prop="specification">
         <el-input
           placeholder="具体型号"
           clearable
-          @keyup.enter.native="onSearch"
+        @keyup.enter.native="
+              (e) => {
+                e.target.blur();
+                $refs.searchForm.save();
+                onSearch();
+              }
+            "
           v-model.trim="searchForm.specification"
         ></el-input>
       </el-form-item>

+ 7 - 1
src/views/studentManager/components/studentOrder.vue

@@ -78,7 +78,13 @@
       <el-form-item>
         <el-input
           type="text"
-          @keyup.enter.native="search"
+         @keyup.enter.native="
+              (e) => {
+                e.target.blur();
+                $refs.searchForm.save();
+                search();
+              }
+            "
           v-model.trim="searchForm.remark"
           placeholder="订单说明"
         ></el-input>

+ 8 - 1
src/views/studentManager/components/studentOutList.vue

@@ -7,13 +7,20 @@
       class="searchForm"
       :model="searchForm"
       @submit="onSearch"
+      ref="searchForm"
       save-key="studentDetail-studentOutList"
     >
       <el-form-item>
         <el-input
           placeholder="课程名称"
           clearable
-          @keyup.enter.native="onSearch"
+             @keyup.enter.native="
+              (e) => {
+                e.target.blur();
+                $refs.searchForm.save();
+                onSearch();
+              }
+            "
           v-model.trim="searchForm.search"
         ></el-input>
       </el-form-item>

+ 14 - 2
src/views/studentManager/components/studentRecord.vue

@@ -16,7 +16,13 @@
           <el-input
             v-model.trim="searchForm.musicGroupId"
             clearable
-            @keyup.enter.native="search"
+                @keyup.enter.native="
+              (e) => {
+                e.target.blur();
+                $refs.searchForm.save();
+                search();
+              }
+            "
             placeholder="乐团编号"
           ></el-input>
         </el-form-item>
@@ -24,7 +30,13 @@
           <el-input
             v-model.trim="searchForm.courseScheduleId"
             clearable
-            @keyup.enter.native="search"
+             @keyup.enter.native="
+              (e) => {
+                e.target.blur();
+                $refs.searchForm.save();
+                search();
+              }
+            "
             placeholder="课程编号"
           ></el-input>
         </el-form-item>

+ 8 - 1
src/views/studentManager/components/studentVip.vue

@@ -7,13 +7,20 @@
       class="searchForm"
       :model="searchForm"
       @submit="onSearch"
+      ref="searchForm"
       save-key="studentDetail-studentVip"
     >
       <el-form-item>
         <el-input
           placeholder="课程名称"
           clearable
-          @keyup.enter.native="onSearch"
+            @keyup.enter.native="
+              (e) => {
+                e.target.blur();
+                $refs.searchForm.save();
+                onSearch();
+              }
+            "
           v-model.trim="searchForm.vipGroupName"
         ></el-input>
       </el-form-item>

+ 7 - 1
src/views/studentManager/memberList.vue

@@ -17,7 +17,13 @@
           <el-input
             v-model.trim="searchForm.search"
             clearable
-            @keyup.enter.native="search"
+             @keyup.enter.native="
+              (e) => {
+                e.target.blur();
+                $refs.searchForm.save();
+                search();
+              }
+            "
             placeholder="乐团/学员名称编号"
           ></el-input>
         </el-form-item>

+ 7 - 1
src/views/teachManager/teachClass.vue

@@ -17,7 +17,13 @@
           <el-input
             v-model.trim="searchForm.search"
             clearable
-            @keyup.enter.native="search"
+              @keyup.enter.native="
+              (e) => {
+                e.target.blur();
+                $refs.searchForm.save();
+                search();
+              }
+            "
             placeholder="教材编号/名称"
           ></el-input>
         </el-form-item>

+ 8 - 2
src/views/teacherManager/teacherDetail/components/courseInfo1.vue

@@ -1,11 +1,17 @@
 <template>
   <div class="courseInfo">
-    <save-form :inline="true" @submit="search" :model="searchList" save-key='teacherDetail-courseInfo1'>
+    <save-form :inline="true" @submit="search" :model="searchList" ref="searchForm" save-key='teacherDetail-courseInfo1'>
       <el-form-item>
         <el-input
           placeholder="vip编号/名称"
           clearable
-          @keyup.enter.native="search"
+            @keyup.enter.native="
+              (e) => {
+                e.target.blur();
+                $refs.searchForm.save();
+                search();
+              }
+            "
           v-model.trim="searchList.search"
         ></el-input>
       </el-form-item>

+ 8 - 2
src/views/teacherManager/teacherDetail/components/outCourseList.vue

@@ -1,11 +1,17 @@
 <template>
   <div class="courseInfo">
-    <save-form :inline="true" :model="searchList" @submit="search" save-key='teacherDetail-outCourseList'>
+    <save-form :inline="true" :model="searchList" @submit="search" ref="searchForm" save-key='teacherDetail-outCourseList'>
       <el-form-item>
         <el-input
           placeholder="课程组名称"
           clearable
-          @keyup.enter.native="search"
+           @keyup.enter.native="
+              (e) => {
+                e.target.blur();
+                $refs.searchForm.save();
+                search();
+              }
+            "
           v-model.trim="searchList.search"
         ></el-input>
       </el-form-item>

+ 8 - 1
src/views/teacherManager/teacherDetail/components/teacherRecord.vue

@@ -8,11 +8,18 @@
       :model="searchForm"
       @submit="search"
       @reset="onReSet"
+      ref="searchForm"
     >
       <el-form-item>
         <el-input
           placeholder="课程编号/课程名称"
-          @keyup.enter.native="search"
+             @keyup.enter.native="
+              (e) => {
+                e.target.blur();
+                $refs.searchForm.save();
+                search();
+              }
+            "
           v-model.trim="searchForm.search"
           clearable
         ></el-input>

+ 8 - 1
src/views/teacherManager/teacherList.vue

@@ -13,12 +13,19 @@
         @reset="onReSet"
         class="searchForm"
         :model="searchForm"
+        ref="searchForm"
       >
         <el-form-item>
           <el-input
             v-model.trim="searchForm.search"
             clearable
-            @keyup.enter.native="getList"
+               @keyup.enter.native="
+              (e) => {
+                e.target.blur();
+                $refs.searchForm.save();
+                search();
+              }
+            "
             placeholder="老师姓名或电话"
           ></el-input>
         </el-form-item>

+ 7 - 1
src/views/teamBuild/components/forecast-list.vue

@@ -12,7 +12,13 @@
           <el-input
             v-model.trim="searchForm.name"
             clearable
-            @keyup.enter.native="search"
+             @keyup.enter.native="
+              (e) => {
+                e.target.blur();
+                $refs.searchForm.save();
+                search();
+              }
+            "
             placeholder="学生编号/姓名/手机号"
           ></el-input>
         </el-form-item>

+ 7 - 1
src/views/teamBuild/components/newForecast-list.vue

@@ -12,7 +12,13 @@
           <el-input
             v-model.trim="searchForm.search"
             clearable
-            @keyup.enter.native="search"
+               @keyup.enter.native="
+              (e) => {
+                e.target.blur();
+                $refs.searchForm.save();
+                search();
+              }
+            "
             placeholder="学生编号/姓名/手机号"
           ></el-input>
         </el-form-item>

+ 7 - 1
src/views/teamBuild/forecastName.vue

@@ -58,7 +58,13 @@
           <el-input
             v-model.trim="searchForm.name"
             clearable
-            @keyup.enter.native="search"
+                @keyup.enter.native="
+              (e) => {
+                e.target.blur();
+                $refs.searchForm.save();
+                search();
+              }
+            "
             placeholder="学生编号/姓名/手机号"
           ></el-input>
         </el-form-item>

+ 7 - 1
src/views/teamBuild/initiationList.vue

@@ -54,7 +54,13 @@
           <el-input
             v-model.trim="searchForm.search"
             clearable
-            @keyup.enter.native="search"
+              @keyup.enter.native="
+              (e) => {
+                e.target.blur();
+                $refs.searchForm.save();
+                search();
+              }
+            "
             placeholder="学生编号/姓名/手机号"
           ></el-input>
         </el-form-item>

+ 7 - 1
src/views/teamDetail/components/studentList.vue

@@ -38,7 +38,13 @@
           v-model.trim="searchForm.search"
           clearable
           placeholder="学生姓名或电话"
-          @keyup.enter.native="search"
+            @keyup.enter.native="
+              (e) => {
+                e.target.blur();
+                $refs.searchForm.save();
+                search();
+              }
+            "
         ></el-input>
       </el-form-item>
       <el-form-item prop="studentStatus">

+ 7 - 1
src/views/teamDetail/teamClassList.vue

@@ -23,7 +23,13 @@
           <el-input
             v-model.trim="searchForm.search"
             clearable
-            @keyup.enter.native="search"
+               @keyup.enter.native="
+              (e) => {
+                e.target.blur();
+                $refs.searchForm.save();
+                search();
+              }
+            "
             placeholder="乐团&班级编号名称"
           ></el-input>
         </el-form-item>

+ 7 - 1
src/views/teamDetail/teamList.vue

@@ -32,7 +32,13 @@
           <el-input
             v-model.trim="topForm.search"
             clearable
-            @keyup.enter.native="search"
+            @keyup.enter.native="
+              (e) => {
+                e.target.blur();
+                $refs.topForm.save();
+                search();
+              }
+            "
             placeholder="请输入乐团名称"
           ></el-input>
         </el-form-item>

+ 8 - 1
src/views/workBenchManager/classFeesIsOk.vue

@@ -24,11 +24,18 @@
         @submit="search"
         @reset="onReSet"
         :model="searchForm"
+        ref="searchForm"
       >
         <el-form-item>
           <el-input
             v-model.trim="searchForm.search"
-            @keyup.enter.native="search"
+             @keyup.enter.native="
+              (e) => {
+                e.target.blur();
+                $refs.searchForm.save();
+                search();
+              }
+            "
             clearable
             placeholder="课程编号/课程组名称"
           ></el-input>

+ 7 - 1
src/views/workBenchManager/requestComponent/progressRequest.vue

@@ -6,7 +6,13 @@
         <el-input
           v-model.trim="searchForm.search"
           clearable
-          @keyup.enter.native="search"
+             @keyup.enter.native="
+              (e) => {
+                e.target.blur();
+                $refs.searchForm.save();
+                search();
+              }
+            "
           placeholder="老师名称/课程编号"
         ></el-input>
       </el-form-item>