@utogether/udp-core 1.0.2 → 1.0.4-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-B1rIjAAu.js → 403-CH-5FVhN.js} +1 -1
  2. package/dist/{404-mBqc2y4t.js → 404-CFk6Ivq-.js} +1 -1
  3. package/dist/{500-BoI45Zdh.js → 500-DRjSNKN3.js} +1 -1
  4. package/dist/{AuthorityInfo-B08NBIIn.js → AuthorityInfo-DxNFwxdz.js} +1 -1
  5. package/dist/{AuthorityInfo.vue_vue_type_style_index_0_lang-BLP1SaiH.js → AuthorityInfo.vue_vue_type_style_index_0_lang-BI2PKcqq.js} +1 -1
  6. package/dist/{AuthorityPanel-BeBNiwqc.js → AuthorityPanel-BzIh29KB.js} +1 -1
  7. package/dist/{AuthorityPanel.vue_vue_type_style_index_0_lang-CIYmnP9-.js → AuthorityPanel.vue_vue_type_style_index_0_lang-D3GN0Ybz.js} +32 -24
  8. package/dist/{Company-JGGyWEWH.js → Company-DGFD7_MF.js} +3 -3
  9. package/dist/{CompanyPanel-BQ_cCmDx.js → CompanyPanel-BHXndpIr.js} +1 -1
  10. package/dist/{Department-z2iO6hwM.js → Department-CFcjdf8m.js} +3 -3
  11. package/dist/{DepartmentPanel-BtQe7zwU.js → DepartmentPanel-DrBtJClY.js} +1 -1
  12. package/dist/{DesignPanel-7mhtVWas.js → DesignPanel-EAKuwOqp.js} +1 -1
  13. package/dist/{DesignPanel.vue_vue_type_style_index_0_lang-4EsHemj_.js → DesignPanel.vue_vue_type_style_index_0_lang-BOP4Q41a.js} +2 -2
  14. package/dist/{DictView-CjchV2Yk.js → DictView-CpRvxDO0.js} +10 -9
  15. package/dist/{InvOrganization-Pn1O_XP0.js → InvOrganization-DZC9aKKv.js} +1 -1
  16. package/dist/{Org-BqytV_vi.js → Org-D5heLogi.js} +1 -1
  17. package/dist/{Preview-CLpUUMay.js → Preview-DWuThn2_.js} +1 -1
  18. package/dist/{ReportDefine-Cz1KtEUF.js → ReportDefine-FeHx3B-B.js} +1 -1
  19. package/dist/{ReportDesign-BaORYud4.js → ReportDesign-Deo5AK76.js} +2 -2
  20. package/dist/{ReportQuery-CPCPXiXz.js → ReportQuery-WK5BPREv.js} +1 -1
  21. package/dist/{ReportQueryFrom-C_AcrfkJ.js → ReportQueryFrom-BcbRvwcp.js} +1 -1
  22. package/dist/{ReportQueryFrom.vue_vue_type_style_index_0_lang-Bm67ejay.js → ReportQueryFrom.vue_vue_type_style_index_0_lang-DEXuBXHO.js} +1 -1
  23. package/dist/{ReportTemplate-CFiNMz79.js → ReportTemplate-DAk0qIJq.js} +1 -1
  24. package/dist/{Role-B-XDoJd5.js → Role-sSVr8txF.js} +3 -3
  25. package/dist/{RoleAssign-BolW8YVs.js → RoleAssign-gg9O7P1_.js} +3 -3
  26. package/dist/{RolePanel-HilSuYns.js → RolePanel-D2M-Wc-X.js} +1 -1
  27. package/dist/{RolePanel-2kfs5tw9.js → RolePanel-DsyVPcoq.js} +1 -1
  28. package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-CE4gApUY.js → RolePanel.vue_vue_type_script_setup_true_lang-C4fuYoIS.js} +1 -1
  29. package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-DPzgfAyV.js → RolePanel.vue_vue_type_script_setup_true_lang-RR24avbF.js} +3 -3
  30. package/dist/{ScrollPanel.vue_vue_type_style_index_0_lang-CCTH4RkH.js → ScrollPanel.vue_vue_type_style_index_0_lang-6v5vVx-e.js} +1 -1
  31. package/dist/{Staff-BTk3whFC.js → Staff-DTDrOuE0.js} +3 -3
  32. package/dist/{StaffInfo-d3AuSzlA.js → StaffInfo-B2H_6lwQ.js} +1 -1
  33. package/dist/{StaffInfo.vue_vue_type_script_setup_true_lang-eOL4VlfE.js → StaffInfo.vue_vue_type_script_setup_true_lang-BkDRBn9p.js} +1 -1
  34. package/dist/{StaffPanel-DV-D4jjz.js → StaffPanel-dpmnAD0A.js} +1 -1
  35. package/dist/{StaffPanel.vue_vue_type_script_setup_true_lang-4sFq3CEo.js → StaffPanel.vue_vue_type_script_setup_true_lang-dgV9B37R.js} +47 -39
  36. package/dist/{SysUser-BnjYytws.js → SysUser-BjpQdzSo.js} +2 -2
  37. package/dist/{SysUserPanel-CBoyD-Qi.js → SysUserPanel-C5IHO7JB.js} +1 -1
  38. package/dist/{SysUserPanel.vue_vue_type_script_setup_true_lang-PrTlTZR-.js → SysUserPanel.vue_vue_type_script_setup_true_lang-HvJ4Hrps.js} +1 -1
  39. package/dist/{SystemMenu-kYB_ZaUt.js → SystemMenu-D7W9E8SF.js} +53 -50
  40. package/dist/{UserInfo-4dx97VBL.js → UserInfo-D_lbSbUh.js} +1 -1
  41. package/dist/{UserInfo.vue_vue_type_style_index_0_lang-BpbC_ZDm.js → UserInfo.vue_vue_type_style_index_0_lang-NLl8VJ5I.js} +1 -1
  42. package/dist/{childView-CHPNfTEb.js → childView-B1XV2jZ7.js} +1 -1
  43. package/dist/{childView-CKA_JgVZ.js → childView-LQllG9vw.js} +1 -1
  44. package/dist/{childView.vue_vue_type_style_index_0_lang-W7bCtXeu.js → childView.vue_vue_type_style_index_0_lang-DN19uWOO.js} +31 -31
  45. package/dist/{childView.vue_vue_type_style_index_0_lang-Bym2fQRd.js → childView.vue_vue_type_style_index_0_lang-Dpo_nfX9.js} +19 -20
  46. package/dist/{code-rule-CbxuZg0-.js → code-rule-DkKKcosO.js} +1 -1
  47. package/dist/core.es.js +1 -1
  48. package/dist/{cron-task-nTOpqQYf.js → cron-task-bGVrr2Jg.js} +1 -1
  49. package/dist/{frameView-Z1tPUyCh.js → frameView-B3n2JXTj.js} +1 -1
  50. package/dist/index-DYT0k5Sg.js +8134 -0
  51. package/dist/{layoutView--MGA9zUB.js → layoutView-bh22tftc.js} +144 -145
  52. package/dist/{log-in-CSYJDA6m.js → log-in-Dk_xyZ_l.js} +1 -1
  53. package/dist/{log-out-DiwGCg7p.js → log-out-CERhlqtr.js} +1 -1
  54. package/dist/{login-C6Y0ajDp.js → login-C5EJWWLi.js} +124 -134
  55. package/dist/{login-log-C0V-_l3F.js → login-log-DJBGJVV0.js} +4 -4
  56. package/dist/{lov-view-Cmv7wZZ9.js → lov-view-BNGHpq-d.js} +2 -2
  57. package/dist/{menuInfo-UeutJpOa.js → menuInfo-2DBTH6Vf.js} +1 -1
  58. package/dist/{menuInfo.vue_vue_type_style_index_0_lang-CWX4Mu67.js → menuInfo.vue_vue_type_style_index_0_lang-KtLS__XM.js} +37 -35
  59. package/dist/{pda-app-B6w99SJo.js → pda-app-BzmHIT9A.js} +1 -1
  60. package/dist/{resource-BybJvUv0.js → resource-D6UY8vN8.js} +1 -1
  61. package/dist/{su-welcome-C1bmxHoY.js → su-welcome-okexK2W2.js} +20 -20
  62. package/dist/{sys-config-BnmIDnCj.js → sys-config-9F_C1LzR.js} +1 -1
  63. package/dist/udp-core.css +1 -1
  64. package/package.json +1 -1
  65. package/src/App.vue +73 -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 +2 -2
  72. package/src/plugins/i18n/zh.ts +1 -0
  73. package/src/plugins/vxe-table/index.ts +116 -116
  74. package/src/plugins/vxe-table/render.tsx +968 -945
  75. package/src/style/vxetable.scss +356 -348
  76. package/src/utils/dataFormat/index.ts +17 -18
  77. package/src/views/organization/staff/StaffPanel.vue +12 -3
  78. package/src/views/system/menu/AuthorityPanel.vue +142 -140
  79. package/src/views/system/menu/SystemMenu.vue +194 -185
  80. package/src/views/system/menu/menuInfo.vue +384 -384
  81. package/src/views/udev/dict/DictView.vue +2 -2
  82. package/src/views/udev/dict/childView.vue +6 -6
  83. package/src/views/udev/lov/childView.vue +174 -174
  84. package/src/views/uhome/components/menu-favorite.vue +3 -2
  85. package/src/views/ulogin/login.vue +34 -23
  86. package/src/views/upms/user/login-log.vue +5 -5
  87. package/dist/index-C3q8HoJM.js +0 -4650
