|
@@ -480,20 +480,20 @@
|
|
|
this.setEndOptions = device && device.filter(i => !this.setValue.includes(i.value))
|
|
|
},
|
|
|
downloadProject(str) {
|
|
|
- let relType = this.ManualMaintenance.RelationType ? `?relType=${this.ManualMaintenance.RelationType}` : ''
|
|
|
+ let relType = this.ManualMaintenance.RelationType ? `&relType=${this.ManualMaintenance.RelationType}` : ''
|
|
|
let zoneType = this.ManualMaintenance.ZoneType ? `&zoneType=${this.ManualMaintenance.ZoneType}` : null
|
|
|
let url;
|
|
|
if (str === 'excel') {
|
|
|
relType = this.ManualMaintenance.RelationType ? `&relType=${this.ManualMaintenance.RelationType}` : ''
|
|
|
// url = `/api/datacenter/graphic/export?code=对象ID${relType}${zoneType}`
|
|
|
if (zoneType) {
|
|
|
- url = `/api/datacenter/graphic/export${relType}${zoneType}&projectId=${this.projectId}&code=对象ID`
|
|
|
+ url = `/api/datacenter/graphic/export?projectId=${this.projectId}${relType}${zoneType}&code=对象ID`
|
|
|
|
|
|
} else {
|
|
|
- url = `/api/datacenter/graphic/export${relType}&projectId=${this.projectId}&code=对象ID`
|
|
|
+ url = `/api/datacenter/graphic/export?projectId=${this.projectId}${relType}&code=对象ID`
|
|
|
}
|
|
|
} else {
|
|
|
- url = `/api/datacenter/graphic/report-downloads${relType}${zoneType}&projectId=${this.projectId}`
|
|
|
+ url = `/api/datacenter/graphic/report-downloads?projectId=${this.projectId}${relType}${zoneType}`
|
|
|
}
|
|
|
return url
|
|
|
},
|