@utogether/udp-core 1.0.0 → 1.0.1-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (144) hide show
  1. package/build/plugins.ts +8 -2
  2. package/dist/{403-B1R-4vXw.js → 403-Dp617CWX.js} +9 -8
  3. package/dist/{404-fXPl8csw.js → 404-Cz_Axb6Y.js} +15 -14
  4. package/dist/{500-eI5842YB.js → 500-BGCtRNse.js} +11 -10
  5. package/dist/{AuthorityInfo-CfVH6PaB.js → AuthorityInfo-DGGfm7IS.js} +1 -1
  6. package/dist/{AuthorityInfo.vue_vue_type_style_index_0_lang-DbK-f8jH.js → AuthorityInfo.vue_vue_type_style_index_0_lang-BqccGW7v.js} +3 -3
  7. package/dist/{AuthorityPanel-BaLMwMgW.js → AuthorityPanel-BeBNiwqc.js} +1 -1
  8. package/dist/{AuthorityPanel.vue_vue_type_style_index_0_lang-C_bkqLD9.js → AuthorityPanel.vue_vue_type_style_index_0_lang-CIYmnP9-.js} +6 -6
  9. package/dist/{Company-CYC9Avfz.js → Company-IV3GTnzY.js} +3 -3
  10. package/dist/{CompanyPanel-B4MzoqN_.js → CompanyPanel-qV-_VtoL.js} +10 -10
  11. package/dist/{Department-B4BNSiYx.js → Department-B3W-OxW8.js} +3 -3
  12. package/dist/{DepartmentPanel-zJO89L2O.js → DepartmentPanel-Cw3OWxE7.js} +23 -23
  13. package/dist/{DesignPanel-S8P0J97f.js → DesignPanel-BFxR2fHJ.js} +1 -1
  14. package/dist/{DesignPanel.vue_vue_type_style_index_0_lang-DW-_Vqrr.js → DesignPanel.vue_vue_type_style_index_0_lang-DljbeFba.js} +6 -6
  15. package/dist/{DictView-bIS5-rK-.js → DictView-C-i7e4hZ.js} +9 -9
  16. package/dist/InvOrganization-cfT6riGU.js +260 -0
  17. package/dist/{Org-kXHSjsgJ.js → Org-CA7vTDIF.js} +3 -3
  18. package/dist/{Preview-CRyiwUIR.js → Preview-BlDMmpdR.js} +1 -1
  19. package/dist/{ReportDefine-WZYIx8Sm.js → ReportDefine-Cub_85LA.js} +1 -1
  20. package/dist/{ReportDesign-D-7GKgpb.js → ReportDesign-hFhq5UVE.js} +10 -10
  21. package/dist/{ReportQuery-BIIJny6w.js → ReportQuery-ChkWEyxT.js} +5 -5
  22. package/dist/{ReportQueryFrom-OoUl7N2O.js → ReportQueryFrom-KVyD_8Dj.js} +1 -1
  23. package/dist/{ReportQueryFrom.vue_vue_type_style_index_0_lang-B878fgj8.js → ReportQueryFrom.vue_vue_type_style_index_0_lang-CLNODquq.js} +6 -5
  24. package/dist/{ReportTemplate-Cfeq9US-.js → ReportTemplate-ag9NDvh2.js} +11 -11
  25. package/dist/{Role-BwTV2QMH.js → Role-_q3lQ8CZ.js} +3 -3
  26. package/dist/{RoleAssign-De1JjOun.js → RoleAssign-DZb9IRsm.js} +3 -3
  27. package/dist/{RolePanel-pUBXsqCM.js → RolePanel-BQb1LlhD.js} +1 -1
  28. package/dist/{RolePanel-E3RcdByM.js → RolePanel-CsLsz-Ds.js} +1 -1
  29. package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-B2pQwHb0.js → RolePanel.vue_vue_type_script_setup_true_lang-BrnRgHEk.js} +12 -12
  30. package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-CTIad9_Q.js → RolePanel.vue_vue_type_script_setup_true_lang-cmW7zBLu.js} +4 -4
  31. package/dist/{ScrollPanel.vue_vue_type_style_index_0_lang-vMR1fBi0.js → ScrollPanel.vue_vue_type_style_index_0_lang-CaFKRwXu.js} +8 -8
  32. package/dist/{Staff-Czm7A8vI.js → Staff-BSf9Ypbk.js} +3 -3
  33. package/dist/StaffInfo-BNKasyMF.js +4 -0
  34. package/dist/{StaffInfo.vue_vue_type_style_index_0_lang-DMTL7KCh.js → StaffInfo.vue_vue_type_script_setup_true_lang-DDZ7ukd0.js} +7 -7
  35. package/dist/{StaffPanel-CHk60LEz.js → StaffPanel-Bpq0WVlH.js} +1 -1
  36. package/dist/{StaffPanel.vue_vue_type_script_setup_true_lang-iPKLb5wG.js → StaffPanel.vue_vue_type_script_setup_true_lang-BhiJ0Q-Q.js} +46 -49
  37. package/dist/{SysUser-BGwbttRn.js → SysUser-FAABuNti.js} +2 -2
  38. package/dist/{SysUserPanel-BCbKoLKt.js → SysUserPanel-PxJeOgHm.js} +1 -1
  39. package/dist/{SysUserPanel.vue_vue_type_script_setup_true_lang-0QUjnhjF.js → SysUserPanel.vue_vue_type_script_setup_true_lang-njefUln5.js} +1 -2
  40. package/dist/{SystemMenu-BkqZSDKl.js → SystemMenu-C-7NAGon.js} +47 -45
  41. package/dist/{UserInfo-BsyAcT2d.js → UserInfo-ClXKtyGo.js} +1 -1
  42. package/dist/{UserInfo.vue_vue_type_style_index_0_lang-D0-KDxAh.js → UserInfo.vue_vue_type_style_index_0_lang-8N7P4Hl7.js} +13 -13
  43. package/dist/{childView-CyuLTUqC.js → childView-C_HmDQNd.js} +1 -1
  44. package/dist/{childView-CF83nhxb.js → childView-uUlBcTza.js} +1 -1
  45. package/dist/{childView.vue_vue_type_style_index_0_lang-CNSgGda3.js → childView.vue_vue_type_style_index_0_lang-Ckjmw6wJ.js} +6 -6
  46. package/dist/{childView.vue_vue_type_style_index_0_lang-Cch4lE-i.js → childView.vue_vue_type_style_index_0_lang-y0sDvYx5.js} +1 -1
  47. package/dist/{code-rule-Bz-gnktN.js → code-rule-AgCVDKFy.js} +6 -6
  48. package/dist/core.es.js +4 -4
  49. package/dist/{cron-task-CIifSUdW.js → cron-task-C6FgQxTi.js} +11 -11
  50. package/dist/{frameView-_d2mqjjQ.js → frameView-BDgISK7N.js} +15 -14
  51. package/dist/index-DzOzUkf6.js +3388 -0
  52. package/dist/{layoutView-DLKVepB8.js → layoutView-yb3DV2DQ.js} +658 -653
  53. package/dist/{login-LREiDfFU.js → login-RRpljbkm.js} +26 -25
  54. package/dist/{lov-view-DDrIVILB.js → lov-view-C9-rjzZR.js} +5 -5
  55. package/dist/{menuInfo-B1FUV-Sk.js → menuInfo-CzPQyFhp.js} +1 -1
  56. package/dist/{menuInfo.vue_vue_type_style_index_0_lang-Cnk3vdtD.js → menuInfo.vue_vue_type_style_index_0_lang-BumXunCg.js} +17 -17
  57. package/dist/pda-app-Dvy3U-b6.js +696 -0
  58. package/dist/redirect-BqegffKC.js +15 -0
  59. package/dist/{resource-BCwx9fEv.js → resource-Fy0lFkSV.js} +7 -7
  60. package/dist/{su-welcome-189A7N4r.js → su-welcome-DYvSCUST.js} +41 -40
  61. package/dist/{sys-config-BZ3sejow.js → sys-config-DJ1vNQTy.js} +18 -18
  62. package/dist/udp-core.css +2 -2
  63. package/dist/{utogether-r08LNiIZ.js → utogether-CjmJiHoE.js} +6 -6
  64. package/package.json +4 -2
  65. package/src/App.vue +3 -3
  66. package/src/components/udp/form-upload.vue +132 -0
  67. package/src/components/udp/index.ts +4 -0
  68. package/src/components/udp/modal-form.vue +180 -0
  69. package/src/components/udp/utils.ts +40 -0
  70. package/src/main.ts +5 -4
  71. package/src/plugins/vxe-table/index.ts +3 -3
  72. package/src/plugins/vxe-table/render.tsx +604 -184
  73. package/src/utils/udp/useRender.ts +420 -0
  74. package/src/views/organization/inv-org/InvOrganization.vue +2 -1
  75. package/src/views/organization/staff/StaffInfo.vue +0 -30
  76. package/src/views/organization/staff/StaffPanel.vue +4 -3
  77. package/src/views/system/menu/AuthorityPanel.vue +2 -2
  78. package/src/views/system/menu/SystemMenu.vue +9 -3
  79. package/src/views/system/menu/menuInfo.vue +6 -3
  80. package/src/views/system/role/AuthorityInfo.vue +1 -19
  81. package/src/views/system/sysUser/SysUserPanel.vue +1 -1
  82. package/src/views/udev/dict/DictView.vue +2 -2
  83. package/src/views/uhome/components/menu-favorite.vue +1 -1
  84. package/src/views/uhome/su-welcome.vue +1 -1
  85. package/src/views/ulogin/login.vue +1 -1
  86. package/types/global.d.ts +0 -1
  87. package/vite.config.ts +9 -2
  88. package/dist/InvOrganization-MuM2jtsG.js +0 -66
  89. package/dist/StaffInfo-DJzvBuxy.js +0 -4
  90. package/dist/core.umd.js +0 -173
  91. package/dist/index-BKIw8tSn.js +0 -9195
  92. package/dist/pda-app-CRhVGijN.js +0 -2209
  93. package/dist/redirect-DiaNDu8F.js +0 -15
  94. package/src/assets/images/empty.png +0 -0
  95. package/src/assets/images/logo.png +0 -0
  96. package/src/components/ReCountTo/README.md +0 -2
  97. package/src/components/ReCountTo/index.ts +0 -18
  98. package/src/components/ReCountTo/src/normal/index.tsx +0 -165
  99. package/src/components/ReCountTo/src/normal/props.ts +0 -37
  100. package/src/components/ReCountTo/src/rebound/index.tsx +0 -67
  101. package/src/components/ReCountTo/src/rebound/props.ts +0 -14
  102. package/src/components/ReCountTo/src/rebound/rebound.css +0 -77
  103. package/src/components/ReCropper/index.ts +0 -14
  104. package/src/components/ReCropper/src/index.tsx +0 -141
  105. package/src/components/ReFlicker/index.css +0 -39
  106. package/src/components/ReFlicker/index.ts +0 -50
  107. package/src/components/ReFlop/index.ts +0 -14
  108. package/src/components/ReFlop/src/Filpper.tsx +0 -99
  109. package/src/components/ReFlop/src/filpper.css +0 -184
  110. package/src/components/ReFlop/src/index.vue +0 -126
  111. package/src/components/ReFlowChart/index.ts +0 -24
  112. package/src/components/ReFlowChart/src/Control.vue +0 -139
  113. package/src/components/ReFlowChart/src/DataDialog.vue +0 -12
  114. package/src/components/ReFlowChart/src/NodePanel.vue +0 -151
  115. package/src/components/ReFlowChart/src/adpterForTurbo.ts +0 -160
  116. package/src/components/ReFlowChart/src/assets/iconfont/iconfont.css +0 -49
  117. package/src/components/ReFlowChart/src/assets/iconfont/iconfont.eot +0 -0
  118. package/src/components/ReFlowChart/src/assets/iconfont/iconfont.js +0 -61
  119. package/src/components/ReFlowChart/src/assets/iconfont/iconfont.json +0 -58
  120. package/src/components/ReFlowChart/src/assets/iconfont/iconfont.svg +0 -47
  121. package/src/components/ReFlowChart/src/assets/iconfont/iconfont.ttf +0 -0
  122. package/src/components/ReFlowChart/src/assets/iconfont/iconfont.woff +0 -0
  123. package/src/components/ReFlowChart/src/assets/iconfont/iconfont.woff2 +0 -0
  124. package/src/components/ReFlowChart/src/config.ts +0 -62
  125. package/src/components/ReSplitPane/index.css +0 -49
  126. package/src/components/ReSplitPane/index.tsx +0 -119
  127. package/src/components/ReSplitPane/resizer.css +0 -45
  128. package/src/components/ReSplitPane/resizer.tsx +0 -30
  129. package/src/components/SuCommon/card/components/Card.vue +0 -148
  130. package/src/components/SuCommon/card/components/DialogForm.vue +0 -127
  131. package/src/components/SuCommon/card/index.vue +0 -142
  132. package/src/components/SuCommon/icon-select/index.vue +0 -241
  133. package/src/components/SuCommon/table/index.vue +0 -208
  134. package/src/components/SuCommon/utils/index.ts +0 -103
  135. package/src/components/SuCommon/utils/slot.tsx +0 -50
  136. package/src/views/components/contextmenu/basic.vue +0 -74
  137. package/src/views/components/contextmenu/context-menu.vue +0 -40
  138. package/src/views/components/contextmenu/menuDynamic.vue +0 -99
  139. package/src/views/components/contextmenu/menuGroup.vue +0 -71
  140. package/src/views/components/count-to/index.vue +0 -43
  141. package/src/views/components/cropping/index.vue +0 -59
  142. package/src/views/components/cropping/picture.jpeg +0 -0
  143. package/src/views/components/split-pane/index.vue +0 -82
  144. package/src/views/components/video/index.vue +0 -57
