|
@@ -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 }">
|