@@ -30,7 +30,7 @@ const a = {
30
30
  }, {
31
31
  field: "userName",
32
32
  title: "message.udp.userName",
33
- width: 150
33
+ width: 220
34
34
  }, {
35
35
  field: "loginTime",
36
36
  title: "message.udp.loginTime",
@@ -42,15 +42,15 @@ const a = {
42
42
  }, {
43
43
  field: "browser",
44
44
  title: "message.udp.browser",
45
- width: 110
45
+ width: 130
46
46
  }, {
47
47
  field: "browserVersion",
48
48
  title: "message.udp.browserVersion",
49
- width: 110
49
+ width: 150
50
50
  }, {
51
51
  field: "ip",
52
52
  title: "message.udp.ip",
53
- width: 150
53
+ width: 200
54
54
  }];
55
55
  return (u, g) => {
56
56
  const s = l("ut-grid");
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as k, ref as o, createVNode as u, resolveComponent as a, nextTick as g, createElementBlock as w, openBlock as s, createBlock as C, createCommentVNode as R } from "vue";
2
2
  import { t as x } from "./await-to-js.es5-BtRbN2QH.js";
3
- import { y as b } from "./index-C3q8HoJM.js";
4
- import { _ as y } from "./childView.vue_vue_type_style_index_0_lang-Bym2fQRd.js";
3
+ import { y as b } from "./index-DYT0k5Sg.js";
4
+ import { _ as y } from "./childView.vue_vue_type_style_index_0_lang-Dpo_nfX9.js";
5
5
  import { useRender as D } from "@utogether/utils";
