|
@@ -239,15 +239,10 @@
|
|
|
<!-- 按钮 -->
|
|
|
<div class="btn-group clearfix" style="display: flex">
|
|
|
<el-button type="primary" size="mini" @click="hanleDownloadFiles">导出 </el-button>
|
|
|
- <el-upload
|
|
|
- v-if="$checkBtnRole('import', $route.meta.roles)"
|
|
|
- class="import-btn"
|
|
|
- :action="baseURL + 'student/import'"
|
|
|
- :http-request="handleImport"
|
|
|
- :file-list="importFileList"
|
|
|
- :show-file-list="false"
|
|
|
- >
|
|
|
- <el-button size="mini">导入</el-button>
|
|
|
+ <!-- v-if="$checkBtnRole('import', $route.meta.roles)"-->
|
|
|
+
|
|
|
+ <el-upload class="import-btn" :http-request="handleImport" :file-list="importFileList" :show-file-list="false">
|
|
|
+ <el-button size="mini" type="primary">导入</el-button>
|
|
|
</el-upload>
|
|
|
</div>
|
|
|
<!-- 列表 -->
|
|
@@ -707,7 +702,7 @@ export default {
|
|
|
confirmButtonText: '确定'
|
|
|
})
|
|
|
|
|
|
- this.handletwoList()
|
|
|
+ this.getList()
|
|
|
} else {
|
|
|
this.$alert(result.message, '导入失败', {
|
|
|
confirmButtonText: '确定'
|