[参数项列表] 模板下载

This commit is contained in:
zhaomeijing
2022-04-29 10:18:11 +08:00
parent 4f3fdc0fbf
commit f1be243696
@@ -44,9 +44,9 @@
<a-icon type="plus"/>
{{$t('add')}}
</div>
<div @click="handlecody" class="operator-text" v-has="'document:getInfoById'">
<a-icon type="copy"/>
{{$t('copy')}}
<div @click="handleModule" class="operator-text" v-has="'document:exportTemplate'">
<a-icon type="download"/>
{{$t('templateDownload')}}
</div>
<div @click="handleDel" class="operator-text" v-has="'document:deleteBatch'">
<a-icon type="delete"/>
@@ -168,6 +168,10 @@ export default {
this.getList()
},
methods: {
//下载模板
handleModule() {
downloadFile('params/paramsInfo/exportTemplate', '参数项列表.xls', {})
},
handleToggleSearch() {
this.toggleSearchStatus = !this.toggleSearchStatus
},