Sfoglia il codice sorgente

开始其它模块

1
mo 4 anni fa
parent
commit
a6129e32b7

+ 10 - 0
src/router/index.js

@@ -413,7 +413,17 @@ export const asyncRoutes = {
   // 网管课管理
   accompanyManager:()=>import('@/views/courseListManager'),
   // 乐团管理
+
+  // 评论管理
+  commentManagerWrap:()=>import('@/views/courseListManager'),
+  // 课外训练
+  afterSchoolManagerWrap:()=>import('@/views/courseListManager'),
+  //
+  serverIndexManager:()=>import('@/views/courseListManager'),
   // 服务指标明细
+  branchActiveManager:()=>import('@/views/courseListManager'),
+  // vip活动管理
+  vipActiveManager:()=>import('@/views/courseListManager'),
   serverDetail:()=>import('@/views/serverDetail')
 }
 

+ 0 - 2
src/views/teamDetail/componentCourse/gpsLocation.vue

@@ -61,8 +61,6 @@ VueAMap.initAMapApiLoader({
   v: '1.4.4',
 })
 let amapManager = new VueAMap.AMapManager();
-import { getTeacherPersonalAttendance } from '@/api/buildTeam'
-
 export default {
   props: ['activeRow'],
   data () {

+ 2 - 2
src/views/withdrawal-application/modals/studentWork.vue

@@ -2,10 +2,10 @@
   <div>
       <el-tabs v-model="activeName" type="card">
     <el-tab-pane label="课程作业" name="first" lazy>
-      <courseWork  :studentId='studentId' v-if="studentId"/>
+      <courseWork  :studentId='studentId' v-if="studentId&&activeName=='first'"/>
     </el-tab-pane>
     <el-tab-pane label="课外训练" name="second"  lazy>
-      <afterWork :studentId='studentId' v-if="studentId"/>
+      <afterWork :studentId='studentId' v-if="studentId&&activeName=='second'"/>
     </el-tab-pane>
 
   </el-tabs>

+ 8 - 2
src/views/withdrawal-application/modals/visit.vue

@@ -1,8 +1,14 @@
 <template>
   <div>
     <div class="visitBtnWrap">
-      <el-button type="text" @click="recordVisible = true">学员考勤</el-button>
-      <el-button type="text" @click="workVisible=true">作业情况</el-button>
+      <auth auths='studentAttendance/findStudentAttendance'>
+          <el-button type="text" @click="recordVisible = true">学员考勤</el-button>
+      </auth>
+       <auth :auths="['webCurseHomework/getStudentHomeWorks','extracurricularExercisesReply/queryPageList']">
+         <el-button type="text" @click="workVisible=true">作业情况</el-button>
+       </auth>
+
+
     </div>
     <el-form
       :model="visitForm"