6
6
  const c = "/upfm/v1/lovViewHeader", B = /* @__PURE__ */ k({
7
7
  name: "LovView",
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./menuInfo.vue_vue_type_style_index_0_lang-CWX4Mu67.js";
1
+ import { _ as f } from "./menuInfo.vue_vue_type_style_index_0_lang-KtLS__XM.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,9 +1,9 @@
1
- import { defineComponent as H, watch as M, ref as _, resolveComponent as i, createElementBlock as L, openBlock as r, createVNode as t, withCtx as m, createBlock as u, createCommentVNode as p, Fragment as G, renderList as J, normalizeClass as K, createSlots as O, createElementVNode as Q, toDisplayString as W } from "vue";
1
+ import { defineComponent as H, watch as M, ref as S, resolveComponent as i, createElementBlock as L, openBlock as r, createVNode as t, withCtx as m, createBlock as u, createCommentVNode as p, Fragment as G, renderList as J, normalizeClass as K, createSlots as O, createElementVNode as Q, toDisplayString as W } from "vue";
2
2
  import { useI18n as X } from "vue-i18n";
3
3
  import { t as N } from "./await-to-js.es5-BtRbN2QH.js";
4
4
  import { templateRef as Z } from "@vueuse/core";
5
- import { i as x, y as ee } from "./index-C3q8HoJM.js";
6
- const te = { class: "ut-menu-wrapper" }, q = "/uums/menu", re = /* @__PURE__ */ H({
5
+ import { i as ee, y as te } from "./index-DYT0k5Sg.js";
6
+ const ne = { class: "ut-menu-wrapper" }, q = "/uums/menu", ie = /* @__PURE__ */ H({
7
7
  __name: "menuInfo",
8
8
  props: {
9
9
  show: { type: Boolean, default: !1 },
@@ -13,14 +13,14 @@ const te = { class: "ut-menu-wrapper" }, q = "/uums/menu", re = /* @__PURE__ */
13
13
  },
14
14
  emits: ["close"],
15
15
  setup(I, { emit: F }) {
16
- const P = x().getDataDict, g = I;
16
+ const P = ee().getDataDict, g = I;
17
17
  M(
18
18
  () => g.show,
19
19
  () => {
20
- h.value = g.show && D();
20
+ $.value = g.show && D();
21
21
  }
22
22
  );
23
- const v = ee(), { t: a } = X(), E = {
23
+ const C = te(), { t: a } = X(), E = {
24
24
  menuCode: [
25
25
  {
26
26
  required: !0,
@@ -63,7 +63,7 @@ const te = { class: "ut-menu-wrapper" }, q = "/uums/menu", re = /* @__PURE__ */
63
63
  message: `${a("message.required")}${a("message.menuType")}`
64
64
  }
65
65
  ]
66
- }, T = Z("xForm", null), y = _(!1), h = _(""), b = _(["fetch"]), A = F, D = () => {
66
+ }, T = Z("xForm", null), y = S(!1), $ = S(""), b = S(["fetch"]), A = F, D = () => {
67
67
  const { record: e, dataStatus: s } = g, { id: l, parentId: f, hasChildren: n } = e;
68
68
  if (s !== "update")
69
69
  return !l && !f ? "su" : ((n || s === "add") && (e.dispalyCode = ""), e.permissionCode);
@@ -74,23 +74,23 @@ const te = { class: "ut-menu-wrapper" }, q = "/uums/menu", re = /* @__PURE__ */
74
74
  let s;
75
75
  const { record: l, dataStatus: f } = g;
76
76
  if (f === "add") {
77
- l.permissionCode = `${h.value}.${l.dispalyCode}`;
78
- const [n, C] = await N(v.post(q, [l]));
77
+ l.permissionCode = `${$.value}.${l.dispalyCode}`;
78
+ const [n, V] = await N(C.post(q, [l]));
79
79
  if (!n && !["0", "5"].includes(l.menuCategory) && b.value.length) {
80
- const c = b.value.map(($, S) => ({
81
- permissionCode: l.permissionCode + "." + $,
82
- parentId: C[0].id,
83
- menuName: R($),
80
+ const k = b.value.map((v, w) => ({
81
+ permissionCode: l.permissionCode + "." + v,
82
+ parentId: V[0].id,
83
+ menuName: R(v),
84
84
  menuType: 1,
85
85
  enabled: "1",
86
- sort: (S + 1) * 10
87
- })), [k, w] = await N(v.post(q, c));
88
- k || (s = w[0]);
86
+ sort: (w + 1) * 10
87
+ })), [c, _] = await N(C.post(q, k));
88
+ c || (s = _[0]);
89
89
  }
90
90
  y.value = !1;
91
91
  } else
92
- l.permissionCode = l.dispalyCode, await N(v.put(q, [l])), y.value = !1, s = l;
93
- V("submit", s);
92
+ l.permissionCode = l.dispalyCode, await N(C.put(q, [l])), y.value = !1, s = l;
93
+ h("submit", s);
94
94
  }
95
95
  });
96
96
  }, R = (e) => ({
@@ -103,22 +103,22 @@ const te = { class: "ut-menu-wrapper" }, q = "/uums/menu", re = /* @__PURE__ */
103
103
  var s;
104
104
  return (s = P[e]) == null ? void 0 : s.children.map((l) => (l.enabled = l.dictCode === "0" && g.record.menuCategory !== "0", l));
105
105
  };
106
- function V(e, s) {
106
+ function h(e, s) {
107
107
  A("close", e, s);
108
108
  }
109
109
  return (e, s) => {
110
- const l = i("vxe-option"), f = i("vxe-select"), n = i("vxe-form-item"), C = i("vxe-input"), c = i("vxe-checkbox"), k = i("vxe-checkbox-group"), w = i("ut-icon-select"), $ = i("vxe-form"), S = i("el-divider"), U = i("ut-button"), z = i("el-row"), j = i("el-drawer");
111
- return r(), L("div", te, [
112
- t(j, {
110
+ const l = i("vxe-option"), f = i("vxe-select"), n = i("vxe-form-item"), V = i("vxe-input"), k = i("vxe-number-input"), c = i("vxe-checkbox"), _ = i("vxe-checkbox-group"), v = i("ut-icon-select"), w = i("vxe-form"), z = i("el-divider"), U = i("ut-button"), j = i("el-row"), x = i("el-drawer");
111
+ return r(), L("div", ne, [
112
+ t(x, {
113
113
  "model-value": e.show,
114
114
  title: e.$t("message.title.memuInfo"),
115
- "before-close": V,
115
+ "before-close": h,
116
116
  direction: "rtl",
117
117
  "destroy-on-close": "",
118
118
  size: "50%"
119
119
  }, {
120
120
  default: m(() => [
121
- t($, {
121
+ t(w, {
122
122
  ref_key: "xForm",
123
123
  ref: T,
124
124
  data: e.record,
@@ -162,7 +162,7 @@ const te = { class: "ut-menu-wrapper" }, q = "/uums/menu", re = /* @__PURE__ */
162
162
  span: "24"
163
163
  }, {
164
164
  default: m(({ data: o }) => [
165
- t(C, {
165
+ t(V, {
166
166
  modelValue: o.dispalyCode,
167
167
  "onUpdate:modelValue": (d) => o.dispalyCode = d,
168
168
  clearable: "",
@@ -172,7 +172,7 @@ const te = { class: "ut-menu-wrapper" }, q = "/uums/menu", re = /* @__PURE__ */
172
172
  e.dataStatus === "add" ? {
173
173
  name: "prefix",
174
174
  fn: m(() => [
175
- Q("span", null, W(h.value), 1)
175
+ Q("span", null, W($.value), 1)
176
176
  ]),
177
177
  key: "0"
178
178
  } : void 0
@@ -267,11 +267,11 @@ const te = { class: "ut-menu-wrapper" }, q = "/uums/menu", re = /* @__PURE__ */
267
267
  span: "24"
268
268
  }, {
269
269
  default: m(({ data: o }) => [
270
- t(C, {
270
+ t(k, {
271
271
  modelValue: o.sort,
272
272
  "onUpdate:modelValue": (d) => o.sort = d,
273
- type: "number",
274
- step: "10",
273
+ "control-config": { enabled: !1 },
274
+ tep: "10",
275
275
  clearable: ""
276
276
  }, null, 8, ["modelValue", "onUpdate:modelValue"])
277
277
  ]),
@@ -282,7 +282,7 @@ const te = { class: "ut-menu-wrapper" }, q = "/uums/menu", re = /* @__PURE__ */
282
282
  title: e.$t("message.btn.auth")
283
283
  }, {
284
284
  default: m(() => [
285
- t(k, {
285
+ t(_, {
286
286
  modelValue: b.value,
287
287
  "onUpdate:modelValue": s[0] || (s[0] = (o) => b.value = o)
288
288
  }, {
@@ -319,7 +319,7 @@ const te = { class: "ut-menu-wrapper" }, q = "/uums/menu", re = /* @__PURE__ */
319
319
  span: "24"
320
320
  }, {
321
321
  default: m(({ data: o }) => [
322
- t(w, {
322
+ t(v, {
323
323
  modelValue: o.icon,
324
324
  "onUpdate:modelValue": (d) => o.icon = d
325
325
  }, null, 8, ["modelValue", "onUpdate:modelValue"])
@@ -329,8 +329,8 @@ const te = { class: "ut-menu-wrapper" }, q = "/uums/menu", re = /* @__PURE__ */
329
329
  ]),
330
330
  _: 1
331
331
  }, 8, ["data", "loading"]),
332
- t(S),
333
- t(z, {
332
+ t(z),
333
+ t(j, {
334
334
  type: "flex",
335
335
  justify: "end",
336
336
  style: { "padding-right": "22px" }
@@ -339,11 +339,13 @@ const te = { class: "ut-menu-wrapper" }, q = "/uums/menu", re = /* @__PURE__ */
339
339
  t(U, {
340
340
  content: "cancel",
341
341
  status: "warning",
342
- onTap: V
342
+ icon: "ri-close-line",
343
+ onTap: h
343
344
  }),
344
345
  t(U, {
345
346
  content: "confirm",
346
347
  status: "primary",
348
+ icon: "ri-save-line",
347
349
  onTap: B
348
350
  })
349
351
  ]),
@@ -357,5 +359,5 @@ const te = { class: "ut-menu-wrapper" }, q = "/uums/menu", re = /* @__PURE__ */
357
359
  }
358
360
  });
359
361
  export {
360
- re as _
362
+ ie as _
361
363
  };
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as re, ref as N, computed as K, watch as me, createVNode as p, Fragment as Y, withDirectives as he, unref as C, resolveDirective as be, nextTick as ve, resolveComponent as x, createElementBlock as Oe, openBlock as J, createBlock as _e, createCommentVNode as we, isVNode as Te } from "vue";
2
2
  import { useI18n as je } from "vue-i18n";
3
3
  import { t as Ce } from "./await-to-js.es5-BtRbN2QH.js";
4
- import { I as Se, G as xe, y as $e, _ as Pe } from "./index-C3q8HoJM.js";
4
+ import { I as Se, G as xe, y as $e, _ as Pe } from "./index-DYT0k5Sg.js";
5
5
  import { withInstall as Ve, useRender as Ae } from "@utogether/utils";
6
6
  import { clone as oe, isString as Z } from "xe-utils";
7
7
  import Ne from "qrcode";
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as w, ref as o, resolveComponent as r, createElementBlock as k, openBlock as i, createVNode as l, createBlock as b, createCommentVNode as x, Fragment as U } from "vue";
2
2
  import { successMessage as B } from "@utogether/utils";
3
3
  import { useClipboard as N } from "@vueuse/core";
4
- import { G as y } from "./index-C3q8HoJM.js";
4
+ import { G as y } from "./index-DYT0k5Sg.js";
5
5
  const q = {
6
6
  name: "StaticResource"
7
7
  }, V = /* @__PURE__ */ w({
@@ -2,7 +2,7 @@ import { defineComponent as J, ref as y, onMounted as K, resolveComponent as p,
2
2
  import { useRouter as oe } from "vue-router";
3
3
  import ne from "dayjs";
4
4
  import { dbstorage as le, delay as ae, warnMessage as ie, successMessage as ce, lunarCalendar as re, cookies as de } from "@utogether/utils";
5
- import { y as W, i as ue, p as me, _ as fe } from "./index-C3q8HoJM.js";
5
+ import { y as W, i as ue, p as me, _ as fe } from "./index-DYT0k5Sg.js";
6
6
  import { clone as pe, max as _e } from "xe-utils";
7
7
  import ve from "vuedraggable";
8
8
  const ge = { class: "" }, he = { class: "w-full h-24" }, xe = { class: "" }, ye = { class: "h-24 w-24 flex justify-center items-center flex-col relative drag-item ut-menu-top-item" }, be = { class: "w-[90%] text-xs mt-2 text-ellipsis overflow-hidden whitespace-nowrap text-center" }, we = ["onClick"], ke = {
@@ -19,7 +19,7 @@ const ge = { class: "" }, he = { class: "w-full h-24" }, xe = { class: "" }, ye
19
19
  setup(G, { emit: h }) {
20
20
  const j = G, d = y([]), $ = y([]), b = y(!1), I = y(!1), r = y({}), L = async () => {
21
21
  $.value = await le.getItem(`U-${j.userName}-ROUTES`), $.value = $.value.filter((o) => o.menuCode !== "SysHome"), await ae(64), A();
22
- }, R = (o, s) => {
22
+ }, q = (o, s) => {
23
23
  var n;
24
24
  d.value.splice(s, 1);
25
25
  const t = (n = r.value[o.parentId]) == null ? void 0 : n.findIndex((_) => _ === o.menuId);
@@ -53,19 +53,19 @@ const ge = { class: "" }, he = { class: "w-full h-24" }, xe = { class: "" }, ye
53
53
  var o;
54
54
  return ((o = _e(d.value, (s) => s.seqNo)) == null ? void 0 : o.seqNo) || 0;
55
55
  }, T = () => {
56
- const o = d.value.map((s) => ({
56
+ const o = d.value.map((s, t) => ({
57
57
  userName: j.userName,
58
58
  menuId: s.menuId,
59
- seqNo: s.seqNo
59
+ seqNo: 10 * (t + 1)
60
60
  }));
61
61
  I.value = !0, W().post(Ee, o).then(() => {
62
- ce(), E(), z("success");
62
+ ce(), E(), R("success");
63
63
  }).finally(() => {
64
64
  I.value = !1;
65
65
  });
66
66
  }, E = () => {
67
- b.value = !1, z("close");
68
- }, q = (o) => ["#409eff", "#67c23a", "#13c2c2", "#e85f33", "orange"][o % 5], z = h;
67
+ b.value = !1, R("close");
68
+ }, z = (o) => ["#409eff", "#67c23a", "#13c2c2", "#e85f33", "orange"][o % 5], R = h;
69
69
  return K(() => {
70
70
  d.value = pe(j.dataSource, !0), b.value = !0, L();
71
71
  }), (o, s) => {
@@ -108,7 +108,7 @@ const ge = { class: "" }, he = { class: "w-full h-24" }, xe = { class: "" }, ye
108
108
  e("div", ye, [
109
109
  e("div", {
110
110
  class: "rounded-full w-10 h-10 flex items-center justify-center",
111
- style: Q({ backgroundColor: q(l) })
111
+ style: Q({ backgroundColor: z(l) })
112
112
  }, [
113
113
  c(n, {
114
114
  icon: m.icon || `ri:${o.icons[l]}-line`,
@@ -118,7 +118,7 @@ const ge = { class: "" }, he = { class: "w-full h-24" }, xe = { class: "" }, ye
118
118
  e("span", be, f(m.menuName), 1),
119
119
  e("i", {
120
120
  class: "ri-indeterminate-circle-line right-3 top-2 text-base hidden ut-menu-del",
121
- onClick: (u) => R(m, l)
121
+ onClick: (u) => q(m, l)
122
122
  }, null, 8, we)
123
123
  ])
124
124
  ])
@@ -230,7 +230,7 @@ const ge = { class: "" }, he = { class: "w-full h-24" }, xe = { class: "" }, ye
230
230
  }, 8, ["modelValue", "loading"]);
231
231
  };
232
232
  }
233
- }), qe = { class: "ut-home m-3" }, ze = { class: "h-32 mb-4 p-4 flex justify-between items-center bg-white home-page" }, Re = { class: "flex flex-row items-center flex-[2]" }, Ae = { class: "ml-4 text-xs flex-[2]" }, Fe = { class: "flex justify-center items-center" }, He = { class: "py-2 text-gray-500 flex" }, Te = { class: "w-2/3" }, Oe = { class: "text-gray-500 flex" }, Be = { class: "w-2/3" }, We = { class: "flex flex-col" }, Ge = { class: "text-4xl" }, Pe = { class: "mt-1 ml-3" }, Ye = { class: "default:bg-white dark:bg-black" }, Je = ["onClick"], Ke = { class: "h-20 flex justify-center items-center flex-col" }, Qe = { class: "text-xs mt-2" }, Xe = { class: "p-3" }, Ze = { class: "p-0 w-full h-full" }, et = { class: "flex" }, tt = { class: "ml-3" }, st = { class: "text-blue-600 mr-3" }, ot = { class: "text-gray-400 text-sm" }, nt = { class: "p-1" }, lt = /* @__PURE__ */ J({
233
+ }), ze = { class: "ut-home m-3" }, Re = { class: "h-32 mb-4 p-4 flex justify-between items-center bg-white home-page" }, qe = { class: "flex flex-row items-center flex-[2]" }, Ae = { class: "ml-4 text-xs flex-[2]" }, Fe = { class: "flex justify-center items-center" }, He = { class: "py-2 text-gray-500 flex" }, Te = { class: "w-2/3" }, Oe = { class: "text-gray-500 flex" }, Be = { class: "w-2/3" }, We = { class: "flex flex-col" }, Ge = { class: "text-4xl" }, Pe = { class: "mt-1 ml-3" }, Ye = { class: "default:bg-white dark:bg-black" }, Je = ["onClick"], Ke = { class: "h-20 flex justify-center items-center flex-col" }, Qe = { class: "text-xs mt-2" }, Xe = { class: "p-3" }, Ze = { class: "p-0 w-full h-full" }, et = { class: "flex" }, tt = { class: "ml-3" }, st = { class: "text-blue-600 mr-3" }, ot = { class: "text-gray-400 text-sm" }, nt = { class: "p-1" }, lt = /* @__PURE__ */ J({
234
234
  name: "UdpWelcome",
235
235
  __name: "su-welcome",
236
236
  setup(G) {
@@ -240,7 +240,7 @@ const ge = { class: "" }, he = { class: "w-full h-24" }, xe = { class: "" }, ye
240
240
  }), L = () => {
241
241
  var t, n;
242
242
  return h.isAdminRole ? "系统管理员" : (n = (t = h.getUserInfo) == null ? void 0 : t.sysRoles) == null ? void 0 : n.map((_) => _.roleName).join(",");
243
- }, R = () => {
243
+ }, q = () => {
244
244
  var t;
245
245
  return h.isAdminRole ? "【系统管理员】拥有所有组织" : L() === "项目组管理员" ? "【项目组管理员】拥有所有组织" : (t = h.getOrglist) == null ? void 0 : t.map((n) => n.orgName).join(",");
246
246
  }, V = () => {
@@ -272,7 +272,7 @@ const ge = { class: "" }, he = { class: "w-full h-24" }, xe = { class: "" }, ye
272
272
  K(() => {
273
273
  D(), H();
274
274
  });
275
- const E = (s) => ["#409eff", "#67c23a", "#13c2c2", "#e85f33", "orange"][s % 5], q = [
275
+ const E = (s) => ["#409eff", "#67c23a", "#13c2c2", "#e85f33", "orange"][s % 5], z = [
276
276
  "community",
277
277
  "shield-star",
278
278
  "group",
@@ -289,7 +289,7 @@ const ge = { class: "" }, he = { class: "w-full h-24" }, xe = { class: "" }, ye
289
289
  "tv",
290
290
  "database-2",
291
291
  "calendar"
292
- ], z = [
292
+ ], R = [
293
293
  {
294
294
  2023: { 12: { 30: "班", 31: "班" } }
295
295
  },
@@ -327,9 +327,9 @@ const ge = { class: "" }, he = { class: "w-full h-24" }, xe = { class: "" }, ye
327
327
  return (s, t) => {
328
328
  var x;
329
329
  const n = p("el-avatar"), _ = p("ut-flip-down"), M = p("el-empty"), S = p("iconify-icon-offline"), w = p("el-card"), U = p("el-col"), m = p("ut-calendar"), l = p("el-row"), u = ee("spinning");
330
- return a(), v("div", qe, [
331
- e("div", ze, [
332
- e("div", Re, [
330
+ return a(), v("div", ze, [
331
+ e("div", Re, [
332
+ e("div", qe, [
333
333
  e("div", null, [
334
334
  c(n, {
335
335
  size: "large",
@@ -355,7 +355,7 @@ const ge = { class: "" }, he = { class: "w-full h-24" }, xe = { class: "" }, ye
355
355
  ]),
356
356
  e("div", Oe, [
357
357
  t[3] || (t[3] = e("span", { class: "inline-block" }, " 所属组织: ", -1)),
358
- e("div", Be, f(R()), 1)
358
+ e("div", Be, f(q()), 1)
359
359
  ])
360
360
  ])
361
361
  ]),
@@ -415,7 +415,7 @@ const ge = { class: "" }, he = { class: "w-full h-24" }, xe = { class: "" }, ye
415
415
  style: Q({ backgroundColor: E(P) })
416
416
  }, [
417
417
  c(S, {
418
- icon: g.icon || `ri:${q[P]}-line`,
418
+ icon: g.icon || `ri:${z[P]}-line`,
419
419
  class: "text-2xl text-white"
420
420
  }, null, 8, ["icon"])
421
421
  ], 4),
@@ -494,7 +494,7 @@ const ge = { class: "" }, he = { class: "w-full h-24" }, xe = { class: "" }, ye
494
494
  default: i(() => [
495
495
  e("div", nt, [
496
496
  c(m, {
497
- holidays: z,
497
+ holidays: R,
498
498
  "statutory-holiday": o
499
499
  })
500
500
  ])
@@ -511,7 +511,7 @@ const ge = { class: "" }, he = { class: "w-full h-24" }, xe = { class: "" }, ye
511
511
  key: 0,
512
512
  "data-source": d.value,
513
513
  "user-name": B(h).getUserInfo.userName,
514
- icons: q,
514
+ icons: z,
515
515
  onClose: t[0] || (t[0] = (g) => b.value = !1),
516
516
  onSuccess: D
517
517
  }, null, 8, ["data-source", "user-name"])) : O("", !0)
@@ -3,7 +3,7 @@ import { useI18n as Q } from "vue-i18n";
3
3
  import { t as S } from "./await-to-js.es5-BtRbN2QH.js";
4
4
  import { cookies as E, successMessage as W, warnMessage as X } from "@utogether/utils";
5
5
  import { isArray as Z } from "xe-utils";
6
- import { G as ee, o as te, p as z, y as le } from "./index-C3q8HoJM.js";
6
+ import { G as ee, o as te, p as z, y as le } from "./index-DYT0k5Sg.js";
7
7
  const ae = { class: "flex flex-col items-center pt-20 bg-white u-system-config" }, oe = { class: "flex w-1/2 p-3 overflow-y-auto border border-gray-300 rounded-md" }, se = { class: "flex items-center" }, ne = { class: "pl-2 text-xs" }, ie = { class: "pl-2" }, ue = { class: "pl-2" }, re = { class: "flex items-center" }, pe = { class: "pl-2 text-xs" }, de = { class: "pl-2" }, me = { class: "flex items-center" }, ce = { class: "pl-2 text-xs" }, ge = { class: "flex justify-end w-1/2 p-2" }, j = "/upfm/v1/sysConfig", Ce = /* @__PURE__ */ q({
8
8
  __name: "sys-config",
9
9
  setup(fe) {