@utogether/udp-core 1.0.0 → 1.0.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 (80) hide show
  1. package/dist/{403-B1R-4vXw.js → 403-JWjatlxJ.js} +1 -1
  2. package/dist/{404-fXPl8csw.js → 404-BcdMJfPb.js} +1 -1
  3. package/dist/{500-eI5842YB.js → 500-bsa3F_cc.js} +1 -1
  4. package/dist/{AuthorityInfo-CfVH6PaB.js → AuthorityInfo-CqItgNs5.js} +1 -1
  5. package/dist/{AuthorityInfo.vue_vue_type_style_index_0_lang-DbK-f8jH.js → AuthorityInfo.vue_vue_type_style_index_0_lang-32L40GY2.js} +1 -1
  6. package/dist/{Company-CYC9Avfz.js → Company-DVff9IA7.js} +3 -3
  7. package/dist/{CompanyPanel-B4MzoqN_.js → CompanyPanel-CNrdq4XE.js} +1 -1
  8. package/dist/{Department-B4BNSiYx.js → Department-CqcpfL4i.js} +3 -3
  9. package/dist/{DepartmentPanel-zJO89L2O.js → DepartmentPanel-Bvti4LGu.js} +1 -1
  10. package/dist/{DesignPanel-S8P0J97f.js → DesignPanel-CjykspE1.js} +1 -1
  11. package/dist/{DesignPanel.vue_vue_type_style_index_0_lang-DW-_Vqrr.js → DesignPanel.vue_vue_type_style_index_0_lang-BK9EERdd.js} +2 -2
  12. package/dist/{DictView-bIS5-rK-.js → DictView-q7kR9K--.js} +9 -9
  13. package/dist/InvOrganization-DI45LqZV.js +260 -0
  14. package/dist/{Org-kXHSjsgJ.js → Org-CZju_ZiR.js} +1 -1
  15. package/dist/{Preview-CRyiwUIR.js → Preview-Cm_7RhYU.js} +1 -1
  16. package/dist/{ReportDefine-WZYIx8Sm.js → ReportDefine-CJVlQ--7.js} +1 -1
  17. package/dist/{ReportDesign-D-7GKgpb.js → ReportDesign-B0unlrkt.js} +2 -2
  18. package/dist/{ReportQuery-BIIJny6w.js → ReportQuery-BKuMCEvF.js} +2 -2
  19. package/dist/{ReportQueryFrom-OoUl7N2O.js → ReportQueryFrom-DAngMJLU.js} +1 -1
  20. package/dist/{ReportQueryFrom.vue_vue_type_style_index_0_lang-B878fgj8.js → ReportQueryFrom.vue_vue_type_style_index_0_lang-CPpwmztJ.js} +1 -1
  21. package/dist/{ReportTemplate-Cfeq9US-.js → ReportTemplate-8YH3L8Pv.js} +1 -1
  22. package/dist/{Role-BwTV2QMH.js → Role-MxI30-0W.js} +3 -3
  23. package/dist/{RoleAssign-De1JjOun.js → RoleAssign-BzUY_y_y.js} +3 -3
  24. package/dist/{RolePanel-pUBXsqCM.js → RolePanel-CXdcvsR5.js} +1 -1
  25. package/dist/{RolePanel-E3RcdByM.js → RolePanel-DS_TErTn.js} +1 -1
  26. package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-CTIad9_Q.js → RolePanel.vue_vue_type_script_setup_true_lang-DJKu6PXz.js} +1 -1
  27. package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-B2pQwHb0.js → RolePanel.vue_vue_type_script_setup_true_lang-Ddl-A7Zh.js} +3 -3
  28. package/dist/{ScrollPanel.vue_vue_type_style_index_0_lang-vMR1fBi0.js → ScrollPanel.vue_vue_type_style_index_0_lang-DnchUgIF.js} +1 -1
  29. package/dist/{Staff-Czm7A8vI.js → Staff-D7tXo_Gn.js} +3 -3
  30. package/dist/StaffInfo-Bk8BY8PO.js +4 -0
  31. package/dist/{StaffInfo.vue_vue_type_style_index_0_lang-DMTL7KCh.js → StaffInfo.vue_vue_type_script_setup_true_lang-DqKwZi5f.js} +1 -1
  32. package/dist/{StaffPanel-CHk60LEz.js → StaffPanel-VtpGCTIq.js} +1 -1
  33. package/dist/{StaffPanel.vue_vue_type_script_setup_true_lang-iPKLb5wG.js → StaffPanel.vue_vue_type_script_setup_true_lang-C3Ixs12y.js} +46 -49
  34. package/dist/{SysUser-BGwbttRn.js → SysUser-D0Q6OvD7.js} +2 -2
  35. package/dist/{SysUserPanel-BCbKoLKt.js → SysUserPanel-1_vrsANQ.js} +1 -1
  36. package/dist/{SysUserPanel.vue_vue_type_script_setup_true_lang-0QUjnhjF.js → SysUserPanel.vue_vue_type_script_setup_true_lang-C5XEmxsV.js} +1 -2
  37. package/dist/{SystemMenu-BkqZSDKl.js → SystemMenu-9PG3vESE.js} +2 -2
  38. package/dist/{UserInfo-BsyAcT2d.js → UserInfo-qgXUEGwi.js} +1 -1
  39. package/dist/{UserInfo.vue_vue_type_style_index_0_lang-D0-KDxAh.js → UserInfo.vue_vue_type_style_index_0_lang-CN0C5rVk.js} +1 -1
  40. package/dist/{childView-CyuLTUqC.js → childView-C7ZSA5fR.js} +1 -1
  41. package/dist/{childView-CF83nhxb.js → childView-yV2QLwfA.js} +1 -1
  42. package/dist/{childView.vue_vue_type_style_index_0_lang-Cch4lE-i.js → childView.vue_vue_type_style_index_0_lang-DdKxPGdh.js} +1 -1
  43. package/dist/{childView.vue_vue_type_style_index_0_lang-CNSgGda3.js → childView.vue_vue_type_style_index_0_lang-bkmucBUL.js} +1 -1
  44. package/dist/{code-rule-Bz-gnktN.js → code-rule-95K1jr-u.js} +1 -1
  45. package/dist/core.es.js +1 -1
  46. package/dist/core.umd.js +63 -63
  47. package/dist/{cron-task-CIifSUdW.js → cron-task-DGrQwOHs.js} +1 -1
  48. package/dist/{frameView-_d2mqjjQ.js → frameView-7SmME93D.js} +1 -1
  49. package/dist/index-OswH7SsT.js +9937 -0
  50. package/dist/{layoutView-DLKVepB8.js → layoutView-C6WIVWGZ.js} +2 -2
  51. package/dist/{login-LREiDfFU.js → login-BhCMeCLS.js} +4 -4
  52. package/dist/{lov-view-DDrIVILB.js → lov-view-DoF5LqFQ.js} +2 -2
  53. package/dist/{menuInfo-B1FUV-Sk.js → menuInfo-CNzGQwOD.js} +1 -1
  54. package/dist/{menuInfo.vue_vue_type_style_index_0_lang-Cnk3vdtD.js → menuInfo.vue_vue_type_style_index_0_lang-51SYxVc_.js} +1 -1
  55. package/dist/{pda-app-CRhVGijN.js → pda-app-nn3llDUx.js} +1 -1
  56. package/dist/{redirect-DiaNDu8F.js → redirect-CmMplDV4.js} +1 -1
  57. package/dist/{resource-BCwx9fEv.js → resource-gVFFMO9l.js} +1 -1
  58. package/dist/{su-welcome-189A7N4r.js → su-welcome-BN_s_RX_.js} +1 -1
  59. package/dist/{sys-config-BZ3sejow.js → sys-config-DGutV-VX.js} +1 -1
  60. package/dist/udp-core.css +2 -2
  61. package/dist/{utogether-r08LNiIZ.js → utogether-wFDCI28t.js} +1 -1
  62. package/package.json +2 -1
  63. package/src/components/udp/form-upload.vue +132 -0
  64. package/src/components/udp/index.ts +4 -0
  65. package/src/components/udp/modal-form.vue +180 -0
  66. package/src/components/udp/utils.ts +40 -0
  67. package/src/main.ts +5 -4
  68. package/src/plugins/vxe-table/index.ts +3 -3
  69. package/src/plugins/vxe-table/render.tsx +604 -184
  70. package/src/utils/udp/useRender.ts +420 -0
  71. package/src/views/organization/inv-org/InvOrganization.vue +2 -1
  72. package/src/views/organization/staff/StaffInfo.vue +0 -30
  73. package/src/views/organization/staff/StaffPanel.vue +4 -3
  74. package/src/views/system/role/AuthorityInfo.vue +1 -19
  75. package/src/views/system/sysUser/SysUserPanel.vue +1 -1
  76. package/src/views/udev/dict/DictView.vue +2 -2
  77. package/src/views/ulogin/login.vue +1 -1
  78. package/dist/InvOrganization-MuM2jtsG.js +0 -66
  79. package/dist/StaffInfo-DJzvBuxy.js +0 -4
  80. package/dist/index-BKIw8tSn.js +0 -9195
