修改导出列表

This commit is contained in:
高嵩
2023-09-27 10:34:13 +08:00
parent 2b70e816b9
commit 4a68d4b283
2 changed files with 11 additions and 6 deletions
@@ -723,7 +723,7 @@
<script>
import TableCollection from '@/components/tableCollection/index'
import parameterColumn from '../dialog/parametercolumn'
import { getAction, postAction, downloadFile } from '../../../api/manage'
import { getAction, postAction, downloadFile ,deleteAction } from '../../../api/manage'
import eventBUs from '../../../common/event'
import customizeList from './customizeList'
import ParameterLibraryAdd from '@/components/ParameterLibraryAdd/index'
@@ -1594,7 +1594,7 @@
content: '',
onOk:
async () => {
getAction(`tag/onlCgformArea/delete`, { id: item.id }).then((res) => {
deleteAction(`params/paramsCollectExport/delete`, { id: item.id }).then((res) => {
if (res.success) {
this.$message.success(this.$t('OperationSuccessful'))
this.expoteList()
@@ -1652,10 +1652,10 @@
let name = this.$route.query.projectName + '(' + this.$route.query.title + ')' + '.zip'
getAction('/params/collectManifest/exportAll', query).then((res) => {
// if (res.success) {
this.dataExportFailed = false
this.ExportFailed = true
// }
})
this.dataExportFailed = false
this.ExportFailed = true
// downloadFile('/params/collectManifest/exportAll', name, query, this.selectClear)
}
})