修改法规清单导出

This commit is contained in:
范强强
2024-01-04 09:56:39 +08:00
parent 41a121f66b
commit 801e6b19bb
@@ -1407,13 +1407,13 @@
{
type: 'deliverables',
value: 'designDeliverableType',
text: this.$t('designaconformancedeliverabletype'),
text: this.$t('designaconformancedeliverabletype')
},
{
type: 'deliverables',
value: 'verifyDeliverableType',
text: this.$t('verifytheconformancedeliverabletype'),
},
text: this.$t('verifytheconformancedeliverabletype')
}
// {
// type: 'Personnel',
// value: 'designDutyId',
@@ -1955,8 +1955,17 @@
handleExport() {
let roleCodeIndex = this.roleSwitchingCode
let selectedRowKeys = JSON.parse(JSON.stringify(this.selectedRowKeys))
let queryParam = JSON.parse(JSON.stringify(this.queryParam))
Object.keys(queryParam).forEach(val => {
if (queryParam[val] instanceof Array) {
queryParam[val] = queryParam[val].join(',')
}
})
if (queryParam.dutyTerritory) {
queryParam.dutyTerritory = '*' + queryParam.dutyTerritory + '*'
}
let query = {
...this.queryParam,
...queryParam,
ids: selectedRowKeys.join(','),
...this.queryParamQuery,
roleCode: roleCodeIndex,