@utogether/udp-core 2.0.0-beta.24 → 2.0.0-beta.26

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 (155) hide show
  1. package/dist/403-D6Wb3JJh.js +72 -0
  2. package/dist/404-B_HNbPNV.js +72 -0
  3. package/dist/500-BMemTTy1.js +77 -0
  4. package/dist/AuthorityInfo-6wHxwiFM.js +91 -0
  5. package/dist/AuthorityPanel-OqF_DvXA.js +98 -0
  6. package/dist/Company-BLXSfow0.js +21 -0
  7. package/dist/CompanyPanel-B4kRZ5Cg.js +199 -0
  8. package/dist/DataSet-CuGZcKC-.js +141 -0
  9. package/dist/Department-oFhsa7cd.js +21 -0
  10. package/dist/DepartmentPanel-B1UGpu-r.js +242 -0
  11. package/dist/DepartmentPanel-BL58AdoT.js +2 -0
  12. package/dist/DesignPanel-DmkFVw1N.js +1196 -0
  13. package/dist/DictView-CC5yMzOq.js +100 -0
  14. package/dist/File-WJXjGYxr.js +89 -0
  15. package/dist/InvOrganization-BwMmD8Ua.js +76 -0
  16. package/dist/Org-HgnOWubi.js +76 -0
  17. package/dist/Preview-CAzWxLmP.js +45 -0
  18. package/dist/ReIcon-DecitXmg.js +413 -0
  19. package/dist/ReportDefine-BgLM-Rjk.js +10 -0
  20. package/dist/ReportDesign-DwchGG2P.js +158 -0
  21. package/dist/ReportQuery-D5jaRJEn.js +101 -0
  22. package/dist/ReportQueryFrom-CNlmtYey.js +198 -0
  23. package/dist/ReportTemplate-CNcTmccs.js +162 -0
  24. package/dist/Role-Be8WfdCA.js +21 -0
  25. package/dist/RoleAssign-CtehGAUf.js +22 -0
  26. package/dist/RolePanel-CAwITg_q.js +131 -0
  27. package/dist/RolePanel-SN0FGFZ7.js +176 -0
  28. package/dist/ScrollPanel-DW30pGz1.js +88 -0
  29. package/dist/Staff-V2YsNKcj.js +22 -0
  30. package/dist/StaffInfo-CKRPW0r4.js +149 -0
  31. package/dist/StaffPanel-BxcgMg7u.js +143 -0
  32. package/dist/SysUser-Dxyj5w5m.js +12 -0
  33. package/dist/SysUserPanel-DI6CWcZo.js +365 -0
  34. package/dist/SystemMenu-BBHREM8T.js +154 -0
  35. package/dist/UserInfo-BMVQ0xwE.js +194 -0
  36. package/dist/_plugin-vue_export-helper-C6QCLu9I.js +8 -0
  37. package/dist/api-BFNxcxSN.js +30 -0
  38. package/dist/authority-BJFEUdrh.js +20 -0
  39. package/dist/await-to-js.es5-DkWYmPXW.js +10 -0
  40. package/dist/childView-BBjPEraB.js +184 -0
  41. package/dist/childView-DNqG2UVm.js +181 -0
  42. package/dist/code-rule-QFrhqFrW.js +151 -0
  43. package/dist/contant-Q77dU_V3.js +4 -0
  44. package/dist/core.es.js +6 -23
  45. package/dist/cron-task-BpUDKEAU.js +131 -0
  46. package/dist/flow-task-DAc2NrDU.js +11 -0
  47. package/dist/frameView-Di0zJZUR.js +39 -0
  48. package/dist/img/v_img.svg +1 -1
  49. package/dist/layout-home-BVp7vYLR.js +239 -0
  50. package/dist/layoutView-B6Mx2ERA.js +2662 -0
  51. package/dist/log-in-BrNB0mLz.js +117 -0
  52. package/dist/log-out-dYfqvzy6.js +111 -0
  53. package/dist/login-D_Hjy3Jd.js +231 -0
  54. package/dist/login-log-CJak-ANA.js +79 -0
  55. package/dist/lov-view-DM5Nm5tW.js +95 -0
  56. package/dist/menuInfo-BlOY1KZW.js +346 -0
  57. package/dist/mitt-CQgI7DYU.js +27 -0
  58. package/dist/pda-app-CA7YI37u.js +589 -0
  59. package/dist/redirect-N0k4tImU.js +16 -0
  60. package/dist/resource-CfQTHFcs.js +94 -0
  61. package/dist/su-welcome-DVD3S_du.js +799 -0
  62. package/dist/sys-config-Ddb3vBpK.js +316 -0
  63. package/dist/system-Cm3lyBas.js +1528 -0
  64. package/dist/udp-core-DaQd5CF1.js +2028 -0
  65. package/dist/udp-core.css +2 -1
  66. package/dist/useDataThemeChange-DJ4K3VGp.js +226 -0
  67. package/dist/useNav-BhOJIdrJ.js +106 -0
  68. package/dist/utogether-l7JXs4Lv.js +4 -0
  69. package/dist/water-mark-WDQZ9YqB.js +119 -0
  70. package/dist/wecom-push-kWkAVRCj.js +77 -0
  71. package/package.json +1 -1
  72. package/src/App.vue +5 -0
  73. package/src/api/index.ts +51 -51
  74. package/src/components/udp/grid/index.vue +9 -11
  75. package/src/components/udp/index.ts +9 -8
  76. package/src/components/udp/lov/index.vue +430 -0
  77. package/src/components/udp/upload/index.vue +444 -444
  78. package/src/components/udp/utils.ts +420 -414
  79. package/src/main.ts +4 -6
  80. package/src/plugins/vxe-table/index.ts +1 -1
  81. package/src/plugins/vxe-table/render.tsx +999 -998
  82. package/src/router/utils.ts +2 -3
  83. package/src/views/login/login-view.vue +297 -301
  84. package/src/views/ulogin/login.vue +3 -32
  85. package/tsconfig.json +1 -1
  86. package/vite.config.ts +8 -3
  87. package/dist/403-DDCAPCYb.js +0 -65
  88. package/dist/404-BclWW4UB.js +0 -65
  89. package/dist/500-BAggMgTl.js +0 -67
  90. package/dist/AuthorityInfo-liCxYVNc.js +0 -4
  91. package/dist/AuthorityInfo.vue_vue_type_style_index_0_lang-Bd5A4CD-.js +0 -100
  92. package/dist/AuthorityPanel-CRlAwbaI.js +0 -4
  93. package/dist/AuthorityPanel.vue_vue_type_style_index_0_lang-DxhZjp1S.js +0 -114
  94. package/dist/Company-DjaOAaWM.js +0 -25
  95. package/dist/CompanyPanel-Dp_2z717.js +0 -206
  96. package/dist/DataSet-DT-rGICv.js +0 -147
  97. package/dist/Department-Bp5RGbl9.js +0 -25
  98. package/dist/DepartmentPanel-Bg4xM4Lx.js +0 -254
  99. package/dist/DesignPanel-BS2ioHd_.js +0 -4
  100. package/dist/DesignPanel.vue_vue_type_style_index_0_lang-DWwfRVCj.js +0 -1013
  101. package/dist/DictView-pYJXt6IS.js +0 -111
  102. package/dist/InvOrganization-D90gRzlN.js +0 -74
  103. package/dist/Org-Dk4KuIx2.js +0 -39
  104. package/dist/Preview-DpZR6uKs.js +0 -48
  105. package/dist/ReportDefine-PtJnfaLw.js +0 -10
  106. package/dist/ReportDesign-4HWkcTtA.js +0 -165
  107. package/dist/ReportQuery-BPY1lWFn.js +0 -75
  108. package/dist/ReportQueryFrom-CHFlkZ42.js +0 -4
  109. package/dist/ReportQueryFrom.vue_vue_type_style_index_0_lang-DbbQydKz.js +0 -178
  110. package/dist/ReportTemplate-C2F3oy8I.js +0 -161
  111. package/dist/Role-iTP6DYOi.js +0 -25
  112. package/dist/RoleAssign-DIYNHQeF.js +0 -26
  113. package/dist/RolePanel-0ojFIz9G.js +0 -4
  114. package/dist/RolePanel-B0Yr5vjo.js +0 -4
  115. package/dist/RolePanel.vue_vue_type_script_setup_true_lang-CHAj3dCD.js +0 -132
  116. package/dist/RolePanel.vue_vue_type_script_setup_true_lang-CXZBxePU.js +0 -154
  117. package/dist/ScrollPanel.vue_vue_type_style_index_0_lang-DtNzPRjS.js +0 -101
  118. package/dist/Staff-sftZ0bIV.js +0 -26
  119. package/dist/StaffInfo-BG2FMXzR.js +0 -4
  120. package/dist/StaffInfo.vue_vue_type_script_setup_true_lang-DzGn0pYY.js +0 -108
  121. package/dist/StaffPanel-BydqiitC.js +0 -4
  122. package/dist/StaffPanel.vue_vue_type_script_setup_true_lang-C42Pnb-b.js +0 -154
  123. package/dist/SysUser-qMGVHpJ_.js +0 -15
  124. package/dist/SysUserPanel-Bh1HgSAr.js +0 -4
  125. package/dist/SysUserPanel.vue_vue_type_script_setup_true_lang-BBEMYLQN.js +0 -356
  126. package/dist/SystemMenu-DUbWmLip.js +0 -156
  127. package/dist/UserInfo-DNkiTdWm.js +0 -4
  128. package/dist/UserInfo.vue_vue_type_style_index_0_lang-B1eNklEd.js +0 -160
  129. package/dist/await-to-js.es5-Bv3Eu4mi.js +0 -10
  130. package/dist/childView-CjUjh8Da.js +0 -4
  131. package/dist/childView-DT9luEEK.js +0 -4
  132. package/dist/childView.vue_vue_type_style_index_0_lang-CgqosFJQ.js +0 -183
  133. package/dist/childView.vue_vue_type_style_index_0_lang-DkXHMFPd.js +0 -143
  134. package/dist/code-rule-uOazxFfn.js +0 -148
  135. package/dist/cron-task-DEykunjo.js +0 -135
  136. package/dist/flow-task-B07st2aD.js +0 -10
  137. package/dist/frameView-FxzlbkeM.js +0 -44
  138. package/dist/index-BnxyUGKa.js +0 -7944
  139. package/dist/layout-home-C0jme8Ju.js +0 -232
  140. package/dist/layoutView-BqMAHIxF.js +0 -3239
  141. package/dist/log-in-skZaWMBY.js +0 -117
  142. package/dist/log-out-BiND7muW.js +0 -130
  143. package/dist/login-C-184YPO.js +0 -235
  144. package/dist/login-log-BEHYT0v0.js +0 -70
  145. package/dist/lov-view-Df-swRfy.js +0 -99
  146. package/dist/menuInfo-CpyjX4a4.js +0 -4
  147. package/dist/menuInfo.vue_vue_type_style_index_0_lang-D09-OKji.js +0 -363
  148. package/dist/pda-app-DP87aTBc.js +0 -710
  149. package/dist/redirect-BqegffKC.js +0 -15
  150. package/dist/resource-CAldbnw4.js +0 -97
  151. package/dist/su-welcome-DoBUqadB.js +0 -42225
  152. package/dist/sys-config-hGuE7DUf.js +0 -385
  153. package/dist/useNav-Cf_e5pBY.js +0 -92
  154. package/dist/utogether-MlnyYtNS.js +0 -4
  155. package/dist/wecom-push-DR7NsNro.js +0 -70
