agilebuilder-ui 1.1.39 → 1.1.40-sit1

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.
Files changed (53) hide show
  1. package/lib/{401-10773a45.js → 401-09411643.js} +1 -1
  2. package/lib/{404-bc7b5bc4.js → 404-78725820.js} +1 -1
  3. package/lib/{iframe-page-593fe033.js → iframe-page-532b68e3.js} +1 -1
  4. package/lib/{index-5276895e.js → index-147b8176.js} +9499 -9462
  5. package/lib/super-ui.css +1 -1
  6. package/lib/super-ui.js +1 -1
  7. package/lib/super-ui.umd.cjs +64 -64
  8. package/lib/{tab-content-iframe-index-12a5a7c2.js → tab-content-iframe-index-ca45a6b8.js} +1 -1
  9. package/lib/{tab-content-index-6901441f.js → tab-content-index-6fe04e7b.js} +1 -1
  10. package/lib/{tache-subprocess-history-8fd8d5f7.js → tache-subprocess-history-61019029.js} +1 -1
  11. package/package.json +1 -1
  12. package/packages/department-tree-inline/src/department-single-tree-inline.vue +3 -1
  13. package/packages/department-user-tree-inline/src/department-user-multiple-tree-inline.vue +5 -1
  14. package/packages/department-user-tree-inline/src/department-user-single-tree-inline.vue +2 -1
  15. package/packages/department-user-tree-inline/src/department-user-tree-multi-service.js +0 -1
  16. package/packages/department-user-tree-mobile/src/department-user-tree-inline-app.vue +3 -1
  17. package/packages/fs-preview/src/fs-preview.vue +202 -65
  18. package/packages/fs-upload-list/src/fs-upload-list.vue +67 -192
  19. package/packages/fs-upload-new/src/fs-button-upload.vue +4 -4
  20. package/packages/fs-upload-new/src/fs-drag-upload.vue +4 -4
  21. package/packages/fs-upload-new/src/fs-preview-new.vue +6 -7
  22. package/packages/fs-upload-new/src/fs-upload-new.vue +13 -13
  23. package/packages/organization-input/src/organization-input.vue +3 -3
  24. package/packages/super-grid/src/components/mobile-table-card.jsx +0 -1
  25. package/packages/super-grid/src/custom-formatter.js +1 -1
  26. package/packages/super-grid/src/dynamic-input.vue +3 -26
  27. package/packages/super-grid/src/normal-column-content.vue +25 -18
  28. package/packages/super-grid/src/row-operation.vue +13 -9
  29. package/packages/super-grid/src/search-form-item.vue +47 -4
  30. package/packages/super-grid/src/search-form-mobile.vue +5 -0
  31. package/packages/super-grid/src/search-form-ordinarySearch.vue +5 -0
  32. package/packages/super-grid/src/search-methods.js +489 -575
  33. package/packages/super-grid/src/super-grid.vue +13 -0
  34. package/packages/utils/organization.ts +56 -40
  35. package/packages/workflow-history-list/src/workflow-history-list.vue +41 -3
  36. package/src/directives/permission/permission.js +7 -1
  37. package/src/i18n/langs/cn.js +10 -3
  38. package/src/i18n/langs/en.js +10 -3
  39. package/src/styles/mixin.scss +2 -2
  40. package/src/styles/table.scss +8 -7
  41. package/src/styles/theme/dark-blue/scrollbar-style.scss +2 -2
  42. package/src/styles/theme/gray/scrollbar-style.scss +2 -2
  43. package/src/styles/theme/green/scrollbar-style.scss +2 -2
  44. package/src/styles/theme/ocean-blue/scrollbar-style.scss +2 -2
  45. package/src/styles/theme/tiffany-blue-mobile/scrollbar-style.scss +2 -2
  46. package/src/utils/file-util.ts +12 -4
  47. package/src/utils/jump-page-utils.js +1 -0
  48. package/src/utils/permission.js +2 -2
  49. package/src/utils/permissionAuth.js +4 -2
  50. package/src/views/dsc-component/Sidebar/Item.vue +3 -3
  51. package/src/views/dsc-component/Sidebar/index.vue +0 -2
  52. package/src/views/layout/components/Menubar/Item.vue +6 -0
  53. package/src/views/layout/components/Menubar/SidebarItem.vue +37 -17
