修改为符合项导出的参数

This commit is contained in:
qq787203167
2022-05-13 10:06:10 +08:00
parent c2b08b8080
commit 01a7e5348f
2 changed files with 24 additions and 4 deletions
@@ -149,7 +149,7 @@
<a-table
ref="table"
size="middle"
rowKey="id"
rowKey="uuid"
:loading="loading"
:pagination="false"
:scroll="{x: true}"
@@ -275,7 +275,7 @@
if (this.selectedRowKeys && this.selectedRowKeys.length > 0) {
this.dataSource.forEach(res => {
this.selectedRowKeys.forEach(val => {
if (res.id == val) {
if (res.uuid == val) {
this.content.push({
id: res.id,
flowType: res.flowType
@@ -320,7 +320,7 @@
handleExport() {
let query = {
...this.queryParam,
ncrTrackVOList: this.content
ncrTrackVOList: JSON.stringify(this.content)
}
downloadFile(this.url.exportData, this.$t('NonConformance') + '.xls', query, this.Deselect)
},