agilebuilder-ui 1.0.47 → 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.47",
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
  )
@@ -104,6 +104,7 @@ export default {
104
104
  this.firstLeafMenu.code + '~~' + this.firstLeafMenu.i18nValue
105
105
  window.$vueApp.config.globalProperties._selectMenu = this.defaultActive
106
106
  }
107
+ console.log('getFirstMenu=====firstLeafMenu333=', this.firstLeafMenu)
107
108
  if (this.firstLeafMenu && this.firstLeafMenu.fullPath) {
108
109
  // 跳转到第一个页面
109
110
  if (
@@ -125,7 +126,11 @@ export default {
125
126
  '/iframe-page/page'
126
127
  )
127
128
  // this.$router.push({ path: '/iframe-page/page', query: query })
128
- this.$router.push({path: '/tab-content-iframe-index', query: query})
129
+ let routePath = '/tab-content-iframe-index'
130
+ if(this.isDevp){
131
+ routePath = '/devp-project/setting'
132
+ }
133
+ this.$router.push({path: routePath, query: query})
129
134
  } else {
130
135
  const query = {
131
136
  customSystem: this.systemCode,
@@ -161,8 +166,11 @@ export default {
161
166
  // 表示需要选中指定的菜单
162
167
  this.isSelectFirst = true
163
168
  } else {
164
- shouldSelectMenu = this.getFirstMenuWithCookie(menus)
169
+ if(!this.isDevp){
170
+ shouldSelectMenu = this.getFirstMenuWithCookie(menus)
171
+ }
165
172
  }
173
+ console.log('getFirstMenu=====shouldSelectMenu111=', shouldSelectMenu)
166
174
  if (this.isSelectFirst && !shouldSelectMenu && menus && menus.length > 0) {
167
175
  for (let i = 0; i < menus.length; i++) {
168
176
  const menu = menus[i]
@@ -173,6 +181,7 @@ export default {
173
181
  }
174
182
  }
175
183
  }
184
+ console.log('getFirstMenu=====shouldSelectMenu222=', shouldSelectMenu)
176
185
  return shouldSelectMenu
177
186
  },
178
187
  getShouldSelectMenu(menu, currentMenuCode) {