浏览代码

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

zhangyu 5 年之前
父节点
当前提交
5e19c7990f
共有 1 个文件被更改,包括 1 次插入1 次删除
  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}`
         }