@utogether/udp-core 1.0.1-beta.14 → 1.0.1-beta.16

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 (82) hide show
  1. package/dist/{403-pRpb9luy.js → 403-RBzulrcG.js} +1 -1
  2. package/dist/{404-Bsowhpja.js → 404-DX-dU_6C.js} +1 -1
  3. package/dist/{500-DZuJN9lQ.js → 500-BCTk0__d.js} +1 -1
  4. package/dist/{AuthorityInfo-DsSMdxQ1.js → AuthorityInfo-BADTOenq.js} +1 -1
  5. package/dist/{AuthorityInfo.vue_vue_type_style_index_0_lang-DCRZ7hKU.js → AuthorityInfo.vue_vue_type_style_index_0_lang-Cv46yAx_.js} +3 -3
  6. package/dist/{Company-JFHxazkc.js → Company-B-61KrWd.js} +3 -3
  7. package/dist/{CompanyPanel-Bt-5OX8x.js → CompanyPanel-CawSrEff.js} +10 -10
  8. package/dist/{Department-B1bTl93X.js → Department-CrzJPtvP.js} +3 -3
  9. package/dist/{DepartmentPanel-CVIvI8sf.js → DepartmentPanel-DYuL8H-j.js} +23 -23
  10. package/dist/{DesignPanel-snVLq3Gi.js → DesignPanel-DEAv6V68.js} +1 -1
  11. package/dist/{DesignPanel.vue_vue_type_style_index_0_lang-Cvb54DDl.js → DesignPanel.vue_vue_type_style_index_0_lang-BsnXZ2td.js} +6 -6
  12. package/dist/{DictView-OoNA8vMb.js → DictView-BuO-2b-c.js} +15 -16
  13. package/dist/{InvOrganization-CINznAuo.js → InvOrganization-CBgKBJAn.js} +1 -1
  14. package/dist/{Org-BA3ZHIpa.js → Org-BaQw2r-o.js} +3 -3
  15. package/dist/{Preview-C9rFs95x.js → Preview-DvCrmKNk.js} +2 -2
  16. package/dist/{ReportDefine-D2CXXxZp.js → ReportDefine-DyhWz0as.js} +1 -1
  17. package/dist/{ReportDesign-DWmFLxO_.js → ReportDesign-DgZ2f2zv.js} +10 -10
  18. package/dist/{ReportQuery-BBMEls-l.js → ReportQuery-DTZYbCDi.js} +1 -1
  19. package/dist/{ReportQueryFrom-CIeGY6UD.js → ReportQueryFrom-B-vtJegP.js} +1 -1
  20. package/dist/{ReportQueryFrom.vue_vue_type_style_index_0_lang-qtLKZPIW.js → ReportQueryFrom.vue_vue_type_style_index_0_lang-D6izgxph.js} +1 -1
  21. package/dist/{ReportTemplate-CWxGNxLg.js → ReportTemplate-DA1ZqKGf.js} +11 -11
  22. package/dist/{Role-CF93718B.js → Role-mbqoav5t.js} +3 -3
  23. package/dist/{RoleAssign-BjoNSr6O.js → RoleAssign-ltEJIEcr.js} +3 -3
  24. package/dist/{RolePanel-qBGK6Ilt.js → RolePanel-1g1a-G8D.js} +1 -1
  25. package/dist/{RolePanel-DmQaKkm5.js → RolePanel-u90v9eS0.js} +1 -1
  26. package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-BeNdAkYp.js → RolePanel.vue_vue_type_script_setup_true_lang-D9YxpGnt.js} +1 -1
  27. package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-DdK59XHp.js → RolePanel.vue_vue_type_script_setup_true_lang-LC4Egk-Q.js} +9 -9
  28. package/dist/{ScrollPanel.vue_vue_type_style_index_0_lang-LU6W_QVY.js → ScrollPanel.vue_vue_type_style_index_0_lang-DZ3W1epK.js} +8 -8
  29. package/dist/{Staff-BrjfdZU2.js → Staff-CJ2GgCL3.js} +3 -3
  30. package/dist/{StaffInfo-DYmftNDC.js → StaffInfo-3KkodDCK.js} +1 -1
  31. package/dist/{StaffInfo.vue_vue_type_script_setup_true_lang-DVLhL8tz.js → StaffInfo.vue_vue_type_script_setup_true_lang-CW-isIxJ.js} +7 -7
  32. package/dist/{StaffPanel-DJERIwT_.js → StaffPanel-DoXPSoY5.js} +1 -1
  33. package/dist/{StaffPanel.vue_vue_type_script_setup_true_lang-D_leV5A8.js → StaffPanel.vue_vue_type_script_setup_true_lang-DvhGnOMZ.js} +2 -2
  34. package/dist/{SysUser-WO0whf-F.js → SysUser-BuIZhMPh.js} +2 -2
  35. package/dist/{SysUserPanel-C64mSt4O.js → SysUserPanel-t1GJcJGM.js} +1 -1
  36. package/dist/{SysUserPanel.vue_vue_type_script_setup_true_lang-B19FuxOZ.js → SysUserPanel.vue_vue_type_script_setup_true_lang-CDDkFLlN.js} +6 -6
  37. package/dist/{SystemMenu-CY1EDfzl.js → SystemMenu-DuLEL6_l.js} +10 -10
  38. package/dist/{UserInfo-DWXmMOD1.js → UserInfo-WWby4lts.js} +1 -1
  39. package/dist/{UserInfo.vue_vue_type_style_index_0_lang-pjHVXRtK.js → UserInfo.vue_vue_type_style_index_0_lang-B06ZSrJV.js} +10 -10
  40. package/dist/{childView-CMBPpTyj.js → childView-B0-EAoAi.js} +1 -1
  41. package/dist/{childView-Czd4yk_A.js → childView-IYY4L8VK.js} +1 -1
  42. package/dist/{childView.vue_vue_type_style_index_0_lang-C9wXL52o.js → childView.vue_vue_type_style_index_0_lang-B56v6yK7.js} +1 -1
  43. package/dist/{childView.vue_vue_type_style_index_0_lang-CaMQbFZm.js → childView.vue_vue_type_style_index_0_lang-CjF8nZuj.js} +6 -6
  44. package/dist/{code-rule-kHfdPgGA.js → code-rule-DDLdi3pP.js} +6 -6
  45. package/dist/core.es.js +17 -12
  46. package/dist/{cron-task-D1bbdvVP.js → cron-task-p3-AFN1w.js} +11 -11
  47. package/dist/{frameView-B5JStsSt.js → frameView-B_WAZErD.js} +1 -1
  48. package/dist/{index-Ce51XQgg.js → index-24fnvUBy.js} +748 -544
  49. package/dist/{layoutView-DR39l27s.js → layoutView-CoEp2afn.js} +25 -27
  50. package/dist/{log-out--RRncZhN.js → log-out-D1b4VRMZ.js} +30 -24
  51. package/dist/login-DP0oP70W.js +249 -0
  52. package/dist/{lov-view-wdnYE7wy.js → lov-view-BDoZRK-v.js} +5 -5
  53. package/dist/{menuInfo-D0746839.js → menuInfo-5Xls76qB.js} +1 -1
  54. package/dist/{menuInfo.vue_vue_type_style_index_0_lang-p_yYtGl2.js → menuInfo.vue_vue_type_style_index_0_lang-BfZczW9a.js} +7 -7
  55. package/dist/{pda-app-zzzZfBj5.js → pda-app-DxGYn4G7.js} +20 -20
  56. package/dist/{resource-B7wnjBVW.js → resource-BnYWe_-Q.js} +7 -7
  57. package/dist/{su-welcome-CeajjyWS.js → su-welcome-B2rNhhDH.js} +88 -88
  58. package/dist/sys-config-Bb4WkxZK.js +355 -0
  59. package/dist/udp-core.css +2 -2
  60. package/dist/utogether-MlnyYtNS.js +4 -0
  61. package/index.ts +12 -4
  62. package/package.json +18 -18
  63. package/src/components/udp/form.vue +2 -2
  64. package/src/components/udp/utils.ts +11 -7
  65. package/src/layout/hooks/useTag.ts +221 -233
  66. package/src/main.ts +114 -113
  67. package/src/plugins/i18n/zh.ts +6 -1
  68. package/src/store/modules/system.ts +1 -3
  69. package/src/style/login.css +336 -336
  70. package/src/style/vxetable.scss +32 -0
  71. package/src/utils/index.ts +3 -1
  72. package/src/views/system/sys/sys-config.vue +50 -1
  73. package/src/views/uapp/pda/pda-app.vue +1 -1
  74. package/src/views/udev/dict/DictView.vue +2 -2
  75. package/src/views/ulogin/login.vue +323 -321
  76. package/src/views/upms/interface/log-out.vue +101 -107
  77. package/src/views/urpt/design/Preview.vue +1 -0
  78. package/src/views/urpt/design/ReportDesign.vue +2 -4
  79. package/types/global.d.ts +230 -236
  80. package/dist/login-d5LMP32l.js +0 -253
  81. package/dist/sys-config-CpfSg66g.js +0 -290
  82. package/dist/utogether-B_dUqXea.js +0 -182
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as l, ref as e, provide as t, createElementBlock as i, openBlock as _, createElementVNode as o, createVNode as s } from "vue";
2
- import { _ as m } from "./ScrollPanel.vue_vue_type_style_index_0_lang-LU6W_QVY.js";
3
- import { _ as p } from "./RolePanel.vue_vue_type_script_setup_true_lang-BeNdAkYp.js";
4
- import { _ as d } from "./index-Ce51XQgg.js";
2
+ import { _ as m } from "./ScrollPanel.vue_vue_type_style_index_0_lang-DZ3W1epK.js";
3
+ import { _ as p } from "./RolePanel.vue_vue_type_script_setup_true_lang-D9YxpGnt.js";
4
+ import { _ as d } from "./index-24fnvUBy.js";
5
5
  const f = { class: "u-content-panel" }, u = { class: "u-left-panel" }, g = { class: "content" }, h = /* @__PURE__ */ l({
6
6
  __name: "RoleAssign",
7
7
  setup(v) {
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./RolePanel.vue_vue_type_script_setup_true_lang-BeNdAkYp.js";
1
+ import { _ as f } from "./RolePanel.vue_vue_type_script_setup_true_lang-D9YxpGnt.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./RolePanel.vue_vue_type_script_setup_true_lang-DdK59XHp.js";
1
+ import { _ as f } from "./RolePanel.vue_vue_type_script_setup_true_lang-LC4Egk-Q.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -4,7 +4,7 @@ import { clone as $ } from "xe-utils";
4
4
  import { VxeUI as j } from "vxe-pc-ui";
5
5
  import { t as v } from "./await-to-js.es5-BtRbN2QH.js";
6
6
  import { successMessage as _ } from "@utogether/utils";
7
- import { q as C } from "./index-Ce51XQgg.js";
7
+ import { w as C } from "./index-24fnvUBy.js";
8
8
  const q = {
9
9
  class: "page-content"
10
10
  }, d = "/uums/orgRole", X = /* @__PURE__ */ b({
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as S, reactive as I, inject as M, ref as l, watch as B, createVNode as s, Fragment as E, resolveComponent as r, createElementBlock as $, openBlock as d, createBlock as i, createCommentVNode as c } from "vue";
2
- import { useRender as q } from "@utogether/utils";
3
- import { _ as O } from "./AuthorityInfo.vue_vue_type_style_index_0_lang-DCRZ7hKU.js";
4
- import { _ as P } from "./UserInfo.vue_vue_type_style_index_0_lang-pjHVXRtK.js";
5
- import { q as R, e as T } from "./index-Ce51XQgg.js";
2
+ import { useRender as O } from "@utogether/utils";
3
+ import { _ as P } from "./AuthorityInfo.vue_vue_type_style_index_0_lang-Cv46yAx_.js";
4
+ import { _ as R } from "./UserInfo.vue_vue_type_style_index_0_lang-B06ZSrJV.js";
5
+ import { w as T, i as q } from "./index-24fnvUBy.js";
6
6
  const H = {
7
7
  class: "page-content"
8
8
  }, K = /* @__PURE__ */ S({
@@ -14,7 +14,7 @@ const H = {
14
14
  showModalView: !1,
15
15
  showUserView: !1,
16
16
  dataStatus: ""
17
- }), o = M("active"), f = q(), a = l(null), n = l(""), p = l({}), u = l("");
17
+ }), o = M("active"), f = O(), a = l(null), n = l(""), p = l({}), u = l("");
18
18
  B(() => o.value, () => {
19
19
  C();
20
20
  });
@@ -88,7 +88,7 @@ const H = {
88
88
  t === "add" && v(), t === "del" && b();
89
89
  }, v = () => {
90
90
  var t;
91
- e.dataStatus = "add", n.value = "post", u.value = "/uums/role", e.record = {}, e.record.unitId = (t = o == null ? void 0 : o.value) == null ? void 0 : t.id, e.record.enabled = "1", e.record.orgId = T().getOrgId, e.showModalView = !0;
91
+ e.dataStatus = "add", n.value = "post", u.value = "/uums/role", e.record = {}, e.record.unitId = (t = o == null ? void 0 : o.value) == null ? void 0 : t.id, e.record.enabled = "1", e.record.orgId = q().getOrgId, e.showModalView = !0;
92
92
  }, k = (t) => {
93
93
  n.value = "put", u.value = "/uums/role/singleUpdate", e.dataStatus = "update", e.record = t, e.showModalView = !0;
94
94
  }, b = () => {
@@ -105,7 +105,7 @@ const H = {
105
105
  t.enabled = "1";
106
106
  return;
107
107
  }
108
- await R().put("/uums/role/singleUpdate", t), a.value.refreshData();
108
+ await T().put("/uums/role/singleUpdate", t), a.value.refreshData();
109
109
  }
110
110
  const m = () => {
111
111
  e.showDrawView = !1, e.showAuthView = !1, e.showUserView = !1;
@@ -121,13 +121,13 @@ const H = {
121
121
  url: "/uums/role",
122
122
  mode: "form",
123
123
  onButtonClick: V
124
- }, null, 512), e.showAuthView ? (d(), i(O, {
124
+ }, null, 512), e.showAuthView ? (d(), i(P, {
125
125
  key: 0,
126
126
  show: e.showAuthView,
127
127
  record: e.record,
128
128
  "data-status": e.dataStatus,
129
129
  onOnClose: m
130
- }, null, 8, ["show", "record", "data-status"])) : c("", !0), e.showUserView ? (d(), i(P, {
130
+ }, null, 8, ["show", "record", "data-status"])) : c("", !0), e.showUserView ? (d(), i(R, {
131
131
  key: 1,
132
132
  show: e.showUserView,
133
133
  record: e.record,
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as N, ref as k, inject as p, watch as A, nextTick as L, resolveComponent as f, createElementBlock as D, openBlock as v, withModifiers as O, createElementVNode as a, createBlock as C, createCommentVNode as g, createVNode as y, toDisplayString as _, withCtx as S, normalizeClass as V } from "vue";
2
- import { q as j } from "./index-Ce51XQgg.js";
3
- const q = { class: "u-panel-header" }, M = { class: "u-panel-content system-scrollbar" }, K = /* @__PURE__ */ N({
2
+ import { w as j } from "./index-24fnvUBy.js";
3
+ const M = { class: "u-panel-header" }, $ = { class: "u-panel-content system-scrollbar" }, K = /* @__PURE__ */ N({
4
4
  __name: "ScrollPanel",
5
5
  props: {
6
6
  title: {},
@@ -12,8 +12,8 @@ const q = { class: "u-panel-header" }, M = { class: "u-panel-content system-scro
12
12
  }) },
13
13
  defaultParams: { default: () => ({}) }
14
14
  },
15
- setup(b, { expose: B }) {
16
- const h = b, s = k([]), o = k(null), r = p("active"), c = p("scrollPanelChange"), w = p("treeList");
15
+ setup(b, { expose: w }) {
16
+ const h = b, s = k([]), o = k(null), r = p("active"), c = p("scrollPanelChange"), B = p("treeList");
17
17
  A(
18
18
  () => c.value,
19
19
  () => {
@@ -22,7 +22,7 @@ const q = { class: "u-panel-header" }, M = { class: "u-panel-content system-scro
22
22
  );
23
23
  const u = async (l = {}) => {
24
24
  const t = Object.assign(l, h.defaultParams), e = await j().get(h.url, t);
25
- s.value = e.list || e, w.value = e.list || e, r.value = e.list ? e.list[0] : e[0], L(() => {
25
+ s.value = e.list || e, B.value = e.list || e, r.value = e.list ? e.list[0] : e[0], L(() => {
26
26
  var n;
27
27
  o.value && (o == null || o.value.setCurrentKey(((n = r.value) == null ? void 0 : n.id) || ""));
28
28
  }), c.value = !1;
@@ -38,7 +38,7 @@ const q = { class: "u-panel-header" }, M = { class: "u-panel-content system-scro
38
38
  }, m = () => {
39
39
  u();
40
40
  };
41
- return B({
41
+ return w({
42
42
  onRefresh: m
43
43
  }), u(), (l, t) => {
44
44
  const e = f("ut-button"), n = f("vxe-button"), E = f("el-tree");
@@ -46,7 +46,7 @@ const q = { class: "u-panel-header" }, M = { class: "u-panel-content system-scro
46
46
  class: "u-scroll-panel",
47
47
  onClick: O(P, ["prevent"])
48
48
  }, [
49
- a("div", q, [
49
+ a("div", M, [
50
50
  a("h2", null, _(l.title), 1),
51
51
  l.showAllButton ? (v(), C(e, {
52
52
  key: 0,
@@ -64,7 +64,7 @@ const q = { class: "u-panel-header" }, M = { class: "u-panel-content system-scro
64
64
  onClick: m
65
65
  })
66
66
  ]),
67
- a("div", M, [
67
+ a("div", $, [
68
68
  y(E, {
69
69
  ref_key: "tree",
70
70
  ref: o,
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as l, ref as e, provide as t, createElementBlock as _, openBlock as i, createElementVNode as n, createVNode as a } from "vue";
2
- import { _ as m } from "./ScrollPanel.vue_vue_type_style_index_0_lang-LU6W_QVY.js";
3
- import { _ as d } from "./StaffPanel.vue_vue_type_script_setup_true_lang-D_leV5A8.js";
4
- import { _ as p } from "./index-Ce51XQgg.js";
2
+ import { _ as m } from "./ScrollPanel.vue_vue_type_style_index_0_lang-DZ3W1epK.js";
3
+ import { _ as d } from "./StaffPanel.vue_vue_type_script_setup_true_lang-DvhGnOMZ.js";
4
+ import { _ as p } from "./index-24fnvUBy.js";
5
5
  const f = { class: "u-content-panel" }, u = { class: "u-left-panel" }, h = { class: "content" }, v = { name: "StaffPanel" }, C = /* @__PURE__ */ l({
6
6
  ...v,
7
7
  setup(N) {
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./StaffInfo.vue_vue_type_script_setup_true_lang-DVLhL8tz.js";
1
+ import { _ as f } from "./StaffInfo.vue_vue_type_script_setup_true_lang-CW-isIxJ.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as b, ref as u, onMounted as D, resolveComponent as r, createElementBlock as E, openBlock as k, createVNode as n, withCtx as f } from "vue";
2
- import { useRender as q } from "@utogether/utils";
3
- import { q as _ } from "./index-Ce51XQgg.js";
4
- const F = { class: "config" }, x = /* @__PURE__ */ b({
2
+ import { useRender as F } from "@utogether/utils";
3
+ import { w as _ } from "./index-24fnvUBy.js";
4
+ const T = { class: "config" }, x = /* @__PURE__ */ b({
5
5
  __name: "StaffInfo",
6
6
  props: {
7
7
  show: { type: Boolean, default: !0 },
@@ -10,12 +10,12 @@ const F = { class: "config" }, x = /* @__PURE__ */ b({
10
10
  },
11
11
  emits: ["onClose"],
12
12
  setup(v, { emit: y }) {
13
- const i = v, t = q(), d = u({}), p = u(null), l = u(!1), R = { userName: "userName", userId: "id" }, w = { disabled: i.dataStatus !== "add" }, g = [
13
+ const i = v, t = F(), d = u({}), p = u(null), l = u(!1), w = { userName: "userName", userId: "id" }, R = { disabled: i.dataStatus !== "add" }, g = [
14
14
  {
15
15
  field: "employeeCode",
16
16
  required: !0,
17
17
  span: 8,
18
- itemRender: t.renderInput({ props: w })
18
+ itemRender: t.renderInput({ props: R })
19
19
  },
20
20
  { field: "employeeName", required: !0, span: 8, itemRender: t.renderInput() },
21
21
  { field: "gender", span: 8, itemRender: t.renderDict("SU.GENDER") },
@@ -35,7 +35,7 @@ const F = { class: "config" }, x = /* @__PURE__ */ b({
35
35
  field: "attribute5",
36
36
  title: "message.releateUser",
37
37
  span: 8,
38
- itemRender: t.renderSysUser({ mapField: R })
38
+ itemRender: t.renderSysUser({ mapField: w })
39
39
  }
40
40
  ];
41
41
  function C(e) {
@@ -57,7 +57,7 @@ const F = { class: "config" }, x = /* @__PURE__ */ b({
57
57
  d.value = i.record;
58
58
  }), (e, o) => {
59
59
  const a = r("ut-form"), s = r("el-divider"), c = r("ut-button"), S = r("el-row"), h = r("el-drawer");
60
- return k(), E("div", F, [
60
+ return k(), E("div", T, [
61
61
  n(h, {
62
62
  "model-value": e.show,
63
63
  "before-close": m,
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./StaffPanel.vue_vue_type_script_setup_true_lang-D_leV5A8.js";
1
+ import { _ as f } from "./StaffPanel.vue_vue_type_script_setup_true_lang-DvhGnOMZ.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as b, ref as g, inject as w, reactive as x, watch as y, nextTick as E, resolveComponent as l, createElementBlock as N, openBlock as c, createVNode as d, createBlock as k, createCommentVNode as C, Fragment as S } from "vue";
2
2
  import { clone as D } from "xe-utils";
3
3
  import { warnMessage as M } from "@utogether/utils";
4
- import { _ as B } from "./StaffInfo.vue_vue_type_script_setup_true_lang-DVLhL8tz.js";
5
- import { q as P } from "./index-Ce51XQgg.js";
4
+ import { _ as B } from "./StaffInfo.vue_vue_type_script_setup_true_lang-CW-isIxJ.js";
5
+ import { w as P } from "./index-24fnvUBy.js";
6
6
  const A = {
7
7
  class: "page-content"
8
8
  }, s = "/uums/employee", j = /* @__PURE__ */ b({
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as t, ref as o, provide as s, createElementBlock as r, openBlock as c, createVNode as _ } from "vue";
2
- import { _ as n } from "./SysUserPanel.vue_vue_type_script_setup_true_lang-B19FuxOZ.js";
3
- import { _ as a } from "./index-Ce51XQgg.js";
2
+ import { _ as n } from "./SysUserPanel.vue_vue_type_script_setup_true_lang-CDDkFLlN.js";
3
+ import { _ as a } from "./index-24fnvUBy.js";
4
4
  const p = { class: "u-content-panel1" }, i = /* @__PURE__ */ t({
5
5
  __name: "SysUser",
6
6
  setup(m) {
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./SysUserPanel.vue_vue_type_script_setup_true_lang-B19FuxOZ.js";
1
+ import { _ as f } from "./SysUserPanel.vue_vue_type_script_setup_true_lang-CDDkFLlN.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,10 +1,10 @@
1
1
  import { defineComponent as z, reactive as G, ref as h, inject as H, createVNode as s, Fragment as U, resolveComponent as l, onMounted as Q, createElementBlock as $, openBlock as v, withCtx as i, createBlock as k, createCommentVNode as J, renderList as K, unref as O } from "vue";
2
2
  import { useI18n as W } from "vue-i18n";
3
- import { t as q } from "./await-to-js.es5-BtRbN2QH.js";
3
+ import { t as L } from "./await-to-js.es5-BtRbN2QH.js";
4
4
  import { useRender as X, warnMessage as Z, delay as ee, errorMessage as te } from "@utogether/utils";
5
5
  import { VxeUI as se } from "vxe-pc-ui";
6
6
  import { isEmpty as ae } from "xe-utils";
7
- import { q as le } from "./index-Ce51XQgg.js";
7
+ import { w as le } from "./index-24fnvUBy.js";
8
8
  const re = {
9
9
  class: "page"
10
10
  }, u = "/uums/user", fe = /* @__PURE__ */ z({
@@ -22,7 +22,7 @@ const re = {
22
22
  dataStatus: ""
23
23
  }), d = le(), {
24
24
  t: r
25
- } = W(), L = {
25
+ } = W(), q = {
26
26
  userName: [{
27
27
  required: !0,
28
28
  message: `${r("message.required")}${r("message.userCode")}`
@@ -101,7 +101,7 @@ const re = {
101
101
  async function P({
102
102
  row: e
103
103
  }) {
104
- await q(d.put(u, [e])), _.value.refreshData();
104
+ await L(d.put(u, [e])), _.value.refreshData();
105
105
  }
106
106
  const S = async (e) => {
107
107
  var o;
@@ -115,7 +115,7 @@ const re = {
115
115
  }, E = async (e) => {
116
116
  var g;
117
117
  t.roleList = [], t.showAuth = !0, m.value = !0, t.record = e;
118
- const [a, o] = await q(d.get(u + "/getUserRole", {
118
+ const [a, o] = await L(d.get(u + "/getUserRole", {
119
119
  userName: e.userName
120
120
  }));
121
121
  m.value = !1, a || (ae(o) ? Z(r("message.tip.emptyAuth")) : t.roleList = (g = o[0]) == null ? void 0 : g.sysMenuExts);
@@ -173,7 +173,7 @@ const re = {
173
173
  ref_key: "xForm",
174
174
  ref: R,
175
175
  data: t.record,
176
- rules: L,
176
+ rules: q,
177
177
  "title-align": "right"
178
178
  }, {
179
179
  default: i(() => [s(p, {
@@ -1,17 +1,17 @@
1
1
  import { defineComponent as S, reactive as k, ref as v, createVNode as o, resolveComponent as r, Fragment as m, createElementBlock as D, openBlock as A } from "vue";
2
2
  import { useI18n as E } from "vue-i18n";
3
- import { _ as I } from "./menuInfo.vue_vue_type_style_index_0_lang-p_yYtGl2.js";
3
+ import { _ as I } from "./menuInfo.vue_vue_type_style_index_0_lang-BfZczW9a.js";
4
4
  import { _ as N } from "./AuthorityPanel.vue_vue_type_style_index_0_lang-CIYmnP9-.js";
5
5
  import { clone as p } from "xe-utils";
6
6
  import { t as M } from "./await-to-js.es5-BtRbN2QH.js";
7
7
  import { VxeUI as R } from "vxe-pc-ui";
8
8
  import { useRender as U } from "@utogether/utils";
9
- import { q as B } from "./index-Ce51XQgg.js";
9
+ import { w as B } from "./index-24fnvUBy.js";
10
10
  const P = {
11
11
  class: "page-content"
12
12
  }, z = {
13
13
  name: "SystemMenu"
14
- }, j = /* @__PURE__ */ S({
14
+ }, q = /* @__PURE__ */ S({
15
15
  ...z,
16
16
  setup(F) {
17
17
  const t = k({
@@ -80,15 +80,15 @@ const P = {
80
80
  status: "success",
81
81
  icon: "ri-edit-box-line",
82
82
  content: "edit",
83
- onTap: () => w(e)
83
+ onTap: () => g(e)
84
84
  }, null), ["0", "5"].includes(e.menuCategory) ? a : x])])];
85
85
  }
86
86
  }
87
- }], y = ({
87
+ }], w = ({
88
88
  code: e
89
89
  }) => {
90
90
  e === "add" && u(), e === "del" && T();
91
- }, g = async ({
91
+ }, y = async ({
92
92
  row: e
93
93
  }) => {
94
94
  const n = await d.get(i, {
@@ -99,7 +99,7 @@ const P = {
99
99
  });
100
100
  }, u = (e) => {
101
101
  t.showDrawer = !0, t.dataStatus = "add", t.record.dispalyCode = e == null ? void 0 : e.permissionCode, t.record.permissionCode = e == null ? void 0 : e.permissionCode, t.record.menuType = "0", t.record.menuCategory = e ? "" : "0", t.record.parentId = e == null ? void 0 : e.id, t.record.hasChildren = e == null ? void 0 : e.hasChildren, t.record.children = t.record.children || [], l = e;
102
- }, w = (e) => {
102
+ }, g = (e) => {
103
103
  t.showDrawer = !0, t.dataStatus = "update", t.record = p(e, !0), t.record.menuType = t.record.menuType.toString(), t.record.dispalyCode = e.permissionCode;
104
104
  };
105
105
  async function _({
@@ -126,7 +126,7 @@ const P = {
126
126
  childrenField: "children",
127
127
  lazy: !0,
128
128
  hasChild: "hasChildren",
129
- loadMethod: g,
129
+ loadMethod: y,
130
130
  iconOpen: "ri-checkbox-indeterminate-line ri-lg",
131
131
  iconClose: "ri-add-box-line ri-lg"
132
132
  },
@@ -134,7 +134,7 @@ const P = {
134
134
  url: i,
135
135
  stripe: !1,
136
136
  mode: "form",
137
- onToolbarButtonClick: y
137
+ onToolbarButtonClick: w
138
138
  }, null, 8, ["tree-config"]), o(I, {
139
139
  show: t.showDrawer,
140
140
  record: t.record,
@@ -149,5 +149,5 @@ const P = {
149
149
  }
150
150
  });
151
151
  export {
152
- j as default
152
+ q as default
153
153
  };
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./UserInfo.vue_vue_type_style_index_0_lang-pjHVXRtK.js";
1
+ import { _ as f } from "./UserInfo.vue_vue_type_style_index_0_lang-B06ZSrJV.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,7 +1,7 @@
1
- import { defineComponent as R, ref as i, reactive as x, onBeforeMount as B, resolveComponent as d, createElementBlock as U, openBlock as m, createVNode as c, withCtx as $, createBlock as j, createCommentVNode as q, mergeProps as A, toHandlers as E } from "vue";
2
- import { t as P } from "./await-to-js.es5-BtRbN2QH.js";
3
- import { q as S } from "./index-Ce51XQgg.js";
4
- const V = { class: "u-dict-config_wrapper" }, D = /* @__PURE__ */ R({
1
+ import { defineComponent as R, ref as i, reactive as x, onBeforeMount as B, resolveComponent as d, createElementBlock as U, openBlock as m, createVNode as c, withCtx as $, createBlock as j, createCommentVNode as A, mergeProps as E, toHandlers as P } from "vue";
2
+ import { t as S } from "./await-to-js.es5-BtRbN2QH.js";
3
+ import { w as V } from "./index-24fnvUBy.js";
4
+ const q = { class: "u-dict-config_wrapper" }, D = /* @__PURE__ */ R({
5
5
  __name: "UserInfo",
6
6
  props: {
7
7
  record: { default: () => ({}) },
@@ -10,7 +10,7 @@ const V = { class: "u-dict-config_wrapper" }, D = /* @__PURE__ */ R({
10
10
  },
11
11
  emits: ["onClose"],
12
12
  setup(p, { emit: f }) {
13
- const r = p, g = i(!1), o = i(!1), a = S(), h = f, b = [
13
+ const r = p, g = i(!1), o = i(!1), a = V(), h = f, b = [
14
14
  {
15
15
  field: "userName",
16
16
  title: "message.udp.userCode",
@@ -110,7 +110,7 @@ const V = { class: "u-dict-config_wrapper" }, D = /* @__PURE__ */ R({
110
110
  }, N = async (e) => {
111
111
  const s = { userIds: "", roleId: r.record.id };
112
112
  s.userIds = e.map((l) => l.id).join(","), n.loading = !0;
113
- const [t] = await P(a.post("/uums/role/addUserRole", s));
113
+ const [t] = await S(a.post("/uums/role/addUserRole", s));
114
114
  n.loading = !1, t || (u.value.commitProxy("query"), o.value = !1);
115
115
  };
116
116
  function I() {
@@ -120,7 +120,7 @@ const V = { class: "u-dict-config_wrapper" }, D = /* @__PURE__ */ R({
120
120
  g.value = !0;
121
121
  }), (e, s) => {
122
122
  const t = d("vxe-grid"), l = d("ut-modal-grid"), k = d("el-drawer");
123
- return m(), U("div", V, [
123
+ return m(), U("div", q, [
124
124
  c(k, {
125
125
  "model-value": e.show,
126
126
  title: e.$t("message.title.authUser", { role: e.record.roleName }),
@@ -130,10 +130,10 @@ const V = { class: "u-dict-config_wrapper" }, D = /* @__PURE__ */ R({
130
130
  size: "80%"
131
131
  }, {
132
132
  default: $(() => [
133
- c(t, A({
133
+ c(t, E({
134
134
  ref_key: "xgrid",
135
135
  ref: u
136
- }, n, E(_)), null, 16),
136
+ }, n, P(_)), null, 16),
137
137
  o.value ? (m(), j(l, {
138
138
  key: 0,
139
139
  url: "/uums/user/listUserToRole",
@@ -147,7 +147,7 @@ const V = { class: "u-dict-config_wrapper" }, D = /* @__PURE__ */ R({
147
147
  height: "75%",
148
148
  onClose: s[0] || (s[0] = (z) => o.value = !1),
149
149
  onConfirm: N
150
- }, null, 8, ["default-params", "title"])) : q("", !0)
150
+ }, null, 8, ["default-params", "title"])) : A("", !0)
151
151
  ]),
152
152
  _: 1
153
153
  }, 8, ["model-value", "title"])
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./childView.vue_vue_type_style_index_0_lang-CaMQbFZm.js";
1
+ import { _ as f } from "./childView.vue_vue_type_style_index_0_lang-CjF8nZuj.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./childView.vue_vue_type_style_index_0_lang-C9wXL52o.js";
1
+ import { _ as f } from "./childView.vue_vue_type_style_index_0_lang-B56v6yK7.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as V, ref as a, resolveComponent as o, resolveDirective as F, createElementBlock as h, 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 { e as $, q as f } from "./index-Ce51XQgg.js";
4
+ import { i as $, w as f } from "./index-24fnvUBy.js";
5
5
  const B = { class: "ut-loview-wrapper" }, Y = "/upfm/v1/lovViewHeader", m = "/upfm/v1/lovViewLine", G = /* @__PURE__ */ V({
6
6
  __name: "childView",
7
7
  props: {
@@ -1,9 +1,9 @@
1
- import { defineComponent as U, ref as u, onMounted as F, resolveComponent as n, createElementBlock as j, openBlock as N, createVNode as t, withCtx as d, createElementVNode as w, createBlock as G, createCommentVNode as K, createTextVNode as P, toDisplayString as $ } from "vue";
1
+ import { defineComponent as U, ref as u, onMounted as F, resolveComponent as n, createElementBlock as j, openBlock as w, createVNode as t, withCtx as d, createElementVNode as N, createBlock as G, createCommentVNode as K, createTextVNode as P, toDisplayString as $ } from "vue";
2
2
  import { useI18n as Q } from "vue-i18n";
3
3
  import { t as I } from "./await-to-js.es5-BtRbN2QH.js";
4
4
  import { VxeUI as W } from "vxe-pc-ui";
5
5
  import { useRender as X, successMessage as k } from "@utogether/utils";
6
- import { q as b, e as S } from "./index-Ce51XQgg.js";
6
+ import { w as b, i as S } from "./index-24fnvUBy.js";
7
7
  const Y = { class: "u-dict-config_wrapper" }, Z = { style: { margin: "10px" } }, _ = "/upfm/v1/lov", de = /* @__PURE__ */ U({
8
8
  __name: "childView",
9
9
  props: {
@@ -66,7 +66,7 @@ const Y = { class: "u-dict-config_wrapper" }, Z = { style: { margin: "10px" } },
66
66
  f();
67
67
  }), (e, o) => {
68
68
  const r = n("vxe-button"), y = n("vxe-toolbar"), c = n("vxe-table-column"), g = n("ut-button"), M = n("vxe-table"), H = n("ut-modal-form"), L = n("el-drawer");
69
- return N(), j("div", Y, [
69
+ return w(), j("div", Y, [
70
70
  t(L, {
71
71
  "model-value": e.show,
72
72
  "before-close": E,
@@ -76,7 +76,7 @@ const Y = { class: "u-dict-config_wrapper" }, Z = { style: { margin: "10px" } },
76
76
  size: "76%"
77
77
  }, {
78
78
  default: d(() => [
79
- w("div", Z, [
79
+ N("div", Z, [
80
80
  t(y, null, {
81
81
  buttons: d(() => [
82
82
  t(r, {
@@ -130,7 +130,7 @@ const Y = { class: "u-dict-config_wrapper" }, Z = { style: { margin: "10px" } },
130
130
  width: "100"
131
131
  }, {
132
132
  default: d(({ row: l }) => [
133
- w("span", null, $(l.enabled === "1" ? e.$t("message.enabled") : e.$t("message.disabled")), 1)
133
+ N("span", null, $(l.enabled === "1" ? e.$t("message.enabled") : e.$t("message.disabled")), 1)
134
134
  ]),
135
135
  _: 1
136
136
  }, 8, ["title"]),
@@ -163,7 +163,7 @@ const Y = { class: "u-dict-config_wrapper" }, Z = { style: { margin: "10px" } },
163
163
  _: 1
164
164
  }, 8, ["data", "loading"])
165
165
  ]),
166
- s.value ? (N(), G(H, {
166
+ s.value ? (w(), G(H, {
167
167
  key: 0,
168
168
  ref: "xmodal",
169
169
  record: a.value,
@@ -1,13 +1,13 @@
1
1
  import { defineComponent as _, ref as d, createVNode as m, resolveComponent as i, createElementBlock as k, openBlock as c, createBlock as C, createCommentVNode as E } from "vue";
2
2
  import { t as U } from "./await-to-js.es5-BtRbN2QH.js";
3
- import { useRender as q } from "@utogether/utils";
4
- import { q as x } from "./index-Ce51XQgg.js";
5
- const b = {
3
+ import { useRender as x } from "@utogether/utils";
4
+ import { w as b } from "./index-24fnvUBy.js";
5
+ const q = {
6
6
  name: "CodeRule"
7
7
  }, V = /* @__PURE__ */ _({
8
- ...b,
8
+ ...q,
9
9
  setup(y) {
10
- const e = q(), s = d(null), l = d(!1), o = d(!1), n = d({}), u = "/upfm/v1/codingRule", f = [{
10
+ const e = x(), s = d(null), l = d(!1), o = d(!1), n = d({}), u = "/upfm/v1/codingRule", f = [{
11
11
  field: "ruleCode",
12
12
  title: "message.udp.ruleCode"
13
13
  }, {
@@ -114,7 +114,7 @@ const b = {
114
114
  async function h({
115
115
  row: t
116
116
  }) {
117
- const [r] = await U(x().put(u, t));
117
+ const [r] = await U(b().put(u, t));
118
118
  !r && s.value.refreshData();
119
119
  }
120
120
  return (t, r) => {
package/dist/core.es.js CHANGED
@@ -1,16 +1,21 @@
1
- import { L as t, G as a, C as r, q as o, w as u, H as i, J as n, M as l, K as S, s as d, u as f, d as m, e as R } from "./index-Ce51XQgg.js";
1
+ import { N as a, J as t, C as r, E as o, G as u, w as i, y as n, K as l, D as g, L as h, O as m, M as c, s as f, z as y, A as S, c as A, h as C, i as R } from "./index-24fnvUBy.js";
2
2
  export {
3
- t as constantRoutes,
4
- a as default,
3
+ a as constantRoutes,
4
+ t as default,
5
5
  r as delCurrentRoute,
6
- o as getServiceApi,
7
- u as handleAliveRoute,
8
- i as hasAuthority,
9
- n as lifeCycleEvent,
10
- l as remainingRouters,
11
- S as routerBefore,
12
- d as store,
13
- f as useMultiTagsStore,
14
- m as usePermissionStore,
6
+ o as getBrower,
7
+ u as getPlatform,
8
+ i as getServiceApi,
9
+ n as handleAliveRoute,
10
+ l as hasAuthority,
11
+ g as initDict,
12
+ h as lifeCycleEvent,
13
+ m as remainingRouters,
14
+ c as routerBefore,
15
+ f as store,
16
+ y as useDataThemeChange,
17
+ S as useLayout,
18
+ A as useMultiTagsStore,
19
+ C as usePermissionStore,
15
20
  R as useSystemStore
16
21
  };
@@ -1,13 +1,13 @@
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 { q as y } from "./index-Ce51XQgg.js";
5
- import { useRender as S, successMessage as q } from "@utogether/utils";
6
- const D = {
4
+ import { w as y } from "./index-24fnvUBy.js";
5
+ import { useRender as S, successMessage as D } from "@utogether/utils";
6
+ const E = {
7
7
  name: "CronTask"
8
8
  }, H = /* @__PURE__ */ k({
9
- ...D,
10
- setup(E) {
9
+ ...E,
10
+ setup(L) {
11
11
  const r = S(), u = d(null), i = d(!1), c = d({}), s = "/usch/v1/jobInfo", p = [{
12
12
  field: "jobName"
13
13
  }, {
@@ -70,7 +70,7 @@ const D = {
70
70
  content: "taskLog",
71
71
  status: "info",
72
72
  icon: "ri-file-line",
73
- onTap: () => w(e)
73
+ onTap: () => j(e)
74
74
  }, null)])];
75
75
  }
76
76
  }
@@ -83,9 +83,9 @@ const D = {
83
83
  }, l = async (e, t) => {
84
84
  if (await C.modal.confirm("您确定要继续吗?") === "confirm") {
85
85
  const [a] = await x(y().post(e, t));
86
- a || (q(), u.value.refreshData());
86
+ a || (D(), u.value.refreshData());
87
87
  }
88
- }, j = [
88
+ }, w = [
89
89
  // { field: 'jobName', width: 140 },
90
90
  {
91
91
  field: "startTime",
@@ -102,7 +102,7 @@ const D = {
102
102
  {
103
103
  field: "errorMessage"
104
104
  }
105
- ], w = (e) => {
105
+ ], j = (e) => {
106
106
  c.value = {
107
107
  jobId: e.id
108
108
  }, i.value = !0;
@@ -119,13 +119,13 @@ const D = {
119
119
  key: 0,
120
120
  ref: "xmgrid",
121
121
  "default-params": c.value,
122
- columns: j,
122
+ columns: w,
123
123
  url: "/usch/v1/jobLog",
124
124
  "show-footer": !1,
125
125
  editable: !1,
126
126
  width: "50%",
127
127
  title: e.$t("message.title.cronLog"),
128
- onClose: t[0] || (t[0] = (L) => i.value = !1)
128
+ onClose: t[0] || (t[0] = (N) => i.value = !1)
129
129
  }, null, 8, ["default-params", "title"])) : R("", !0)]);
130
130
  };
131
131
  }