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