Browse Source

提交测试

1
mo 4 years ago
parent
commit
e3f4ec2421

+ 1 - 2
src/store/modules/permission.js

@@ -72,7 +72,6 @@ function pathErgodic(item) {
       if(isChildrenList){
         firstMenu = pathErgodic(i)
       }else{
-
         if (!firstMenu && checkPathUrl(i.path)) {
           firstMenu = i.path
         } else {
@@ -281,7 +280,7 @@ function setDetailRoute(accessedRoutes) {
             noCache: '1',
             title: '网管课详情',
             belongTopMenu: "/business",
-            activeMenu: '/vipManager/vipList'
+            activeMenu: '/accompanyManager/accompany'
           }
         },
         {

+ 1 - 1
src/views/accompanyManager/accompanyList.vue

@@ -265,7 +265,7 @@
             <template slot-scope="scope">
               <div>
                 <!-- v-permission="'courseSchedule/classStartDateAdjust'"  v-if="!scope.row.isSettlement" -->
-                <el-button type="text" @click="lookCrouse(scope.row)"
+                <el-button type="text" @click="lookCrouse(scope.row)"   v-if="permission('/accompanys')"
                   >查看</el-button
                 >
                 <el-button

+ 1 - 1
src/views/teamDetail/componentCourse/teacherList.vue

@@ -170,7 +170,7 @@
         <template slot-scope="scope">
           <div>
             <auth
-              auths="teacherAttendance/updateTeacherAttendance"
+              auths="teacherAttendance/updateTeacherAttendance/3485"
               v-if="courseStatus != 'NOT_START'"
             >
               <el-button

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

@@ -151,7 +151,7 @@
                 v-if="
                   scope.row.status == 'OVER' &&
                   !scope.row.isSalary &&
-                  permission('teacherAttendance/updateTeacherAttendance')
+                  permission('teacherAttendance/updateTeacherAttendance/3361')
                 "
                 type="text"
                 @click="onMarkAttendance(scope.row)"