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

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 (124) hide show
  1. package/dist/{403-DASI6Pwz.js → 403-DjXGcxpa.js} +3 -3
  2. package/dist/{404-YhBA92cb.js → 404-B_MSn6FQ.js} +1 -1
  3. package/dist/{500-ywbFF5MX.js → 500-CtI21E9g.js} +2 -2
  4. package/dist/{AuthorityInfo-tCSX2Fh7.js → AuthorityInfo-CYhRUS8K.js} +1 -1
  5. package/dist/{AuthorityInfo.vue_vue_type_style_index_0_lang-Cwd6UT2i.js → AuthorityInfo.vue_vue_type_style_index_0_lang-BY8hkJ2R.js} +2 -2
  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-BVH3Zyy0.js} +3 -3
  9. package/dist/{CompanyPanel-D_s0rh6h.js → CompanyPanel-BKx3WVgS.js} +1 -1
  10. package/dist/{Department-DSEvORLg.js → Department-BZcr0_eu.js} +3 -3
  11. package/dist/{DepartmentPanel-WN8nOgCV.js → DepartmentPanel-BZNV3WaF.js} +3 -3
  12. package/dist/{DesignPanel-DirEGh9M.js → DesignPanel-7gr0Fljt.js} +1 -1
  13. package/dist/{DesignPanel.vue_vue_type_style_index_0_lang-D02hXSrN.js → DesignPanel.vue_vue_type_style_index_0_lang-By9HKa8W.js} +3 -3
  14. package/dist/{DictView-DiIQdiek.js → DictView-B0dRdinW.js} +20 -19
  15. package/dist/{InvOrganization-b7v3g9EJ.js → InvOrganization-CwTNjj-a.js} +2 -2
  16. package/dist/{Org-BORfx1PL.js → Org-D59oQ0VY.js} +2 -2
  17. package/dist/{Preview-DkRn_TSc.js → Preview-sbZrWUWr.js} +1 -1
  18. package/dist/{ReportDefine-Cd0QeaWA.js → ReportDefine-C7CZ6RSh.js} +1 -1
  19. package/dist/{ReportDesign-4qNqyeEW.js → ReportDesign-CuevdD_6.js} +3 -3
  20. package/dist/{ReportQuery-BJfTFpec.js → ReportQuery-BndhM0Ji.js} +1 -1
  21. package/dist/{ReportQueryFrom-CB7sExZx.js → ReportQueryFrom-n2k7BNX9.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-CFtXbzOb.js} +1 -1
  23. package/dist/{ReportTemplate-B69muSgT.js → ReportTemplate-43Rx_knT.js} +1 -1
  24. package/dist/{Role-Bo4YrNDC.js → Role-BS2QH_H8.js} +3 -3
  25. package/dist/{RoleAssign-kOMYJ4s3.js → RoleAssign-C6wMcgfW.js} +3 -3
  26. package/dist/{RolePanel-BSJmjyqc.js → RolePanel-BwyuGmJw.js} +1 -1
  27. package/dist/{RolePanel-B1d4e6uk.js → RolePanel-DJop6xpJ.js} +1 -1
  28. package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-DgQpfjaU.js → RolePanel.vue_vue_type_script_setup_true_lang-CSkU6fAb.js} +3 -3
  29. package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-DCzX-ZP_.js → RolePanel.vue_vue_type_script_setup_true_lang-Cf0BCtgL.js} +2 -2
  30. package/dist/{ScrollPanel.vue_vue_type_style_index_0_lang-WNOYFxJ1.js → ScrollPanel.vue_vue_type_style_index_0_lang-BZY0JkpB.js} +32 -31
  31. package/dist/Staff-DI6eAVQs.js +26 -0
  32. package/dist/{StaffInfo-DcU9_40C.js → StaffInfo-BQhMyQ7u.js} +1 -1
  33. package/dist/{StaffInfo.vue_vue_type_script_setup_true_lang-CtfN2CAr.js → StaffInfo.vue_vue_type_script_setup_true_lang-D79C6rw0.js} +9 -9
  34. package/dist/{StaffPanel-7exWkZd9.js → StaffPanel-By5elrj9.js} +1 -1
  35. package/dist/StaffPanel.vue_vue_type_script_setup_true_lang-DtbIZdcq.js +154 -0
  36. package/dist/{SysUser-B3uB_cp2.js → SysUser-DNYitHEW.js} +2 -2
  37. package/dist/{SysUserPanel-B0CLp5AO.js → SysUserPanel-_WDSXjfT.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-BFhIa5Gs.js} +126 -111
  39. package/dist/{SystemMenu-a59l4hTk.js → SystemMenu-C_H0bTA7.js} +52 -49
  40. package/dist/{UserInfo-D1IA2oLt.js → UserInfo-Bx25xdkh.js} +1 -1
  41. package/dist/{UserInfo.vue_vue_type_style_index_0_lang-DDVgYRD5.js → UserInfo.vue_vue_type_style_index_0_lang-B6FE4Epn.js} +2 -2
  42. package/dist/await-to-js.es5-Bv3Eu4mi.js +10 -0
  43. package/dist/{childView-6rCeLcsx.js → childView-CiKCAXKS.js} +1 -1
  44. package/dist/{childView-JdrkroL5.js → childView-WAzRvHLp.js} +1 -1
  45. package/dist/{childView.vue_vue_type_style_index_0_lang-B8x99f1B.js → childView.vue_vue_type_style_index_0_lang-3n_-DrRj.js} +2 -2
  46. package/dist/{childView.vue_vue_type_style_index_0_lang-BfcnWnx9.js → childView.vue_vue_type_style_index_0_lang-Bz4630fS.js} +26 -20
  47. package/dist/{code-rule-2lkPF547.js → code-rule-BehFVVOx.js} +2 -2
  48. package/dist/core.es.js +1 -1
  49. package/dist/{cron-task-DV1pGO1m.js → cron-task-C0-R_b64.js} +2 -2
  50. package/dist/{frameView-C0bzSB8c.js → frameView-4E2U2LM3.js} +1 -1
  51. package/dist/index-BvU3LB8R.js +7275 -0
  52. package/dist/layout-home-DJywZo1E.js +232 -0
  53. package/dist/{layoutView-CTV-E4Cj.js → layoutView-JGsVdXXu.js} +148 -149
  54. package/dist/{log-in-CoBP2x6u.js → log-in-l4FpOtBL.js} +2 -2
  55. package/dist/{log-out-KX8FiRVf.js → log-out-Cij2dkih.js} +2 -2
  56. package/dist/{login-CtCoGWzD.js → login-D4hfm7ZW.js} +124 -134
  57. package/dist/{login-log-DJBGJVV0.js → login-log-BEHYT0v0.js} +5 -5
  58. package/dist/{lov-view-Bm0JEzzg.js → lov-view-CpJedb5y.js} +3 -3
  59. package/dist/{menuInfo-D2qPoRwz.js → menuInfo-ClhT8lVG.js} +1 -1
  60. package/dist/{menuInfo.vue_vue_type_style_index_0_lang-DoQjX9Ly.js → menuInfo.vue_vue_type_style_index_0_lang-VuKVlyhc.js} +38 -36
  61. package/dist/{pda-app-SbcIclbH.js → pda-app-D_w1bNyU.js} +2 -2
  62. package/dist/{resource-Cdq1UKGI.js → resource-BxTwBnU4.js} +1 -1
  63. package/dist/su-welcome-BLNjs5WE.js +42181 -0
  64. package/dist/{sys-config-CCOf4xbj.js → sys-config-C0RJg9l1.js} +2 -2
  65. package/dist/udp-core.css +1 -1
  66. package/package.json +5 -2
  67. package/src/App.vue +37 -31
  68. package/src/components/SuScrollTree/ScrollPanel.vue +176 -170
  69. package/src/components/udp/content/index.vue +88 -88
  70. package/src/components/udp/form-upload/form-upload.vue +496 -0
  71. package/src/components/udp/grid/index.vue +524 -524
  72. package/src/components/udp/index.ts +6 -5
  73. package/src/components/udp/ut-stamp-badge/index.vue +271 -271
  74. package/src/components/udp/utils.ts +8 -2
  75. package/src/layout/components/lay-content/index.vue +4 -11
  76. package/src/layout/components/lay-search/components/SearchModal.vue +181 -189
  77. package/src/layout/components/lay-setting/index.vue +503 -503
  78. package/src/layout/components/lay-sidebar/sidebar-logo.vue +101 -101
  79. package/src/layout/components/lay-tag/index.vue +598 -598
  80. package/src/layout/hooks/useNav.ts +176 -176
  81. package/src/layout/hooks/useTag.ts +227 -227
  82. package/src/layout/layoutView.vue +216 -215
  83. package/src/layout/types.ts +93 -93
  84. package/src/main.ts +111 -115
  85. package/src/plugins/i18n/zh.ts +19 -3
  86. package/src/plugins/vxe-table/render.tsx +60 -15
  87. package/src/router/index.ts +187 -187
  88. package/src/router/modules/home.ts +32 -32
  89. package/src/router/utils.ts +420 -420
  90. package/src/store/modules/epTheme.ts +48 -48
  91. package/src/style/vxetable.scss +18 -2
  92. package/src/utils/dataFormat/index.ts +222 -222
  93. package/src/utils/lifecycle.ts +39 -39
  94. package/src/views/organization/department/DepartmentPanel.vue +303 -303
  95. package/src/views/organization/staff/Staff.vue +59 -58
  96. package/src/views/organization/staff/StaffInfo.vue +3 -2
  97. package/src/views/organization/staff/StaffPanel.vue +13 -1
  98. package/src/views/system/layout/layout-home.vue +238 -0
  99. package/src/views/system/menu/AuthorityPanel.vue +10 -9
  100. package/src/views/system/menu/SystemMenu.vue +194 -185
  101. package/src/views/system/menu/menuInfo.vue +384 -384
  102. package/src/views/system/sysUser/SysUserPanel.vue +363 -347
  103. package/src/views/udev/coderule/code-rule.vue +132 -132
  104. package/src/views/udev/dict/DictView.vue +4 -4
  105. package/src/views/udev/dict/childView.vue +6 -4
  106. package/src/views/udev/lov/childView.vue +174 -174
  107. package/src/views/ufile/aggregation/File.vue +85 -87
  108. package/src/views/uhome/components/common-menu.vue +118 -0
  109. package/src/views/uhome/components/dynamic-component.vue +66 -0
  110. package/src/views/uhome/components/home-todo.vue +175 -0
  111. package/src/views/uhome/components/menu-favorite.vue +315 -315
  112. package/src/views/uhome/dynamic-card.vue +31 -0
  113. package/src/views/uhome/su-welcome.vue +47 -114
  114. package/src/views/ulogin/login.vue +336 -325
  115. package/src/views/upms/interface/log-in.vue +100 -100
  116. package/src/views/upms/interface/log-out.vue +104 -104
  117. package/src/views/upms/user/login-log.vue +54 -54
  118. package/types/global.d.ts +232 -231
  119. package/vite.config.ts +83 -84
  120. package/dist/Staff-BFp3zNNR.js +0 -25
  121. package/dist/StaffPanel.vue_vue_type_script_setup_true_lang-v5xOXKRS.js +0 -143
  122. package/dist/await-to-js.es5-BtRbN2QH.js +0 -10
  123. package/dist/index-BbtbEMCH.js +0 -4649
  124. package/dist/su-welcome-BHDsjqqV.js +0 -524
