|
@@ -33,13 +33,13 @@
|
|
|
</div>
|
|
|
<div class="head_right">
|
|
|
<el-button @click="addStudent">添加学生</el-button>
|
|
|
- <el-upload class="upload-demo newCss" :http-request="handleChange" :on-remove="handleRemove" action="#"
|
|
|
+ <el-upload v-show="false" class="upload-demo newCss" :http-request="handleChange" :on-remove="handleRemove" action="#"
|
|
|
:file-list="fileListUpload" accept=".xlsx">
|
|
|
<el-button size="primary" type="primary">批量添加</el-button>
|
|
|
<div slot="tip" class="el-upload__tip" style="margin-left:10px;">只能上传xlsx文件,且不超过500kb</div>
|
|
|
</el-upload>
|
|
|
<!-- <el-button @click="exportExcel">导出学生</el-button> -->
|
|
|
- <div @click="getExcel">xls 上传样例</div>
|
|
|
+ <div @click="getExcel" v-show="false">xls 上传样例</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|