@utogether/udp-core 2.0.0-beta.5 → 2.0.0-beta.7

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 (79) hide show
  1. package/dist/{403-y4Id7pky.js → 403-CNiAnTla.js} +1 -1
  2. package/dist/{404-DdxstlUr.js → 404-BHi3Ej7Z.js} +1 -1
  3. package/dist/{500-BpsDn21g.js → 500-CTYskumb.js} +1 -1
  4. package/dist/{AuthorityInfo-0CnlrZVd.js → AuthorityInfo-BjKduzRg.js} +1 -1
  5. package/dist/{AuthorityInfo.vue_vue_type_style_index_0_lang-D5cXM84w.js → AuthorityInfo.vue_vue_type_style_index_0_lang-CEekMsFF.js} +1 -1
  6. package/dist/{Company-BPAqJfZm.js → Company-B1xm0v-1.js} +3 -3
  7. package/dist/{CompanyPanel-CCeM96w4.js → CompanyPanel-Bk3gucNe.js} +1 -1
  8. package/dist/{Department-BsLrIIrS.js → Department-Cd8zo-JT.js} +3 -3
  9. package/dist/{DepartmentPanel-B2YqwLmq.js → DepartmentPanel-ePvnyT6M.js} +1 -1
  10. package/dist/{DesignPanel-CVSOCMvU.js → DesignPanel--qm9mgjH.js} +1 -1
  11. package/dist/{DesignPanel.vue_vue_type_style_index_0_lang-Dte8DQnU.js → DesignPanel.vue_vue_type_style_index_0_lang-pZYzFbq4.js} +2 -2
  12. package/dist/{DictView-CKVpPtFg.js → DictView-B0NgfU0j.js} +10 -10
  13. package/dist/{InvOrganization-BBODO8aK.js → InvOrganization-BE1g-iwW.js} +1 -1
  14. package/dist/{Org-BYRi0OAt.js → Org-B3VzhliT.js} +1 -1
  15. package/dist/{Preview-COI8NwWh.js → Preview-Ch-MYGp4.js} +1 -1
  16. package/dist/{ReportDefine-Dbh_8ykf.js → ReportDefine-CUuKlZ3p.js} +1 -1
  17. package/dist/{ReportDesign-DOeKYL9V.js → ReportDesign-Bq_rcYCK.js} +2 -2
  18. package/dist/{ReportQuery-Bb4r9lNR.js → ReportQuery-BRSA-lSg.js} +1 -1
  19. package/dist/{ReportQueryFrom-CavcWtL3.js → ReportQueryFrom-b0Lxvnhp.js} +1 -1
  20. package/dist/{ReportQueryFrom.vue_vue_type_style_index_0_lang-tuLRWEK9.js → ReportQueryFrom.vue_vue_type_style_index_0_lang-R_mfmI7C.js} +1 -1
  21. package/dist/{ReportTemplate-C9NzPxM4.js → ReportTemplate-CZ8LChJM.js} +1 -1
  22. package/dist/{Role-Bqt4d9Lz.js → Role-mezU2yUG.js} +3 -3
  23. package/dist/{RoleAssign-CWcytVz3.js → RoleAssign-C23uEQ_b.js} +3 -3
  24. package/dist/{RolePanel-DlU0aCnL.js → RolePanel-7iBT-us-.js} +1 -1
  25. package/dist/{RolePanel-Di5nsMqt.js → RolePanel-BLML9HOE.js} +1 -1
  26. package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-hzbUepuW.js → RolePanel.vue_vue_type_script_setup_true_lang-C5T9Unjq.js} +1 -1
  27. package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-BOq0iJsT.js → RolePanel.vue_vue_type_script_setup_true_lang-Dxc4V1V8.js} +3 -3
  28. package/dist/{ScrollPanel.vue_vue_type_style_index_0_lang-Bg3rg4P4.js → ScrollPanel.vue_vue_type_style_index_0_lang-DF9mIgWs.js} +32 -31
  29. package/dist/Staff-B2bI3_H2.js +26 -0
  30. package/dist/{StaffInfo-C6lDK0S_.js → StaffInfo-CIAehJfI.js} +1 -1
  31. package/dist/{StaffInfo.vue_vue_type_script_setup_true_lang-YRJm87-b.js → StaffInfo.vue_vue_type_script_setup_true_lang-D9VkkiTZ.js} +1 -1
  32. package/dist/{StaffPanel-WNpg0HWl.js → StaffPanel-dXSv0PI3.js} +1 -1
  33. package/dist/{StaffPanel.vue_vue_type_script_setup_true_lang-azLpvFRo.js → StaffPanel.vue_vue_type_script_setup_true_lang-DoU9krA4.js} +61 -49
  34. package/dist/{SysUser-Dph6Qi_a.js → SysUser-DxKpVGLT.js} +2 -2
  35. package/dist/{SysUserPanel-Iz024NS_.js → SysUserPanel-Ci_Ep8mq.js} +1 -1
  36. package/dist/{SysUserPanel.vue_vue_type_script_setup_true_lang-D8GUQHic.js → SysUserPanel.vue_vue_type_script_setup_true_lang-gzipEh3A.js} +1 -1
  37. package/dist/{SystemMenu-6mTYGwbK.js → SystemMenu-B_VBlI1Z.js} +2 -2
  38. package/dist/{UserInfo-RQ7VgSbk.js → UserInfo-DF0fggCn.js} +1 -1
  39. package/dist/{UserInfo.vue_vue_type_style_index_0_lang-BYp2-i9R.js → UserInfo.vue_vue_type_style_index_0_lang-b-DOPLHD.js} +1 -1
  40. package/dist/{childView-B8L4By2o.js → childView-62rEczLw.js} +1 -1
  41. package/dist/{childView-nCa8t4tr.js → childView-DhDitM7p.js} +1 -1
  42. package/dist/{childView.vue_vue_type_style_index_0_lang-DDx9z61J.js → childView.vue_vue_type_style_index_0_lang-DwtD74xk.js} +1 -1
  43. package/dist/{childView.vue_vue_type_style_index_0_lang-Bl1MzDS9.js → childView.vue_vue_type_style_index_0_lang-b5hnKDbO.js} +26 -23
  44. package/dist/{code-rule-8dQLPHni.js → code-rule-CabvTCWH.js} +1 -1
  45. package/dist/core.es.js +1 -1
  46. package/dist/{cron-task-aDBWT_Uh.js → cron-task-DXfxcgr-.js} +1 -1
  47. package/dist/{frameView-DM3flfo5.js → frameView-DkFBCQIT.js} +1 -1
  48. package/dist/{index-ClHeZ3q4.js → index-D7hSr6Dw.js} +1211 -1201
  49. package/dist/{layout-home-DNPOu6R4.js → layout-home-B7Ex_WUd.js} +11 -11
  50. package/dist/{layoutView-Ymyja_uK.js → layoutView-DB70tHmm.js} +1 -1
  51. package/dist/{log-in-DtHf5ZcG.js → log-in-D28_avjb.js} +1 -1
  52. package/dist/{log-out-DZ8OkPM6.js → log-out-CnWdyT-h.js} +1 -1
  53. package/dist/{login-CoX7TNHE.js → login-BDFcVdJO.js} +1 -1
  54. package/dist/{login-log-DJBGJVV0.js → login-log-BEHYT0v0.js} +5 -5
  55. package/dist/{lov-view-BWtIPBNm.js → lov-view-DBxWS8bR.js} +2 -2
  56. package/dist/{menuInfo-wG5Zt00s.js → menuInfo-CznLhoJE.js} +1 -1
  57. package/dist/{menuInfo.vue_vue_type_style_index_0_lang-DiPeALce.js → menuInfo.vue_vue_type_style_index_0_lang-Dxu9tvz9.js} +1 -1
  58. package/dist/{pda-app-9b3JC2he.js → pda-app-BWJOH5h6.js} +1 -1
  59. package/dist/{resource-DiHXYgfm.js → resource-_ZAigzWr.js} +1 -1
  60. package/dist/{su-welcome-COvSPTOW.js → su-welcome-B4Y3rNQi.js} +352 -344
  61. package/dist/{sys-config-Mm50Y0LQ.js → sys-config-Bm0r674r.js} +1 -1
  62. package/dist/udp-core.css +1 -1
  63. package/package.json +1 -1
  64. package/src/components/SuScrollTree/ScrollPanel.vue +176 -170
  65. package/src/components/udp/form-upload/form-upload.vue +496 -492
  66. package/src/components/udp/utils.ts +414 -408
  67. package/src/plugins/i18n/zh.ts +2 -0
  68. package/src/plugins/vxe-table/render.tsx +995 -968
  69. package/src/views/organization/staff/Staff.vue +59 -58
  70. package/src/views/organization/staff/StaffPanel.vue +17 -3
  71. package/src/views/system/layout/layout-home.vue +3 -3
  72. package/src/views/udev/dict/DictView.vue +118 -118
  73. package/src/views/udev/dict/childView.vue +185 -184
  74. package/src/views/ufile/aggregation/File.vue +1 -3
  75. package/src/views/uhome/components/home-todo.vue +10 -5
  76. package/src/views/uhome/su-welcome.vue +2 -2
  77. package/src/views/upms/user/login-log.vue +2 -2
  78. package/vite.config.ts +83 -83
  79. package/dist/Staff-DXr2Ka1N.js +0 -25
