[参数项列表] 模板下载
This commit is contained in:
@@ -44,9 +44,9 @@
|
|||||||
<a-icon type="plus"/>
|
<a-icon type="plus"/>
|
||||||
{{$t('add')}}
|
{{$t('add')}}
|
||||||
</div>
|
</div>
|
||||||
<div @click="handlecody" class="operator-text" v-has="'document:getInfoById'">
|
<div @click="handleModule" class="operator-text" v-has="'document:exportTemplate'">
|
||||||
<a-icon type="copy"/>
|
<a-icon type="download"/>
|
||||||
{{$t('copy')}}
|
{{$t('templateDownload')}}
|
||||||
</div>
|
</div>
|
||||||
<div @click="handleDel" class="operator-text" v-has="'document:deleteBatch'">
|
<div @click="handleDel" class="operator-text" v-has="'document:deleteBatch'">
|
||||||
<a-icon type="delete"/>
|
<a-icon type="delete"/>
|
||||||
@@ -168,6 +168,10 @@ export default {
|
|||||||
this.getList()
|
this.getList()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
//下载模板
|
||||||
|
handleModule() {
|
||||||
|
downloadFile('params/paramsInfo/exportTemplate', '参数项列表.xls', {})
|
||||||
|
},
|
||||||
handleToggleSearch() {
|
handleToggleSearch() {
|
||||||
this.toggleSearchStatus = !this.toggleSearchStatus
|
this.toggleSearchStatus = !this.toggleSearchStatus
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user