@@ -1,111 +0,0 @@
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-CgqosFJQ.js";
3
- import { useRender as E } from "@utogether/utils";
4
- const y = {
5
- name: "DictView"
6
- }, w = /* @__PURE__ */ v({
7
- ...y,
8
- setup(N) {
9
- const o = n(null), a = [{
10
- field: "dictCode",
11
- title: "message.udp.dictCode"
12
- }, {
13
- field: "dictName",
14
- title: "message.udp.dictName"
15
- }, {
16
- field: "dictType",
17
- title: "message.udp.dictType",
18
- code: "SU.DICT.TYPE"
19
- }], t = E(), c = [
20
- {
21
- type: "checkbox",
22
- width: 40,
23
- align: "center"
24
- },
25
- {
26
- field: "dictCode",
27
- title: "message.udp.dictCode",
28
- required: !0,
29
- editRender: t.renderInput()
30
- },
31
- {
32
- field: "dictName",
33
- title: "message.udp.dictName",
34
- required: !0,
35
- editRender: t.renderInput()
36
- },
37
- // {
38
- // field: 'userName',
39
- // width: 300,
40
- // editRender: renderHook.renderUpload()
41
- // },
42
- {
43
- field: "dictType",
44
- title: "message.udp.dictType",
45
- required: !0,
46
- editRender: t.renderDict("SU.DICT.TYPE"),
47
- formatter: ["formatDict", "SU.DICT.TYPE"]
48
- },
49
- {
50
- field: "dictDesc",
51
- title: "message.udp.dictDesc",
52
- editRender: t.renderInput()
53
- },
54
- {
55
- field: "enabled",
56
- width: 110,
57
- editRender: t.renderDict({
58
- code: "SU.ENABLE",
59
- defaultValue: "1"
60
- }),
61
- formatter: ["formatDict", "SU.ENABLE"]
62
- },
63
- {
64
- field: "operate",
65
- width: 80,
66
- slots: {
67
- default: ({
68
- row: e
69
- }) => e.id ? [l(s("ut-button"), {
70
- content: "lov",
71
- icon: "ri-dice-6-line",
72
- onClick: () => m(e)
73
- }, null)] : null
74
- }
75
- }
76
- ], d = n(!1), r = n(null), m = (e) => {
77
- g(() => {
78
- var i;
79
- d.value = !0, r.value = e, r.value.total = (i = e.children) == null ? void 0 : i.length;
80
- });
81
- }, f = () => {
82
- o.value.refreshData(), d.value = !1;
83
- }, p = {
84
- editActived({
85
- row: e
86
- }) {
87
- c[1].editRender.props.disabled = !!e.id;
88
- }
89
- }, h = (e) => e.dictType !== "0";
90
- return (e, i) => {
91
- const _ = s("ut-grid");
92
- return u(), C("div", null, [l(_, {
93
- ref_key: "xgrid",
94
- ref: o,
95
- items: a,
96
- columns: c,
97
- "check-method": h,
98
- events: p,
99
- url: "/upfm/v1/lov"
100
- }, null, 512), d.value ? (u(), D(k, {
101
- key: 0,
102
- show: d.value,
103
- record: r.value,
104
- onOnClose: f
105
- }, null, 8, ["show", "record"])) : T("", !0)]);
106
- };
107
- }
108
- });
109
- export {
110
- w as default
111
- };
@@ -1,74 +0,0 @@
1
- import { defineComponent as u, ref as m, reactive as c, resolveComponent as g, createBlock as p, openBlock as f } from "vue";
2
- import { t as _ } from "./await-to-js.es5-Bv3Eu4mi.js";
3
- import { useRender as z } from "@utogether/utils";
4
- import { i as h } from "./index-BnxyUGKa.js";
5
- const C = {
6
- name: "InvOrganization"
7
- }, x = /* @__PURE__ */ u({
8
- ...C,
9
- setup(k) {
10
- const t = "/uums/cusOrganization", r = m(null), e = z(), i = [{
11
- field: "organizationCode",
12
- title: "message.udp.organizationCode"
13
- }, {
14
- field: "organizationName",
15
- title: "message.udp.organizationName"
16
- }], a = [{
17
- type: "checkbox",
18
- width: 40,
19
- align: "center"
20
- }, {
21
- field: "organizationCode",
22
- width: 120,
23
- title: "message.udp.organizationCode",
24
- required: !0,
25
- editRender: e.renderInput()
26
- }, {
27
- field: "organizationName",
28
- minWidth: 120,
29
- title: "message.udp.organizationName",
30
- required: !0,
31
- editRender: e.renderInput()
32
- }, {
33
- field: "orgName",
34
- minWidth: 170,
35
- title: "message.udp.orgName",
36
- required: !0,
37
- editRender: e.renderBU()
38
- }, {
39
- field: "orgCode",
40
- width: 110,
41
- title: "message.udp.orgCode"
42
- }, {
43
- field: "enabled",
44
- width: 80,
45
- cellRender: e.renderEnabled(d)
46
- }];
47
- async function d({
48
- row: n
49
- }) {
50
- const [o] = await _(h().put(t, [n]));
51
- !o && r.value.refreshData();
52
- }
53
- const s = c({
54
- columns: a
55
- });
56
- return (n, o) => {
57
- const l = g("ut-grid");
58
- return f(), p(l, {
59
- ref_key: "xgrid",
60
- ref: r,
61
- items: i,
62
- "default-params": {
63
- organizationId: "",
64
- orgId: ""
65
- },
66
- columns: s.columns,
67
- url: t
68
- }, null, 8, ["columns"]);
69
- };
70
- }
71
- });
72
- export {
73
- x as default
74
- };
@@ -1,39 +0,0 @@
1
- import { defineComponent as a, ref as m, resolveComponent as u, createBlock as c, openBlock as g } from "vue";
2
- import { t as p } from "./await-to-js.es5-Bv3Eu4mi.js";
3
- import { clone as f } from "xe-utils";
4
- import { useRender as _ } from "@utogether/utils";
5
- import { i as h } from "./index-BnxyUGKa.js";
6
- const C = { name: "OrgUnit" }, N = /* @__PURE__ */ a({
7
- ...C,
8
- setup(k) {
9
- const t = "/uums/org", r = m(null), n = _(), d = [
10
- { field: "orgCode", title: "message.udp.orgCode" },
11
- { field: "orgName", title: "message.udp.orgName" },
12
- { field: "orgAlias", title: "message.udp.orgAlias" }
13
- ], s = [
14
- { type: "checkbox", width: 50, align: "center" },
15
- { field: "orgCode", title: "message.udp.orgCode", required: !0, editRender: { name: "$input" } },
16
- { field: "orgName", title: "message.udp.orgName", required: !0, minWidth: 200, editRender: { name: "$input" } },
17
- { field: "orgAlias", title: "message.udp.orgAlias", editRender: { name: "$input" } },
18
- { field: "orgDesc", title: "message.udp.orgDesc", editRender: { name: "$input" } },
19
- { field: "enabled", width: 80, cellRender: n.renderEnabled(l) }
20
- ];
21
- async function l({ row: o }) {
22
- const i = f(o, !0), [e] = await p(h().put(t, [i]));
23
- !e && r.value.refreshData();
24
- }
25
- return (o, i) => {
26
- const e = u("ut-grid");
27
- return g(), c(e, {
28
- ref_key: "xgrid",
29
- ref: r,
30
- items: d,
31
- columns: s,
32
- url: t
33
- }, null, 512);
34
- };
35
- }
36
- });
37
- export {
38
- N as default
39
- };
@@ -1,48 +0,0 @@
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-BnxyUGKa.js";
3
- const P = { class: "ut-preview-contain" }, C = /* @__PURE__ */ w({
4
- __name: "Preview",
5
- setup(T, { expose: d }) {
6
- const n = o(!1), l = o(!1), r = o(null), s = o(null), i = o(220), v = (t, e) => {
7
- l.value = !0, r.value = t, s.value = e, V(() => {
8
- $("#preview_content").html(t.getHtml(e)), l.value = !1;
9
- });
10
- }, m = () => {
11
- r.value.print(s.value, {});
12
- };
13
- return d({
14
- show: (t, e, a = 220) => {
15
- n.value = !0, i.value = a, v(t, e);
16
- }
17
- }), (t, e) => {
18
- const a = u("ut-button"), _ = u("vxe-modal");
19
- return x(), h("div", P, [
20
- c(_, {
21
- modelValue: n.value,
22
- "onUpdate:modelValue": e[0] || (e[0] = (f) => n.value = f),
23
- loading: l.value,
24
- width: i.value + "mm",
25
- "min-height": "480",
26
- "lock-scroll": !1,
27
- "show-footer": !1
28
- }, {
29
- title: p(() => [
30
- c(a, {
31
- status: "u-cyan",
32
- icon: "ri-printer-line",
33
- content: "print",
34
- onTap: m
35
- })
36
- ]),
37
- default: p(() => e[1] || (e[1] = [
38
- g("div", { id: "preview_content" }, null, -1)
39
- ])),
40
- _: 1
41
- }, 8, ["modelValue", "loading", "width"])
42
- ]);
43
- };
44
- }
45
- }), N = /* @__PURE__ */ k(C, [["__scopeId", "data-v-e51c0962"]]);
46
- export {
47
- N as default
48
- };
@@ -1,10 +0,0 @@
1
- import { createElementBlock as e, openBlock as r } from "vue";
2
- import { _ as o } from "./index-BnxyUGKa.js";
3
- const t = {};
4
- function c(n, _) {
5
- return r(), e("div");
6
- }
7
- const a = /* @__PURE__ */ o(t, [["render", c]]);
8
- export {
9
- a as default
10
- };
@@ -1,165 +0,0 @@
1
- import { defineComponent as I, ref as s, createVNode as r, Fragment as b, resolveComponent as a, nextTick as q, createElementBlock as x, openBlock as u, withDirectives as w, createBlock as m, createCommentVNode as c, vShow as E } from "vue";
2
- import { useRender as S, successMessage as $ } from "@utogether/utils";
3
- import { useClipboard as V } from "@vueuse/core";
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-DWwfRVCj.js";
6
- import { i as U } from "./index-BnxyUGKa.js";
7
- const f = "/urpt/v1/printTemplate", K = /* @__PURE__ */ I({
8
- name: "ReportDesign",
9
- __name: "ReportDesign",
10
- setup(F) {
11
- const l = s(null), o = s(!1), i = s(!1), n = S(), t = s({}), {
12
- copy: v
13
- } = V(), g = U(), h = [{
14
- field: "templateCode",
15
- title: "message.urpt.templateCode"
16
- }, {
17
- field: "templateName",
18
- title: "message.urpt.templateName"
19
- }], d = [
20
- {
21
- type: "checkbox",
22
- width: 50,
23
- align: "center"
24
- },
25
- {
26
- field: "templateCode",
27
- title: "message.urpt.templateCode",
28
- required: !0,
29
- width: 150,
30
- editRender: n.renderInput()
31
- },
32
- {
33
- field: "templateName",
34
- title: "message.urpt.templateName",
35
- required: !0,
36
- width: 240,
37
- editRender: n.renderInput()
38
- },
39
- {
40
- field: "paperType",
41
- title: "message.urpt.paperType",
42
- width: 120,
43
- required: !0,
44
- editRender: n.renderDict({
45
- code: "SU.PRINT.PAPER",
46
- defaultValue: "A4"
47
- }),
48
- formatter: ["formatDict", "SU.PRINT.PAPER"]
49
- },
50
- // { field: 'createdByName', width: 120 },
51
- {
52
- field: "remarks",
53
- title: "message.remark",
54
- minWidth: 120,
55
- editRender: n.renderInput()
56
- },
57
- // { field: 'enabled', width: 55, formatter: ['formatDict', 'SU.ENABLE'] },
58
- {
59
- field: "operate",
60
- width: 200,
61
- slots: {
62
- default: ({
63
- row: e
64
- }) => e.id ? r(b, null, [r(a("ut-button"), {
65
- content: "design",
66
- icon: "ri-quill-pen-line",
67
- onTap: () => k(e)
68
- }, null), r(a("ut-button"), {
69
- content: "copy",
70
- status: "warning",
71
- icon: "ri-file-copy-2-fill",
72
- onTap: () => R(e)
73
- }, null), r(a("ut-button"), {
74
- content: "export",
75
- status: "u-cyan",
76
- icon: "ri-folder-download-fill",
77
- onTap: () => y(e)
78
- }, null)]) : null
79
- }
80
- }
81
- ], C = [{
82
- field: "templateCode",
83
- title: "message.urpt.templateCode",
84
- required: !0,
85
- itemRender: {
86
- name: "$input"
87
- },
88
- span: 24
89
- }, {
90
- field: "templateName",
91
- title: "message.urpt.templateName",
92
- required: !0,
93
- itemRender: {
94
- name: "$input"
95
- },
96
- span: 24
97
- }, {
98
- field: "paperType",
99
- title: "message.urpt.paperType",
100
- width: 100,
101
- required: !0,
102
- itemRender: n.renderDict({
103
- code: "SU.PRINT.PAPER",
104
- defaultValue: "A4"
105
- })
106
- }, {
107
- field: "remarks",
108
- title: "message.remark",
109
- itemRender: {
110
- name: "$input"
111
- },
112
- span: 24
113
- }], R = (e) => {
114
- t.value.templateContent = e.templateContent, t.value.paperType = e.paperType, i.value = !0;
115
- }, y = (e) => {
116
- v(e.templateContent), $("复制成功,快试试右键粘贴吧");
117
- }, _ = async () => {
118
- const [e] = await B(g.post(f, [t.value]));
119
- !e && l.value.refreshData(), i.value = !1;
120
- }, k = (e) => {
121
- t.value = e, q(() => {
122
- o.value = !0;
123
- });
124
- }, T = {
125
- editActived({
126
- row: e
127
- }) {
128
- d[1].editRender.props.disabled = !!e.id, l.value.getInstance().refreshColumn();
129
- }
130
- }, N = ({
131
- row: e
132
- }) => (e == null ? void 0 : e.enabled) !== "1", D = () => {
133
- t.value = {}, o.value = !1, l.value.refreshData();
134
- };
135
- return (e, p) => {
136
- const P = a("ut-grid"), A = a("ut-modal-form");
137
- return u(), x("div", null, [w(r(P, {
138
- ref_key: "xgrid",
139
- ref: l,
140
- items: h,
141
- columns: d,
142
- "check-method": N,
143
- url: f,
144
- events: T
145
- }, null, 512), [[E, !o.value]]), o.value ? (u(), m(M, {
146
- key: 0,
147
- record: t.value,
148
- onOnClose: D
149
- }, null, 8, ["record"])) : c("", !0), i.value ? (u(), m(A, {
150
- key: 1,
151
- record: t.value,
152
- items: C,
153
- width: "40%",
154
- height: 290,
155
- "data-status": "update",
156
- title: "复制模板",
157
- onConfirm: _,
158
- onClose: p[0] || (p[0] = (G) => i.value = !1)
159
- }, null, 8, ["record"])) : c("", !0)]);
160
- };
161
- }
162
- });
163
- export {
164
- K as default
165
- };
@@ -1,75 +0,0 @@
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-DbbQydKz.js";
4
- import { useRender as N } from "@utogether/utils";
5
- const T = { name: "ReportQuery" }, O = /* @__PURE__ */ m({
6
- ...T,
7
- setup(k) {
8
- const e = c({
9
- record: {},
10
- showChild: !1,
11
- loading: !1,
12
- dataStatus: ""
13
- }), t = S(), a = N();
14
- f(
15
- () => t.path,
16
- () => {
17
- }
18
- );
19
- const d = [
20
- { field: "templateName" },
21
- { field: "createdByName" },
22
- { field: "exportResult", itemRender: a.renderDict("SU.REPORT.EXPORT_STATUS") },
23
- {
24
- field: "exportDate",
25
- itemRender: { name: "#SuDateRange" },
26
- fromField: "exportDateFrom",
27
- toField: "exportDateTo"
28
- },
29
- {
30
- field: "creationDate",
31
- itemRender: { name: "#SuDateRange" },
32
- fromField: "createDateFrom",
33
- toField: "createDateTo"
34
- }
35
- ], i = [
36
- { field: "exportNo", title: "message.reportCode", width: 100 },
37
- { field: "templateName", width: 150 },
38
- { field: "fileName", width: 150 },
39
- { field: "exportStatus", width: 90 },
40
- { field: "exportResult", width: 70 },
41
- { field: "fileType", width: 80 },
42
- { field: "exportMsg", minWidth: 100 },
43
- { field: "createdByName", width: 100 },
44
- { field: "exportDate", width: 100 },
45
- { field: "creationDate", width: 100, formatter: ["formatDate"] }
46
- ], l = p(null), n = () => {
47
- e.showChild = !1;
48
- };
49
- return u(() => {
50
- var o;
51
- (o = t == null ? void 0 : t.params) != null && o.isJump && (e.dataStatus = "add", e.showChild = !0);
52
- }), (o, y) => {
53
- const s = h("ut-grid");
54
- return r(), _("div", null, [
55
- w(R(s, {
56
- ref_key: "xgrid",
57
- ref: l,
58
- tems: d,
59
- columns: i
60
- }, null, 512), [
61
- [C, !e.showChild]
62
- ]),
63
- e.showChild ? (r(), x(g, {
64
- key: 0,
65
- record: e.record,
66
- "data-status": e.dataStatus,
67
- onOnClose: n
68
- }, null, 8, ["record", "data-status"])) : D("", !0)
69
- ]);
70
- };
71
- }
72
- });
73
- export {
74
- O as default
75
- };
@@ -1,4 +0,0 @@
1
- import { _ as f } from "./ReportQueryFrom.vue_vue_type_style_index_0_lang-DbbQydKz.js";
2
- export {
3
- f as default
4
- };