agilebuilder-ui 1.0.48 → 1.0.49

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agilebuilder-ui",
3
- "version": "1.0.48",
3
+ "version": "1.0.49",
4
4
  "type": "module",
5
5
  "private": false,
6
6
  "main": "./lib/super-ui.js",
@@ -119,7 +119,8 @@ function exportResultData(
119
119
  uuid,
120
120
  isAsync,
121
121
  pageCode,
122
- isPermission
122
+ isPermission,
123
+ exportOptions
123
124
  )
124
125
  .then((result) => {
125
126
  resolve(result)
@@ -263,7 +264,8 @@ function exportListData(
263
264
  uuid,
264
265
  isAsync,
265
266
  pageCode,
266
- isPermission
267
+ isPermission,
268
+ exportOptions
267
269
  ) {
268
270
  return new Promise((resolve, reject) => {
269
271
  const gridParams = getGridParams(listCode)
@@ -309,9 +311,13 @@ function exportListData(
309
311
  param['pageCode'] = pageCode
310
312
  // 导出按钮是否需要验证权限
311
313
  param['isPermission'] = isPermission
314
+ let baseUrl = exportOptions ? exportOptions.backendUrl : null
315
+ if(!baseUrl){
316
+ baseUrl = window.$vueApp.config.globalProperties.baseURL
317
+ }
312
318
  window.$vueApp.config.globalProperties.$http
313
319
  .post(
314
- window.$vueApp.config.globalProperties.baseURL +
320
+ baseUrl +
315
321
  '/dsc/commons/export-list-data',
316
322
  param
317
323
  )