参数项收集清单填写人导出功能
This commit is contained in:
@@ -453,7 +453,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import TableCollection from '@/components/tableCollection/index'
|
import TableCollection from '@/components/tableCollection/index'
|
||||||
import { getAction, postAction } from '../../../api/manage'
|
import { getAction, postAction, downloadFile } from '../../../api/manage'
|
||||||
import eventBUs from '../../../common/event'
|
import eventBUs from '../../../common/event'
|
||||||
import ParameterLibraryAdd from '@/components/ParameterLibraryAdd/index'
|
import ParameterLibraryAdd from '@/components/ParameterLibraryAdd/index'
|
||||||
import globalAdvancedQuery from '@/components/globalAdvancedQuery/index'
|
import globalAdvancedQuery from '@/components/globalAdvancedQuery/index'
|
||||||
@@ -889,8 +889,6 @@
|
|||||||
},
|
},
|
||||||
//填写人导出
|
//填写人导出
|
||||||
handleExportDre(){
|
handleExportDre(){
|
||||||
console.log(this.selectedRowKeys)
|
|
||||||
this.$message.success(this.$t('Intheexport'))
|
|
||||||
let long = localStorage.getItem('language')
|
let long = localStorage.getItem('language')
|
||||||
this.cut = ''
|
this.cut = ''
|
||||||
if (long && long === 'zh-cn') {
|
if (long && long === 'zh-cn') {
|
||||||
@@ -904,12 +902,8 @@
|
|||||||
ids: this.selectedRowKeys.join(','),
|
ids: this.selectedRowKeys.join(','),
|
||||||
exportName:this.$route.query.projectName + '(' + this.$route.query.title + ')'
|
exportName:this.$route.query.projectName + '(' + this.$route.query.title + ')'
|
||||||
}
|
}
|
||||||
getAction('/params/collectManifest/exportDre', query).then((res) => {
|
let name = this.$route.query.projectName + '(' + this.$route.query.title + ')' + '.zip'
|
||||||
if (res && !res.success) {
|
downloadFile('/params/collectManifest/exportDre', name , query , this.selectClear)
|
||||||
this.$message.error(res.message)
|
|
||||||
}
|
|
||||||
this.textLoading = false
|
|
||||||
})
|
|
||||||
},
|
},
|
||||||
getList(){
|
getList(){
|
||||||
this.$refs.CollectionTabel.getTableList(this.queryParamQuery)
|
this.$refs.CollectionTabel.getTableList(this.queryParamQuery)
|
||||||
|
|||||||
Reference in New Issue
Block a user