agilebuilder-ui 1.1.57-sit3 → 1.1.58-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 (135) hide show
  1. package/lib/{401-636d8b54.js → 401-88a355e4.js} +1 -1
  2. package/lib/{404-06a6c571.js → 404-afc478d6.js} +1 -1
  3. package/lib/{_baseUniq-BXtq6_NW-225b437f.js → _baseUniq-BXtq6_NW-617aa2f9.js} +2 -2
  4. package/lib/{arc-Js_tyW10-6f3f1db2.js → arc-Js_tyW10-df45eaa0.js} +1 -1
  5. package/lib/architecture-O4VJ6CD3-ZoZ2IAk2-bdaf85db.js +11 -0
  6. package/lib/{architectureDiagram-SUXI7LT5-kyYGGrHN-0f7e87f0.js → architectureDiagram-SUXI7LT5-kyYGGrHN-648a9961.js} +8 -8
  7. package/lib/{blockDiagram-6J76NXCF-IAr4zDV3-8da0a1a7.js → blockDiagram-6J76NXCF-IAr4zDV3-2fccbc39.js} +7 -7
  8. package/lib/{c4Diagram-6F6E4RAY-Dv27rXcJ-c2b174b6.js → c4Diagram-6F6E4RAY-Dv27rXcJ-a3d9ffd9.js} +3 -3
  9. package/lib/{channel-BBZy6zOT-b4765106.js → channel-BBZy6zOT-1cf50a39.js} +1 -1
  10. package/lib/{chunk-353BL4L5-Dn_Y_Yna-1776736a.js → chunk-353BL4L5-Dn_Y_Yna-1cdd12fb.js} +1 -1
  11. package/lib/{chunk-67H74DCK-Br5U8bfD-a0911b18.js → chunk-67H74DCK-Br5U8bfD-057f3620.js} +1 -1
  12. package/lib/{chunk-AACKK3MU-DH_MKxca-c07677af.js → chunk-AACKK3MU-DH_MKxca-1329b291.js} +1 -1
  13. package/lib/{chunk-BFAMUDN2-DHLCoYMN-eb545da6.js → chunk-BFAMUDN2-DHLCoYMN-14c87732.js} +1 -1
  14. package/lib/{chunk-E2GYISFI-DQPHyyga-aa6ec5ff.js → chunk-E2GYISFI-DQPHyyga-a72624fe.js} +1 -1
  15. package/lib/{chunk-OW32GOEJ-CQOSE6Bn-dbe507d3.js → chunk-OW32GOEJ-CQOSE6Bn-2373041f.js} +3 -3
  16. package/lib/{chunk-SKB7J2MH-BlwHRDiW-e6132f1f.js → chunk-SKB7J2MH-BlwHRDiW-0a15c77d.js} +1 -1
  17. package/lib/{chunk-SZ463SBG-DEp8buKJ-514d9beb.js → chunk-SZ463SBG-DEp8buKJ-61d05561.js} +4 -4
  18. package/lib/{classDiagram-M3E45YP4-D0ySDe-v-1cdc4005.js → classDiagram-M3E45YP4-D0ySDe-v-2380520e.js} +6 -6
  19. package/lib/{classDiagram-v2-YAWTLIQI-D0ySDe-v-1cdc4005.js → classDiagram-v2-YAWTLIQI-D0ySDe-v-2380520e.js} +6 -6
  20. package/lib/{clone-CEJtuQzg-d9ba41f8.js → clone-CEJtuQzg-43a7bd59.js} +1 -1
  21. package/lib/{dagre-JOIXM2OF-5zx0JY2T-24815a3c.js → dagre-JOIXM2OF-5zx0JY2T-66948b1f.js} +7 -7
  22. package/lib/{diagram-5UYTHUR4-C19nyAKc-777429e8.js → diagram-5UYTHUR4-C19nyAKc-5cfdc360.js} +7 -7
  23. package/lib/{diagram-VMROVX33-DkGwo-hj-013b3705.js → diagram-VMROVX33-DkGwo-hj-e5e9c2c7.js} +8 -8
  24. package/lib/{diagram-ZTM2IBQH-CBgHCu9L-9e561cf8.js → diagram-ZTM2IBQH-CBgHCu9L-45dcb455.js} +7 -7
  25. package/lib/{erDiagram-3M52JZNH-cttdAJXW-bfce1da6.js → erDiagram-3M52JZNH-cttdAJXW-ae4c728e.js} +5 -5
  26. package/lib/{flowDiagram-KYDEHFYC-9HpsqDdB-e7c887af.js → flowDiagram-KYDEHFYC-9HpsqDdB-58941953.js} +6 -6
  27. package/lib/{ganttDiagram-EK5VF46D-8QB3ofs6-85cf3e57.js → ganttDiagram-EK5VF46D-8QB3ofs6-0126173b.js} +3 -3
  28. package/lib/gitGraph-ZV4HHKMB-BSmtVGRu-5a3c376b.js +11 -0
  29. package/lib/{gitGraphDiagram-GW3U2K7C-DNzc0Vx_-5fd38d51.js → gitGraphDiagram-GW3U2K7C-DNzc0Vx_-fb293cc5.js} +8 -8
  30. package/lib/{graph-3zJxsO-i-c290b7f9.js → graph-3zJxsO-i-4fa86d20.js} +3 -3
  31. package/lib/{iframe-page-e15f9aa6.js → iframe-page-592a1aea.js} +1 -1
  32. package/lib/{index-0ed2fd1d.js → index-b5bd5d08.js} +79 -41
  33. package/lib/info-63CPKGFF-C8sYWczU-6fd12ac3.js +11 -0
  34. package/lib/{infoDiagram-LHK5PUON-C-vFFPTf-a80cb5a6.js → infoDiagram-LHK5PUON-C-vFFPTf-869425fe.js} +6 -6
  35. package/lib/{journeyDiagram-EWQZEKCU-BJrw4-AG-6b1ce36e.js → journeyDiagram-EWQZEKCU-BJrw4-AG-94ca3fbf.js} +5 -5
  36. package/lib/{kanban-definition-ZSS6B67P-BptAnqU--46cade26.js → kanban-definition-ZSS6B67P-BptAnqU--7f33088b.js} +3 -3
  37. package/lib/{layout-sGZIJplX-2ba75b8e.js → layout-sGZIJplX-733c3554.js} +5 -5
  38. package/lib/{linear-DqgVh5FN-5c70024b.js → linear-DqgVh5FN-6ccdedc2.js} +1 -1
  39. package/lib/{mermaid-parser.core-CH9ryA1K-bf0875cb.js → mermaid-parser.core-CH9ryA1K-cd66f36d.js} +12 -12
  40. package/lib/{mermaid.core-CAqkCmS1-6c0f2e5c.js → mermaid.core-CAqkCmS1-82993e20.js} +30 -30
  41. package/lib/{min-BngCxx8g-43ed7f04.js → min-BngCxx8g-c59244ce.js} +3 -3
  42. package/lib/{mindmap-definition-6CBA2TL7-Cp_EeEsh-3a57f8d1.js → mindmap-definition-6CBA2TL7-Cp_EeEsh-e3b0b43a.js} +2 -2
  43. package/lib/packet-HUATNLJX-bfFWFja0-d229c7e4.js +11 -0
  44. package/lib/pie-WTHONI2E-QPrWs3SR-5b711d67.js +11 -0
  45. package/lib/{pieDiagram-NIOCPIFQ-C46Y_4C6-35933904.js → pieDiagram-NIOCPIFQ-C46Y_4C6-c945992f.js} +8 -8
  46. package/lib/{quadrantDiagram-2OG54O6I-Dgf6d6F_-bf70f6d5.js → quadrantDiagram-2OG54O6I-Dgf6d6F_-a438b4be.js} +3 -3
  47. package/lib/radar-NJJJXTRR-BnUCJhQL-02373057.js +11 -0
  48. package/lib/{requirementDiagram-QOLK2EJ7-CSF6N7HA-872aad37.js → requirementDiagram-QOLK2EJ7-CSF6N7HA-233f5a62.js} +4 -4
  49. package/lib/{sankeyDiagram-4UZDY2LN-BAHB7dMS-164d5969.js → sankeyDiagram-4UZDY2LN-BAHB7dMS-116605b3.js} +2 -2
  50. package/lib/{sequenceDiagram-SKLFT4DO-10gLJ50N-25ebccff.js → sequenceDiagram-SKLFT4DO-10gLJ50N-b512d685.js} +4 -4
  51. package/lib/{stateDiagram-MI5ZYTHO-D6p6nCaj-463eda6c.js → stateDiagram-MI5ZYTHO-D6p6nCaj-5f4cff8f.js} +9 -9
  52. package/lib/{stateDiagram-v2-5AN5P6BG-DaN5hC-t-9e723206.js → stateDiagram-v2-5AN5P6BG-DaN5hC-t-839fb05f.js} +5 -5
  53. package/lib/super-ui.css +1 -1
  54. package/lib/super-ui.js +1 -1
  55. package/lib/super-ui.umd.cjs +6 -6
  56. package/lib/{tab-content-iframe-index-f6d751c8.js → tab-content-iframe-index-f8a0b7d8.js} +1 -1
  57. package/lib/{tab-content-index-21a895d8.js → tab-content-index-b327c8a6.js} +29 -23
  58. package/lib/{tache-subprocess-history-b7f9b31d.js → tache-subprocess-history-aa9f1b26.js} +1 -1
  59. package/lib/{timeline-definition-MYPXXCX6-gLqnWxDu-ef084beb.js → timeline-definition-MYPXXCX6-gLqnWxDu-e750201c.js} +3 -3
  60. package/lib/treemap-75Q7IDZK-B2atdfMH-c9778896.js +11 -0
  61. package/lib/{xychartDiagram-H2YORKM3-Whqa4ezL-53c0c31c.js → xychartDiagram-H2YORKM3-Whqa4ezL-07612af3.js} +3 -3
  62. package/package.json +1 -1
  63. package/packages/fs-preview/src/fs-preview.vue +18 -8
  64. package/packages/fs-upload-new/src/file-upload-mobile/file-upload-component.vue +45 -25
  65. package/packages/fs-upload-new/src/fs-button-upload.vue +2 -2
  66. package/packages/fs-upload-new/src/fs-drag-upload.vue +2 -2
  67. package/packages/super-grid/src/normal-column-content.vue +0 -12
  68. package/packages/super-grid/src/normal-column.vue +1 -1
  69. package/packages/super-grid/src/row-operation.vue +2 -0
  70. package/packages/super-grid/src/super-grid-service.js +1 -1
  71. package/packages/super-grid/src/super-grid.vue +1 -0
  72. package/packages/super-icon/src/index.vue +3 -2
  73. package/src/permission.js +5 -1
  74. package/src/store/modules/user.js +60 -25
  75. package/src/styles/_layout-custom-properties.scss +7 -1
  76. package/src/styles/display-layout.scss +73 -45
  77. package/src/styles/index.scss +10 -2
  78. package/src/styles/table.scss +2 -2
  79. package/src/styles/theme/black/index.scss +2 -2
  80. package/src/styles/theme/blue/index.scss +1 -1
  81. package/src/styles/theme/blue2/index.scss +1 -1
  82. package/src/styles/theme/dark-blue/checkbox.scss +4 -0
  83. package/src/styles/theme/dark-blue/dark-blue-var.scss +2 -0
  84. package/src/styles/theme/dark-blue/index.scss +12 -25
  85. package/src/styles/theme/dark-blue/pagination.scss +4 -0
  86. package/src/styles/theme/dark-blue/select.scss +12 -0
  87. package/src/styles/theme/dark-blue/tree.scss +8 -2
  88. package/src/styles/theme/forest-green/button.scss +144 -0
  89. package/src/styles/theme/forest-green/card.scss +67 -0
  90. package/src/styles/theme/forest-green/checkbox.scss +18 -0
  91. package/src/styles/theme/forest-green/date-picker.scss +18 -0
  92. package/src/styles/theme/forest-green/dialog.scss +17 -0
  93. package/src/styles/theme/forest-green/element-variables.scss +7 -0
  94. package/src/styles/theme/forest-green/font.scss +73 -0
  95. package/src/styles/theme/forest-green/forest-green.scss +27 -0
  96. package/src/styles/theme/forest-green/form.scss +51 -0
  97. package/src/styles/theme/forest-green/index.scss +402 -0
  98. package/src/styles/theme/forest-green/input.scss +23 -0
  99. package/src/styles/theme/forest-green/message.scss +8 -0
  100. package/src/styles/theme/forest-green/pagination.scss +37 -0
  101. package/src/styles/theme/forest-green/radio.scss +13 -0
  102. package/src/styles/theme/forest-green/scrollbar-style.scss +32 -0
  103. package/src/styles/theme/forest-green/select.scss +16 -0
  104. package/src/styles/theme/forest-green/sidebar.scss +278 -0
  105. package/src/styles/theme/forest-green/tab.scss +94 -0
  106. package/src/styles/theme/forest-green/table.scss +20 -0
  107. package/src/styles/theme/forest-green/tree.scss +67 -0
  108. package/src/styles/theme/forest-green/var.scss +1028 -0
  109. package/src/styles/theme/gray/index.scss +1 -1
  110. package/src/styles/theme/green/checkbox.scss +7 -2
  111. package/src/styles/theme/green/index.scss +18 -30
  112. package/src/styles/theme/green/pagination.scss +4 -0
  113. package/src/styles/theme/green/select.scss +8 -2
  114. package/src/styles/theme/green/tree.scss +8 -2
  115. package/src/styles/theme/ocean-blue/button.scss +17 -7
  116. package/src/styles/theme/ocean-blue/checkbox.scss +7 -2
  117. package/src/styles/theme/ocean-blue/index.scss +13 -29
  118. package/src/styles/theme/ocean-blue/input.scss +5 -1
  119. package/src/styles/theme/ocean-blue/pagination.scss +4 -0
  120. package/src/styles/theme/ocean-blue/select.scss +8 -2
  121. package/src/styles/theme/ocean-blue/sidebar.scss +26 -17
  122. package/src/styles/theme/ocean-blue/tree.scss +8 -2
  123. package/src/styles/theme/tiffany-blue-mobile/index.scss +3 -2
  124. package/src/utils/common-util.js +17 -0
  125. package/src/utils/request.js +22 -16
  126. package/src/views/dsc-component/Sidebar/index.vue +6 -2
  127. package/src/views/dsc-component/tabs/tab-content.vue +45 -68
  128. package/src/views/layout/components/tabs/tab-content.vue +7 -1
  129. package/lib/architecture-O4VJ6CD3-ZoZ2IAk2-4df08933.js +0 -11
  130. package/lib/gitGraph-ZV4HHKMB-BSmtVGRu-f5711898.js +0 -11
  131. package/lib/info-63CPKGFF-C8sYWczU-6af95050.js +0 -11
  132. package/lib/packet-HUATNLJX-bfFWFja0-5b720ab3.js +0 -11
  133. package/lib/pie-WTHONI2E-QPrWs3SR-436ddd74.js +0 -11
  134. package/lib/radar-NJJJXTRR-BnUCJhQL-2afb3d31.js +0 -11
  135. package/lib/treemap-75Q7IDZK-B2atdfMH-b96fa422.js +0 -11
