agilebuilder-ui 1.1.39 → 1.1.40
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/lib/{401-10773a45.js → 401-7bd60242.js} +1 -1
- package/lib/{404-bc7b5bc4.js → 404-d2daf8d0.js} +1 -1
- package/lib/{iframe-page-593fe033.js → iframe-page-4c181c23.js} +1 -1
- package/lib/{index-5276895e.js → index-e9efe5c2.js} +9215 -9186
- package/lib/super-ui.css +1 -1
- package/lib/super-ui.js +1 -1
- package/lib/super-ui.umd.cjs +63 -63
- package/lib/{tab-content-iframe-index-12a5a7c2.js → tab-content-iframe-index-77bf55ca.js} +1 -1
- package/lib/{tab-content-index-6901441f.js → tab-content-index-8157438c.js} +1 -1
- package/lib/{tache-subprocess-history-8fd8d5f7.js → tache-subprocess-history-bc9f1bea.js} +1 -1
- package/package.json +1 -1
- package/packages/department-tree-inline/src/department-single-tree-inline.vue +3 -1
- package/packages/department-user-tree-inline/src/department-user-multiple-tree-inline.vue +5 -1
- package/packages/department-user-tree-inline/src/department-user-single-tree-inline.vue +2 -1
- package/packages/department-user-tree-inline/src/department-user-tree-multi-service.js +0 -1
- package/packages/department-user-tree-mobile/src/department-user-tree-inline-app.vue +3 -1
- package/packages/fs-preview/src/fs-preview.vue +40 -8
- package/packages/fs-upload-list/src/fs-upload-list.vue +42 -23
- package/packages/fs-upload-new/src/fs-button-upload.vue +4 -4
- package/packages/fs-upload-new/src/fs-drag-upload.vue +4 -4
- package/packages/fs-upload-new/src/fs-preview-new.vue +6 -7
- package/packages/fs-upload-new/src/fs-upload-new.vue +12 -12
- package/packages/organization-input/src/organization-input.vue +3 -3
- package/packages/super-grid/src/components/mobile-table-card.jsx +0 -1
- package/packages/super-grid/src/custom-formatter.js +1 -1
- package/packages/super-grid/src/normal-column-content.vue +16 -12
- package/packages/super-grid/src/search-form-item.vue +47 -4
- package/packages/super-grid/src/search-form-mobile.vue +5 -0
- package/packages/super-grid/src/search-form-ordinarySearch.vue +5 -0
- package/packages/super-grid/src/search-methods.js +3 -1
- package/packages/super-grid/src/super-grid.vue +13 -0
- package/packages/utils/organization.ts +56 -40
- package/packages/workflow-history-list/src/workflow-history-list.vue +41 -3
- package/src/directives/permission/permission.js +7 -1
- package/src/i18n/langs/cn.js +10 -3
- package/src/i18n/langs/en.js +10 -3
- package/src/styles/mixin.scss +2 -2
- package/src/styles/table.scss +8 -7
- package/src/styles/theme/dark-blue/scrollbar-style.scss +2 -2
- package/src/styles/theme/gray/scrollbar-style.scss +2 -2
- package/src/styles/theme/green/scrollbar-style.scss +2 -2
- package/src/styles/theme/ocean-blue/scrollbar-style.scss +2 -2
- package/src/styles/theme/tiffany-blue-mobile/scrollbar-style.scss +2 -2
- package/src/utils/file-util.ts +12 -4
- package/src/utils/jump-page-utils.js +1 -0
- package/src/utils/permission.js +2 -2
- package/src/utils/permissionAuth.js +4 -2
- package/src/views/dsc-component/Sidebar/Item.vue +3 -3
- package/src/views/dsc-component/Sidebar/index.vue +0 -2
- package/src/views/layout/components/Menubar/Item.vue +6 -0
- 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
|
-
|
|
225
|
-
|
|
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(
|