Browse Source

fix: change basicInformation

DESKTOP-USV654P\pc 6 days ago
parent
commit
6c233a4a8a
1 changed files with 6 additions and 2 deletions
  1. 6 2
      src/views/educational/basicInformation/index.vue

+ 6 - 2
src/views/educational/basicInformation/index.vue

@@ -136,9 +136,13 @@
     <ClassTree class="w-1/3 xl:w-1/4" @select="handleSelect" />
     <BasicTable class="w-2/3 xl:w-3/4" @register="registerTable" :searchInfo="searchInfo">
       <template #toolbar>
-        <a-button type="primary" v-if="false" @click="handleEdit({}, false)">新增</a-button>
+        <a-button type="primary" v-auth="'newStudentInfo:add'" @click="handleEdit({}, false)">
+          新增
+        </a-button>
         <a-button type="primary" @click="handleDivision">手动分班</a-button>
-        <a-button type="primary" v-if="false" @click="handelStudenImport">学生导入</a-button>
+        <a-button type="primary" v-auth="'newStudentInfo:import'" @click="handelStudenImport">
+          学生导入
+        </a-button>
         <a-button type="primary" @click="handelImport">成绩导入</a-button>
       </template>
       <template #action="{ record }">