@@ -2,7 +2,7 @@
<div id="detail">
<list-frame :title="pageTitle" returns="./index" :needFilter="false" :needPag="false" :needAdd="false">
<el-col class="mb">
- <el-button type="primary" size="mini" @click="exportExcel()">下载上传名单模板</el-button>
+ <el-button type="primary" size="mini"><a href="/sheetjs.xlsx" download="上传名单模板.xlsx">下载上传名单模板</a></el-button>
</el-col>
<data-table
id="out-table"
@@ -191,5 +191,9 @@ export default {
.mb {
text-align: right;
margin: 15px 0;
+ a {
+ text-decoration: none;
+ color: #fff;
+ }
}
</style>