[参数项列表] 导出
This commit is contained in:
@@ -55,6 +55,10 @@
|
|||||||
<div class="operator-text" v-has="'document:importZip'">
|
<div class="operator-text" v-has="'document:importZip'">
|
||||||
<ImportFile :url="url" :isTrue="false" :accept="'.zip'" :paramsTemplateId='this.$route.query.id'/>
|
<ImportFile :url="url" :isTrue="false" :accept="'.zip'" :paramsTemplateId='this.$route.query.id'/>
|
||||||
</div>
|
</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'">
|
<div @click="handleDel" class="operator-text" v-has="'document:deleteBatch'">
|
||||||
<a-icon type="delete"/>
|
<a-icon type="delete"/>
|
||||||
{{$t('BatchDelete')}}
|
{{$t('BatchDelete')}}
|
||||||
@@ -191,28 +195,17 @@ export default {
|
|||||||
// },
|
// },
|
||||||
//导出
|
//导出
|
||||||
handleExport() {
|
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 = {
|
let _tt = {
|
||||||
pageNo: this.pageNo,
|
|
||||||
pageSize: this.pageSize,
|
|
||||||
paramsTemplateId: this.$route.query.id,
|
paramsTemplateId: this.$route.query.id,
|
||||||
...this.queryParam,
|
...this.queryParam,
|
||||||
ids: this.selectedRowKeys.join(','),
|
ids: this.selectedRowKeys.join(','),
|
||||||
// exportName: '参数项列表.xlsx'
|
// 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() {
|
handleModule() {
|
||||||
|
|||||||
Reference in New Issue
Block a user