@utogether/udp-core 1.0.4 → 2.0.0-beta.1

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 (87) hide show
  1. package/dist/{403-DASI6Pwz.js → 403-CTJDBjz7.js} +1 -1
  2. package/dist/{404-YhBA92cb.js → 404-BFYkWIkQ.js} +1 -1
  3. package/dist/{500-ywbFF5MX.js → 500-DGG3qadg.js} +1 -1
  4. package/dist/{AuthorityInfo-tCSX2Fh7.js → AuthorityInfo-ozZIo1Te.js} +1 -1
  5. package/dist/{AuthorityInfo.vue_vue_type_style_index_0_lang-Cwd6UT2i.js → AuthorityInfo.vue_vue_type_style_index_0_lang-DujerENw.js} +1 -1
  6. package/dist/{AuthorityPanel-BeBNiwqc.js → AuthorityPanel-CRlAwbaI.js} +1 -1
  7. package/dist/{AuthorityPanel.vue_vue_type_style_index_0_lang-CIYmnP9-.js → AuthorityPanel.vue_vue_type_style_index_0_lang-DxhZjp1S.js} +31 -24
  8. package/dist/{Company-l23MEzdM.js → Company-6VJtwh23.js} +3 -3
  9. package/dist/{CompanyPanel-D_s0rh6h.js → CompanyPanel-B2P488mq.js} +1 -1
  10. package/dist/{Department-DSEvORLg.js → Department-BnwoLEOC.js} +3 -3
  11. package/dist/{DepartmentPanel-WN8nOgCV.js → DepartmentPanel-CRrrmxtv.js} +1 -1
  12. package/dist/{DesignPanel-DirEGh9M.js → DesignPanel-CvbccgX2.js} +1 -1
  13. package/dist/{DesignPanel.vue_vue_type_style_index_0_lang-D02hXSrN.js → DesignPanel.vue_vue_type_style_index_0_lang-Dz2tUszs.js} +2 -2
  14. package/dist/{DictView-DiIQdiek.js → DictView-Ce1LoVHh.js} +17 -16
  15. package/dist/{InvOrganization-b7v3g9EJ.js → InvOrganization-BwCFZO1X.js} +1 -1
  16. package/dist/{Org-BORfx1PL.js → Org-0hzs6b0R.js} +1 -1
  17. package/dist/{Preview-DkRn_TSc.js → Preview--DnEAhwh.js} +1 -1
  18. package/dist/{ReportDefine-Cd0QeaWA.js → ReportDefine-Cu983bTN.js} +1 -1
  19. package/dist/{ReportDesign-4qNqyeEW.js → ReportDesign-QsWXXgvo.js} +2 -2
  20. package/dist/{ReportQuery-BJfTFpec.js → ReportQuery-BjKIIhPu.js} +1 -1
  21. package/dist/{ReportQueryFrom-CB7sExZx.js → ReportQueryFrom-DIjBO6Fx.js} +1 -1
  22. package/dist/{ReportQueryFrom.vue_vue_type_style_index_0_lang-CqO_2Ier.js → ReportQueryFrom.vue_vue_type_style_index_0_lang-0T62cUMK.js} +1 -1
  23. package/dist/{ReportTemplate-B69muSgT.js → ReportTemplate-2uk9tJcy.js} +1 -1
  24. package/dist/{Role-Bo4YrNDC.js → Role-_QP8QEaI.js} +3 -3
  25. package/dist/{RoleAssign-kOMYJ4s3.js → RoleAssign-C2gkcmEQ.js} +3 -3
  26. package/dist/{RolePanel-BSJmjyqc.js → RolePanel-B8FPNGaA.js} +1 -1
  27. package/dist/{RolePanel-B1d4e6uk.js → RolePanel-vnl_lXNY.js} +1 -1
  28. package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-DCzX-ZP_.js → RolePanel.vue_vue_type_script_setup_true_lang-BuQbYEEI.js} +1 -1
  29. package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-DgQpfjaU.js → RolePanel.vue_vue_type_script_setup_true_lang-bxHXrBYl.js} +3 -3
  30. package/dist/{ScrollPanel.vue_vue_type_style_index_0_lang-WNOYFxJ1.js → ScrollPanel.vue_vue_type_style_index_0_lang-C6yZXBqB.js} +1 -1
  31. package/dist/{Staff-BFp3zNNR.js → Staff-CHWrMIEb.js} +3 -3
  32. package/dist/{StaffInfo-DcU9_40C.js → StaffInfo-Cpq2eayz.js} +1 -1
  33. package/dist/{StaffInfo.vue_vue_type_script_setup_true_lang-CtfN2CAr.js → StaffInfo.vue_vue_type_script_setup_true_lang-BVCjF2i1.js} +1 -1
  34. package/dist/{StaffPanel-7exWkZd9.js → StaffPanel-D2BMXt5p.js} +1 -1
  35. package/dist/{StaffPanel.vue_vue_type_script_setup_true_lang-v5xOXKRS.js → StaffPanel.vue_vue_type_script_setup_true_lang-B6jAGo-g.js} +2 -2
  36. package/dist/{SysUser-B3uB_cp2.js → SysUser-om6H1BeC.js} +2 -2
  37. package/dist/{SysUserPanel-B0CLp5AO.js → SysUserPanel-CH0HPP7h.js} +1 -1
  38. package/dist/{SysUserPanel.vue_vue_type_script_setup_true_lang-Cwea_4dY.js → SysUserPanel.vue_vue_type_script_setup_true_lang-Dpl13ee0.js} +126 -111
  39. package/dist/{SystemMenu-a59l4hTk.js → SystemMenu-BkG_DKxA.js} +52 -49
  40. package/dist/{UserInfo-D1IA2oLt.js → UserInfo-D9croxUe.js} +1 -1
  41. package/dist/{UserInfo.vue_vue_type_style_index_0_lang-DDVgYRD5.js → UserInfo.vue_vue_type_style_index_0_lang-DLIP8xpN.js} +1 -1
  42. package/dist/{childView-6rCeLcsx.js → childView-BY_Ip-l1.js} +1 -1
  43. package/dist/{childView-JdrkroL5.js → childView-CHp_TueS.js} +1 -1
  44. package/dist/{childView.vue_vue_type_style_index_0_lang-BfcnWnx9.js → childView.vue_vue_type_style_index_0_lang-BNHbDRjt.js} +25 -22
  45. package/dist/{childView.vue_vue_type_style_index_0_lang-B8x99f1B.js → childView.vue_vue_type_style_index_0_lang-CbjGf7Z7.js} +1 -1
  46. package/dist/{code-rule-2lkPF547.js → code-rule-Ce6yWqCq.js} +1 -1
  47. package/dist/core.es.js +1 -1
  48. package/dist/{cron-task-DV1pGO1m.js → cron-task-DziaH0rI.js} +1 -1
  49. package/dist/{frameView-C0bzSB8c.js → frameView-DNeCVQaY.js} +1 -1
  50. package/dist/index-BabfUVv_.js +7241 -0
  51. package/dist/layout-home-Cis1KlEr.js +195 -0
  52. package/dist/{layoutView-CTV-E4Cj.js → layoutView-12Mlp9A2.js} +144 -145
  53. package/dist/{log-in-CoBP2x6u.js → log-in-1NGaA5OM.js} +1 -1
  54. package/dist/{log-out-KX8FiRVf.js → log-out-B8_atGcQ.js} +1 -1
  55. package/dist/{login-CtCoGWzD.js → login-5dydO6GR.js} +124 -134
  56. package/dist/{lov-view-Bm0JEzzg.js → lov-view-DPvGUu3h.js} +2 -2
  57. package/dist/{menuInfo-D2qPoRwz.js → menuInfo-DVADYfEK.js} +1 -1
  58. package/dist/{menuInfo.vue_vue_type_style_index_0_lang-DoQjX9Ly.js → menuInfo.vue_vue_type_style_index_0_lang-DgsifDrm.js} +37 -35
  59. package/dist/{pda-app-SbcIclbH.js → pda-app-BZXs-2BQ.js} +1 -1
  60. package/dist/{resource-Cdq1UKGI.js → resource-BZA9NFKc.js} +1 -1
  61. package/dist/su-welcome-BXe6Cdp3.js +580 -0
  62. package/dist/{sys-config-CCOf4xbj.js → sys-config-DQmNjWH4.js} +1 -1
  63. package/dist/udp-core.css +1 -1
  64. package/package.json +1 -1
  65. package/src/App.vue +71 -65
  66. package/src/components/udp/form-upload/form-upload.vue +492 -0
  67. package/src/components/udp/index.ts +2 -1
  68. package/src/layout/components/lay-content/index.vue +136 -143
  69. package/src/layout/components/lay-sidebar/sidebar-logo.vue +1 -1
  70. package/src/layout/layoutView.vue +7 -6
  71. package/src/main.ts +4 -7
  72. package/src/plugins/i18n/zh.ts +16 -3
  73. package/src/plugins/vxe-table/render.tsx +19 -1
  74. package/src/style/vxetable.scss +356 -348
  75. package/src/views/system/layout/layout-home.vue +199 -0
  76. package/src/views/system/menu/AuthorityPanel.vue +141 -140
  77. package/src/views/system/menu/SystemMenu.vue +10 -1
  78. package/src/views/system/menu/menuInfo.vue +384 -384
  79. package/src/views/system/sysUser/SysUserPanel.vue +22 -6
  80. package/src/views/udev/dict/DictView.vue +2 -2
  81. package/src/views/udev/dict/childView.vue +1 -0
  82. package/src/views/uhome/dynamic-card.vue +32 -0
  83. package/src/views/uhome/su-welcome.vue +10 -5
  84. package/src/views/ulogin/login.vue +34 -23
  85. package/types/global.d.ts +1 -0
  86. package/dist/index-BbtbEMCH.js +0 -4649
  87. package/dist/su-welcome-BHDsjqqV.js +0 -524