@@ -1,6 +1,6 @@
1
1
  import { createElementBlock as l, openBlock as a, createStaticVNode as m, defineComponent as r, resolveComponent as F, resolveDirective as n, createVNode as f, createElementVNode as M, unref as B, withDirectives as h, createTextVNode as e, createBlock as k, withCtx as u } from "vue";
2
2
  import { useRouter as y, useRoute as v } from "vue-router";
3
- import { H as C } from "./index-BbtbEMCH.js";
3
+ import { J as C } from "./index-BvU3LB8R.js";
4
4
  const E = {
5
5
  width: "251",
6
6
  height: "294"
@@ -21,7 +21,7 @@ const A = { render: _ }, D = {
21
21
  class: "mb-4 text-gray-500",
22
22
  initial: { opacity: 0, y: 100 },
23
23
  enter: { opacity: 1, y: 0, transition: { delay: 300 } }
24
- }, H = /* @__PURE__ */ r({
24
+ }, R = /* @__PURE__ */ r({
25
25
  __name: "403",
26
26
  setup(c) {
27
27
  const s = y(), i = v(), o = () => {
@@ -61,5 +61,5 @@ const A = { render: _ }, D = {
61
61
  }
62
62
  });
63
63
  export {
64
- H as default
64
+ R as default
65
65
  };
@@ -1,6 +1,6 @@
1
1
  import { createElementBlock as l, openBlock as a, createStaticVNode as m, defineComponent as r, resolveComponent as n, resolveDirective as F, createVNode as f, createElementVNode as M, unref as v, withDirectives as p, createTextVNode as e, createBlock as B, withCtx as D } from "vue";
2
2
  import { useRouter as k, useRoute as u } from "vue-router";
3
- import { H as C } from "./index-BbtbEMCH.js";
3
+ import { J as C } from "./index-BvU3LB8R.js";
4
4
  const y = {
5
5
  width: "252",
6
6
  height: "294"
@@ -1,6 +1,6 @@
1
1
  import { createElementBlock as s, openBlock as a, createStaticVNode as o, defineComponent as r, resolveComponent as F, resolveDirective as f, createVNode as n, createElementVNode as M, unref as k, withDirectives as p, createTextVNode as e, createBlock as v, withCtx as B } from "vue";
2
2
  import { useRouter as u, useRoute as C } from "vue-router";
3
- import { H as D } from "./index-BbtbEMCH.js";
3
+ import { J as D } from "./index-BvU3LB8R.js";
4
4
  const y = {
5
5
  width: "254",
6
6
  height: "294"
@@ -27,7 +27,7 @@ const E = { render: A }, _ = {
27
27
  const h = u(), i = C(), d = () => {
28
28
  D(i, !1), h.push("/");
29
29
  };
30
- return (H, t) => {
30
+ return (b, t) => {
31
31
  const m = F("el-button"), l = f("motion");
32
32
  return a(), s("div", _, [
33
33
  n(k(E)),
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./AuthorityInfo.vue_vue_type_style_index_0_lang-Cwd6UT2i.js";
1
+ import { _ as f } from "./AuthorityInfo.vue_vue_type_style_index_0_lang-BY8hkJ2R.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as N, ref as f, reactive as B, onBeforeMount as M, resolveComponent as n, resolveDirective as A, createElementBlock as p, openBlock as _, createVNode as t, withCtx as r, withDirectives as D, createElementVNode as K } from "vue";
2
- import { y as c } from "./index-BbtbEMCH.js";
3
- import { t as S } from "./await-to-js.es5-BtRbN2QH.js";
2
+ import { y as c } from "./index-BvU3LB8R.js";
3
+ import { t as S } from "./await-to-js.es5-Bv3Eu4mi.js";
4
4
  const E = { class: "config" }, I = { style: { position: "relative", height: "100%" } }, H = /* @__PURE__ */ N({
5
5
  __name: "AuthorityInfo",
6
6
  props: {
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./AuthorityPanel.vue_vue_type_style_index_0_lang-CIYmnP9-.js";
1
+ import { _ as f } from "./AuthorityPanel.vue_vue_type_style_index_0_lang-DxhZjp1S.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,8 +1,8 @@
1
- import { defineComponent as h, watch as _, ref as v, createVNode as d, resolveComponent as l, createElementBlock as y, openBlock as g, withCtx as w, createTextVNode as I } from "vue";
1
+ import { defineComponent as h, watch as _, ref as v, createVNode as s, resolveComponent as l, createElementBlock as y, openBlock as g, withCtx as I, createTextVNode as w } from "vue";
2
2
  import { useRender as N } from "@utogether/utils";
3
3
  const x = {
4
4
  class: "u-dict-config_wrapper"
5
- }, R = /* @__PURE__ */ h({
5
+ }, B = /* @__PURE__ */ h({
6
6
  __name: "AuthorityPanel",
7
7
  props: {
8
8
  record: {
@@ -17,11 +17,11 @@ const x = {
17
17
  setup(a, {
18
18
  emit: u
19
19
  }) {
20
- const s = a;
21
- _(() => s.show, () => {
22
- n.value = s.show && p();
20
+ const i = a;
21
+ _(() => i.show, () => {
22
+ r.value = i.show && c();
23
23
  });
24
- const n = v(""), i = N(), c = [{
24
+ const r = v(""), n = N(), p = [{
25
25
  type: "checkbox",
26
26
  width: 50,
27
27
  align: "center"
@@ -29,55 +29,59 @@ const x = {
29
29
  field: "menuName",
30
30
  title: "message.permissionName",
31
31
  required: !0,
32
- editRender: i.renderInput()
32
+ editRender: n.renderInput()
33
33
  }, {
34
34
  field: "permissionCode",
35
35
  required: !0,
36
- minWidth: 200,
37
- editRender: i.renderInput(),
36
+ minWidth: 180,
37
+ editRender: n.renderInput(),
38
38
  slots: {
39
39
  edit: ({
40
40
  row: e
41
41
  }) => {
42
42
  var t;
43
- const r = {
44
- prefix: () => d("span", null, [n.value, I(".")])
43
+ const d = {
44
+ prefix: () => s("span", null, [r.value, w(".")])
45
45
  };
46
- return e.dispalyCode = (t = e.permissionCode) == null ? void 0 : t.replace(`${n.value}.`, ""), [d(l("vxe-input"), {
46
+ return e.dispalyCode = (t = e.permissionCode) == null ? void 0 : t.replace(`${r.value}.`, ""), [s(l("vxe-input"), {
47
47
  modelValue: e.dispalyCode,
48
48
  "onUpdate:modelValue": (o) => e.dispalyCode = o,
49
49
  className: "ut-slot-input",
50
50
  onInput: () => m(e)
51
- }, r)];
51
+ }, d)];
52
52
  }
53
53
  }
54
+ }, {
55
+ field: "remark",
56
+ title: "message.udp.description",
57
+ editRender: n.renderInput()
54
58
  }, {
55
59
  field: "enabled",
56
60
  title: "message.enabled",
57
61
  width: 90,
58
- editRender: i.renderDict({
62
+ editRender: n.renderDict({
59
63
  code: "SU.ENABLE",
60
64
  defaultValue: "1"
61
65
  }),
62
66
  formatter: ["formatDict", "SU.ENABLE"]
63
- }], p = () => {
67
+ }], c = () => {
64
68
  const {
65
69
  record: e
66
- } = s, {
67
- id: r,
70
+ } = i, {
71
+ id: d,
68
72
  parentId: t,
69
73
  hasChildren: o
70
74
  } = e;
71
- return !r && !t ? "su" : (o && (e.dispalyCode = ""), e.permissionCode);
75
+ return !d && !t ? "su" : (o && (e.dispalyCode = ""), e.permissionCode);
72
76
  }, m = (e) => {
73
- e.permissionCode = `${n.value}.${e.dispalyCode}`;
77
+ e.permissionCode = `${r.value}.${e.dispalyCode}`;
74
78
  }, f = u;
75
79
  function C() {
76
80
  f("close");
77
81
  }
78
- return (e, r) => {
82
+ return (e, d) => {
79
83
  const t = l("ut-grid"), o = l("el-drawer");
80
- return g(), y("div", x, [d(o, {
84
+ return g(), y("div", x, [s(o, {
81
85
  "model-value": e.show,
82
86
  "before-close": C,
83
87
  title: "权限明细",
@@ -85,9 +89,9 @@ const x = {
85
89
  "destroy-on-close": "",
86
90
  size: "66%"
87
91
  }, {
88
- default: w(() => [d(t, {
92
+ default: I(() => [s(t, {
89
93
  ref: "SuGridRef",
90
- columns: c,
94
+ columns: p,
91
95
  url: "/uums/menu",
92
96
  "default-params": {
93
97
  parentId: e.record.id
@@ -95,6 +99,9 @@ const x = {
95
99
  "default-value": {
96
100
  parentId: e.record.id,
97
101
  menuType: 1
102
+ },
103
+ "pager-config": {
104
+ layouts: []
98
105
  }
99
106
  }, null, 8, ["default-params", "default-value"])]),
100
107
  _: 1
@@ -103,5 +110,5 @@ const x = {
103
110
  }
104
111
  });
105
112
  export {
106
- R as _
113
+ B as _
107
114
  };
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as r, ref as e, provide as t, createElementBlock as i, openBlock as _, createElementVNode as o, createVNode as n } from "vue";
2
- import { _ as m } from "./ScrollPanel.vue_vue_type_style_index_0_lang-WNOYFxJ1.js";
3
- import p from "./CompanyPanel-D_s0rh6h.js";
4
- import { _ as d } from "./index-BbtbEMCH.js";
2
+ import { _ as m } from "./ScrollPanel.vue_vue_type_style_index_0_lang-BZY0JkpB.js";
3
+ import p from "./CompanyPanel-BKx3WVgS.js";
4
+ import { _ as d } from "./index-BvU3LB8R.js";
5
5
  const f = { class: "u-content-panel" }, u = { class: "u-left-panel" }, h = { class: "content" }, v = /* @__PURE__ */ r({
6
6
  __name: "Company",
7
7
  setup(C) {
@@ -4,7 +4,7 @@ import { VxeUI as U } from "vxe-table";
4
4
  import { templateRef as R } from "@vueuse/core";
5
5
  import { clone as z } from "xe-utils";
6
6
  import { warnMessage as G, successMessage as H } from "@utogether/utils";
7
- import { y as J, _ as K } from "./index-BbtbEMCH.js";
7
+ import { y as J, _ as K } from "./index-BvU3LB8R.js";
8
8
  const O = { class: "page-content" }, _ = "/uums/unit", Q = /* @__PURE__ */ V({
9
9
  __name: "CompanyPanel",
10
10
  setup(W) {
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as l, ref as e, provide as t, createElementBlock as i, openBlock as m, createElementVNode as n, createVNode as a } from "vue";
2
- import { _ as p } from "./ScrollPanel.vue_vue_type_style_index_0_lang-WNOYFxJ1.js";
3
- import _ from "./DepartmentPanel-WN8nOgCV.js";
4
- import { _ as d } from "./index-BbtbEMCH.js";
2
+ import { _ as p } from "./ScrollPanel.vue_vue_type_style_index_0_lang-BZY0JkpB.js";
3
+ import _ from "./DepartmentPanel-BZNV3WaF.js";
4
+ import { _ as d } from "./index-BvU3LB8R.js";
5
5
  const f = { class: "u-content-panel" }, u = { class: "u-left-panel" }, h = { class: "content" }, v = /* @__PURE__ */ l({
6
6
  __name: "Department",
7
7
  setup(D) {
@@ -2,10 +2,10 @@ import { defineComponent as U, reactive as O, inject as $, watch as R, resolveCo
2
2
  import { useI18n as J } from "vue-i18n";
3
3
  import { templateRef as K } from "@vueuse/core";
4
4
  import { clone as Q } from "xe-utils";
5
- import { t as k } from "./await-to-js.es5-BtRbN2QH.js";
5
+ import { t as k } from "./await-to-js.es5-Bv3Eu4mi.js";
6
6
  import { VxeUI as T } from "vxe-table";
7
7
  import { warnMessage as W, successMessage as X } from "@utogether/utils";
8
- import { i as Z, E as b, y as ee, _ as te } from "./index-BbtbEMCH.js";
8
+ import { i as Z, E as b, y as ee, _ as te } from "./index-BvU3LB8R.js";
9
9
  const ae = { class: "page-content" }, C = "/uums/department", ne = /* @__PURE__ */ U({
10
10
  __name: "DepartmentPanel",
11
11
  setup(se) {
@@ -248,7 +248,7 @@ const ae = { class: "page-content" }, C = "/uums/department", ne = /* @__PURE__
248
248
  ]);
249
249
  };
250
250
  }
251
- }), ue = /* @__PURE__ */ te(ne, [["__scopeId", "data-v-fd45e915"]]);
251
+ }), ue = /* @__PURE__ */ te(ne, [["__scopeId", "data-v-7c92a83d"]]);
252
252
  export {
253
253
  ue as default
254
254
  };
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./DesignPanel.vue_vue_type_style_index_0_lang-D02hXSrN.js";
1
+ import { _ as f } from "./DesignPanel.vue_vue_type_style_index_0_lang-By9HKa8W.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,10 +1,10 @@
1
1
  import { defineComponent as it, ref as f, reactive as M, onMounted as ot, onBeforeUnmount as nt, resolveComponent as r, resolveDirective as pt, withDirectives as at, createElementBlock as N, openBlock as w, createVNode as l, createBlock as S, createCommentVNode as H, withCtx as i, createElementVNode as e, Fragment as rt, renderList as st, unref as dt, toDisplayString as D, withModifiers as ct, createTextVNode as U, nextTick as ht } from "vue";
2
2
  import { VxeUI as O } from "vxe-pc-ui";
3
3
  import { useGlobal as ut } from "@utogether/utils";
4
- import { t as mt } from "./await-to-js.es5-BtRbN2QH.js";
4
+ import { t as mt } from "./await-to-js.es5-Bv3Eu4mi.js";
5
5
  import { clone as ft } from "xe-utils";
6
- import { i as gt, y as yt } from "./index-BbtbEMCH.js";
7
- import vt from "./Preview-DkRn_TSc.js";
6
+ import { i as gt, y as yt } from "./index-BvU3LB8R.js";
7
+ import vt from "./Preview-sbZrWUWr.js";
8
8
  const xt = {
9
9
  panels: [
10
10
  {
@@ -1,12 +1,12 @@
1
- import { defineComponent as v, ref as i, createVNode as c, resolveComponent as l, nextTick as g, createElementBlock as C, openBlock as s, createBlock as k, createCommentVNode as D } from "vue";
2
- import { _ as T } from "./childView.vue_vue_type_style_index_0_lang-BfcnWnx9.js";
1
+ import { defineComponent as v, ref as n, createVNode as l, resolveComponent as s, nextTick as g, createElementBlock as C, openBlock as u, createBlock as D, createCommentVNode as T } from "vue";
2
+ import { _ as k } from "./childView.vue_vue_type_style_index_0_lang-Bz4630fS.js";
3
3
  import { useRender as E } from "@utogether/utils";
4
4
  const y = {
5
5
  name: "DictView"
6
- }, R = /* @__PURE__ */ v({
6
+ }, w = /* @__PURE__ */ v({
7
7
  ...y,
8
8
  setup(N) {
9
- const o = i(null), u = [{
9
+ const o = n(null), a = [{
10
10
  field: "dictCode",
11
11
  title: "message.udp.dictCode"
12
12
  }, {
@@ -16,7 +16,7 @@ const y = {
16
16
  field: "dictType",
17
17
  title: "message.udp.dictType",
18
18
  code: "SU.DICT.TYPE"
19
- }], t = E(), a = [
19
+ }], t = E(), c = [
20
20
  {
21
21
  type: "checkbox",
22
22
  width: 40,
@@ -48,12 +48,12 @@ const y = {
48
48
  },
49
49
  {
50
50
  field: "dictDesc",
51
- title: "message.remark",
51
+ title: "message.udp.dictDesc",
52
52
  editRender: t.renderInput()
53
53
  },
54
54
  {
55
55
  field: "enabled",
56
- width: 90,
56
+ width: 110,
57
57
  editRender: t.renderDict({
58
58
  code: "SU.ENABLE",
59
59
  defaultValue: "1"
@@ -66,17 +66,17 @@ const y = {
66
66
  slots: {
67
67
  default: ({
68
68
  row: e
69
- }) => e.id ? [c(l("ut-button"), {
69
+ }) => e.id ? [l(s("ut-button"), {
70
70
  content: "lov",
71
71
  icon: "ri-dice-6-line",
72
72
  onClick: () => m(e)
73
73
  }, null)] : null
74
74
  }
75
75
  }
76
- ], d = i(!1), r = i(null), m = (e) => {
76
+ ], d = n(!1), r = n(null), m = (e) => {
77
77
  g(() => {
78
- var n;
79
- d.value = !0, r.value = e, r.value.total = (n = e.children) == null ? void 0 : n.length;
78
+ var i;
79
+ d.value = !0, r.value = e, r.value.total = (i = e.children) == null ? void 0 : i.length;
80
80
  });
81
81
  }, f = () => {
82
82
  o.value.refreshData(), d.value = !1;
@@ -84,27 +84,28 @@ const y = {
84
84
  editActived({
85
85
  row: e
86
86
  }) {
87
+ c[1].editRender.props.disabled = !!e.id;
87
88
  }
88
89
  }, h = (e) => e.dictType !== "0";
89
- return (e, n) => {
90
- const _ = l("ut-grid");
91
- return s(), C("div", null, [c(_, {
90
+ return (e, i) => {
91
+ const _ = s("ut-grid");
92
+ return u(), C("div", null, [l(_, {
92
93
  ref_key: "xgrid",
93
94
  ref: o,
94
- items: u,
95
- columns: a,
95
+ items: a,
96
+ columns: c,
96
97
  "check-method": h,
97
98
  events: p,
98
99
  url: "/upfm/v1/lov"
99
- }, null, 512), d.value ? (s(), k(T, {
100
+ }, null, 512), d.value ? (u(), D(k, {
100
101
  key: 0,
101
102
  show: d.value,
102
103
  record: r.value,
103
104
  onOnClose: f
104
- }, null, 8, ["show", "record"])) : D("", !0)]);
105
+ }, null, 8, ["show", "record"])) : T("", !0)]);
105
106
  };
106
107
  }
107
108
  });
108
109
  export {
109
- R as default
110
+ w as default
110
111
  };
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as u, ref as m, reactive as c, resolveComponent as g, createBlock as p, openBlock as f } from "vue";
2
- import { t as _ } from "./await-to-js.es5-BtRbN2QH.js";
2
+ import { t as _ } from "./await-to-js.es5-Bv3Eu4mi.js";
3
3
  import { useRender as z } from "@utogether/utils";
4
- import { y as h } from "./index-BbtbEMCH.js";
4
+ import { y as h } from "./index-BvU3LB8R.js";
5
5
  const C = {
6
6
  name: "InvOrganization"
7
7
  }, x = /* @__PURE__ */ u({
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as a, ref as m, resolveComponent as u, createBlock as c, openBlock as g } from "vue";
2
- import { t as p } from "./await-to-js.es5-BtRbN2QH.js";
2
+ import { t as p } from "./await-to-js.es5-Bv3Eu4mi.js";
3
3
  import { clone as f } from "xe-utils";
4
4
  import { useRender as _ } from "@utogether/utils";
5
- import { y as h } from "./index-BbtbEMCH.js";
5
+ import { y as h } from "./index-BvU3LB8R.js";
6
6
  const C = { name: "OrgUnit" }, N = /* @__PURE__ */ a({
7
7
  ...C,
8
8
  setup(k) {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as w, ref as o, resolveComponent as u, createElementBlock as h, openBlock as x, createVNode as c, withCtx as p, createElementVNode as g, nextTick as V } from "vue";
2
- import { _ as k } from "./index-BbtbEMCH.js";
2
+ import { _ as k } from "./index-BvU3LB8R.js";
3
3
  const P = { class: "ut-preview-contain" }, C = /* @__PURE__ */ w({
4
4
  __name: "Preview",
5
5
  setup(T, { expose: d }) {
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as e, openBlock as r } from "vue";
2
- import { _ as o } from "./index-BbtbEMCH.js";
2
+ import { _ as o } from "./index-BvU3LB8R.js";
3
3
  const t = {};
4
4
  function c(n, _) {
5
5
  return r(), e("div");
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as I, ref as s, createVNode as r, Fragment as b, resolveComponent as a, nextTick as q, createElementBlock as x, openBlock as u, withDirectives as w, createBlock as m, createCommentVNode as c, vShow as E } from "vue";
2
2
  import { useRender as S, successMessage as $ } from "@utogether/utils";
3
3
  import { useClipboard as V } from "@vueuse/core";
4
- import { t as B } from "./await-to-js.es5-BtRbN2QH.js";
5
- import { _ as M } from "./DesignPanel.vue_vue_type_style_index_0_lang-D02hXSrN.js";
6
- import { y as U } from "./index-BbtbEMCH.js";
4
+ import { t as B } from "./await-to-js.es5-Bv3Eu4mi.js";
5
+ import { _ as M } from "./DesignPanel.vue_vue_type_style_index_0_lang-By9HKa8W.js";
6
+ import { y as U } from "./index-BvU3LB8R.js";
7
7
  const f = "/urpt/v1/printTemplate", K = /* @__PURE__ */ I({
8
8
  name: "ReportDesign",
9
9
  __name: "ReportDesign",
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as m, reactive as c, watch as f, ref as p, onMounted as u, resolveComponent as h, createElementBlock as _, openBlock as r, withDirectives as w, createBlock as x, createCommentVNode as D, createVNode as R, vShow as C } from "vue";
2
2
  import { useRoute as S } from "vue-router";
3
- import { _ as g } from "./ReportQueryFrom.vue_vue_type_style_index_0_lang-CqO_2Ier.js";
3
+ import { _ as g } from "./ReportQueryFrom.vue_vue_type_style_index_0_lang-CFtXbzOb.js";
4
4
  import { useRender as N } from "@utogether/utils";
5
5
  const T = { name: "ReportQuery" }, O = /* @__PURE__ */ m({
6
6
  ...T,
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./ReportQueryFrom.vue_vue_type_style_index_0_lang-CqO_2Ier.js";
1
+ import { _ as f } from "./ReportQueryFrom.vue_vue_type_style_index_0_lang-CFtXbzOb.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -3,7 +3,7 @@ import { useI18n as z } from "vue-i18n";
3
3
  import { clone as A } from "xe-utils";
4
4
  import { useRoute as J } from "vue-router";
5
5
  import { templateRef as O } from "@vueuse/core";
6
- import { y as V } from "./index-BbtbEMCH.js";
6
+ import { y as V } from "./index-BvU3LB8R.js";
7
7
  import { useRender as Y } from "@utogether/utils";
8
8
  const H = { class: "ut-drawer-template" }, M = { class: "flex" }, te = /* @__PURE__ */ T({
9
9
  __name: "ReportQueryFrom",
@@ -2,7 +2,7 @@ import { defineComponent as E, ref as r, createVNode as p, Fragment as S, resolv
2
2
  import { useI18n as q } from "vue-i18n";
3
3
  import { clone as U } from "xe-utils";
4
4
  import { useRender as V, successMessage as B, warnMessage as M } from "@utogether/utils";
5
- import { i as C, y as D } from "./index-BbtbEMCH.js";
5
+ import { i as C, y as D } from "./index-BvU3LB8R.js";
6
6
  const I = "/upms/v1/printTemplateConfig", L = /* @__PURE__ */ E({
7
7
  __name: "ReportTemplate",
8
8
  setup(W) {
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as r, ref as e, provide as t, createElementBlock as i, openBlock as _, createElementVNode as o, createVNode as n } from "vue";
2
- import { _ as m } from "./ScrollPanel.vue_vue_type_style_index_0_lang-WNOYFxJ1.js";
3
- import { _ as d } from "./RolePanel.vue_vue_type_script_setup_true_lang-DgQpfjaU.js";
4
- import { _ as p } from "./index-BbtbEMCH.js";
2
+ import { _ as m } from "./ScrollPanel.vue_vue_type_style_index_0_lang-BZY0JkpB.js";
3
+ import { _ as d } from "./RolePanel.vue_vue_type_script_setup_true_lang-CSkU6fAb.js";
4
+ import { _ as p } from "./index-BvU3LB8R.js";
5
5
  const f = { class: "u-content-panel" }, u = { class: "u-left-panel" }, h = { class: "content" }, v = /* @__PURE__ */ r({
6
6
  __name: "Role",
7
7
  setup(C) {
@@ -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-WNOYFxJ1.js";
3
- import { _ as p } from "./RolePanel.vue_vue_type_script_setup_true_lang-DCzX-ZP_.js";
4
- import { _ as d } from "./index-BbtbEMCH.js";
2
+ import { _ as m } from "./ScrollPanel.vue_vue_type_style_index_0_lang-BZY0JkpB.js";
3
+ import { _ as p } from "./RolePanel.vue_vue_type_script_setup_true_lang-Cf0BCtgL.js";
4
+ import { _ as d } from "./index-BvU3LB8R.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-DCzX-ZP_.js";
1
+ import { _ as f } from "./RolePanel.vue_vue_type_script_setup_true_lang-Cf0BCtgL.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-DgQpfjaU.js";
1
+ import { _ as f } from "./RolePanel.vue_vue_type_script_setup_true_lang-CSkU6fAb.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -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
2
  import { useRender as O } from "@utogether/utils";
3
- import { _ as P } from "./AuthorityInfo.vue_vue_type_style_index_0_lang-Cwd6UT2i.js";
4
- import { _ as R } from "./UserInfo.vue_vue_type_style_index_0_lang-DDVgYRD5.js";
5
- import { y as T, i as q } from "./index-BbtbEMCH.js";
3
+ import { _ as P } from "./AuthorityInfo.vue_vue_type_style_index_0_lang-BY8hkJ2R.js";
4
+ import { _ as R } from "./UserInfo.vue_vue_type_style_index_0_lang-B6FE4Epn.js";
5
+ import { y as T, i as q } from "./index-BvU3LB8R.js";
6
6
  const H = {
7
7
  class: "page-content"
8
8
  }, K = /* @__PURE__ */ S({
@@ -2,9 +2,9 @@ import { defineComponent as b, reactive as E, ref as g, inject as M, watch as N,
2
2
  import { useI18n as U } from "vue-i18n";
3
3
  import { clone as $ } from "xe-utils";
4
4
  import { VxeUI as j } from "vxe-pc-ui";
5
- import { t as v } from "./await-to-js.es5-BtRbN2QH.js";
5
+ import { t as v } from "./await-to-js.es5-Bv3Eu4mi.js";
6
6
  import { successMessage as _ } from "@utogether/utils";
7
- import { y as C } from "./index-BbtbEMCH.js";
7
+ import { y as C } from "./index-BvU3LB8R.js";
8
8
  const q = {
9
9
  class: "page-content"
10
10
  }, d = "/uums/orgRole", X = /* @__PURE__ */ b({