@@ -53,6 +53,7 @@ import { getI18nName } from "../../../../utils/menu";
53
53
  import tabJs from "../../../../api/tab";
54
54
  import { getSystemCode } from "../../../../utils/permissionAuth";
55
55
  import authApi from "../../../../utils/auth-api";
56
+ import { getSystemFrontendUrl } from '../../../../utils/common-util';
56
57
 
57
58
  export default {
58
59
  name: "SidebarItem",
@@ -157,7 +158,22 @@ export default {
157
158
  toPathObj.query.customSystem = getSystemCode();
158
159
  toPathObj.query._menuCode = menu.code;
159
160
  toPathObj.query._menuName = getI18nName(menu);
160
- } else {
161
+ } else if(menu.openWay && menu.openWay === 'NEW_PAGE_OPEN'){
162
+ // 新页签打开菜单时
163
+ routePath = menu.fullPath
164
+ if(routePath.indexOf('http:') < 0 && routePath.indexOf('https:') < 0){
165
+ // 表示不是全路径
166
+ let frontUrl = getSystemFrontendUrl(window.$vueApp.config.globalProperties.frontUrl)
167
+ if(frontUrl.lastIndexOf("/") < frontUrl.length -1 ){
168
+ // 表示最后不是斜线结尾的,需要添加斜线结尾
169
+ frontUrl = frontUrl + '/'
170
+ }
171
+ routePath = frontUrl + "#" + routePath
172
+ }
173
+ toPathObj.query = {}
174
+ toPathObj.query._menuCode = menu.code;
175
+ toPathObj.path=routePath
176
+ }else{
161
177
  routePath = menu.fullPath;
162
178
  if(!routePath) {
163
179
  routePath = ''
@@ -217,26 +233,30 @@ export default {
217
233
  clickMenu(toPathObj) {
218
234
  if (
219
235
  toPathObj.openWay &&
220
- toPathObj.openWay === "NEW_PAGE_OPEN" &&
221
- toPathObj.query
236
+ toPathObj.openWay === "NEW_PAGE_OPEN"
222
237
  ) {
223
238
  // 新页签打开菜单
224
- let url = toPathObj.query.src;
225
- if (url && url.indexOf("?") > 0) {
226
- url += "&";
239
+ if(toPathObj.query && toPathObj.query.src){
240
+ let url = toPathObj.query.src;
241
+ if (url && url.indexOf("?") > 0) {
242
+ url += "&";
243
+ } else {
244
+ url += "?";
245
+ }
246
+ if (toPathObj.query.customSystem) {
247
+ url += "customSystem=" + toPathObj.query.customSystem;
248
+ }
249
+ if (toPathObj.query._menuCode) {
250
+ url += "_menuCode=" + toPathObj.query._menuCode;
251
+ }
252
+ if (toPathObj.query._menuCode) {
253
+ url += "_menuName=" + toPathObj.query._menuName;
254
+ }
255
+ window.open(url, toPathObj.query._menuCode)
227
256
  } else {
228
- url += "?";
229
- }
230
- if (toPathObj.query.customSystem) {
231
- url += "customSystem=" + toPathObj.query.customSystem;
232
- }
233
- if (toPathObj.query._menuCode) {
234
- url += "_menuCode=" + toPathObj.query._menuCode;
235
- }
236
- if (toPathObj.query._menuCode) {
237
- url += "_menuName=" + toPathObj.query._menuName;
257
+ const url = toPathObj.path;
258
+ window.open(url, toPathObj.query._menuCode)
238
259
  }
239
- window.open(url, toPathObj.query._menuCode);
240
260
  } else {
241
261
  // 刷新页签打开菜单
242
262
  this.addTabs(