UAT问题清单-222条问题修改,上报库-一般导出开发。
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user