Explorar o código

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

zhangyu %!s(int64=5) %!d(string=hai) anos
pai
achega
5e19c7990f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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}`
         }