修改禅道已知bug
This commit is contained in:
@@ -39,6 +39,12 @@
|
||||
</span>
|
||||
</a-row>
|
||||
</div>
|
||||
<div class="table-operator">
|
||||
<div @click="handleExport" class="operator-text">
|
||||
<a-icon type="export" :rotate="-90"/>
|
||||
{{ $t('export') }}
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<a-table
|
||||
ref="table"
|
||||
@@ -116,7 +122,8 @@
|
||||
pageSize: 10,
|
||||
pageNo: 1,
|
||||
url: {
|
||||
page: '/project/ncrTrackController/queryPageInfo'
|
||||
page: '/project/ncrTrackController/queryPageInfo',
|
||||
exportData: '/project/ncrTrackController/exportData'
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -142,11 +149,20 @@
|
||||
this.pageSize = pageSize
|
||||
this.getList()
|
||||
},
|
||||
handleExport() {
|
||||
let selectedRowKeys = JSON.parse(JSON.stringify(this.selectedRowKeys))
|
||||
let query = {
|
||||
...this.queryParam,
|
||||
ids: selectedRowKeys.join(','),
|
||||
projectLibraryId: this.$route.query.id
|
||||
}
|
||||
downloadFile(this.url.exportData, this.$t('NonConformance') + '.xls', query, this.Deselect)
|
||||
},
|
||||
getList() {
|
||||
let query = {
|
||||
pageNo: this.pageNo,
|
||||
pageSize: this.pageSize,
|
||||
projectLibraryId:this.$route.query.id,
|
||||
projectLibraryId: this.$route.query.id,
|
||||
...this.queryParam
|
||||
}
|
||||
this.loading = true
|
||||
|
||||
@@ -203,18 +203,18 @@
|
||||
dataIndex: 'title',
|
||||
ellipsis: true
|
||||
},
|
||||
{
|
||||
title: this.$t('areaOfResponsibility'),
|
||||
align: 'center',
|
||||
dataIndex: 'dutyTerritory_dictText',
|
||||
ellipsis: true
|
||||
},
|
||||
{
|
||||
title: this.$t('ProcessType'),
|
||||
align: 'center',
|
||||
dataIndex: 'flowType',
|
||||
ellipsis: true
|
||||
},
|
||||
{
|
||||
title: this.$t('areaOfResponsibility'),
|
||||
align: 'center',
|
||||
dataIndex: 'dutyTerritory_dictText',
|
||||
ellipsis: true
|
||||
},
|
||||
{
|
||||
title: this.$t('RelatedItems'),
|
||||
align: 'center',
|
||||
|
||||
Reference in New Issue
Block a user