Browse Source

修改权限

lex-xin 4 years ago
parent
commit
8cdd33771a
1 changed files with 2 additions and 3 deletions
  1. 2 3
      src/views/matchManager/index.vue

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

@@ -132,14 +132,13 @@
           </el-table-column>
           <el-table-column align="center"
                            label="操作">
-            <!-- teacherAttendance/agreeTeacherAttendanceComplaints -->
             <template slot-scope="scope">
               <div>
                 <el-button type="text"
-                           v-if="permission('teacherAttendance/operation')"
+                           v-if="permission('studentCompetition/lookDetail')"
                            @click="lookDetail(scope.row)">查看</el-button>
                 <el-button type="text"
-                           v-if="permission('teacherAttendance/operation')"
+                           v-if="permission('studentCompetition/update')"
                            @click="onReview(scope.row)">评审</el-button>
               </div>
             </template>