mo 5 rokov pred
rodič
commit
5fc8ef1df1
1 zmenil súbory, kde vykonal 2 pridanie a 0 odobranie
  1. 2 0
      src/views/studentManager/studentList.vue

+ 2 - 0
src/views/studentManager/studentList.vue

@@ -5,6 +5,7 @@
     </h2>
     <div class="m-core">
       <div class="newBand"
+           v-permission="'studentManage/register'"
            @click="addStudent">新增学员</div>
       <!-- 搜索标题 -->
       <el-form :inline="true"
@@ -76,6 +77,7 @@
                            :to="{path:`/business/studentDetail?userId=${scope.row.userId}`,query:{search:JSON.stringify(searchForm),rules:JSON.stringify(pageInfo)}}">查看</router-link>
 
               <el-button type="text"
+                         v-permission="'studentManage/studentUpdate'"
                          @click="resetStudent(scope.row)">修改</el-button>
             </template>
           </el-table-column>