添加下载模板按钮

main
lijingyu007 6 months ago
parent 60418c542c
commit 0afc806e02
  1. 7
      src/views/trainService/talentPool.vue

@ -19,6 +19,7 @@
<div style="margin-top: 5px; margin-bottom: 20px"> <div style="margin-top: 5px; margin-bottom: 20px">
<el-button type="primary" icon="el-icon-plus" size="mini" @click="addsign">新增</el-button> <el-button type="primary" icon="el-icon-plus" size="mini" @click="addsign">新增</el-button>
<el-button type="warning" icon="el-icon-plus" size="mini" @click="handleImport">导入</el-button> <el-button type="warning" icon="el-icon-plus" size="mini" @click="handleImport">导入</el-button>
<el-button icon="el-icon-download" size="mini" @click="importTemplate">下载导入模板</el-button>
</div> </div>
</el-form> </el-form>
<el-table v-loading="loading" :data="schoolList"> <el-table v-loading="loading" :data="schoolList">
@ -123,10 +124,10 @@
将文件拖到此处 将文件拖到此处
<em>点击上传</em> <em>点击上传</em>
</div> </div>
<div class="el-upload__tip" slot="tip"> <!-- <div class="el-upload__tip" slot="tip">
<!-- <el-checkbox v-model="upload.updateSupport" />是否更新已经存在的用户数据 --> <el-checkbox v-model="upload.updateSupport" />是否更新已经存在的用户数据
<el-link type="info" style="font-size: 16px" @click="importTemplate">点击下载模板</el-link> <el-link type="info" style="font-size: 16px" @click="importTemplate">点击下载模板</el-link>
</div> </div> -->
<!-- <div class="el-upload__tip" style="color: red" slot="tip">提示仅允许导入xlsxlsx格式文件</div> --> <!-- <div class="el-upload__tip" style="color: red" slot="tip">提示仅允许导入xlsxlsx格式文件</div> -->
</el-upload> </el-upload>
<div slot="footer" class="dialog-footer"> <div slot="footer" class="dialog-footer">

Loading…
Cancel
Save