@@ -1,13 +1,13 @@
1
- import { defineComponent as S, ref as l, resolveComponent as a, createElementBlock as E, openBlock as m, createVNode as n, withCtx as T, createBlock as H, createCommentVNode as U, Fragment as $ } from "vue";
1
+ import { defineComponent as S, ref as l, resolveComponent as d, createElementBlock as E, openBlock as m, createVNode as n, withCtx as T, createBlock as H, createCommentVNode as U, Fragment as $ } from "vue";
2
2
  import { useI18n as z } from "vue-i18n";
3
3
  import { t as F } from "./await-to-js.es5-BtRbN2QH.js";
4
4
  import { VxeUI as M } from "vxe-pc-ui";
5
5
  import { useRender as O, successMessage as f } from "@utogether/utils";
6
- import { y as p, i as h } from "./index-BbtbEMCH.js";
6
+ import { y as p, i as g } from "./index-BabfUVv_.js";
7
7
  import { clone as j } from "xe-utils";
8
8
  const G = {
9
9
  class: "u-dict-config_wrapper"
10
- }, v = "/upfm/v1/lov", ee = /* @__PURE__ */ S({
10
+ }, h = "/upfm/v1/lov", ee = /* @__PURE__ */ S({
11
11
  __name: "childView",
12
12
  props: {
13
13
  record: {
@@ -19,12 +19,12 @@ const G = {
19
19
  }
20
20
  },
21
21
  emits: ["onClose"],
22
- setup(g, {
22
+ setup(v, {
23
23
  emit: C
24
24
  }) {
25
- const w = g, y = O(), {
25
+ const w = v, y = O(), {
26
26
  t: _
27
- } = z(), d = l(!1), i = l(null), s = l(null), t = l({}), o = l("add"), I = window.innerHeight - 70, k = [{
27
+ } = z(), a = l(!1), i = l(null), s = l(null), t = l({}), o = l("add"), k = window.innerHeight - 70, I = [{
28
28
  field: "dictCode",
29
29
  title: "message.udp.dictCode",
30
30
  required: !0,
@@ -36,6 +36,9 @@ const G = {
36
36
  }, {
37
37
  field: "dictDesc",
38
38
  title: "message.remark"
39
+ }, {
40
+ field: "remarks",
41
+ title: "message.remark"
39
42
  }, {
40
43
  field: "enabled",
41
44
  formatter: ["formatDict", "SU.ENABLE"]
@@ -47,18 +50,18 @@ const G = {
47
50
  slots: {
48
51
  default: ({
49
52
  row: e
50
- }) => [n($, null, [n(a("ut-button"), {
53
+ }) => [n($, null, [n(d("ut-button"), {
51
54
  content: "add",
52
55
  status: "warning",
53
56
  auth: "edit",
54
57
  icon: "ri-add-line",
55
58
  onTap: () => B(e)
56
- }, null), n(a("ut-button"), {
59
+ }, null), n(d("ut-button"), {
57
60
  content: "edit",
58
61
  status: "primary",
59
62
  auth: "edit",
60
63
  onTap: () => x(e)
61
- }, null), n(a("ut-button"), {
64
+ }, null), n(d("ut-button"), {
62
65
  content: "del",
63
66
  status: "danger",
64
67
  auth: "del",
@@ -84,29 +87,29 @@ const G = {
84
87
  defaultValue: "1"
85
88
  })
86
89
  }], N = () => {
87
- d.value = !0, o.value = "add", t.value = {
90
+ a.value = !0, o.value = "add", t.value = {
88
91
  enabled: "1",
89
92
  parentId: w.record.id
90
93
  };
91
94
  }, B = (e) => {
92
- d.value = !0, o.value = "add", t.value = {
95
+ a.value = !0, o.value = "add", t.value = {
93
96
  enabled: "1",
94
97
  parentId: e.id
95
98
  };
96
99
  }, V = async (e) => {
97
- await M.modal.confirm(_("message.delRecord")) === "confirm" && (await p().delete(v, [e]), f(), i.value.refreshData());
100
+ await M.modal.confirm(_("message.delRecord")) === "confirm" && (await p().delete(h, [e]), f(), i.value.refreshData());
98
101
  }, x = async (e) => {
99
- d.value = !0, o.value = "edit", t.value = j(e, !0);
102
+ a.value = !0, o.value = "edit", t.value = j(e, !0);
100
103
  }, D = async () => {
101
104
  const e = {
102
105
  ...t.value,
103
- orgId: h().getOrgId,
104
- organizationId: h().getOrganizationId
106
+ orgId: g().getOrgId,
107
+ organizationId: g().getOrganizationId
105
108
  };
106
109
  s.value.showLoading();
107
- const r = o.value === "add" ? "post" : "put", [u] = await F(p()[r](v, [e]));
110
+ const r = o.value === "add" ? "post" : "put", [u] = await F(p()[r](h, [e]));
108
111
  if (s.value.hiddenLoading(), !u) {
109
- if (d.value = o.value !== "edit", o.value === "add") {
112
+ if (a.value = o.value !== "edit", o.value === "add") {
110
113
  const c = t.value.parentId;
111
114
  t.value = {
112
115
  enabled: "1",
@@ -122,7 +125,7 @@ const G = {
122
125
  A("onClose");
123
126
  }
124
127
  return (e, r) => {
125
- const u = a("ut-grid"), c = a("ut-modal-form"), R = a("vxe-drawer");
128
+ const u = d("ut-grid"), c = d("ut-modal-form"), R = d("vxe-drawer");
126
129
  return m(), E("div", G, [n(R, {
127
130
  "model-value": e.show,
128
131
  title: e.$t("message.title.dictList", {
@@ -136,8 +139,8 @@ const G = {
136
139
  default: T(() => [n(u, {
137
140
  ref_key: "xgrid",
138
141
  ref: i,
139
- columns: k,
140
- height: I,
142
+ columns: I,
143
+ height: k,
141
144
  "default-params": {
142
145
  parentId: e.record.id
143
146
  },
@@ -152,7 +155,7 @@ const G = {
152
155
  url: "/upfm/v1/lov/children",
153
156
  mode: "form",
154
157
  onButtonClick: q
155
- }, null, 8, ["default-params"]), d.value ? (m(), H(c, {
158
+ }, null, 8, ["default-params"]), a.value ? (m(), H(c, {
156
159
  key: 0,
157
160
  ref_key: "xmodal",
158
161
  ref: s,
@@ -164,7 +167,7 @@ const G = {
164
167
  title: e.$t("message.title.dictInfo", {
165
168
  name: e.record.dictName
166
169
  }),
167
- onClose: r[0] || (r[0] = (J) => d.value = !1),
170
+ onClose: r[0] || (r[0] = (J) => a.value = !1),
168
171
  onConfirm: D
169
172
  }, null, 8, ["record", "data-status", "title"])) : U("", !0)]),
170
173
  _: 1
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as V, ref as a, resolveComponent as o, resolveDirective as F, createElementBlock as w, openBlock as _, createVNode as d, withCtx as c, withDirectives as W } from "vue";
2
2
  import { t as u } from "./await-to-js.es5-BtRbN2QH.js";
3
3
  import { useRender as P } from "@utogether/utils";
4
- import { i as $, y as f } from "./index-BbtbEMCH.js";
4
+ import { i as $, y as f } from "./index-BabfUVv_.js";
5
5
  const x = { class: "ut-loview-wrapper" }, B = "/upfm/v1/lovViewHeader", p = "/upfm/v1/lovViewLine", G = /* @__PURE__ */ V({
6
6
  __name: "childView",
7
7
  props: {
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as U, ref as d, createVNode as f, resolveComponent as i, nextTick as C, createElementBlock as y, openBlock as p, createBlock as b, createCommentVNode as q } from "vue";
2
2
  import { t as x } from "./await-to-js.es5-BtRbN2QH.js";
3
3
  import { useRender as B } from "@utogether/utils";
4
- import { y as D } from "./index-BbtbEMCH.js";
4
+ import { y as D } from "./index-BabfUVv_.js";
5
5
  const I = {
6
6
  name: "CodeRule"
7
7
  }, M = /* @__PURE__ */ U({
package/dist/core.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import { R as a, O as t, H as r, K as o, L as u, T as i, y as n, B as l, E as g, J as c, P as h, S as m, Q as S, s as f, C as y, D as R, c as C, h as P, i as d } from "./index-BbtbEMCH.js";
1
+ import { R as a, O as t, H as r, K as o, L as u, T as i, y as n, B as l, E as g, J as c, P as h, S as m, Q as S, s as f, C as y, D as R, c as C, h as P, i as d } from "./index-BabfUVv_.js";
2
2
  export {
3
3
  a as constantRoutes,
4
4
  t as default,
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as k, ref as d, createVNode as n, resolveComponent as o, Fragment as v, createElementBlock as T, openBlock as f, createBlock as I, createCommentVNode as R } from "vue";
2
2
  import { VXETable as C } from "vxe-table";
3
3
  import { t as x } from "./await-to-js.es5-BtRbN2QH.js";
4
- import { y } from "./index-BbtbEMCH.js";
4
+ import { y } from "./index-BabfUVv_.js";
5
5
  import { useRender as S, successMessage as D } from "@utogether/utils";
6
6
  const E = {
7
7
  name: "CronTask"
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as _, ref as r, unref as a, onMounted as d, resolveDirective as p, withDirectives as v, createElementBlock as h, openBlock as g, createElementVNode as k, nextTick as x } from "vue";
2
2
  import { useRoute as E } from "vue-router";
3
- import { _ as R } from "./index-BbtbEMCH.js";
3
+ import { _ as R } from "./index-BabfUVv_.js";
4
4
  const w = { class: "frame" }, S = ["src"], V = /* @__PURE__ */ _({
5
5
  __name: "frameView",
6
6
  setup(B) {