@@ -1,5 +1,5 @@
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 u, withCtx as k } from "vue";
2
- import { c as y, u as v, H as C } from "./index-BKIw8tSn.js";
2
+ import { c as y, u as v, H as C } from "./index-OswH7SsT.js";
3
3
  const E = {
4
4
  width: "251",
5
5
  height: "294"
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as s, 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
- import { c as u, u as k, H as C } from "./index-BKIw8tSn.js";
2
+ import { c as u, u as k, H as C } from "./index-OswH7SsT.js";
3
3
  const y = {
4
4
  width: "252",
5
5
  height: "294"
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as s, openBlock as a, createStaticVNode as o, defineComponent as r, resolveComponent as F, resolveDirective as n, createVNode as f, createElementVNode as M, unref as k, withDirectives as p, createTextVNode as e, createBlock as u, withCtx as v } from "vue";
2
- import { c as B, u as C, H as D } from "./index-BKIw8tSn.js";
2
+ import { c as B, u as C, H as D } from "./index-OswH7SsT.js";
3
3
  const y = {
4
4
  width: "254",
5
5
  height: "294"
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./AuthorityInfo.vue_vue_type_style_index_0_lang-DbK-f8jH.js";
1
+ import { _ as f } from "./AuthorityInfo.vue_vue_type_style_index_0_lang-32L40GY2.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as N, ref as m, reactive as B, onBeforeMount as M, resolveComponent as n, resolveDirective as A, createElementBlock as f, openBlock as p, createVNode as t, withCtx as h, withDirectives as D, createElementVNode as _ } from "vue";
2
- import { w as r } from "./index-BKIw8tSn.js";
2
+ import { w as r } from "./index-OswH7SsT.js";
3
3
  import { t as K } from "./await-to-js.es5-BtRbN2QH.js";
4
4
  const S = { class: "config" }, E = {
5
5
  "element-loading-text": "Loading...",
@@ -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-vMR1fBi0.js";
3
- import p from "./CompanyPanel-B4MzoqN_.js";
4
- import { _ as d } from "./index-BKIw8tSn.js";
2
+ import { _ as m } from "./ScrollPanel.vue_vue_type_style_index_0_lang-DnchUgIF.js";
3
+ import p from "./CompanyPanel-CNrdq4XE.js";
4
+ import { _ as d } from "./index-OswH7SsT.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 { w as J, _ as K } from "./index-BKIw8tSn.js";
7
+ import { w as J, _ as K } from "./index-OswH7SsT.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 o } from "vue";
2
- import { _ as p } from "./ScrollPanel.vue_vue_type_style_index_0_lang-vMR1fBi0.js";
3
- import _ from "./DepartmentPanel-zJO89L2O.js";
4
- import { _ as d } from "./index-BKIw8tSn.js";
2
+ import { _ as p } from "./ScrollPanel.vue_vue_type_style_index_0_lang-DnchUgIF.js";
3
+ import _ from "./DepartmentPanel-Bvti4LGu.js";
4
+ import { _ as d } from "./index-OswH7SsT.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 G } from "xe-utils";
5
5
  import { t as k } from "./await-to-js.es5-BtRbN2QH.js";
6
6
  import { VXETable as J } from "vxe-table";
7
7
  import { warnMessage as K, successMessage as O } from "@utogether/utils";
8
- import { i as Q, w as W, _ as Z } from "./index-BKIw8tSn.js";
8
+ import { i as Q, w as W, _ as Z } from "./index-OswH7SsT.js";
9
9
  const ee = { class: "page-content" }, y = "/uums/department", te = /* @__PURE__ */ V({
10
10
  __name: "DepartmentPanel",
11
11
  setup(ae) {
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./DesignPanel.vue_vue_type_style_index_0_lang-DW-_Vqrr.js";
1
+ import { _ as f } from "./DesignPanel.vue_vue_type_style_index_0_lang-BK9EERdd.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -3,8 +3,8 @@ import { VXETable as U } from "vxe-table";
3
3
  import { useGlobal as ut } from "@utogether/utils";
4
4
  import { t as mt } from "./await-to-js.es5-BtRbN2QH.js";
5
5
  import { clone as ft } from "xe-utils";
6
- import { i as gt, w as yt } from "./index-BKIw8tSn.js";
7
- import vt from "./Preview-CRyiwUIR.js";
6
+ import { i as gt, w as yt } from "./index-OswH7SsT.js";
7
+ import vt from "./Preview-Cm_7RhYU.js";
8
8
  const xt = {
9
9
  panels: [
10
10
  {
@@ -1,12 +1,12 @@
1
1
  import { defineComponent as v, ref as n, createVNode as c, resolveComponent as s, nextTick as g, createElementBlock as h, openBlock as u, createBlock as C, createCommentVNode as D } from "vue";
2
- import { _ as k } from "./childView.vue_vue_type_style_index_0_lang-CNSgGda3.js";
2
+ import { _ as k } from "./childView.vue_vue_type_style_index_0_lang-bkmucBUL.js";
3
3
  import { useRender as T } from "@utogether/utils";
4
4
  const E = {
5
5
  name: "DictView"
6
6
  }, I = /* @__PURE__ */ v({
7
7
  ...E,
8
- setup(y) {
9
- const o = n(null), a = [{
8
+ setup(N) {
9
+ const l = n(null), a = [{
10
10
  field: "dictCode",
11
11
  title: "message.udp.dictCode"
12
12
  }, {
@@ -15,7 +15,7 @@ const E = {
15
15
  }, {
16
16
  field: "dictType",
17
17
  title: "message.udp.dictType"
18
- }], t = T(), l = [{
18
+ }], t = T(), o = [{
19
19
  type: "checkbox",
20
20
  width: 40,
21
21
  align: "center"
@@ -26,7 +26,7 @@ const E = {
26
26
  editRender: t.renderInput()
27
27
  }, {
28
28
  field: "dictName",
29
- title: "message.udp.dictCode",
29
+ title: "message.udp.dictName",
30
30
  required: !0,
31
31
  editRender: t.renderInput()
32
32
  }, {
@@ -64,21 +64,21 @@ const E = {
64
64
  d.value = !0, r.value = e, r.value.total = (i = e.children) == null ? void 0 : i.length;
65
65
  });
66
66
  }, f = () => {
67
- o.value.refreshData(), d.value = !1;
67
+ l.value.refreshData(), d.value = !1;
68
68
  }, p = {
69
69
  editActived({
70
70
  row: e
71
71
  }) {
72
- l[1].editRender.props.disabled = !!e.id;
72
+ o[1].editRender.props.disabled = !!e.id;
73
73
  }
74
74
  };
75
75
  return (e, i) => {
76
76
  const _ = s("ut-grid");
77
77
  return u(), h("div", null, [c(_, {
78
78
  ref_key: "xgrid",
79
- ref: o,
79
+ ref: l,
80
80
  items: a,
81
- columns: l,
81
+ columns: o,
82
82
  url: "/upfm/v1/lov",
83
83
  events: p
84
84
  }, null, 512), d.value ? (u(), C(k, {
@@ -0,0 +1,260 @@
1
+ import { defineComponent as E, ref as D, reactive as M, resolveComponent as T, createBlock as q, openBlock as H } from "vue";
2
+ import { t as Y } from "./await-to-js.es5-BtRbN2QH.js";
3
+ import { isFunction as s, isObject as f, isEmpty as W, isString as y } from "xe-utils";
4
+ import { storageLocal as C } from "@utogether/utils";
5
+ import { w as A } from "./index-OswH7SsT.js";
6
+ const G = () => {
7
+ const O = { value: "dictCode", label: "dictName" }, m = (e, o) => {
8
+ var P;
9
+ const n = i(o);
10
+ let l = {
11
+ clearable: !0,
12
+ disabled: !1,
13
+ showValue: !1,
14
+ placeholder: null
15
+ }, c, u;
16
+ f(e) ? (l = Object.assign(l, e), c = e.defaultValue, u = e == null ? void 0 : e.code) : u = e;
17
+ const d = (P = C.getItem("kLov")[u]) == null ? void 0 : P.children, b = d ? d.filter((B) => B.enabled === "1") : [];
18
+ return {
19
+ name: "#select",
20
+ optionProps: O,
21
+ options: b,
22
+ props: l,
23
+ defaultValue: c,
24
+ events: n
25
+ };
26
+ }, r = (e, o) => {
27
+ const n = i(o);
28
+ return {
29
+ name: "#SuSelect",
30
+ optionProps: (e == null ? void 0 : e.optionProps) || { label: "label", value: "value" },
31
+ props: e == null ? void 0 : e.props,
32
+ options: (e == null ? void 0 : e.options) || [],
33
+ events: n
34
+ };
35
+ }, a = (e, o) => {
36
+ const n = {
37
+ optionProps: { extLabel: "userName", value: "employeeName" },
38
+ props: {
39
+ attrs: { disabled: e == null ? void 0 : e.disabled },
40
+ disabled: e == null ? void 0 : e.disabled,
41
+ defaultValue: e == null ? void 0 : e.defaultValue,
42
+ mapField: e == null ? void 0 : e.mapField,
43
+ code: "SYS037",
44
+ url: "/uums/employee/listEmployeeIsUser",
45
+ fetchField: "employeeName"
46
+ }
47
+ };
48
+ return r(n, o);
49
+ }, v = (e) => {
50
+ const o = {
51
+ optionProps: { extLabel: "userName", value: "name" },
52
+ props: {
53
+ code: "sys/listUsers",
54
+ url: "/uums/user",
55
+ fetchField: "name",
56
+ mapField: e == null ? void 0 : e.mapField
57
+ }
58
+ };
59
+ return r(o);
60
+ }, V = (e, o) => {
61
+ const n = {
62
+ label: "organizationName",
63
+ value: (e == null ? void 0 : e.field) || "organizationName"
64
+ }, l = {
65
+ mapField: {},
66
+ defaultParams: e == null ? void 0 : e.defaultParams,
67
+ url: "/uums/cusOrganization",
68
+ fetchField: "organizationName"
69
+ }, c = {
70
+ organizationId: "id",
71
+ organizationCode: "organizationCode"
72
+ };
73
+ return Object.assign(l.mapField, c, (e == null ? void 0 : e.mapField) || {}), { name: "#SuSelect", props: l, optionProps: n, options: [], methods: o };
74
+ }, S = (e, o) => {
75
+ const n = {
76
+ label: "orgName",
77
+ value: (e == null ? void 0 : e.field) || "orgName"
78
+ }, l = {
79
+ mapField: {},
80
+ defaultParams: e == null ? void 0 : e.defaultParams,
81
+ url: "/uums/org",
82
+ fetchField: "orgName"
83
+ }, c = { orgId: "id", orgCode: "orgCode" };
84
+ return Object.assign(l.mapField, c, (e == null ? void 0 : e.mapField) || {}), { name: "#SuSelect", props: l, optionProps: n, options: [], methods: o };
85
+ }, x = (e, o) => {
86
+ const n = Object.assign({ disabled: !1 }, e), l = n == null ? void 0 : n.defaultValue;
87
+ return {
88
+ name: "VxeInput",
89
+ props: n,
90
+ defaultValue: l,
91
+ events: i(o)
92
+ };
93
+ }, t = (e, o) => {
94
+ const n = Object.assign({ disabled: !1, rows: 3 }, e), l = n == null ? void 0 : n.defaultValue;
95
+ return {
96
+ name: "VxeTextarea",
97
+ props: n,
98
+ defaultValue: l,
99
+ events: i(o)
100
+ };
101
+ }, g = (e, o) => {
102
+ const n = "VxeCheckbox", { defaultValue: l, options: c, props: u } = I(e);
103
+ return { name: n, defaultValue: l, options: c, props: u, events: i(o) };
104
+ }, F = (e, o) => {
105
+ const n = "VxeRadio", { defaultValue: l, options: c, props: u } = I(e);
106
+ return { name: n, defaultValue: l, options: c, props: u, events: i(o) };
107
+ }, I = (e) => {
108
+ var d;
109
+ let o = { disabled: !1 }, n;
110
+ const l = C.getItem("kLov");
111
+ let c = "";
112
+ f(e) ? (n = e.defaultValue, c = e.code, o = Object.assign(o, e || {})) : y(e) && (c = e);
113
+ const u = c ? (d = l[c]) == null ? void 0 : d.children.map((b) => ({ label: b.dictName, value: b.dictCode })) : [];
114
+ return { props: o, defaultValue: n, options: u };
115
+ }, j = (e, o) => {
116
+ const n = i(o);
117
+ return {
118
+ name: "VxeInput",
119
+ props: Object.assign(
120
+ { type: "number", clearable: !0, min: 0, controls: !1 },
121
+ e || {}
122
+ ),
123
+ defaultValue: e == null ? void 0 : e.defaultValue,
124
+ events: n
125
+ };
126
+ }, z = (e, o) => {
127
+ const n = i(o), l = "yyyy-MM-dd HH:mm:ss", c = e == null ? void 0 : e.defaultValue;
128
+ return { name: "VxeInput", props: Object.assign({ type: "date", valueFormat: l, clearable: !0 }, e || {}), defaultValue: c, events: n };
129
+ }, _ = (e, o) => {
130
+ const n = i(o);
131
+ return { name: "#lov", props: Object.assign({}, e || {}), events: n };
132
+ }, w = (e, o) => {
133
+ const n = i(o), l = (e == null ? void 0 : e.optionProps) || {
134
+ label: "label",
135
+ value: "value"
136
+ }, c = Object.assign({ clearable: !0, disabled: !1, showValue: !1 }, e || {});
137
+ return console.log("itemRender"), {
138
+ name: "#select",
139
+ optionProps: l,
140
+ options: (e == null ? void 0 : e.options) || [],
141
+ props: c,
142
+ events: n
143
+ };
144
+ }, N = (e, o) => {
145
+ let n = {
146
+ openLabel: "是",
147
+ closeLabel: "否",
148
+ openValue: "Y",
149
+ closeValue: "N"
150
+ }, l = "Y";
151
+ f(e) && !s(e) ? (n = Object.assign(n, e || {}), l = e.defaultValue || l) : !W(e) && y(e) && (l = e, n = Object.assign(n, { defaultValue: l }));
152
+ const c = s(e) ? i(e) : i(o);
153
+ return { name: "VxeSwitch", props: n, defaultValue: l, events: c };
154
+ }, L = (e, o) => ({ name: "#tag", props: { code: e, tagMap: o } }), k = (e, o) => {
155
+ const n = {
156
+ openLabel: "启用",
157
+ closeLabel: "禁用",
158
+ openValue: "1",
159
+ closeValue: "0",
160
+ defaultValue: "1"
161
+ };
162
+ !s(e) && f(e) && Object.assign(n, e);
163
+ const l = s(e) ? e : o;
164
+ return N(n, l);
165
+ }, R = () => ({ name: "#iconSelect" }), U = (e = [], o = {}, n) => ({ name: "#treeSelect", sourceData: e, props: o, events: n }), i = (e) => {
166
+ let o = {};
167
+ return f(e) && !s(e) ? o = {
168
+ change: (e == null ? void 0 : e.change) || p,
169
+ blur: (e == null ? void 0 : e.blur) || p,
170
+ focus: (e == null ? void 0 : e.focus) || p,
171
+ input: (e == null ? void 0 : e.input) || p,
172
+ clear: (e == null ? void 0 : e.clear) || p,
173
+ filterMethod: e == null ? void 0 : e.filterMethod
174
+ } : e && (o = { change: e }), o;
175
+ };
176
+ function p() {
177
+ }
178
+ return {
179
+ renderDict: m,
180
+ renderSelect: r,
181
+ renderInput: x,
182
+ renderTextarea: t,
183
+ renderCheckBox: g,
184
+ renderRadio: F,
185
+ renderUser: a,
186
+ renderSysUser: v,
187
+ renderInvOrg: V,
188
+ renderBU: S,
189
+ renderNumber: j,
190
+ renderLov: _,
191
+ renderSelectLocal: w,
192
+ renderDate: z,
193
+ renderSwitch: N,
194
+ renderCellTag: L,
195
+ renderEnabled: k,
196
+ renderIconSelect: R,
197
+ renderTreeSelect: U
198
+ };
199
+ }, J = {
200
+ name: "InvOrganization"
201
+ }, h = /* @__PURE__ */ E({
202
+ ...J,
203
+ setup(O) {
204
+ const m = "/uums/cusOrganization", r = D(null), a = G(), v = [{
205
+ field: "organizationCode"
206
+ }, {
207
+ field: "organizationName"
208
+ }], V = [{
209
+ type: "checkbox",
210
+ width: 40,
211
+ align: "center"
212
+ }, {
213
+ field: "organizationCode",
214
+ width: 120,
215
+ required: !0,
216
+ editRender: a.renderInput()
217
+ }, {
218
+ field: "organizationName",
219
+ minWidth: 120,
220
+ required: !0,
221
+ editRender: a.renderInput()
222
+ }, {
223
+ field: "orgName",
224
+ minWidth: 170,
225
+ required: !0,
226
+ editRender: a.renderBU()
227
+ }, {
228
+ field: "orgCode",
229
+ width: 110
230
+ }, {
231
+ field: "enabled",
232
+ width: 80,
233
+ cellRender: a.renderEnabled(S)
234
+ }];
235
+ async function S(t) {
236
+ const [g] = await Y(A().put(m, [t]));
237
+ !g && r.value.refreshData();
238
+ }
239
+ const x = M({
240
+ columns: V
241
+ });
242
+ return (t, g) => {
243
+ const F = T("ut-grid");
244
+ return H(), q(F, {
245
+ ref_key: "xgrid",
246
+ ref: r,
247
+ items: v,
248
+ "default-params": {
249
+ organizationId: "",
250
+ orgId: ""
251
+ },
252
+ columns: x.columns,
253
+ url: m
254
+ }, null, 8, ["columns"]);
255
+ };
256
+ }
257
+ });
258
+ export {
259
+ h as default
260
+ };
@@ -2,7 +2,7 @@ import { defineComponent as a, ref as m, resolveComponent as s, createBlock as u
2
2
  import { t as p } from "./await-to-js.es5-BtRbN2QH.js";
3
3
  import { clone as g } from "xe-utils";
4
4
  import { useRender as _ } from "@utogether/utils";
5
- import { w as h } from "./index-BKIw8tSn.js";
5
+ import { w as h } from "./index-OswH7SsT.js";
6
6
  const k = { name: "OrgUnit" }, $ = /* @__PURE__ */ a({
7
7
  ...k,
8
8
  setup(R) {
@@ -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-BKIw8tSn.js";
2
+ import { _ as k } from "./index-OswH7SsT.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-BKIw8tSn.js";
2
+ import { _ as o } from "./index-OswH7SsT.js";
3
3
  const t = {};
4
4
  function c(n, _) {
5
5
  return r(), e("div");
@@ -2,8 +2,8 @@ import { defineComponent as q, ref as s, createVNode as r, Fragment as A, resolv
2
2
  import { useRender as S, successMessage as $ } from "@utogether/utils";
3
3
  import { useClipboard as M } from "@vueuse/core";
4
4
  import { t as V } from "./await-to-js.es5-BtRbN2QH.js";
5
- import { _ as B } from "./DesignPanel.vue_vue_type_style_index_0_lang-DW-_Vqrr.js";
6
- import { w as U } from "./index-BKIw8tSn.js";
5
+ import { _ as B } from "./DesignPanel.vue_vue_type_style_index_0_lang-BK9EERdd.js";
6
+ import { w as U } from "./index-OswH7SsT.js";
7
7
  const f = "/urpt/v1/printTemplate", K = /* @__PURE__ */ q({
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 u, onMounted as p, 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
- import { u as S } from "./index-BKIw8tSn.js";
3
- import { _ as g } from "./ReportQueryFrom.vue_vue_type_style_index_0_lang-B878fgj8.js";
2
+ import { u as S } from "./index-OswH7SsT.js";
3
+ import { _ as g } from "./ReportQueryFrom.vue_vue_type_style_index_0_lang-CPpwmztJ.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-B878fgj8.js";
1
+ import { _ as f } from "./ReportQueryFrom.vue_vue_type_style_index_0_lang-CPpwmztJ.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as T, ref as $, computed as S, reactive as I, nextTick as q, onBeforeMount as X, resolveComponent as i, createElementBlock as B, openBlock as D, createVNode as a, withCtx as F, createElementVNode as j } from "vue";
2
2
  import { useI18n as z } from "vue-i18n";
3
3
  import { clone as A } from "xe-utils";
4
- import { u as J, w as O } from "./index-BKIw8tSn.js";
4
+ import { u as J, w as O } from "./index-OswH7SsT.js";
5
5
  import { templateRef as V } from "@vueuse/core";
6
6
  import { useRender as Y } from "@utogether/utils";
7
7
  const H = { class: "ut-drawer-template" }, M = { class: "flex" }, ee = /* @__PURE__ */ T({
@@ -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, w as D } from "./index-BKIw8tSn.js";
5
+ import { i as C, w as D } from "./index-OswH7SsT.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-vMR1fBi0.js";
3
- import { _ as p } from "./RolePanel.vue_vue_type_script_setup_true_lang-B2pQwHb0.js";
4
- import { _ as d } from "./index-BKIw8tSn.js";
2
+ import { _ as m } from "./ScrollPanel.vue_vue_type_style_index_0_lang-DnchUgIF.js";
3
+ import { _ as p } from "./RolePanel.vue_vue_type_script_setup_true_lang-Ddl-A7Zh.js";
4
+ import { _ as d } from "./index-OswH7SsT.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-vMR1fBi0.js";
3
- import { _ as p } from "./RolePanel.vue_vue_type_script_setup_true_lang-CTIad9_Q.js";
4
- import { _ as d } from "./index-BKIw8tSn.js";
2
+ import { _ as m } from "./ScrollPanel.vue_vue_type_style_index_0_lang-DnchUgIF.js";
3
+ import { _ as p } from "./RolePanel.vue_vue_type_script_setup_true_lang-DJKu6PXz.js";
4
+ import { _ as d } from "./index-OswH7SsT.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-B2pQwHb0.js";
1
+ import { _ as f } from "./RolePanel.vue_vue_type_script_setup_true_lang-Ddl-A7Zh.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-CTIad9_Q.js";
1
+ import { _ as f } from "./RolePanel.vue_vue_type_script_setup_true_lang-DJKu6PXz.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -4,7 +4,7 @@ import { clone as U } from "xe-utils";
4
4
  import { VxeUI as j } from "vxe-pc-ui";
5
5
  import { t as _ } from "./await-to-js.es5-BtRbN2QH.js";
6
6
  import { successMessage as v } from "@utogether/utils";
7
- import { w as C } from "./index-BKIw8tSn.js";
7
+ import { w as C } from "./index-OswH7SsT.js";
8
8
  const $ = {
9
9
  class: "page-content"
10
10
  }, d = "/uums/orgRole", W = /* @__PURE__ */ V({
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as N, reactive as S, inject as I, ref as l, watch as B, createVNode as s, Fragment as M, resolveComponent as r, createElementBlock as E, openBlock as d, createBlock as i, createCommentVNode as c } from "vue";
2
2
  import { useRender as $ } from "@utogether/utils";
3
- import { _ as O } from "./AuthorityInfo.vue_vue_type_style_index_0_lang-DbK-f8jH.js";
4
- import { _ as P } from "./UserInfo.vue_vue_type_style_index_0_lang-D0-KDxAh.js";
5
- import { w as R, i as T } from "./index-BKIw8tSn.js";
3
+ import { _ as O } from "./AuthorityInfo.vue_vue_type_style_index_0_lang-32L40GY2.js";
4
+ import { _ as P } from "./UserInfo.vue_vue_type_style_index_0_lang-CN0C5rVk.js";
5
+ import { w as R, i as T } from "./index-OswH7SsT.js";
6
6
  const q = {
7
7
  class: "page-content"
8
8
  }, J = /* @__PURE__ */ N({
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as N, ref as k, inject as p, watch as A, nextTick as L, resolveComponent as v, createElementBlock as D, openBlock as f, 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 { w as j } from "./index-BKIw8tSn.js";
2
+ import { w as j } from "./index-OswH7SsT.js";
3
3
  const M = { class: "u-panel-header" }, $ = { class: "u-panel-content system-scrollbar" }, K = /* @__PURE__ */ N({
4
4
  __name: "ScrollPanel",
5
5
  props: {
@@ -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-vMR1fBi0.js";
3
- import { _ as d } from "./StaffPanel.vue_vue_type_script_setup_true_lang-iPKLb5wG.js";
4
- import { _ as p } from "./index-BKIw8tSn.js";
2
+ import { _ as m } from "./ScrollPanel.vue_vue_type_style_index_0_lang-DnchUgIF.js";
3
+ import { _ as d } from "./StaffPanel.vue_vue_type_script_setup_true_lang-C3Ixs12y.js";
4
+ import { _ as p } from "./index-OswH7SsT.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) {
@@ -0,0 +1,4 @@
1
+ import { _ as f } from "./StaffInfo.vue_vue_type_script_setup_true_lang-DqKwZi5f.js";
2
+ export {
3
+ f as default
4
+ };
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as b, ref as u, onMounted as D, resolveComponent as d, 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 { w as _ } from "./index-BKIw8tSn.js";
3
+ import { w as _ } from "./index-OswH7SsT.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-iPKLb5wG.js";
1
+ import { _ as f } from "./StaffPanel.vue_vue_type_script_setup_true_lang-C3Ixs12y.js";
2
2
  export {
3
3
  f as default
4
4
  };