@@ -1,5 +1,5 @@
1
1
  import { openBlock as r, createElementBlock as t, createCommentVNode as o } from "vue";
2
- import { a8 as s } from "./index-0ed2fd1d.js";
2
+ import { a8 as s } from "./index-b5bd5d08.js";
3
3
  const a = ["src"], f = s({ data: () => ({ src: null }), watch: { $route(n, c) {
4
4
  this.src = this.$route.query.src;
5
5
  } }, mounted() {
@@ -1,6 +1,6 @@
1
- import { a8 as f, aa as x, ab as _, ac as P, ad as h, ae as O, af as I, ag as M } from "./index-0ed2fd1d.js";
2
- import { resolveComponent as u, openBlock as d, createBlock as b, withCtx as g, createVNode as v, TransitionGroup as L, createElementBlock as p, Fragment as T, renderList as C, createElementVNode as m, toDisplayString as w, normalizeClass as S, createCommentVNode as y } from "vue";
3
- const k = { class: "no-redirect" }, A = f({ name: "Breadcrumb", data: () => ({ levelList: null }), computed: { levelListWithTitle() {
1
+ import { a8 as g, aa as x, ab as _, ac as P, ad as h, ae as O, af as I, ag as S } from "./index-b5bd5d08.js";
2
+ import { resolveComponent as u, openBlock as d, createBlock as b, withCtx as f, createVNode as v, TransitionGroup as M, createElementBlock as p, Fragment as T, renderList as C, createElementVNode as m, toDisplayString as w, normalizeClass as L, createCommentVNode as y } from "vue";
3
+ const k = { class: "no-redirect" }, A = g({ name: "Breadcrumb", data: () => ({ levelList: null }), computed: { levelListWithTitle() {
4
4
  return this.levelList.filter((e) => e.meta.title !== void 0 && e.meta.title !== null);
5
5
  } }, watch: { $route() {
6
6
  this.getBreadcrumb();
@@ -17,12 +17,12 @@ const k = { class: "no-redirect" }, A = f({ name: "Breadcrumb", data: () => ({ l
17
17
  });
18
18
  if (t) {
19
19
  let a;
20
- const r = _(), n = window.$vueApp.config.globalProperties.systemNameObj;
21
- n && (a = n[r]), t = [{ path: "/", redirect: "noredirect", meta: { title: a } }].concat(t);
20
+ const r = _(), o = window.$vueApp.config.globalProperties.systemNameObj;
21
+ o && (a = o[r]), t = [{ path: "/", redirect: "noredirect", meta: { title: a } }].concat(t);
22
22
  const s = P.get("selectMenu"), l = window.$vueApp.config.globalProperties._selectMenu;
23
- let o;
24
- if (l ? o = l : s && (o = s), o) {
25
- const i = o.substring(0, o.indexOf("~~")), c = o.substring(o.indexOf("~~") + 2);
23
+ let n;
24
+ if (l ? n = l : s && (n = s), n) {
25
+ const i = n.substring(0, n.indexOf("~~")), c = n.substring(n.indexOf("~~") + 2);
26
26
  if (t && t.length > 0) {
27
27
  const $ = t[t.length - 1];
28
28
  this.isShouldConcatLastMenu(c, i, $) && t.push({ path: i, meta: { title: c } });
@@ -35,9 +35,9 @@ const k = { class: "no-redirect" }, A = f({ name: "Breadcrumb", data: () => ({ l
35
35
  return !(!this.isTitleNotEqual(e, a) || !this.isPathNotEqual(t, a));
36
36
  }, isTitleNotEqual(e, t) {
37
37
  return !(!e || !t.meta || e === t.meta.title || e === this.$t(t.meta.title));
38
- }, isPathNotEqual: (e, t) => !(!e || !t.path || e === t.path) } }, [["render", function(e, t, a, r, n, s) {
39
- const l = u("el-breadcrumb-item"), o = u("el-breadcrumb");
40
- return d(), b(o, { class: "app-breadcrumb", separator: ">" }, { default: g(() => [v(L, { name: "breadcrumb", tag: "span" }, { default: g(() => [(d(!0), p(T, null, C(s.levelListWithTitle, (i, c) => (d(), b(l, { key: i.path + "-" + c }, { default: g(() => [m("span", k, w(e.$t(i.meta.title)), 1)]), _: 2 }, 1024))), 128))]), _: 1 })]), _: 1 });
38
+ }, isPathNotEqual: (e, t) => !(!e || !t.path || e === t.path) } }, [["render", function(e, t, a, r, o, s) {
39
+ const l = u("el-breadcrumb-item"), n = u("el-breadcrumb");
40
+ return d(), b(n, { class: "app-breadcrumb", separator: ">" }, { default: f(() => [v(M, { name: "breadcrumb", tag: "span" }, { default: f(() => [(d(!0), p(T, null, C(s.levelListWithTitle, (i, c) => (d(), b(l, { key: i.path + "-" + c }, { default: f(() => [m("span", k, w(e.$t(i.meta.title)), 1)]), _: 2 }, 1024))), 128))]), _: 1 })]), _: 1 });
41
41
  }], ["__scopeId", "data-v-768a430c"]]), { body: B } = document, E = { watch: { $route(e) {
42
42
  this.device === "mobile" && this.sidebar.opened && h.dispatch("closeSidebar", { withoutAnimation: !1 });
43
43
  } }, beforeMount() {
@@ -76,8 +76,8 @@ const k = { class: "no-redirect" }, A = f({ name: "Breadcrumb", data: () => ({ l
76
76
  if (e.routePath === "/iframe-page/page") {
77
77
  let a, r = "";
78
78
  if (e.routeQuery)
79
- for (const n in e.routeQuery)
80
- n === "src" ? a = e.routeQuery[n] : r += n + "=" + e.routeQuery[n] + "&";
79
+ for (const o in e.routeQuery)
80
+ o === "src" ? a = e.routeQuery[o] : r += o + "=" + e.routeQuery[o] + "&";
81
81
  a && (t = a), r && (t += "?" + r);
82
82
  } else if (e.routePath.indexOf("http:") < 0 && e.routePath.indexOf("https:") < 0 && (t = "#"), t = e.routePath.indexOf("?") >= 0 ? t + e.routePath + "&" : t + e.routePath + "?", e.routeQuery)
83
83
  for (const a in e.routeQuery)
@@ -86,18 +86,24 @@ const k = { class: "no-redirect" }, A = f({ name: "Breadcrumb", data: () => ({ l
86
86
  }, recieveMessage(e) {
87
87
  if (e && typeof e.data == "string" && e.data === "refreshTabContent")
88
88
  window.location.reload();
89
- else if (e && typeof e.data == "string" && e.data.indexOf("loginTimeout") >= 0)
90
- e.data, window.parent.postMessage(e.data, "*");
91
- else if (e && typeof e.data == "string" && e.data === "return-to-system-list") {
89
+ else if (e && typeof e.data == "string" && e.data.indexOf("loginTimeout") >= 0) {
90
+ e.data;
91
+ try {
92
+ const t = JSON.parse(e.data);
93
+ t.isInTab = "true", window.parent.postMessage(JSON.stringify(t), "*");
94
+ } catch {
95
+ console.error("平台 tab-content.vue中登录超时,json转换失败,event.data=", e.data);
96
+ }
97
+ } else if (e && typeof e.data == "string" && e.data === "return-to-system-list") {
92
98
  this.$store.commit("clear_tabs");
93
99
  let t = "_IS_APP_LIST";
94
100
  const a = window.sessionStorage.getItem(t);
95
101
  a !== void 0 && a === "true" ? this.$router.push({ path: "/mms/apps/list" }) : this.$router.push({ path: "/mms/systems/list" });
96
102
  }
97
- } } }, V = ["src"], Q = { key: 1, class: "default-page-tip" }, R = { class: "default-page-tip-msg" }, q = { class: "default-page-tip-item" }, z = { class: "default-page-tip-item" }, j = { class: "main-container" }, W = f({ name: "Layout", components: { Menubar: I, Breadcrumb: A, TabContent: f(N, [["render", function(e, t, a, r, n, s) {
98
- const l = u("el-tab-pane"), o = u("el-tabs");
99
- return e.openTab && e.openTab.length > 0 ? (d(), b(o, { key: 0, modelValue: s.activeIndex, "onUpdate:modelValue": t[0] || (t[0] = (i) => s.activeIndex = i), class: "nav-tab menu-tab-container", closable: "", onTabRemove: s.closeSelectedTag }, { default: g(() => [(d(!0), p(T, null, C(e.openTab, (i) => (d(), b(l, { key: i.code, label: i.name, name: i.code }, { default: g(() => [m("iframe", { ref_for: !0, ref: "tabMainContent", src: s.getFullPath(i), class: "tab-main-content", name: "tab-main-content", frameborder: "0" }, null, 8, V)]), _: 2 }, 1032, ["label", "name"]))), 128))]), _: 1 }, 8, ["modelValue", "onTabRemove"])) : (d(), p("div", Q, [m("div", R, [m("div", q, w(n.defaultPageTipCn), 1), m("div", z, w(n.defaultPageTipEn), 1)])]));
100
- }], ["__scopeId", "data-v-a5252a92"]]) }, mixins: [E], data: () => ({ showMenuRoute: M(), systemCode: null }), computed: { sidebar() {
103
+ } } }, V = ["src"], Q = { key: 1, class: "default-page-tip" }, R = { class: "default-page-tip-msg" }, j = { class: "default-page-tip-item" }, q = { class: "default-page-tip-item" }, z = { class: "main-container" }, W = g({ name: "Layout", components: { Menubar: I, Breadcrumb: A, TabContent: g(N, [["render", function(e, t, a, r, o, s) {
104
+ const l = u("el-tab-pane"), n = u("el-tabs");
105
+ return e.openTab && e.openTab.length > 0 ? (d(), b(n, { key: 0, modelValue: s.activeIndex, "onUpdate:modelValue": t[0] || (t[0] = (i) => s.activeIndex = i), class: "nav-tab menu-tab-container", closable: "", onTabRemove: s.closeSelectedTag }, { default: f(() => [(d(!0), p(T, null, C(e.openTab, (i) => (d(), b(l, { key: i.code, label: i.name, name: i.code }, { default: f(() => [m("iframe", { ref_for: !0, ref: "tabMainContent", src: s.getFullPath(i), class: "tab-main-content", name: "tab-main-content", frameborder: "0" }, null, 8, V)]), _: 2 }, 1032, ["label", "name"]))), 128))]), _: 1 }, 8, ["modelValue", "onTabRemove"])) : (d(), p("div", Q, [m("div", R, [m("div", j, w(o.defaultPageTipCn), 1), m("div", q, w(o.defaultPageTipEn), 1)])]));
106
+ }], ["__scopeId", "data-v-80f8eb5e"]]) }, mixins: [E], data: () => ({ showMenuRoute: S(), systemCode: null }), computed: { sidebar() {
101
107
  return this.$store.state.app.sidebar;
102
108
  }, device() {
103
109
  return this.$store.state.app.device;
@@ -107,9 +113,9 @@ const k = { class: "no-redirect" }, A = f({ name: "Breadcrumb", data: () => ({ l
107
113
  this.systemCode = window.$vueApp.config.globalProperties.customSystem, this.systemCode;
108
114
  }, methods: { handleClickOutside() {
109
115
  this.$store.dispatch("closeSidebar", { withoutAnimation: !1 });
110
- } } }, [["render", function(e, t, a, r, n, s) {
111
- const l = u("menubar"), o = u("breadcrumb"), i = u("tab-content");
112
- return d(), p("div", { class: S([s.classObj, "app-wrapper"]) }, [s.device === "mobile" && s.sidebar.opened ? (d(), p("div", { key: 0, class: "drawer-bg", onClick: t[0] || (t[0] = (...c) => s.handleClickOutside && s.handleClickOutside(...c)) })) : y("", !0), v(l, { "system-code": n.systemCode, collapse: !0, class: "sidebar-container" }, null, 8, ["system-code"]), m("div", j, [n.showMenuRoute ? (d(), b(o, { key: 0 })) : y("", !0), v(i)])], 2);
116
+ } } }, [["render", function(e, t, a, r, o, s) {
117
+ const l = u("menubar"), n = u("breadcrumb"), i = u("tab-content");
118
+ return d(), p("div", { class: L([s.classObj, "app-wrapper"]) }, [s.device === "mobile" && s.sidebar.opened ? (d(), p("div", { key: 0, class: "drawer-bg", onClick: t[0] || (t[0] = (...c) => s.handleClickOutside && s.handleClickOutside(...c)) })) : y("", !0), v(l, { "system-code": o.systemCode, collapse: !0, class: "sidebar-container" }, null, 8, ["system-code"]), m("div", z, [o.showMenuRoute ? (d(), b(n, { key: 0 })) : y("", !0), v(i)])], 2);
113
119
  }], ["__scopeId", "data-v-5c0a6bf6"]]);
114
120
  export {
115
121
  W as default
@@ -1,5 +1,5 @@
1
1
  import { resolveComponent as t, openBlock as l, createElementBlock as s, createElementVNode as y, createVNode as a, withCtx as r, createTextVNode as n, toDisplayString as p, createCommentVNode as c, createBlock as h } from "vue";
2
- import { a8 as I } from "./index-0ed2fd1d.js";
2
+ import { a8 as I } from "./index-b5bd5d08.js";
3
3
  const g = { style: { "padding-bottom": "10px" } }, k = { key: 0, class: "graphDiv" }, N = I({ name: "TacheSubprocessHistory", data: () => ({ type: "graph", workflowId: null }), created() {
4
4
  const o = this.$route.query.workflowId;
5
5
  o && (this.workflowId = parseInt(o));
@@ -1,6 +1,6 @@
1
- import { _ as a, D as yt, ag as gt, z as ft, d as G, c as mt, l as S, ac as xt, ad as bt, ae as _t, af as kt } from "./mermaid.core-CAqkCmS1-6c0f2e5c.js";
2
- import { d as K } from "./arc-Js_tyW10-6f3f1db2.js";
3
- import "./index-0ed2fd1d.js";
1
+ import { _ as a, D as yt, ag as gt, z as ft, d as G, c as mt, l as S, ac as xt, ad as bt, ae as _t, af as kt } from "./mermaid.core-CAqkCmS1-82993e20.js";
2
+ import { d as K } from "./arc-Js_tyW10-df45eaa0.js";
3
+ import "./index-b5bd5d08.js";
4
4
  import "vue";
5
5
  var q = function() {
6
6
  var n = a(function(s, d, l, h) {
@@ -0,0 +1,11 @@
1
+ import { T as s, h as T } from "./mermaid-parser.core-CH9ryA1K-cd66f36d.js";
2
+ import "./index-b5bd5d08.js";
3
+ import "vue";
4
+ import "./mermaid.core-CAqkCmS1-82993e20.js";
5
+ import "./_baseUniq-BXtq6_NW-617aa2f9.js";
6
+ import "./min-BngCxx8g-c59244ce.js";
7
+ import "./clone-CEJtuQzg-43a7bd59.js";
8
+ export {
9
+ s as TreemapModule,
10
+ T as createTreemapServices
11
+ };
@@ -1,8 +1,8 @@
1
- import { _ as n, a1 as hi, G as gt, F as Bt, H as oi, aD as ri, l as zt, a9 as kt, i as li, t as Ot, b as ci, a as gi, q as ui, g as xi, s as di, z as pi, K as fi, e as mi } from "./mermaid.core-CAqkCmS1-6c0f2e5c.js";
1
+ import { _ as n, a1 as hi, G as gt, F as Bt, H as oi, aD as ri, l as zt, a9 as kt, i as li, t as Ot, b as ci, a as gi, q as ui, g as xi, s as di, z as pi, K as fi, e as mi } from "./mermaid.core-CAqkCmS1-82993e20.js";
2
2
  import { i as yi } from "./init-ZxktEp_H-731b6c9b.js";
3
3
  import { o as bi } from "./ordinal-DSZU4PqD-57a34423.js";
4
- import { l as _t } from "./linear-DqgVh5FN-5c70024b.js";
5
- import "./index-0ed2fd1d.js";
4
+ import { l as _t } from "./linear-DqgVh5FN-6ccdedc2.js";
5
+ import "./index-b5bd5d08.js";
6
6
  import "vue";
7
7
  import "./defaultLocale-DVr69WTU-dbb4acef.js";
8
8
  var Tt, Rt, Dt, Lt, Pt, vt, Et, Mt, It, $t;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agilebuilder-ui",
3
- "version": "1.1.57-sit3",
3
+ "version": "1.1.58-sit1",
4
4
  "type": "module",
5
5
  "private": false,
6
6
  "main": "./lib/super-ui.js",
@@ -13,19 +13,19 @@
13
13
  <div v-if="firstFileName" ref="toolRef" class="fs-preview-tool">
14
14
  <slot name="tool-prefix" :item="getFirstFile()"></slot>
15
15
  <el-tooltip v-if="enableDelete && !disabled" :content="$t('fsUpload.delete')">
16
- <super-icon @click="deleteFirst()" iconValue="amb-color-icon-shanchu" />
16
+ <super-icon @click="deleteFirst()" iconValue="amb-icon-shanchu" />
17
17
  </el-tooltip>
18
18
  <el-tooltip v-if="!disabled || !fileSetObj.disabledNoPreview" :content="$t('fsUpload.preview')">
19
- <super-icon @click="previewFirst()" iconValue="amb-color-icon-yulan" />
19
+ <super-icon @click="previewFirst()" iconValue="amb-icon-yulan" />
20
20
  </el-tooltip>
21
21
  <el-tooltip v-if="!disabled || !fileSetObj.disabledNoDownload" :content="$t('fsUpload.download')">
22
- <super-icon @click="downloadFirst()" iconValue="amb-color-icon-xiazai" />
22
+ <super-icon @click="downloadFirst()" iconValue="amb-icon-xiazai" />
23
23
  </el-tooltip>
24
24
  <slot name="tool-suffix" :item="getFirstFile()"></slot>
25
25
  <el-divider v-if="showMultipleFile" direction="vertical" />
26
26
  <el-popover :width="450" trigger="click">
27
27
  <template #reference>
28
- <el-button v-if="showMultipleFile" type="primary" round size="small" @click="showMultiView">
28
+ <el-button v-if="showMultipleFile" plain type="primary" round size="small" @click="showMultiView">
29
29
  {{ $t('fsUpload.more') }}
30
30
  <el-icon><ArrowDownBold /></el-icon>
31
31
  </el-button>
@@ -60,10 +60,10 @@
60
60
  <super-icon @click="deleteFile(item)" iconValue="amb-color-icon-shanchu" />
61
61
  </el-tooltip>
62
62
  <el-tooltip v-if="!disabled || !fileSetObj.disabledNoPreview" :content="$t('fsUpload.preview')">
63
- <super-icon @click="previewSingle(item)" iconValue="amb-color-icon-yulan" />
63
+ <super-icon @click="previewSingle(item)" iconValue="amb-icon-yulan" />
64
64
  </el-tooltip>
65
65
  <el-tooltip v-if="!disabled || !fileSetObj.disabledNoDownload" :content="$t('fsUpload.download')">
66
- <super-icon @click="donwloadFile(index)" iconValue="amb-color-icon-xiazai" />
66
+ <super-icon @click="donwloadFile(index)" iconValue="amb-icon-xiazai" />
67
67
  </el-tooltip>
68
68
  </div>
69
69
  </div>
@@ -331,8 +331,8 @@ export default {
331
331
  const token = getToken()
332
332
  const watermark = await getWatermarkSetting()
333
333
  let isShowWatermark = false
334
- if(watermark && watermark.useRange && watermark.useRange.indexOf('annex')>=0){
335
- isShowWatermark = this.watermark.isShowWatermark===undefined?true:this.watermark.isShowWatermark
334
+ if (watermark && watermark.useRange && watermark.useRange.indexOf('annex') >= 0) {
335
+ isShowWatermark = this.watermark.isShowWatermark === undefined ? true : this.watermark.isShowWatermark
336
336
  }
337
337
  let watermarkContent = this.watermark?.content
338
338
  if (!watermarkContent && watermark) {
@@ -509,4 +509,14 @@ export default {
509
509
  .super-icon + .super-icon {
510
510
  margin-left: 5px;
511
511
  }
512
+ .amb-iconfont + .amb-iconfont {
513
+ margin-left: 5px;
514
+ }
515
+ .amb-color-iconfont + .amb-iconfont {
516
+ margin-left: 5px;
517
+ }
518
+
519
+ .amb-iconfont {
520
+ color: var(--el-color-primary);
521
+ }
512
522
  </style>
@@ -1,28 +1,46 @@
1
1
  <template>
2
2
  <el-upload action="#" list-type="picture-card" :file-list="fileListResult" :auto-upload="false" :disabled="true">
3
- <template v-if="!disabled" #tip>
4
- <el-text size="small" style="padding: 10px;font-weight: 600"> {{ accept }} {{limitFileSize?$t('imatrixUIMessage.uploadFileTip',{fileSize: limitFileSize}): ''}}</el-text>
5
- </template>
6
- <template v-if="!disabled" #trigger>
7
- <el-icon @click="chooseFile"><Plus /></el-icon>
8
- </template>
3
+ <template v-if="!disabled" #tip>
4
+ <el-text size="small" style="padding: 10px; font-weight: 600">
5
+ {{ accept }}
6
+ {{ limitFileSize ? $t('imatrixUIMessage.uploadFileTip', { fileSize: limitFileSize }) : '' }}</el-text
7
+ >
8
+ </template>
9
+ <template v-if="!disabled" #trigger>
10
+ <el-icon @click="chooseFile"><Plus /></el-icon>
11
+ </template>
9
12
 
10
13
  <template #file="{ file }">
11
- <div style="width: 100%;" >
12
- <div v-if="!isImg(file)" class="el-upload-list__item-thumbnail" >
13
- <div class="file-name-container" >
14
- {{file.name}}
15
- </div></div>
16
- <img v-else class="el-upload-list__item-thumbnail" :src="getPreviewSrc(file.showName?file.showName: file.name, file.serverPath)" alt="" />
17
- <fs-preview-new :disabled="disabled" :file-list="fileListResult" :file="file" :system-code="systemCode" :watermark="watermark" :before-remove="beforeRemove" :on-remove="onRemove" :before-download="beforeDownload" @remove="removeFile"/>
18
-
14
+ <div style="width: 100%">
15
+ <div v-if="!isImg(file)" class="el-upload-list__item-thumbnail">
16
+ <div class="file-name-container">
17
+ {{ file.name }}
18
+ </div>
19
+ </div>
20
+ <img
21
+ v-else
22
+ class="el-upload-list__item-thumbnail"
23
+ :src="getPreviewSrc(file.showName ? file.showName : file.name, file.serverPath)"
24
+ alt=""
25
+ />
26
+ <fs-preview-new
27
+ :disabled="disabled"
28
+ :file-list="fileListResult"
29
+ :file="file"
30
+ :system-code="systemCode"
31
+ :watermark="watermark"
32
+ :before-remove="beforeRemove"
33
+ :on-remove="onRemove"
34
+ :before-download="beforeDownload"
35
+ @remove="removeFile"
36
+ />
19
37
  </div>
20
38
  </template>
21
39
  </el-upload>
22
40
  </template>
23
41
 
24
42
  <script lang="ts" setup>
25
- import { ref,defineEmits } from 'vue'
43
+ import { ref, defineEmits } from 'vue'
26
44
  import { Plus } from '@element-plus/icons-vue'
27
45
  import fsPreviewNew from '../fs-preview-new.vue'
28
46
 
@@ -68,14 +86,14 @@ const props = defineProps({
68
86
  default: ''
69
87
  },
70
88
  // 水印配置{isShowWatermark:true/false,content:'xxxxx'}
71
- watermark:{
89
+ watermark: {
72
90
  type: Object,
73
91
  default: () => ({})
74
92
  }
75
93
  })
76
94
 
77
- //拖动定义的方法
78
- const emits = defineEmits(['chooseFile', 'remove']);
95
+ //拖动定义的方法
96
+ const emits = defineEmits(['chooseFile', 'remove'])
79
97
 
80
98
  const dialogImageUrl = ref('')
81
99
  const dialogVisible = ref(false)
@@ -86,16 +104,19 @@ let baseURL = props.baseURL
86
104
  const baseAPI = window.$vueApp.config.globalProperties.baseAPI
87
105
 
88
106
  const fileListResult = ref(props.fileList)
89
- console.log('file-upload-component---fileListResult=', fileListResult.value?JSON.stringify(fileListResult.value):fileListResult.value)
107
+ console.log(
108
+ 'file-upload-component---fileListResult=',
109
+ fileListResult.value ? JSON.stringify(fileListResult.value) : fileListResult.value
110
+ )
90
111
  function changeFileList(fileList: any) {
91
112
  fileListResult.value = fileList
92
113
  }
93
- const chooseFile = ()=>{
114
+ const chooseFile = () => {
94
115
  console.log('点击选择文件按钮---')
95
116
  emits('chooseFile')
96
117
  }
97
- const isImg = (file: Object) =>{
98
- return isImage(file.showName?file.showName:file.name)
118
+ const isImg = (file: Object) => {
119
+ return isImage(file.showName ? file.showName : file.name)
99
120
  }
100
121
 
101
122
  function getPreviewSrc(showName: string, serverPath: string) {
@@ -115,12 +136,11 @@ const formatName = (showName: string) => {
115
136
  return showName
116
137
  }
117
138
 
118
- function removeFile(param){
139
+ function removeFile(param) {
119
140
  emits('remove', param)
120
141
  }
121
142
 
122
- defineExpose({changeFileList})
123
-
143
+ defineExpose({ changeFileList })
124
144
  </script>
125
145
  <style scoped>
126
146
  .file-name-container {
@@ -18,7 +18,7 @@
18
18
  >
19
19
  <el-button size="small" type="primary">{{ placeholder }}</el-button>
20
20
  <template #tip>
21
- <el-text size="small">
21
+ <el-text>
22
22
  {{ accept }}
23
23
  {{ $t('imatrixUIMessage.uploadFileTip', { fileSize: limitFileSize }) }}</el-text
24
24
  >
@@ -142,7 +142,7 @@ const props = defineProps({
142
142
  default: 0
143
143
  },
144
144
  // 水印配置{isShowWatermark:true/false,content:'xxxxx'}
145
- watermark:{
145
+ watermark: {
146
146
  type: Object,
147
147
  default: () => ({})
148
148
  }
@@ -17,7 +17,7 @@
17
17
  <el-icon class="el-icon--upload"><upload-filled /></el-icon>
18
18
  <div class="el-upload__text">{{ placeholder }}</div>
19
19
  <template #tip>
20
- <el-text size="small">
20
+ <el-text>
21
21
  {{ accept }}
22
22
  {{ $t('imatrixUIMessage.uploadFileTip', { fileSize: limitFileSize }) }}
23
23
  </el-text>
@@ -140,7 +140,7 @@ const props = defineProps({
140
140
  default: 0
141
141
  },
142
142
  // 水印配置{isShowWatermark:true/false,content:'xxxxx'}
143
- watermark:{
143
+ watermark: {
144
144
  type: Object,
145
145
  default: () => ({})
146
146
  }
@@ -364,8 +364,6 @@ import {
364
364
  isHasEditOption,
365
365
  isRequiredEdit,
366
366
  getAdditionalParamMap,
367
- getContentAlign,
368
- getHeaderAlign,
369
367
  isEditOptionFunction
370
368
  } from './utils'
371
369
  import DynamicInput from './dynamic-input.vue'
@@ -504,8 +502,6 @@ export default {
504
502
  return {
505
503
  selectRow: null,
506
504
  that: this,
507
- align: 'left', // 文本内容对齐
508
- headerAlign: 'left', // 表头对齐方式
509
505
  columnFormatter: this.column.formatter,
510
506
  hyperLinks: {},
511
507
  fileDownType: '',
@@ -656,14 +652,6 @@ export default {
656
652
  this.isShowOverflowTooltip = true
657
653
  }
658
654
  }
659
- const align = getContentAlign(this.column, gridParams)
660
- if (align) {
661
- this.align = gridParams.options.align
662
- }
663
- const headerAlign = getHeaderAlign(this.column, gridParams)
664
- if (headerAlign) {
665
- this.headerAlign = headerAlign
666
- }
667
655
  if (gridParams.isHasDynamic === undefined && this.column.dynamic !== undefined && this.column.dynamic === true) {
668
656
  // 当前列表中有动态列
669
657
  gridParams.isHasDynamic = true
@@ -408,7 +408,7 @@ export default {
408
408
 
409
409
  .normal-column-header-icon {
410
410
  font-size: 20px;
411
- color: #409eff;
411
+ color: var(--el-color-primary);
412
412
  cursor: pointer;
413
413
  }
414
414
  </style>
@@ -8,6 +8,7 @@
8
8
  <component
9
9
  v-bind="operationSettingData"
10
10
  :is="isElementType"
11
+ class="row-operation-icon"
11
12
  v-permission="operationSettingData.permission"
12
13
  :disabled="preventReclick"
13
14
  @mousedown="onClickFun(operationSettingData)"
@@ -31,6 +32,7 @@
31
32
  <component
32
33
  v-bind="operationSettingData"
33
34
  :is="isElementType"
35
+ class="row-operation-icon"
34
36
  :disabled="preventReclick"
35
37
  @mousedown="onClickFun(operationSettingData)"
36
38
  >
@@ -758,7 +758,7 @@ const superGridService = {
758
758
  })
759
759
  },
760
760
  filterHasAuthColumns(columns, gridParams, systemCode) {
761
- if(!this.pageContext || !this.configureObj) {
761
+ if (!this.pageContext || !this.configureObj) {
762
762
  return columns
763
763
  }
764
764
  const prop = this.configureObj.code ? this.configureObj.code : this.code
@@ -53,6 +53,7 @@
53
53
  @row-click="rowClickEvent"
54
54
  @row-dblclick="rowDblclickEvent"
55
55
  />
56
+
56
57
  <el-table
57
58
  v-else-if="refreshGrid && hasLoadedColumns && !isShowCard"
58
59
  ref="superGrid"
@@ -45,7 +45,8 @@ const defaultShowSvgAction = ref(
45
45
  </script>
46
46
  <style lang="scss" scoped>
47
47
  .super-icon {
48
- width: 14px;
49
- height: 14px;
48
+ width: 1em; // 继承父类的 font-size
49
+ height: 1em; // 继承父类的 font-size
50
+ font-size: 14px; // 默认 font-size 为 14px
50
51
  }
51
52
  </style>
package/src/permission.js CHANGED
@@ -34,7 +34,11 @@ function cacheAllLanguages() {
34
34
 
35
35
  // 首次加载业务系统时,缓存所有语言
36
36
  function cacheAllEnableGlobalProp() {
37
- return cacheAllEnableGlobalPropUtil(window.$http)
37
+ try {
38
+ return cacheAllEnableGlobalPropUtil(window.$http)
39
+ } catch (e) {
40
+ console.error('cacheAllEnableGlobalProp-error=', e)
41
+ }
38
42
  }
39
43
 
40
44
  const whiteList = ['/login', '/update-password', '/forget-password', '/reset-password', '/redirect'] // 不重定向白名单
@@ -126,40 +126,75 @@ const user = {
126
126
  })
127
127
  })
128
128
  },
129
- // 登录。根据token登录系统
129
+ loginWithCookieTokenNew({ commit }, userInfo) {
130
+ clearVoiceCache()
131
+ return new Promise((resolve, reject) => {
132
+ const loginName = userInfo.loginName
133
+ if (!loginName) {
134
+ ssoService.getCurrentUser().then(user => {
135
+ if (user) {
136
+ loginName = user.loginName
137
+ setUsername(user.loginName)
138
+ setCurrentUser(user)
139
+ commit('setName', user.name)
140
+ }
141
+ // 登录时清除缓存的资源
142
+ removeAllSystemPermissions()
143
+ // setToken(tokenInfo.jwt)
144
+ // commit('setToken', tokenInfo.jwt)
145
+ const systemCode = userInfo.systemCode
146
+ ssoService
147
+ .getCurrentUserPermissionsBySystem(loginName, systemCode)
148
+ .then((permissions) => {
149
+ let currentPermissions = ['index']
150
+ currentPermissions = currentPermissions.concat(permissions)
151
+ setPermissions(currentPermissions)
152
+ resolve(user)
153
+ })
154
+ .catch((error) => {
155
+ reject(error)
156
+ })
157
+ }).catch(error => {
158
+ reject(error)
159
+ })
160
+ }
161
+ })
162
+ },
163
+ /**
164
+ * 登录。根据token登录系统
165
+ * @deprecated 该方法已过期,请使用loginWithCookieTokenNew。该方法会导致,登录超时再登录后,按钮不显示问题。
166
+ * 原因是getCurrentUserPermissionsBySystem方法需要系统编码systemCode参数。
167
+ * @param {*} param0
168
+ * @param {*} loginName
169
+ * @returns
170
+ */
130
171
  loginWithCookieToken({ commit }, loginName) {
131
- clearVoiceCache()
172
+ clearVoiceCache()
132
173
  return new Promise((resolve, reject) => {
133
174
  if (!loginName) {
134
- ssoService
135
- .getCurrentUser()
136
- .then((user) => {
175
+ ssoService.getCurrentUser().then(user => {
137
176
  if (user) {
138
177
  loginName = user.loginName
139
178
  setUsername(user.loginName)
140
179
  setCurrentUser(user)
141
180
  commit('setName', user.name)
142
181
  }
143
- resolve(user)
144
- })
145
- .catch((error) => {
146
- reject(error)
147
- })
148
- }
149
- if (loginName) {
150
- // 登录时清除缓存的资源
151
- removeAllSystemPermissions()
152
- // setToken(tokenInfo.jwt)
153
- // commit('setToken', tokenInfo.jwt)
154
- ssoService
155
- .getCurrentUserPermissionsBySystem(loginName)
156
- .then((permissions) => {
157
- let currentPermissions = ['index']
158
- currentPermissions = currentPermissions.concat(permissions)
159
- setPermissions(currentPermissions)
160
- resolve()
161
- })
162
- .catch((error) => {
182
+ // 登录时清除缓存的资源
183
+ removeAllSystemPermissions()
184
+ // setToken(tokenInfo.jwt)
185
+ // commit('setToken', tokenInfo.jwt)
186
+ ssoService
187
+ .getCurrentUserPermissionsBySystem(loginName)
188
+ .then((permissions) => {
189
+ let currentPermissions = ['index']
190
+ currentPermissions = currentPermissions.concat(permissions)
191
+ setPermissions(currentPermissions)
192
+ resolve(user)
193
+ })
194
+ .catch((error) => {
195
+ reject(error)
196
+ })
197
+ }).catch(error => {
163
198
  reject(error)
164
199
  })
165
200
  }
@@ -6,7 +6,7 @@
6
6
  --app-main-padding: 15px; // 页面外框内间距
7
7
  --app-main-padding-vertical: 5px; // 页面上下内间距(top/bottom)
8
8
  --app-main-padding-horizontal: 15px; // 页面左右内间距(left/right)
9
- --dec-page-main-padding: 10px; // 页面外框内间距
9
+ --dec-page-main-padding: 15px; // 页面外框内间距
10
10
  --app-container-padding: 20px; // 页面外框内间距
11
11
  --runtime-page-container-padding: 20px; // 页面卡片容器内间距
12
12
  --runtime-page-container-view-gap: 15px; // 渲染容器内间距
@@ -15,6 +15,12 @@
15
15
  --amb-widget-container-tool-gap: 10px; // 操控台 间隔
16
16
  --super-grid-main-view-gap: 15px; // 表格布局间隙
17
17
  --super-grid-main-btn-view-gap: 10px; // 按钮间隙
18
+ --menu-font-size: 16px;
19
+ --tab-header-font-size: 16px;
20
+ --el-font-size-base: 16px;
21
+ --input-font-size: var(--el-font-size-base);
22
+ --el-input-height: 36px;
23
+ --el-input-inner-height: 36px;
18
24
  }
19
25
 
20
26
  @media (max-width: 768px) {