Browse Source

修改文案

lex 1 year ago
parent
commit
31977cae79

+ 7 - 6
src/store/modules/permission.js

@@ -423,7 +423,7 @@ function setDetailRoute(accessedRoutes) {
           hidden: true,
           meta: {
             noCache: "1",
-            title: "VIP/乐理课申请",
+            title: "VIP/小组课申请",
             belongTopMenu: "/business",
             activeMenu: "/vipManager/vipList",
             id: "xx5"
@@ -449,7 +449,7 @@ function setDetailRoute(accessedRoutes) {
           hidden: true,
           meta: {
             noCache: "1",
-            title: "VIP/乐理课修改",
+            title: "VIP/小组课修改",
             belongTopMenu: "/business",
             activeMenu: "/vipManager/vipList",
             id: "xx6"
@@ -674,7 +674,8 @@ function setDetailRoute(accessedRoutes) {
         {
           name: "直播分享学员",
           path: "liveShareStudentList",
-          component: () => import("@/views/liveClassManager/liveClassTwo/components/addShareStudentList"),
+          component: () =>
+            import("@/views/liveClassManager/liveClassTwo/components/addShareStudentList"),
           hidden: true,
           meta: {
             noCache: "1",
@@ -774,7 +775,7 @@ function setDetailRoute(accessedRoutes) {
           hidden: true,
           meta: {
             noCache: "1",
-            title: "VIP/乐理课申请",
+            title: "VIP/小组课申请",
             belongTopMenu: "/business",
             activeMenu: "/vipManager/vipList",
             id: "xx5"
@@ -800,7 +801,7 @@ function setDetailRoute(accessedRoutes) {
           hidden: true,
           meta: {
             noCache: "1",
-            title: "VIP/乐理课修改",
+            title: "VIP/小组课修改",
             belongTopMenu: "/business",
             activeMenu: "/vipManager/vipList",
             id: "xx6"
@@ -853,7 +854,7 @@ function setDetailRoute(accessedRoutes) {
           hidden: true,
           meta: {
             noCache: "1",
-            title: "VIP/乐理课详情",
+            title: "VIP/小组课详情",
             belongTopMenu: "/business",
             activeMenu: "/afterSchoolManager",
             id: "xx10"

+ 2 - 2
src/views/reportForm/index.vue

@@ -574,7 +574,7 @@
             class="m-wrap"
             v-permission="'export/STUDENT_MUSIC_THEORY_COURSE_INFO'"
           >
-            <div class="title">乐理课学员课程导出:</div>
+            <div class="title">小组课学员课程导出:</div>
             <select-all
               v-model.trim="musicStudentCourseOrganId"
               class="organSelect"
@@ -596,7 +596,7 @@
               style="margin-left: 10px"
               ExportEnum="STUDENT_MUSIC_THEORY_COURSE_INFO"
               :exportData="exportAbnormal"
-              fileName="乐理课学员课程信息导出"
+              fileName="小组课学员课程信息导出"
               errorMsg="请选择分部"
               :flag="this.musicStudentCourseOrganId.length < 1"
               :isDownList="true"

+ 49 - 38
src/views/smallStudentManager/components/tableList.vue

@@ -12,13 +12,13 @@
         <el-input
           clearable
           placeholder="学生姓名/编号"
-           @keyup.enter.native="
-              (e) => {
-                e.target.blur();
-                $refs.searchForm.save();
-                onSearch();
-              }
-            "
+          @keyup.enter.native="
+            e => {
+              e.target.blur();
+              $refs.searchForm.save();
+              onSearch();
+            }
+          "
           v-model.trim="searchForm.search"
         ></el-input>
       </el-form-item>
@@ -69,7 +69,11 @@
         ></el-input>
       </el-form-item>
       <el-form-item prop="teacherId">
-        <remote-search :commit="'setTeachers'" v-model="searchForm.teacherId"    :isForzenWithQueryCondition="true"/>
+        <remote-search
+          :commit="'setTeachers'"
+          v-model="searchForm.teacherId"
+          :isForzenWithQueryCondition="true"
+        />
       </el-form-item>
       <el-form-item prop="musicDirectorId">
         <remote-search
@@ -130,7 +134,7 @@
           start-placeholder="第一次课开始时间"
           end-placeholder="第一次课结束时间"
           :picker-options="{
-            firstDayOfWeek: 1,
+            firstDayOfWeek: 1
           }"
         ></el-date-picker>
       </el-form-item>
@@ -145,7 +149,7 @@
           start-placeholder="最后回访开始日期"
           end-placeholder="最后回访结束日期"
           :picker-options="{
-            firstDayOfWeek: 1,
+            firstDayOfWeek: 1
           }"
         >
         </el-date-picker>
@@ -301,7 +305,7 @@
             >
               {{
                 scope.row.studentBasicInfo &&
-                scope.row.studentBasicInfo.userName
+                  scope.row.studentBasicInfo.userName
               }}<br />
               {{
                 scope.row.studentBasicInfo && scope.row.studentBasicInfo.userId
@@ -330,7 +334,9 @@
         <el-table-column align="center" prop="organName" label="学员状态">
           <template slot-scope="scope">
             <div>
-              {{ scope.row.studentBasicInfo.studentStatus | feedbackTypeFilter}}
+              {{
+                scope.row.studentBasicInfo.studentStatus | feedbackTypeFilter
+              }}
               <!-- <p
                 v-if="
                   (scope.row.noScheduleNum || scope.row.subCourseNum) &&
@@ -377,7 +383,7 @@
         </el-table-column>
         <el-table-column align="center" prop="totalCourseNum" label="总课时">
           <template slot-scope="scope">
-            {{ parseInt(scope.row.totalCourseNum+scope.row.noScheduleNum)  }}节
+            {{ parseInt(scope.row.totalCourseNum + scope.row.noScheduleNum) }}节
           </template>
         </el-table-column>
         <el-table-column align="center" prop="overCourseNum" label="已完成课时">
@@ -395,7 +401,12 @@
             {{ scope.row.preCourseFee | moneyFormat }}元
           </template>
         </el-table-column>
-        <el-table-column align="center" width="180px" label="操作" v-if="groupType=='VIP'">
+        <el-table-column
+          align="center"
+          width="180px"
+          label="操作"
+          v-if="groupType == 'VIP'"
+        >
           <template slot-scope="scope">
             <el-button type="text" @click="recordVisit(scope.row)"
               >回访记录</el-button
@@ -445,7 +456,7 @@ export default {
   inject: ["organId", "isSearch"],
   components: {
     pagination,
-    visiList,
+    visiList
   },
   data() {
     return {
@@ -459,7 +470,7 @@ export default {
         musicDirectorId: "",
         courseConsumerError: "",
         timer: [],
-        lastTimer: [],
+        lastTimer: []
       },
       tableList: [],
       feedbackTypeList,
@@ -468,21 +479,21 @@ export default {
         limit: 10, // 限制显示条数
         page: 1, // 当前页
         total: 0, // 总条数
-        page_size: [10, 20, 40, 50], // 选择限制显示条数
+        page_size: [10, 20, 40, 50] // 选择限制显示条数
       },
       visitVisiable: false,
       activeRow: null,
-      flag: false,
+      flag: false
     };
   },
   async mounted() {
     this.$store.dispatch("setBranchs");
     this.$store.dispatch("setTeachers");
-    if(this.$route.query.subCourseMaxNum){
-      this.searchForm.subCourseMaxNum = this.$route.query.subCourseMaxNum
+    if (this.$route.query.subCourseMaxNum) {
+      this.searchForm.subCourseMaxNum = this.$route.query.subCourseMaxNum;
     }
-    if(this.$route.query.studentStatus){
-      this.searchForm.studentStatus = this.$route.query.studentStatus
+    if (this.$route.query.studentStatus) {
+      this.searchForm.studentStatus = this.$route.query.studentStatus;
     }
 
     await this.getList();
@@ -508,10 +519,10 @@ export default {
           ...getTimes(lastTimer, ["lastVisitStartTime", "lastVisitEndTime"]),
           rows: this.pageInfo.limit,
           page: this.pageInfo.page,
-          organId: this.organIds,
+          organId: this.organIds
         };
         let res = await queryPage({
-          ...obj,
+          ...obj
         });
         this.tableList = res.data.rows || [];
         this.pageInfo.total = res.data.total;
@@ -522,13 +533,13 @@ export default {
     gotoStudent(search) {
       this.$router.push({
         name: "studentList",
-        params: { search: search },
+        params: { search: search }
       });
     },
     gototeacher(search) {
       this.$router.push({
         name: "teacherList",
-        params: { search: search },
+        params: { search: search }
       });
     },
     recordVisit(row) {
@@ -536,7 +547,6 @@ export default {
       this.visitVisiable = true;
     },
     smallStudentExport() {
-
       const { timer, ...rest } = this.searchForm;
       let str = "";
       if (this.groupType === "PRACTICE") {
@@ -544,12 +554,13 @@ export default {
       } else if (this.groupType === "VIP") {
         str = "VIP课";
       } else {
-        str = "乐理课";
+        str = "小组课";
       }
       Export(
         this,
         {
-          url: "/api-web/studentStatistics/exportStudentSmallClassStatisticsSum",
+          url:
+            "/api-web/studentStatistics/exportStudentSmallClassStatisticsSum",
           fileName: `${str}学员管理.xls`,
           method: "post",
           params: qs.stringify(
@@ -558,17 +569,17 @@ export default {
               ...rest,
               ...getTimes(timer, [
                 "firstCourseStartTime",
-                "firstCourseEndTime",
+                "firstCourseEndTime"
               ]),
               rows: this.pageInfo.limit,
               page: this.pageInfo.page,
-              organId: this.organIds,
+              organId: this.organIds
             })
-          ),
+          )
         },
         `您确定导出${str}学员管理?`
       );
-    },
+    }
   },
 
   computed: {
@@ -584,9 +595,9 @@ export default {
         this.flag = flag;
 
         return flag;
-      },
-    },
-  },
+      }
+    }
+  }
 };
 </script>
 
@@ -596,7 +607,7 @@ export default {
     margin-bottom: 20px;
   }
 }
-::v-deep  .el-card__body .statistic {
+::v-deep .el-card__body .statistic {
   margin-bottom: 15px;
   padding: 0;
 }
@@ -610,7 +621,7 @@ export default {
 }
 .number-input {
   width: 180px !important;
-  ::v-deep  .el-input__inner {
+  ::v-deep .el-input__inner {
     text-align: left;
   }
 }

+ 13 - 15
src/views/smallStudentManager/components/visiList.vue

@@ -60,7 +60,7 @@
           start-placeholder="回访开始日期"
           end-placeholder="回访结束日期"
           :picker-options="{
-            firstDayOfWeek: 1,
+            firstDayOfWeek: 1
           }"
         >
         </el-date-picker>
@@ -152,10 +152,9 @@
       :visible.sync="visitVisiable"
       append-to-body
     >
-    <!--  :useVisitType="useVisitType" -->
+      <!--  :useVisitType="useVisitType" -->
       <addVisit
         :detail="detail"
-
         @close="visitVisiable = false"
         @submited="refresh"
       />
@@ -180,28 +179,28 @@ export default {
         visiterType: "",
         feedbackType: "",
         timer: [],
-        lastTimer:[],
+        lastTimer: []
       },
       rules: {
         // 分页规则
         limit: 10, // 限制显示条数
         page: 1, // 当前页
         total: 0, // 总条数
-        page_size: [10, 20, 40, 50], // 选择限制显示条数
+        page_size: [10, 20, 40, 50] // 选择限制显示条数
       },
       tableList: [],
       feedbackTypeList: feedbackTypeList,
       feedbackTypeDescList,
       visitVisiable: false,
       detail: null,
-      useVisitType: null,
+      useVisitType: null
     };
   },
   mounted() {
     if (this.groupType == "PRACTICE") {
       this.useVisitType = ["小课回访", "网管课回访"];
     } else if (this.groupType == "THEORY") {
-      this.useVisitType = ["小课回访", "乐理课回访"];
+      this.useVisitType = ["小课回访", "小组课回访"];
     } else {
       this.useVisitType = ["小课回访", "VIP课回访"];
     }
@@ -219,7 +218,7 @@ export default {
         teacher: "",
         visiterType: "",
         feedbackType: "",
-        timer: [],
+        timer: []
       };
       this.search();
     },
@@ -235,12 +234,12 @@ export default {
         ...rest,
         page: this.rules.page,
         rows: this.rules.limit,
-        ...getTimes(timer, ["startTime", "endTime"]),
+        ...getTimes(timer, ["startTime", "endTime"])
 
         // purpose: this.useVisitType[1] ? this.useVisitType[1] : null,
         // type: this.useVisitType[0] ? this.useVisitType[0] : null,
       };
-      getVisitList(cleanDeep(params)).then((res) => {
+      getVisitList(cleanDeep(params)).then(res => {
         if (res.code == 200) {
           this.tableList = res.data.rows;
           this.rules.total = res.data.total;
@@ -254,13 +253,12 @@ export default {
       // this.detail = row;
       this.detail = {
         userId: this.studentId,
-        userName: this.studentName,
+        userName: this.studentName
       };
       this.visitVisiable = true;
-    },
-  },
+    }
+  }
 };
 </script>
 
-<style lang="scss" scoped>
-</style>
+<style lang="scss" scoped></style>

+ 25 - 11
src/views/smallStudentManager/index.vue

@@ -11,13 +11,28 @@
         type="card"
         @tab-click="handleClick"
       >
-        <el-tab-pane label="VIP课" lazy name="1"  v-permission="'smallStudentManager/vipClass'">
+        <el-tab-pane
+          label="VIP课"
+          lazy
+          name="1"
+          v-permission="'smallStudentManager/vipClass'"
+        >
           <vipClass v-if="activeIndex === '1'" />
         </el-tab-pane>
-        <el-tab-pane label="乐理课" lazy name="2" v-permission="'smallStudentManager/theoryClass'">
+        <el-tab-pane
+          label="小组课"
+          lazy
+          name="2"
+          v-permission="'smallStudentManager/theoryClass'"
+        >
           <theoryClass v-if="activeIndex === '2'" />
         </el-tab-pane>
-        <el-tab-pane label="网管课" lazy name="3"  v-permission="'smallStudentManager/PRACTICE'">
+        <el-tab-pane
+          label="网管课"
+          lazy
+          name="3"
+          v-permission="'smallStudentManager/PRACTICE'"
+        >
           <auditionClass v-if="activeIndex === '3'" />
         </el-tab-pane>
       </tab-router>
@@ -26,22 +41,21 @@
 </template>
 
 <script>
-import vipClass from './vipClass';
-import theoryClass from './theoryClass';
-import auditionClass from './auditionClass';
+import vipClass from "./vipClass";
+import theoryClass from "./theoryClass";
+import auditionClass from "./auditionClass";
 export default {
   components: { vipClass, theoryClass, auditionClass },
   data() {
     return {
-      activeIndex: "1",
+      activeIndex: "1"
     };
   },
   methods: {
     handleClick(evt) {
       // this.changeHash(evt.name);
-    },
-  },
+    }
+  }
 };
 </script>
-<style lang='scss' scoped>
-</style>
+<style lang="scss" scoped></style>

+ 1 - 1
src/views/vipClass/vipDetail/components/vipStudentList.vue

@@ -184,7 +184,7 @@
           </template>
         </el-table-column>
         <el-table-column prop="studentId" label="线上课单价">
-          <!--    v-if="activeStudent == scope.row.id" 202109/10跟辜经理确认过所有乐理课也不能改钱-->
+          <!--    v-if="activeStudent == scope.row.id" 202109/10跟辜经理确认过所有小组课也不能改钱-->
           <template slot-scope="scope">
             <el-input-number
               style="width: 90% !important"

+ 2 - 2
src/views/vipClass/vipList.vue

@@ -350,7 +350,7 @@
                 <el-button
                   type="text"
                   v-if="
-                    scope.row.vipGroupCategoryName == '乐理课' &&
+                    scope.row.vipGroupCategoryName == '小组课' &&
                       permission('vipGroupManage/update') &&
                       scope.row.status == 1
                   "
@@ -715,7 +715,7 @@ export default {
     },
     isStartCourse(row) {
       // row.id
-      this.$confirm("确定开启乐理课", "提示", {
+      this.$confirm("确定开启小组课", "提示", {
         confirmButtonText: "确定",
         cancelButtonText: "取消",
         type: "warning"