修改导出列表
This commit is contained in:
+7
-2
@@ -3605,8 +3605,13 @@ public class ParamsCollectManifestEOServiceImpl extends ServiceImpl<ParamsCollec
|
||||
pce.setParamsManifestId(paramsCollectManifestVO.getParamsManifestId());
|
||||
pce.setState(ExportStateEnum.EXPORTING.getValue());
|
||||
pce.setFileName(fileOriName+ ".zip");
|
||||
paramsCollectExportService.add(pce);
|
||||
|
||||
Thread thread1 = new Thread(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
paramsCollectExportService.add(pce);
|
||||
}
|
||||
});
|
||||
thread1.start();
|
||||
//创建临时文件夹
|
||||
String fileNowPath = uploadpath + "/tempZip/" + UUID.randomUUID().toString().replace("-", "") + File.separator + fileOriName;
|
||||
File nowFile = new File(fileNowPath);
|
||||
|
||||
@@ -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)
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user