@@ -0,0 +1,260 @@
1
+ import { defineComponent as E, ref as q, reactive as D, resolveComponent as M, createBlock as T, 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 { q as A } from "./index-DzOzUkf6.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
+ }, L = (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
+ }, k = (e, o) => ({ name: "#tag", props: { code: e, tagMap: o } }), w = (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: L,
192
+ renderDate: z,
193
+ renderSwitch: N,
194
+ renderCellTag: k,
195
+ renderEnabled: w,
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 = q(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 = D({
240
+ columns: V
241
+ });
242
+ return (t, g) => {
243
+ const F = M("ut-grid");
244
+ return H(), T(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,8 +2,8 @@ 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";
6
- const k = { name: "OrgUnit" }, $ = /* @__PURE__ */ a({
5
+ import { q as h } from "./index-DzOzUkf6.js";
6
+ const k = { name: "OrgUnit" }, q = /* @__PURE__ */ a({
7
7
  ...k,
8
8
  setup(R) {
9
9
  const r = "/uums/org", t = m(null), i = _(), d = [{ field: "orgCode" }, { field: "orgName" }, { field: "orgAlias" }], l = [
@@ -31,5 +31,5 @@ const k = { name: "OrgUnit" }, $ = /* @__PURE__ */ a({
31
31
  }
32
32
  });
33
33
  export {
34
- $ as default
34
+ q as default
35
35
  };
@@ -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-DzOzUkf6.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-DzOzUkf6.js";
3
3
  const t = {};
4
4
  function c(n, _) {
5
5
  return r(), e("div");
@@ -1,10 +1,10 @@
1
- import { defineComponent as q, ref as s, createVNode as r, Fragment as A, resolveComponent as l, nextTick as I, createElementBlock as b, openBlock as d, withDirectives as x, createBlock as p, createCommentVNode as c, vShow as E } from "vue";
1
+ import { defineComponent as P, ref as s, createVNode as r, Fragment as A, resolveComponent as l, nextTick as I, createElementBlock as b, openBlock as d, withDirectives as x, createBlock as p, createCommentVNode as c, vShow as E } from "vue";
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";
7
- const f = "/urpt/v1/printTemplate", K = /* @__PURE__ */ q({
5
+ import { _ as B } from "./DesignPanel.vue_vue_type_style_index_0_lang-DljbeFba.js";
6
+ import { q as U } from "./index-DzOzUkf6.js";
7
+ const f = "/urpt/v1/printTemplate", K = /* @__PURE__ */ P({
8
8
  name: "ReportDesign",
9
9
  __name: "ReportDesign",
10
10
  setup(F) {
@@ -127,26 +127,26 @@ const f = "/urpt/v1/printTemplate", K = /* @__PURE__ */ q({
127
127
  }) {
128
128
  e.id && (u[1].editRender.props.disabled = !0, o.value.getInstance().refreshColumn());
129
129
  }
130
- }, w = ({
130
+ }, N = ({
131
131
  row: e
132
- }) => e.enabled !== "1", N = () => {
132
+ }) => e.enabled !== "1", w = () => {
133
133
  t.value = {}, a.value = !1, o.value.refreshData();
134
134
  };
135
135
  return (e, m) => {
136
- const D = l("ut-grid"), P = l("ut-modal-form");
136
+ const D = l("ut-grid"), q = l("ut-modal-form");
137
137
  return d(), b("div", null, [x(r(D, {
138
138
  ref_key: "xgrid",
139
139
  ref: o,
140
140
  items: h,
141
141
  columns: u,
142
- checkMethod: w,
142
+ checkMethod: N,
143
143
  url: f,
144
144
  events: T
145
145
  }, null, 512), [[E, !a.value]]), a.value ? (d(), p(B, {
146
146
  key: 0,
147
147
  record: t.value,
148
- onOnClose: N
149
- }, null, 8, ["record"])) : c("", !0), i.value ? (d(), p(P, {
148
+ onOnClose: w
149
+ }, null, 8, ["record"])) : c("", !0), i.value ? (d(), p(q, {
150
150
  key: 1,
151
151
  record: t.value,
152
152
  items: C,
@@ -1,6 +1,6 @@
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";
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
+ import { useRoute as S } from "vue-router";
3
+ import { _ as g } from "./ReportQueryFrom.vue_vue_type_style_index_0_lang-CLNODquq.js";
4
4
  import { useRender as N } from "@utogether/utils";
5
5
  const T = { name: "ReportQuery" }, O = /* @__PURE__ */ m({
6
6
  ...T,
@@ -43,10 +43,10 @@ const T = { name: "ReportQuery" }, O = /* @__PURE__ */ m({
43
43
  { field: "createdByName", width: 100 },
44
44
  { field: "exportDate", width: 100 },
45
45
  { field: "creationDate", width: 100, formatter: ["formatDate"] }
46
- ], l = u(null), n = () => {
46
+ ], l = p(null), n = () => {
47
47
  e.showChild = !1;
48
48
  };
49
- return p(() => {
49
+ return u(() => {
50
50
  var o;
51
51
  (o = t == null ? void 0 : t.params) != null && o.isJump && (e.dataStatus = "add", e.showChild = !0);
52
52
  }), (o, y) => {
@@ -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-CLNODquq.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,10 +1,11 @@
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";
5
- import { templateRef as V } from "@vueuse/core";
4
+ import { useRoute as J } from "vue-router";
5
+ import { templateRef as O } from "@vueuse/core";
6
+ import { q as V } from "./index-DzOzUkf6.js";
6
7
  import { useRender as Y } from "@utogether/utils";
7
- const H = { class: "ut-drawer-template" }, M = { class: "flex" }, ee = /* @__PURE__ */ T({
8
+ const H = { class: "ut-drawer-template" }, M = { class: "flex" }, te = /* @__PURE__ */ T({
8
9
  __name: "ReportQueryFrom",
9
10
  props: {
10
11
  show: { type: Boolean, default: !0 },
@@ -17,7 +18,7 @@ const H = { class: "ut-drawer-template" }, M = { class: "flex" }, ee = /* @__PUR
17
18
  setup(x, { emit: C }) {
18
19
  const m = x, { t: h } = z(), d = J();
19
20
  let y = {};
20
- const g = V("xForm", null), E = $(!1), u = Y(), f = O(), N = S(() => {
21
+ const g = O("xForm", null), E = $(!1), u = Y(), f = V(), N = S(() => {
21
22
  const e = {};
22
23
  return r.items.length && r.items.filter((t) => t.required).forEach((t) => {
23
24
  e[t.field] = [
@@ -173,5 +174,5 @@ const H = { class: "ut-drawer-template" }, M = { class: "flex" }, ee = /* @__PUR
173
174
  }
174
175
  });
175
176
  export {
176
- ee as _
177
+ te as _
177
178
  };
@@ -1,14 +1,14 @@
1
- import { defineComponent as E, ref as r, createVNode as p, Fragment as S, resolveComponent as a, createElementBlock as O, openBlock as f, createBlock as v, createCommentVNode as h } from "vue";
2
- import { useI18n as q } from "vue-i18n";
1
+ import { defineComponent as E, ref as r, createVNode as p, Fragment as S, resolveComponent as i, createElementBlock as q, openBlock as f, createBlock as v, createCommentVNode as h } from "vue";
2
+ import { useI18n as O } 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 { e as C, q as D } from "./index-DzOzUkf6.js";
6
6
  const I = "/upms/v1/printTemplateConfig", L = /* @__PURE__ */ E({
7
7
  __name: "ReportTemplate",
8
8
  setup(W) {
9
9
  const {
10
10
  t: b
11
- } = q(), o = V(), s = r(null), i = r(!1), d = r(!1), g = r({}), u = r([]), n = r({}), R = [{
11
+ } = O(), o = V(), s = r(null), a = r(!1), d = r(!1), g = r({}), u = r([]), n = r({}), R = [{
12
12
  field: "templateCode",
13
13
  title: "message.file.templateCode"
14
14
  }, {
@@ -65,7 +65,7 @@ const I = "/upms/v1/printTemplateConfig", L = /* @__PURE__ */ E({
65
65
  slots: {
66
66
  default: ({
67
67
  row: t
68
- }) => [p(S, null, [p(a("ut-button"), {
68
+ }) => [p(S, null, [p(i("ut-button"), {
69
69
  content: "inv",
70
70
  icon: "ri-edit-line",
71
71
  onTap: () => y(t)
@@ -84,7 +84,7 @@ const I = "/upms/v1/printTemplateConfig", L = /* @__PURE__ */ E({
84
84
  label: e.orgName
85
85
  }))
86
86
  }
87
- }), n.value = {}, i.value = !0;
87
+ }), n.value = {}, a.value = !0;
88
88
  }, _ = () => {
89
89
  if (n.value.orgName) {
90
90
  const t = s.value.getInstance().getCheckboxRecords(), e = [];
@@ -94,7 +94,7 @@ const I = "/upms/v1/printTemplateConfig", L = /* @__PURE__ */ E({
94
94
  l.orgId = c, l.id = null, e.push(l);
95
95
  });
96
96
  }), D().post(I, e).then(() => {
97
- i.value = !1, B();
97
+ a.value = !1, B();
98
98
  });
99
99
  }
100
100
  }, x = {
@@ -123,8 +123,8 @@ const I = "/upms/v1/printTemplateConfig", L = /* @__PURE__ */ E({
123
123
  auth: "copy"
124
124
  }];
125
125
  return (t, e) => {
126
- const m = a("ut-grid"), c = a("ut-modal-form"), l = a("ut-modal-grid");
127
- return f(), O("div", null, [p(m, {
126
+ const m = i("ut-grid"), c = i("ut-modal-form"), l = i("ut-modal-grid");
127
+ return f(), q("div", null, [p(m, {
128
128
  ref_key: "xgrid",
129
129
  ref: s,
130
130
  items: R,
@@ -132,7 +132,7 @@ const I = "/upms/v1/printTemplateConfig", L = /* @__PURE__ */ E({
132
132
  columns: k,
133
133
  events: x,
134
134
  url: I
135
- }, null, 512), i.value ? (f(), v(c, {
135
+ }, null, 512), a.value ? (f(), v(c, {
136
136
  key: 0,
137
137
  ref: "xmodal",
138
138
  record: n.value,
@@ -142,7 +142,7 @@ const I = "/upms/v1/printTemplateConfig", L = /* @__PURE__ */ E({
142
142
  "data-status": "update",
143
143
  title: "单据复制",
144
144
  onConfirm: _,
145
- onClose: e[0] || (e[0] = (T) => i.value = !1)
145
+ onClose: e[0] || (e[0] = (T) => a.value = !1)
146
146
  }, null, 8, ["record", "items"])) : h("", !0), d.value ? (f(), v(l, {
147
147
  key: 1,
148
148
  ref: "xmgrid",
@@ -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-CaFKRwXu.js";
3
+ import { _ as p } from "./RolePanel.vue_vue_type_script_setup_true_lang-BrnRgHEk.js";
4
+ import { _ as d } from "./index-DzOzUkf6.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-CaFKRwXu.js";
3
+ import { _ as p } from "./RolePanel.vue_vue_type_script_setup_true_lang-cmW7zBLu.js";
4
+ import { _ as d } from "./index-DzOzUkf6.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-cmW7zBLu.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-BrnRgHEk.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,9 +1,9 @@
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";
6
- const q = {
3
+ import { _ as q } from "./AuthorityInfo.vue_vue_type_style_index_0_lang-BqccGW7v.js";
4
+ import { _ as O } from "./UserInfo.vue_vue_type_style_index_0_lang-8N7P4Hl7.js";
5
+ import { q as P, e as R } from "./index-DzOzUkf6.js";
6
+ const T = {
7
7
  class: "page-content"
8
8
  }, J = /* @__PURE__ */ N({
9
9
  __name: "RolePanel",
@@ -14,7 +14,7 @@ const q = {
14
14
  showModalView: !1,
15
15
  showUserView: !1,
16
16
  dataStatus: ""
17
- }), o = I("active"), w = $(), a = l(null), n = l(""), f = l({}), u = l("");
17
+ }), o = I("active"), f = $(), a = l(null), n = l(""), w = l({}), u = l("");
18
18
  B(() => o.value, () => {
19
19
  V();
20
20
  });
@@ -52,7 +52,7 @@ const q = {
52
52
  }, {
53
53
  field: "enabled",
54
54
  width: 90,
55
- cellRender: w.renderEnabled(U)
55
+ cellRender: f.renderEnabled(U)
56
56
  }, {
57
57
  field: "operate",
58
58
  width: 260,
@@ -80,14 +80,14 @@ const q = {
80
80
  }
81
81
  }], V = () => {
82
82
  var t;
83
- f.value = {
83
+ w.value = {
84
84
  unitId: (t = o == null ? void 0 : o.value) == null ? void 0 : t.id
85
85
  }, a.value.refreshData();
86
86
  }, v = (t) => {
87
87
  t === "add" && C(), t === "del" && D();
88
88
  }, C = () => {
89
89
  var t;
90
- e.dataStatus = "add", n.value = "post", u.value = "/uums/role", e.record = {}, e.record.unitId = (t = o == null ? void 0 : o.value) == null ? void 0 : t.id, e.record.enabled = "1", e.record.orgId = T().getOrgId, e.showModalView = !0;
90
+ e.dataStatus = "add", n.value = "post", u.value = "/uums/role", e.record = {}, e.record.unitId = (t = o == null ? void 0 : o.value) == null ? void 0 : t.id, e.record.enabled = "1", e.record.orgId = R().getOrgId, e.showModalView = !0;
91
91
  }, k = (t) => {
92
92
  n.value = "put", u.value = "/uums/role/singleUpdate", e.dataStatus = "update", e.record = t, e.showModalView = !0;
93
93
  }, D = () => {
@@ -100,14 +100,14 @@ const q = {
100
100
  async function U({
101
101
  row: t
102
102
  }) {
103
- await R().put("/uums/role/singleUpdate", t), a.value.refreshData();
103
+ await P().put("/uums/role/singleUpdate", t), a.value.refreshData();
104
104
  }
105
105
  const m = () => {
106
106
  e.showDrawView = !1, e.showAuthView = !1, e.showUserView = !1;
107
107
  };
108
108
  return (t, h) => {
109
109
  const b = r("ut-grid"), x = r("ut-modal-form");
110
- return d(), E("div", q, [s(b, {
110
+ return d(), E("div", T, [s(b, {
111
111
  ref_key: "xgrid",
112
112
  ref: a,
113
113
  items: p,
@@ -115,13 +115,13 @@ const q = {
115
115
  url: "/uums/role",
116
116
  mode: "form",
117
117
  onButtonClick: v
118
- }, null, 512), e.showAuthView ? (d(), i(O, {
118
+ }, null, 512), e.showAuthView ? (d(), i(q, {
119
119
  key: 0,
120
120
  show: e.showAuthView,
121
121
  record: e.record,
122
122
  "data-status": e.dataStatus,
123
123
  onOnClose: m
124
- }, null, 8, ["show", "record", "data-status"])) : c("", !0), e.showUserView ? (d(), i(P, {
124
+ }, null, 8, ["show", "record", "data-status"])) : c("", !0), e.showUserView ? (d(), i(O, {
125
125
  key: 1,
126
126
  show: e.showUserView,
127
127
  record: e.record,
@@ -4,12 +4,12 @@ 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";
8
- const $ = {
7
+ import { q as C } from "./index-DzOzUkf6.js";
8
+ const q = {
9
9
  class: "page-content"
10
10
  }, d = "/uums/orgRole", W = /* @__PURE__ */ V({
11
11
  __name: "RolePanel",
12
- setup(q) {
12
+ setup($) {
13
13
  const e = b({
14
14
  record: {},
15
15
  loading: !1,
@@ -94,7 +94,7 @@ const $ = {
94
94
  };
95
95
  return (t, r) => {
96
96
  const s = i("ut-grid"), a = i("ut-modal-grid"), l = M("spinning");
97
- return A((w(), L("div", $, [h(s, {
97
+ return A((w(), L("div", q, [h(s, {
98
98
  ref_key: "xgrid",
99
99
  ref: n,
100
100
  items: m,