瀏覽代碼

修改权限

lex-xin 4 年之前
父節點
當前提交
8cdd33771a
共有 1 個文件被更改,包括 2 次插入3 次删除
  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>