@@ -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 { J as C } from "./index-ClHeZ3q4.js";
3
+ import { J as C } from "./index-D7hSr6Dw.js";
4
4
  const E = {
5
5
  width: "251",
6
6
  height: "294"
@@ -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 { J as C } from "./index-ClHeZ3q4.js";
3
+ import { J as C } from "./index-D7hSr6Dw.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 { J as D } from "./index-ClHeZ3q4.js";
3
+ import { J as D } from "./index-D7hSr6Dw.js";
4
4
  const y = {
5
5
  width: "254",
6
6
  height: "294"
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./AuthorityInfo.vue_vue_type_style_index_0_lang-D5cXM84w.js";
1
+ import { _ as f } from "./AuthorityInfo.vue_vue_type_style_index_0_lang-CEekMsFF.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,5 +1,5 @@
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-ClHeZ3q4.js";
2
+ import { y as c } from "./index-D7hSr6Dw.js";
3
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",
@@ -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-Bg3rg4P4.js";
3
- import p from "./CompanyPanel-CCeM96w4.js";
4
- import { _ as d } from "./index-ClHeZ3q4.js";
2
+ import { _ as m } from "./ScrollPanel.vue_vue_type_style_index_0_lang-DF9mIgWs.js";
3
+ import p from "./CompanyPanel-Bk3gucNe.js";
4
+ import { _ as d } from "./index-D7hSr6Dw.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-ClHeZ3q4.js";
7
+ import { y as J, _ as K } from "./index-D7hSr6Dw.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-Bg3rg4P4.js";
3
- import _ from "./DepartmentPanel-B2YqwLmq.js";
4
- import { _ as d } from "./index-ClHeZ3q4.js";
2
+ import { _ as p } from "./ScrollPanel.vue_vue_type_style_index_0_lang-DF9mIgWs.js";
3
+ import _ from "./DepartmentPanel-ePvnyT6M.js";
4
+ import { _ as d } from "./index-D7hSr6Dw.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) {
@@ -5,7 +5,7 @@ import { clone as Q } from "xe-utils";
5
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-ClHeZ3q4.js";
8
+ import { i as Z, E as b, y as ee, _ as te } from "./index-D7hSr6Dw.js";
9
9
  const ae = { class: "page-content" }, C = "/uums/department", ne = /* @__PURE__ */ U({
10
10
  __name: "DepartmentPanel",
11
11
  setup(se) {
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./DesignPanel.vue_vue_type_style_index_0_lang-Dte8DQnU.js";
1
+ import { _ as f } from "./DesignPanel.vue_vue_type_style_index_0_lang-pZYzFbq4.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -3,8 +3,8 @@ import { VxeUI as O } from "vxe-pc-ui";
3
3
  import { useGlobal as ut } from "@utogether/utils";
4
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-ClHeZ3q4.js";
7
- import vt from "./Preview-COI8NwWh.js";
6
+ import { i as gt, y as yt } from "./index-D7hSr6Dw.js";
7
+ import vt from "./Preview-Ch-MYGp4.js";
8
8
  const xt = {
9
9
  panels: [
10
10
  {
@@ -1,5 +1,5 @@
1
- import { defineComponent as v, ref as n, createVNode as c, resolveComponent as s, nextTick as g, createElementBlock as C, openBlock as u, createBlock as k, createCommentVNode as D } from "vue";
2
- import { _ as T } from "./childView.vue_vue_type_style_index_0_lang-Bl1MzDS9.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-b5hnKDbO.js";
3
3
  import { useRender as E } from "@utogether/utils";
4
4
  const y = {
5
5
  name: "DictView"
@@ -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(), l = [
19
+ }], t = E(), c = [
20
20
  {
21
21
  type: "checkbox",
22
22
  width: 40,
@@ -48,7 +48,7 @@ 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
  {
@@ -66,7 +66,7 @@ const y = {
66
66
  slots: {
67
67
  default: ({
68
68
  row: e
69
- }) => e.id ? [c(s("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)
@@ -84,25 +84,25 @@ const y = {
84
84
  editActived({
85
85
  row: e
86
86
  }) {
87
- l[1].editRender.props.disabled = !!e.id;
87
+ c[1].editRender.props.disabled = !!e.id;
88
88
  }
89
89
  }, h = (e) => e.dictType !== "0";
90
90
  return (e, i) => {
91
91
  const _ = s("ut-grid");
92
- return u(), C("div", null, [c(_, {
92
+ return u(), C("div", null, [l(_, {
93
93
  ref_key: "xgrid",
94
94
  ref: o,
95
95
  items: a,
96
- columns: l,
96
+ columns: c,
97
97
  "check-method": h,
98
98
  events: p,
99
99
  url: "/upfm/v1/lov"
100
- }, null, 512), d.value ? (u(), k(T, {
100
+ }, null, 512), d.value ? (u(), D(k, {
101
101
  key: 0,
102
102
  show: d.value,
103
103
  record: r.value,
104
104
  onOnClose: f
105
- }, null, 8, ["show", "record"])) : D("", !0)]);
105
+ }, null, 8, ["show", "record"])) : T("", !0)]);
106
106
  };
107
107
  }
108
108
  });
@@ -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
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-ClHeZ3q4.js";
4
+ import { y as h } from "./index-D7hSr6Dw.js";
5
5
  const C = {
6
6
  name: "InvOrganization"
7
7
  }, x = /* @__PURE__ */ u({
@@ -2,7 +2,7 @@ import { defineComponent as a, ref as m, resolveComponent as u, createBlock as c
2
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-ClHeZ3q4.js";
5
+ import { y as h } from "./index-D7hSr6Dw.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-ClHeZ3q4.js";
2
+ import { _ as k } from "./index-D7hSr6Dw.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-ClHeZ3q4.js";
2
+ import { _ as o } from "./index-D7hSr6Dw.js";
3
3
  const t = {};
4
4
  function c(n, _) {
5
5
  return r(), e("div");
@@ -2,8 +2,8 @@ import { defineComponent as I, ref as s, createVNode as r, Fragment as b, resolv
2
2
  import { useRender as S, successMessage as $ } from "@utogether/utils";
3
3
  import { useClipboard as V } from "@vueuse/core";
4
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-Dte8DQnU.js";
6
- import { y as U } from "./index-ClHeZ3q4.js";
5
+ import { _ as M } from "./DesignPanel.vue_vue_type_style_index_0_lang-pZYzFbq4.js";
6
+ import { y as U } from "./index-D7hSr6Dw.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-tuLRWEK9.js";
3
+ import { _ as g } from "./ReportQueryFrom.vue_vue_type_style_index_0_lang-R_mfmI7C.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-tuLRWEK9.js";
1
+ import { _ as f } from "./ReportQueryFrom.vue_vue_type_style_index_0_lang-R_mfmI7C.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-ClHeZ3q4.js";
6
+ import { y as V } from "./index-D7hSr6Dw.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-ClHeZ3q4.js";
5
+ import { i as C, y as D } from "./index-D7hSr6Dw.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-Bg3rg4P4.js";
3
- import { _ as d } from "./RolePanel.vue_vue_type_script_setup_true_lang-BOq0iJsT.js";
4
- import { _ as p } from "./index-ClHeZ3q4.js";
2
+ import { _ as m } from "./ScrollPanel.vue_vue_type_style_index_0_lang-DF9mIgWs.js";
3
+ import { _ as d } from "./RolePanel.vue_vue_type_script_setup_true_lang-Dxc4V1V8.js";
4
+ import { _ as p } from "./index-D7hSr6Dw.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-Bg3rg4P4.js";
3
- import { _ as p } from "./RolePanel.vue_vue_type_script_setup_true_lang-hzbUepuW.js";
4
- import { _ as d } from "./index-ClHeZ3q4.js";
2
+ import { _ as m } from "./ScrollPanel.vue_vue_type_style_index_0_lang-DF9mIgWs.js";
3
+ import { _ as p } from "./RolePanel.vue_vue_type_script_setup_true_lang-C5T9Unjq.js";
4
+ import { _ as d } from "./index-D7hSr6Dw.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-hzbUepuW.js";
1
+ import { _ as f } from "./RolePanel.vue_vue_type_script_setup_true_lang-Dxc4V1V8.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-BOq0iJsT.js";
1
+ import { _ as f } from "./RolePanel.vue_vue_type_script_setup_true_lang-C5T9Unjq.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-Bv3Eu4mi.js";
6
6
  import { successMessage as _ } from "@utogether/utils";
7
- import { y as C } from "./index-ClHeZ3q4.js";
7
+ import { y as C } from "./index-D7hSr6Dw.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
2
  import { useRender as O } from "@utogether/utils";
3
- import { _ as P } from "./AuthorityInfo.vue_vue_type_style_index_0_lang-D5cXM84w.js";
4
- import { _ as R } from "./UserInfo.vue_vue_type_style_index_0_lang-BYp2-i9R.js";
5
- import { y as T, i as q } from "./index-ClHeZ3q4.js";
3
+ import { _ as P } from "./AuthorityInfo.vue_vue_type_style_index_0_lang-CEekMsFF.js";
4
+ import { _ as R } from "./UserInfo.vue_vue_type_style_index_0_lang-b-DOPLHD.js";
5
+ import { y as T, i as q } from "./index-D7hSr6Dw.js";
6
6
  const H = {
7
7
  class: "page-content"
8
8
  }, K = /* @__PURE__ */ S({
@@ -1,11 +1,12 @@
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 { y as j } from "./index-ClHeZ3q4.js";
3
- const M = { class: "u-panel-header" }, $ = { class: "u-panel-content system-scrollbar" }, K = /* @__PURE__ */ N({
1
+ import { defineComponent as P, ref as k, inject as f, watch as E, nextTick as N, resolveComponent as v, createElementBlock as D, openBlock as h, withModifiers as O, createElementVNode as a, createBlock as C, createCommentVNode as y, createVNode as g, toDisplayString as _, withCtx as S, normalizeClass as V } from "vue";
2
+ import { y as j } from "./index-D7hSr6Dw.js";
3
+ const M = { class: "u-panel-header" }, $ = { class: "u-panel-content system-scrollbar" }, K = /* @__PURE__ */ P({
4
4
  __name: "ScrollPanel",
5
5
  props: {
6
6
  title: {},
7
7
  url: {},
8
8
  showAllButton: { type: Boolean, default: !1 },
9
+ initLoadAll: { type: Boolean, default: !1 },
9
10
  treeOtions: { default: () => ({
10
11
  children: "children",
11
12
  label: "label"
@@ -13,62 +14,62 @@ const M = { class: "u-panel-header" }, $ = { class: "u-panel-content system-scro
13
14
  defaultParams: { default: () => ({}) }
14
15
  },
15
16
  setup(b, { expose: B }) {
16
- const h = b, s = k([]), o = k(null), r = p("active"), c = p("scrollPanelChange"), w = p("treeList");
17
- A(
18
- () => c.value,
17
+ const c = b, r = k([]), o = k(null), s = f("active"), u = f("scrollPanelChange"), w = f("treeList");
18
+ E(
19
+ () => u.value,
19
20
  () => {
20
- c.value && u();
21
+ u.value && d();
21
22
  }
22
23
  );
23
- const u = async (l = {}) => {
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(() => {
24
+ const d = async (l = {}) => {
25
+ const t = Object.assign(l, c.defaultParams), e = await j().get(c.url, t);
26
+ r.value = e.list || e, w.value = e.list || e, c.initLoadAll ? s.value = {} : s.value = e.list ? e.list[0] : e[0], N(() => {
26
27
  var n;
27
- o.value && (o == null || o.value.setCurrentKey(((n = r.value) == null ? void 0 : n.id) || ""));
28
- }), c.value = !1;
28
+ o.value && (o == null || o.value.setCurrentKey(((n = s.value) == null ? void 0 : n.id) || ""));
29
+ }), u.value = !1;
29
30
  }, x = (l) => {
30
- r.value = l;
31
- }, P = () => {
32
- r.value = {};
33
- }, d = (l, t) => {
31
+ s.value = l;
32
+ }, A = () => {
33
+ s.value = {};
34
+ }, p = (l, t) => {
34
35
  l.forEach((e) => {
35
36
  var n;
36
- o.value.store.nodesMap[e.id].expanded = t, (n = e.children) != null && n.length && d(e.children, t);
37
+ o.value.store.nodesMap[e.id].expanded = t, (n = e.children) != null && n.length && p(e.children, t);
37
38
  });
38
39
  }, m = () => {
39
- u();
40
+ d();
40
41
  };
41
42
  return B({
42
43
  onRefresh: m
43
- }), u(), (l, t) => {
44
- const e = f("ut-button"), n = f("vxe-button"), E = f("el-tree");
45
- return v(), D("div", {
44
+ }), d(), (l, t) => {
45
+ const e = v("ut-button"), n = v("vxe-button"), L = v("el-tree");
46
+ return h(), D("div", {
46
47
  class: "u-scroll-panel",
47
- onClick: O(P, ["prevent"])
48
+ onClick: O(A, ["prevent"])
48
49
  }, [
49
50
  a("div", M, [
50
51
  a("h2", null, _(l.title), 1),
51
- l.showAllButton ? (v(), C(e, {
52
+ l.showAllButton ? (h(), C(e, {
52
53
  key: 0,
53
54
  content: "BtnExpand",
54
- onClick: t[0] || (t[0] = (i) => d(s.value, !0))
55
- })) : g("", !0),
56
- l.showAllButton ? (v(), C(e, {
55
+ onClick: t[0] || (t[0] = (i) => p(r.value, !0))
56
+ })) : y("", !0),
57
+ l.showAllButton ? (h(), C(e, {
57
58
  key: 1,
58
59
  status: "warning",
59
60
  content: "BtnCollapse",
60
- onClick: t[1] || (t[1] = (i) => d(s.value, !1))
61
- })) : g("", !0),
62
- y(n, {
61
+ onClick: t[1] || (t[1] = (i) => p(r.value, !1))
62
+ })) : y("", !0),
63
+ g(n, {
63
64
  icon: "vxe-icon-refresh",
64
65
  onClick: m
65
66
  })
66
67
  ]),
67
68
  a("div", $, [
68
- y(E, {
69
+ g(L, {
69
70
  ref_key: "tree",
70
71
  ref: o,
71
- data: s.value,
72
+ data: r.value,
72
73
  props: l.treeOtions,
73
74
  "expand-on-click-node": !1,
74
75
  style: { "background-color": "#fff" },
@@ -0,0 +1,26 @@
1
+ import { defineComponent as l, ref as e, provide as t, createElementBlock as i, openBlock as _, createElementVNode as n, createVNode as o } from "vue";
2
+ import { _ as d } from "./ScrollPanel.vue_vue_type_style_index_0_lang-DF9mIgWs.js";
3
+ import { _ as f } from "./StaffPanel.vue_vue_type_script_setup_true_lang-DoU9krA4.js";
4
+ import { _ as m } from "./index-D7hSr6Dw.js";
5
+ const p = { class: "u-content-panel" }, u = { class: "u-left-panel" }, h = { class: "content" }, v = { name: "StaffPanel" }, C = /* @__PURE__ */ l({
6
+ ...v,
7
+ setup(N) {
8
+ const a = e(!1), s = e([]), c = e({});
9
+ return t("scrollPanelChange", a), t("active", c), t("treeList", s), (r, P) => (_(), i("div", p, [
10
+ n("div", u, [
11
+ o(d, {
12
+ title: r.$t("department"),
13
+ "init-load-all": !0,
14
+ "tree-otions": { children: "children", label: "deptName" },
15
+ url: "/uums/department/treeDepartment"
16
+ }, null, 8, ["title"])
17
+ ]),
18
+ n("div", h, [
19
+ o(f)
20
+ ])
21
+ ]));
22
+ }
23
+ }), B = /* @__PURE__ */ m(C, [["__scopeId", "data-v-1cfe93f2"]]);
24
+ export {
25
+ B as default
26
+ };
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./StaffInfo.vue_vue_type_script_setup_true_lang-YRJm87-b.js";
1
+ import { _ as f } from "./StaffInfo.vue_vue_type_script_setup_true_lang-D9VkkiTZ.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,6 +1,6 @@
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
2
  import { useRender as F } from "@utogether/utils";
3
- import { y as _ } from "./index-ClHeZ3q4.js";
3
+ import { y as _ } from "./index-D7hSr6Dw.js";
4
4
  const T = { class: "config" }, x = /* @__PURE__ */ b({
5
5
  __name: "StaffInfo",
6
6
  props: {
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./StaffPanel.vue_vue_type_script_setup_true_lang-azLpvFRo.js";
1
+ import { _ as f } from "./StaffPanel.vue_vue_type_script_setup_true_lang-DoU9krA4.js";
2
2
  export {
3
3
  f as default
4
4
  };