UAT问题清单-222条问题修改,上报库-一般导出开发。

This commit is contained in:
wangzhijiang
2023-06-19 14:57:27 +08:00
parent 8cc068f823
commit f6b622e6b1
8 changed files with 640 additions and 8 deletions
@@ -93,7 +93,7 @@
{{$t('preservation')}}
</div>
<!-- 导出-->
<div @click="handleExport" class="operator-text" v-has="'report:detail:export:normal'">
<div @click="handleExport" class="operator-text" v-has="'report:detail:export:general'">
<a-icon type="export"/>
{{$t('dataExport')}}
</div>
@@ -683,16 +683,17 @@ import { downloadFile, getAction, postAction } from '../../../api/manage'
} else if (long && long === 'en-us') {
this.cut = 'en'
}
console.log(this.selectedRowKeys)
let query = {
paramsManifestId: this.paramsManifest.id,
paramsTemplateId: this.$route.query.paramsTemplateId,
paramsTemplatePublishVersion: 1,
paramsManifestId: this.$route.query.id,
cut: this.cut,
userTypes: this.currentPersonRole,
// userTypes: this.currentPersonRole,
ids:this.selectedRowKeys.join(','),
...this.formInline,
exportName: this.$route.query.projectName + '(' + this.$route.query.title + ')'
}
let name = this.$route.query.projectName + '(' + this.$route.query.title + ')' + '.zip'
downloadFile('/params/collectManifest/exportAll', name, query, this.selectClear)
downloadFile('/report/detail/exportGeneral', name, query, this.selectClear)
},
ConventionalExport() {
this.$refs.conventionalModel.addModel()