项目为符合项导出

This commit is contained in:
zhn
2022-07-12 16:45:38 +08:00
parent d3de930960
commit 5ef30c2eb2
6 changed files with 105 additions and 20 deletions
@@ -182,7 +182,7 @@
</template>
<script>
import { getAction, postAction, downloadFile, deleteAction } from '@/api/manage'
import { getAction, postAction, downloadFile, deleteAction ,downloadFilePost} from '@/api/manage'
import PersonnelSelection from '@/components/PersonnelSelection/index'
import store from '@/store/'
@@ -354,9 +354,9 @@
handleExport() {
let query = {
...this.queryParam,
ncrTrackVOList: JSON.stringify(this.content)
ncrTrackVOList: this.content
}
downloadFile(this.url.exportData, this.$t('NonConformance') + '.xls', query, this.Deselect)
downloadFilePost(this.url.exportData, this.$t('NonConformance') + '.xls', query, this.Deselect)
},
Deselect() {
this.selectedRowKeys = []