Browse Source

'下载模板添加项目id参数'

zhangyu 5 years ago
parent
commit
5e19c7990f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/components/relation/relationShip/Modal/exportExcel.vue

+ 1 - 1
src/components/relation/relationShip/Modal/exportExcel.vue

@@ -137,7 +137,7 @@
         let url;
         if (str === 'excel') {
           relType = localStorage.getItem('RelationType') ? `&relType=${localStorage.getItem('RelationType')}` : '';
-          url = `/api/datacenter/graphic/export?code=对象ID${relType}${zoneType}`
+          url = `/api/datacenter/graphic/export?projectId=${this.projectId}&code=对象ID${relType}${zoneType}`
         } else {
           url = `/api/datacenter/graphic/report-downloads${relType}${zoneType}`
         }