[参数项列表] 导出
This commit is contained in:
@@ -55,6 +55,10 @@
|
||||
<div class="operator-text" v-has="'document:importZip'">
|
||||
<ImportFile :url="url" :isTrue="false" :accept="'.zip'" :paramsTemplateId='this.$route.query.id'/>
|
||||
</div>
|
||||
<div @click="handleModule" class="operator-text" v-has="'document:exportTemplate'">
|
||||
<a-icon type="rocket"/>
|
||||
{{$t('Version')}}
|
||||
</div>
|
||||
<div @click="handleDel" class="operator-text" v-has="'document:deleteBatch'">
|
||||
<a-icon type="delete"/>
|
||||
{{$t('BatchDelete')}}
|
||||
@@ -191,28 +195,17 @@ export default {
|
||||
// },
|
||||
//导出
|
||||
handleExport() {
|
||||
// let _tt = {
|
||||
// pageNo: this.pageNo,
|
||||
// pageSize: this.pageSize,
|
||||
// paramsTemplateId: this.$route.query.id,
|
||||
// ...this.queryParam,
|
||||
// ids: this.selectedRowKeys.join(','),
|
||||
// // exportName: '参数项列表.xlsx'
|
||||
// }
|
||||
// let _xx = JSON.stringify(_tt)
|
||||
// let _yy = {
|
||||
// paramsInfoVO : _xx
|
||||
// }
|
||||
// downloadFile('params/paramsInfo/exportParamsInfoZip', '参数项列表.xlsx', _yy, this.Deselect)
|
||||
let _tt = {
|
||||
pageNo: this.pageNo,
|
||||
pageSize: this.pageSize,
|
||||
paramsTemplateId: this.$route.query.id,
|
||||
...this.queryParam,
|
||||
ids: this.selectedRowKeys.join(','),
|
||||
// exportName: '参数项列表.xlsx'
|
||||
}
|
||||
downFilePost('params/paramsInfo/exportParamsInfoZip',{ paramsInfoVO : _tt }, this.Deselect)
|
||||
let _xx = JSON.stringify(_tt)
|
||||
let _yy = {
|
||||
|
||||
}
|
||||
downloadFile('params/paramsInfo/exportParamsInfoZip', '参数项列表.zip', { paramsInfoVO : _xx }, this.Deselect)
|
||||
},
|
||||
//下载模板
|
||||
handleModule() {
|
||||
|
||||
Reference in New Issue
Block a user