lex-xin 4 gadi atpakaļ
vecāks
revīzija
776ca7cccd

+ 1 - 0
src/router/notKeepAliveList.js

@@ -76,6 +76,7 @@ export default [
   '/orderList/incomeOut', // 对外订单管理
   '/business/signupList', // 报名缴费
   '/business/teamDetails', //进行中 查看
+  '/business/teamTeacherRecord', // 进行中 查看 上课记录
   '/business/teamLookBase', // 筹备中 乐团信息
   '/business/vipReset', // vip修改
   '/business/vipDetail', // vip查看

+ 3 - 2
src/views/teamDetail/components/studentList.vue

@@ -45,8 +45,9 @@
     <div style="margin-bottom: 15px;">
       <el-button type="primary" v-permission="'studentRegistration/insertStudent'"
               @click="addStudentVisible = true">新增学员</el-button>
-      <el-button type="primary" v-permission="'/studentSignin'"
-              @click="gotoSignin">点名总览</el-button>
+      <!-- 可以直接去学生考勤查看 -->
+      <!-- <el-button type="primary" v-permission="'/studentSignin'"
+              @click="gotoSignin">点名总览</el-button> -->
       <el-button type="primary" v-permission="'studentManage/queryStudentSubTotalCourseTimes'"
               @click="viewTimer">剩余时长明细</el-button>
     </div>

+ 3 - 2
src/views/teamDetail/components/teacherList.vue

@@ -32,11 +32,12 @@
       <el-form-item>
         <el-button native-type="submit" type="danger">搜索</el-button>
       </el-form-item>
-      <el-form-item style="float: right">
+      <!-- 可以直接去老师考勤列表里面查 -->
+      <!-- <el-form-item style="float: right">
         <div class="right newBand" style="margin-bottom: 0" @click="gotoRecord">
           上课记录
         </div>
-      </el-form-item>
+      </el-form-item> -->
     </save-form>
 
     <!-- 列表 -->

+ 6 - 5
src/views/teamDetail/components/teamTeacherRecord.vue

@@ -99,8 +99,9 @@ export default {
     pagination
   },
   data () {
+    const query = this.$route.query
     return {
-      name: '',
+      name: query.name,
       searchForm: {
         teacher: '',
         timer: []
@@ -117,11 +118,11 @@ export default {
       },
     }
   },
-  created () {
-    this.teamId = this.$route.query.id;
-  },
+  // created () {
+  //   this.teamId = this.$route.query.id;
+  // },
   mounted () {
-    this.name = localStorage.getItem('teamName');
+    // this.name = localStorage.getItem('teamName');
     // findMusicGroupClassTeacher({ musicGroupId: this.teamId }).then(res => {
     //   if (res.code == 200) {
     //     this.teacherList = res.data;