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

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 (134) hide show
  1. package/dist/{403-CxOqlq0f.js → 403-y4Id7pky.js} +1 -1
  2. package/dist/{404-xdB6lFeQ.js → 404-DdxstlUr.js} +1 -1
  3. package/dist/{500-C94bRK2S.js → 500-BpsDn21g.js} +1 -1
  4. package/dist/{AuthorityInfo-Dy3b_nFN.js → AuthorityInfo-0CnlrZVd.js} +1 -1
  5. package/dist/{AuthorityInfo.vue_vue_type_style_index_0_lang-Bh7IbcdY.js → AuthorityInfo.vue_vue_type_style_index_0_lang-D5cXM84w.js} +1 -1
  6. package/dist/{Company-gKkfnhLt.js → Company-BPAqJfZm.js} +3 -3
  7. package/dist/{CompanyPanel-BF5Pc35s.js → CompanyPanel-CCeM96w4.js} +7 -7
  8. package/dist/{Department-D0I3QVZe.js → Department-BsLrIIrS.js} +3 -3
  9. package/dist/{DepartmentPanel-2LHODgc7.js → DepartmentPanel-B2YqwLmq.js} +20 -20
  10. package/dist/{DesignPanel-CtF3cAAQ.js → DesignPanel-CVSOCMvU.js} +1 -1
  11. package/dist/{DesignPanel.vue_vue_type_style_index_0_lang-BCYgwoVt.js → DesignPanel.vue_vue_type_style_index_0_lang-Dte8DQnU.js} +2 -2
  12. package/dist/{DictView-H3V5hxg3.js → DictView-CKVpPtFg.js} +1 -1
  13. package/dist/{InvOrganization-BiGLnbqe.js → InvOrganization-BBODO8aK.js} +1 -1
  14. package/dist/{Org-DQTCQHNY.js → Org-BYRi0OAt.js} +1 -1
  15. package/dist/{Preview-DXaiis29.js → Preview-COI8NwWh.js} +1 -1
  16. package/dist/{ReportDefine-BLh4CiER.js → ReportDefine-Dbh_8ykf.js} +1 -1
  17. package/dist/{ReportDesign-Ni1YxrLC.js → ReportDesign-DOeKYL9V.js} +6 -6
  18. package/dist/{ReportQuery-C8G88_qF.js → ReportQuery-Bb4r9lNR.js} +1 -1
  19. package/dist/{ReportQueryFrom-CuZKPtB4.js → ReportQueryFrom-CavcWtL3.js} +1 -1
  20. package/dist/{ReportQueryFrom.vue_vue_type_style_index_0_lang-BAn_siFW.js → ReportQueryFrom.vue_vue_type_style_index_0_lang-tuLRWEK9.js} +7 -7
  21. package/dist/{ReportTemplate-DFnDXWmx.js → ReportTemplate-C9NzPxM4.js} +8 -8
  22. package/dist/{Role-BQ7hsfPn.js → Role-Bqt4d9Lz.js} +3 -3
  23. package/dist/{RoleAssign-UPCg2d4G.js → RoleAssign-CWcytVz3.js} +3 -3
  24. package/dist/{RolePanel-CoSXOCZN.js → RolePanel-Di5nsMqt.js} +1 -1
  25. package/dist/{RolePanel-C-mQ5XRq.js → RolePanel-DlU0aCnL.js} +1 -1
  26. package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-Bg-t2UhF.js → RolePanel.vue_vue_type_script_setup_true_lang-BOq0iJsT.js} +7 -7
  27. package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-D-o7HYZ8.js → RolePanel.vue_vue_type_script_setup_true_lang-hzbUepuW.js} +7 -7
  28. package/dist/{ScrollPanel.vue_vue_type_style_index_0_lang-CCsoxDfk.js → ScrollPanel.vue_vue_type_style_index_0_lang-Bg3rg4P4.js} +1 -1
  29. package/dist/{Staff-D-CmvG1R.js → Staff-DXr2Ka1N.js} +3 -3
  30. package/dist/{StaffInfo-Idhvuc6e.js → StaffInfo-C6lDK0S_.js} +1 -1
  31. package/dist/{StaffInfo.vue_vue_type_script_setup_true_lang-MUGKjnHU.js → StaffInfo.vue_vue_type_script_setup_true_lang-YRJm87-b.js} +1 -1
  32. package/dist/{StaffPanel-CDDmAYE5.js → StaffPanel-WNpg0HWl.js} +1 -1
  33. package/dist/{StaffPanel.vue_vue_type_script_setup_true_lang-Bdilqbee.js → StaffPanel.vue_vue_type_script_setup_true_lang-azLpvFRo.js} +8 -8
  34. package/dist/{SysUser-a-j5bppr.js → SysUser-Dph6Qi_a.js} +2 -2
  35. package/dist/{SysUserPanel-6V232wwB.js → SysUserPanel-Iz024NS_.js} +1 -1
  36. package/dist/{SysUserPanel.vue_vue_type_script_setup_true_lang-BOtHuMVy.js → SysUserPanel.vue_vue_type_script_setup_true_lang-D8GUQHic.js} +1 -1
  37. package/dist/{SystemMenu-BnVeOSOQ.js → SystemMenu-6mTYGwbK.js} +6 -6
  38. package/dist/{UserInfo-Cax9b2nw.js → UserInfo-RQ7VgSbk.js} +1 -1
  39. package/dist/{UserInfo.vue_vue_type_style_index_0_lang-D-cw11i9.js → UserInfo.vue_vue_type_style_index_0_lang-BYp2-i9R.js} +1 -1
  40. package/dist/{childView-DKG3eZo8.js → childView-B8L4By2o.js} +1 -1
  41. package/dist/{childView-siumuBz0.js → childView-nCa8t4tr.js} +1 -1
  42. package/dist/{childView.vue_vue_type_style_index_0_lang-CUfXDS1q.js → childView.vue_vue_type_style_index_0_lang-Bl1MzDS9.js} +7 -7
  43. package/dist/{childView.vue_vue_type_style_index_0_lang-CW3EbAmW.js → childView.vue_vue_type_style_index_0_lang-DDx9z61J.js} +7 -7
  44. package/dist/{code-rule-Dtoree6F.js → code-rule-8dQLPHni.js} +1 -1
  45. package/dist/core.es.js +10 -10
  46. package/dist/{cron-task-GSRgA7S5.js → cron-task-aDBWT_Uh.js} +1 -1
  47. package/dist/{frameView-Cy6wxW0K.js → frameView-DM3flfo5.js} +1 -1
  48. package/dist/{index-Dc7xWMiC.js → index-ClHeZ3q4.js} +88 -88
  49. package/dist/{layout-home-3Dy4onl4.js → layout-home-DNPOu6R4.js} +27 -23
  50. package/dist/{layoutView-DMjNscJ-.js → layoutView-Ymyja_uK.js} +1 -1
  51. package/dist/{log-in-VAG6Cvcx.js → log-in-DtHf5ZcG.js} +8 -8
  52. package/dist/{log-out-DZGaMCjC.js → log-out-DZ8OkPM6.js} +3 -3
  53. package/dist/{login-CqVMdNHs.js → login-CoX7TNHE.js} +15 -15
  54. package/dist/{lov-view-Cc68_28B.js → lov-view-BWtIPBNm.js} +6 -6
  55. package/dist/{menuInfo-BIrIaJlH.js → menuInfo-wG5Zt00s.js} +1 -1
  56. package/dist/{menuInfo.vue_vue_type_style_index_0_lang-DlE4w35X.js → menuInfo.vue_vue_type_style_index_0_lang-DiPeALce.js} +1 -1
  57. package/dist/{pda-app-DnjphrRS.js → pda-app-9b3JC2he.js} +8 -8
  58. package/dist/{resource-DISgPDM7.js → resource-DiHXYgfm.js} +4 -4
  59. package/dist/{su-welcome-CYYy-dzr-D3RKPoB0.js → su-welcome-COvSPTOW.js} +21215 -21131
  60. package/dist/{sys-config-Yc9vh1t1.js → sys-config-Mm50Y0LQ.js} +12 -12
  61. package/dist/udp-core.css +1 -1
  62. package/package.json +1 -1
  63. package/src/plugins/vxe-table/index.ts +116 -116
  64. package/src/views/system/layout/layout-home.vue +6 -5
  65. package/src/views/ufile/aggregation/File.vue +87 -87
  66. package/src/views/uhome/components/home-todo.vue +6 -6
  67. package/src/views/uhome/su-welcome.vue +2 -4
  68. package/vite.config.ts +0 -1
  69. package/dist/403-WCboRvzZ-ZAPgYStl.js +0 -65
  70. package/dist/404-2V0Qi-d7-DkNwQggp.js +0 -65
  71. package/dist/500-BYfzvixf-CGpEieyQ.js +0 -67
  72. package/dist/AuthorityInfo-DBovfUjB-DpQwT9Q5.js +0 -4
  73. package/dist/AuthorityInfo.vue_vue_type_style_index_0_lang-D-l_Az3s-Cw7WmFxz.js +0 -100
  74. package/dist/AuthorityPanel-CRlAwbaI-G7pZXKdE.js +0 -4
  75. package/dist/AuthorityPanel.vue_vue_type_style_index_0_lang-DxhZjp1S-CJvk3pW8.js +0 -114
  76. package/dist/Company-B4vsXy2I-CkNCOqjJ.js +0 -25
  77. package/dist/CompanyPanel-Czcx8Gyw-CvndXwB_.js +0 -206
  78. package/dist/DataSet-DT-rGICv-DaUfgbxk.js +0 -147
  79. package/dist/Department-D0dVUrGC-C6HJcYI1.js +0 -25
  80. package/dist/DepartmentPanel-e91Lxr1j-BS_A-ILd.js +0 -254
  81. package/dist/DesignPanel-DdFl_ohi-uCwFxcl1.js +0 -4
  82. package/dist/DesignPanel.vue_vue_type_style_index_0_lang-BACPrfUI-cC7yL0uY.js +0 -1013
  83. package/dist/DictView-BzQLOf_P-DDicwdmM.js +0 -111
  84. package/dist/InvOrganization-atbhw0CI-BABbVt9V.js +0 -74
  85. package/dist/Org-BW1YHG-Q-Cow7JWlD.js +0 -39
  86. package/dist/Preview-DJtVsoq1-CCGidQjJ.js +0 -48
  87. package/dist/ReportDefine-CNx_ob99-6NQAHK-Q.js +0 -10
  88. package/dist/ReportDesign-FbQ6yTJS-C1pPAUSp.js +0 -165
  89. package/dist/ReportQuery-C5gz8Lgd-Eu2cQmda.js +0 -75
  90. package/dist/ReportQueryFrom-C7scua5v-uHXWq8Gy.js +0 -4
  91. package/dist/ReportQueryFrom.vue_vue_type_style_index_0_lang-DCbz67Wa-vK6r2uCl.js +0 -178
  92. package/dist/ReportTemplate-BDANdIWv-D_IGjR1w.js +0 -161
  93. package/dist/Role-ByB0WbxW-5E8Mb148.js +0 -25
  94. package/dist/RoleAssign-DW6iC_0v-Bis61auk.js +0 -26
  95. package/dist/RolePanel-BM2MaQPU-CgcsbfaX.js +0 -4
  96. package/dist/RolePanel-ClQy8DBL-DARL4O-o.js +0 -4
  97. package/dist/RolePanel.vue_vue_type_script_setup_true_lang-Bc_Ao_PU-DMmxr2iI.js +0 -132
  98. package/dist/RolePanel.vue_vue_type_script_setup_true_lang-fthF1zkp-JsbQJoDy.js +0 -154
  99. package/dist/ScrollPanel.vue_vue_type_style_index_0_lang-ByWIwajm-BsBf2Vs3.js +0 -100
  100. package/dist/Staff-CuxzvhD9-D0KTcyRh.js +0 -25
  101. package/dist/StaffInfo-CY7gUICu-EZUhUwIp.js +0 -4
  102. package/dist/StaffInfo.vue_vue_type_script_setup_true_lang-Dd8gtQz8-Dlkt-eCn.js +0 -108
  103. package/dist/StaffPanel-CwqG0_xr-CrvzLJoc.js +0 -4
  104. package/dist/StaffPanel.vue_vue_type_script_setup_true_lang-DCdBy8Hu-BXrueqi0.js +0 -143
  105. package/dist/SysUser-9Q2UJWhi-DprWXFlR.js +0 -15
  106. package/dist/SysUserPanel-bJy69O7x-BJtBgFEs.js +0 -4
  107. package/dist/SysUserPanel.vue_vue_type_script_setup_true_lang-DUPFqgz3-BSqRCMen.js +0 -356
  108. package/dist/SystemMenu-DGOAolc1-CJSLHP8i.js +0 -156
  109. package/dist/UserInfo-CKoOHkAM-DDWp0I_U.js +0 -4
  110. package/dist/UserInfo.vue_vue_type_style_index_0_lang-BaT53SSu-DsNaAomO.js +0 -160
  111. package/dist/await-to-js.es5-Bv3Eu4mi-UCggJjes.js +0 -10
  112. package/dist/childView-0YZQ6GBn-CEqg7k5d.js +0 -4
  113. package/dist/childView-DKkgi3yo-D47ft-vi.js +0 -4
  114. package/dist/childView.vue_vue_type_style_index_0_lang-ABMrGInv-ClOdE_sa.js +0 -143
  115. package/dist/childView.vue_vue_type_style_index_0_lang-CaW106ve-CClTM8PK.js +0 -180
  116. package/dist/code-rule-wQyfgpNL-C4evD4Co.js +0 -148
  117. package/dist/cron-task-C-kryDtd-C0NuGZCe.js +0 -135
  118. package/dist/flow-task-B07st2aD-CgQvagSQ.js +0 -10
  119. package/dist/frameView-BOGA3ezf-QoSxzmSQ.js +0 -44
  120. package/dist/layout-home-CYHksXN_-Basy-3IH.js +0 -228
  121. package/dist/layoutView-BaRvAbIa-xVgfqspc.js +0 -3302
  122. package/dist/log-in-Cx1dGik8-BVeEHeZ8.js +0 -117
  123. package/dist/log-out-COYdxrNC-ftopGZdE.js +0 -130
  124. package/dist/login-Dg9ofNS8-Bocp1XMA.js +0 -241
  125. package/dist/login-log-DJBGJVV0-AoOyj0jD.js +0 -70
  126. package/dist/lov-view-C0T5prk8-B2DBmn55.js +0 -97
  127. package/dist/menuInfo-BZJ_q7bz-Drho-_QC.js +0 -4
  128. package/dist/menuInfo.vue_vue_type_style_index_0_lang-BA8xjUo3-BCZ1wipf.js +0 -363
  129. package/dist/pda-app-m9hsppHo-B4xyja1o.js +0 -710
  130. package/dist/redirect-BqegffKC-CBCIuqmz.js +0 -15
  131. package/dist/resource-C6KEIXu--B_ddyecm.js +0 -97
  132. package/dist/su-welcome-BjbuSrBZ.js +0 -49424
  133. package/dist/sys-config-DCjJGtht-DARDjlrt.js +0 -370
  134. package/dist/utogether-MlnyYtNS-CGgjFNPS.js +0 -4
@@ -1,143 +0,0 @@
1
- import { defineComponent as k, ref as u, resolveComponent as d, resolveDirective as V, createElementBlock as h, openBlock as R, createVNode as i, withCtx as s, withDirectives as _ } from "vue";
2
- import { c } from "./await-to-js.es5-Bv3Eu4mi-UCggJjes.js";
3
- import { useRender as F } from "@utogether/utils";
4
- import { M as B, W as f } from "./su-welcome-BjbuSrBZ.js";
5
- const P = { class: "ut-loview-wrapper" }, Y = "/upfm/v1/lovViewHeader", p = "/upfm/v1/lovViewLine", j = /* @__PURE__ */ k({
6
- __name: "childView",
7
- props: {
8
- record: { default: () => ({}) },
9
- show: { type: Boolean, default: !1 }
10
- },
11
- emits: ["onClose"],
12
- setup(T, { emit: C }) {
13
- const a = T, t = F(), m = B().dicts, n = u(!1), q = { value: "dictCode", label: "dictName" }, v = u(null), g = [
14
- { field: "lovCode", disabled: !0 },
15
- { field: "lovName", required: !0 },
16
- { field: "valueField", required: !0 },
17
- // { field: 'displayField', required: true },
18
- { field: "lovTitle" },
19
- { field: "lovType", code: "SU.LOV.TYPE", required: !0 },
20
- { field: "lovUrl", required: !0, visible: a.record.lovType === "url" },
21
- {
22
- field: "sqlStatement",
23
- span: 24,
24
- visible: a.record.lovType === "sql",
25
- itemRender: { name: "$textarea", props: { rows: 5 } },
26
- required: !0
27
- }
28
- ], o = [
29
- { type: "checkbox", width: 50, align: "center" },
30
- { field: "seqNo", required: !0, width: 100, editRender: t.renderNumber() },
31
- { field: "colField", required: !0, editRender: t.renderInput() },
32
- { field: "colTitle", required: !0, editRender: t.renderInput() },
33
- { field: "colWidth", required: !0, width: 120, editRender: t.renderNumber() },
34
- {
35
- field: "fieldType",
36
- width: 120,
37
- editRender: t.renderDict("SU.FIELD.TYPE", b),
38
- formatter: ["formatDict", "SU.FIELD.TYPE"]
39
- },
40
- {
41
- field: "dictCode",
42
- title: "message.dictName",
43
- width: 120,
44
- editRender: t.renderSelectLocal({ options: m, optionProps: q }),
45
- formatter: ["formatSelectLocal", [m, "dictCode", "dictName"]]
46
- },
47
- {
48
- field: "isSearch",
49
- width: 120,
50
- required: !0,
51
- editRender: t.renderDict("SU.WHETHER"),
52
- formatter: ["formatDict", "SU.WHETHER"]
53
- },
54
- {
55
- field: "isCol",
56
- width: 120,
57
- required: !0,
58
- editRender: t.renderDict("SU.WHETHER"),
59
- formatter: ["formatDict", "SU.WHETHER"]
60
- }
61
- ], w = u(null), E = window.innerHeight - 195, y = {
62
- editActived({ row: e }) {
63
- o[6].editRender.props.disabled = e.fieldType !== "dictCode";
64
- }
65
- };
66
- function b(e) {
67
- e.row.dictName = "", o[6].editRender.props.disabled = e.row.fieldType !== "dictCode", o[6].required = e.row.fieldType !== "dictCode";
68
- }
69
- const S = () => {
70
- v.value.validateForm(async (e) => {
71
- if (!e) {
72
- n.value = !0;
73
- const [l] = await c(f().put(Y, [a.record]));
74
- if (!l) {
75
- const r = w.value.getInstance().getRecordset();
76
- r.insertRecords.length && await c(f().post(p, r.insertRecords)), r.updateRecords.length && await c(f().put(p, r.updateRecords));
77
- }
78
- n.value = !1;
79
- }
80
- });
81
- }, D = C;
82
- function H() {
83
- D("onClose");
84
- }
85
- return (e, l) => {
86
- const r = d("ut-button"), N = d("ut-form"), U = d("ut-divider"), I = d("ut-grid"), x = d("ut-content"), L = d("vxe-drawer"), W = V("spinning");
87
- return R(), h("div", P, [
88
- i(L, {
89
- "model-value": e.show,
90
- position: "right",
91
- "show-header": !1,
92
- width: "90%"
93
- }, {
94
- default: s(() => [
95
- _((R(), h("div", null, [
96
- i(x, {
97
- title: e.$t("message.title.lovView"),
98
- onClose: H
99
- }, {
100
- header: s(() => [
101
- i(r, {
102
- icon: "ri-save-3-fill",
103
- content: "save",
104
- onTap: l[0] || (l[0] = ($) => S())
105
- })
106
- ]),
107
- body: s(() => [
108
- i(N, {
109
- ref_key: "formRef",
110
- ref: v,
111
- record: e.record,
112
- items: g,
113
- "data-status": "update"
114
- }, null, 8, ["record"]),
115
- i(U, {
116
- title: e.$t("message.title.lovColConfig")
117
- }, null, 8, ["title"]),
118
- i(I, {
119
- ref_key: "xgrid",
120
- ref: w,
121
- columns: o,
122
- url: p,
123
- "default-value": { headerId: e.record.id },
124
- "default-params": { headerId: e.record.id },
125
- height: E,
126
- events: y
127
- }, null, 8, ["default-value", "default-params"])
128
- ]),
129
- _: 1
130
- }, 8, ["title"])
131
- ])), [
132
- [W, n.value]
133
- ])
134
- ]),
135
- _: 1
136
- }, 8, ["model-value"])
137
- ]);
138
- };
139
- }
140
- });
141
- export {
142
- j as G
143
- };
@@ -1,180 +0,0 @@
1
- import { defineComponent as E, ref as o, resolveComponent as r, createElementBlock as M, openBlock as m, createVNode as l, withCtx as T, createBlock as z, createCommentVNode as F, Fragment as O } from "vue";
2
- import { useI18n as S } from "vue-i18n";
3
- import { c as U } from "./await-to-js.es5-Bv3Eu4mi-UCggJjes.js";
4
- import { VxeUI as W } from "vxe-pc-ui";
5
- import { useRender as $, successMessage as f } from "@utogether/utils";
6
- import { M as p, W as v } from "./su-welcome-BjbuSrBZ.js";
7
- import { clone as G } from "xe-utils";
8
- const H = {
9
- class: "u-dict-config_wrapper"
10
- }, g = "/upfm/v1/lov", ee = /* @__PURE__ */ E({
11
- __name: "childView",
12
- props: {
13
- record: {
14
- default: () => ({})
15
- },
16
- show: {
17
- type: Boolean,
18
- default: !1
19
- }
20
- },
21
- emits: ["onClose"],
22
- setup(h, {
23
- emit: w
24
- }) {
25
- const C = h, I = $(), {
26
- t: k
27
- } = S(), d = o(!1), n = o(null), u = o(null), t = o({}), a = o("add"), N = window.innerHeight - 70, b = [{
28
- field: "dictCode",
29
- title: "message.udp.dictCode",
30
- required: !0,
31
- treeNode: !0
32
- }, {
33
- field: "dictName",
34
- title: "message.udp.dictName",
35
- required: !0
36
- }, {
37
- field: "dictDesc",
38
- title: "message.remark"
39
- }, {
40
- field: "remarks",
41
- title: "message.remark"
42
- }, {
43
- field: "enabled",
44
- formatter: ["formatDict", "SU.ENABLE"]
45
- }, {
46
- field: "operate",
47
- title: "message.operate",
48
- width: 200,
49
- fixed: "right",
50
- slots: {
51
- default: ({
52
- row: e
53
- }) => [l(O, null, [l(r("ut-button"), {
54
- content: "add",
55
- status: "warning",
56
- auth: "edit",
57
- icon: "ri-add-line",
58
- onTap: () => V(e)
59
- }, null), l(r("ut-button"), {
60
- content: "edit",
61
- status: "primary",
62
- auth: "edit",
63
- onTap: () => _(e)
64
- }, null), l(r("ut-button"), {
65
- content: "del",
66
- status: "danger",
67
- auth: "del",
68
- onTap: () => B(e)
69
- }, null)])]
70
- }
71
- }], y = [{
72
- field: "dictCode",
73
- title: "message.udp.dictCode",
74
- required: !0
75
- }, {
76
- field: "dictName",
77
- title: "message.udp.dictName",
78
- required: !0
79
- }, {
80
- field: "dictDesc",
81
- title: "message.remark"
82
- }, {
83
- field: "enabled",
84
- itemRender: I.renderSwitch({
85
- openValue: "1",
86
- closeValue: "0",
87
- defaultValue: "1"
88
- })
89
- }], x = () => {
90
- d.value = !0, a.value = "add", t.value = {
91
- enabled: "1",
92
- parentId: C.record.id
93
- };
94
- }, V = (e) => {
95
- d.value = !0, a.value = "add", t.value = {
96
- enabled: "1",
97
- parentId: e.id
98
- };
99
- }, B = async (e) => {
100
- await W.modal.confirm(k("message.delRecord")) === "confirm" && (await v().delete(g, [e]), f(), n.value.refreshData());
101
- }, _ = async (e) => {
102
- d.value = !0, a.value = "edit", t.value = G(e, !0);
103
- }, D = async () => {
104
- const e = {
105
- ...t.value,
106
- orgId: p().getOrgId,
107
- organizationId: p().getOrganizationId
108
- };
109
- u.value.showLoading();
110
- const i = a.value === "add" ? "post" : "put", [s] = await U(v()[i](g, [e]));
111
- if (u.value.hiddenLoading(), !s) {
112
- if (d.value = a.value !== "edit", a.value === "add") {
113
- const c = t.value.parentId;
114
- t.value = {
115
- enabled: "1",
116
- parentId: c
117
- };
118
- }
119
- f(), n.value.refreshData();
120
- }
121
- }, q = (e) => {
122
- e === "add" && x();
123
- }, L = w;
124
- function R() {
125
- L("onClose");
126
- }
127
- return (e, i) => {
128
- const s = r("ut-grid"), c = r("ut-modal-form"), A = r("vxe-drawer");
129
- return m(), M("div", H, [l(A, {
130
- "model-value": e.show,
131
- title: e.$t("message.title.dictList", {
132
- name: e.record.dictName
133
- }),
134
- position: "right",
135
- "destroy-on-close": "",
136
- width: "67%",
137
- onClose: R
138
- }, {
139
- default: T(() => [l(s, {
140
- ref_key: "xgrid",
141
- ref: n,
142
- columns: b,
143
- height: N,
144
- "default-params": {
145
- parentId: e.record.id
146
- },
147
- buttons: [{
148
- code: "del",
149
- auth: "/"
150
- }],
151
- "tree-config": {
152
- childrenField: "children",
153
- expandAll: !0
154
- },
155
- url: "/upfm/v1/lov/children",
156
- mode: "form",
157
- onButtonClick: q
158
- }, null, 8, ["default-params"]), d.value ? (m(), z(c, {
159
- key: 0,
160
- ref_key: "xmodal",
161
- ref: u,
162
- record: t.value,
163
- items: y,
164
- width: "400",
165
- height: "280",
166
- "data-status": a.value,
167
- title: e.$t("message.title.dictInfo", {
168
- name: e.record.dictName
169
- }),
170
- onClose: i[0] || (i[0] = (J) => d.value = !1),
171
- onConfirm: D
172
- }, null, 8, ["record", "data-status", "title"])) : F("", !0)]),
173
- _: 1
174
- }, 8, ["model-value", "title"])]);
175
- };
176
- }
177
- });
178
- export {
179
- ee as e
180
- };
@@ -1,148 +0,0 @@
1
- import { defineComponent as C, ref as d, createVNode as c, resolveComponent as i, nextTick as y, createElementBlock as q, openBlock as p, createBlock as w, createCommentVNode as D } from "vue";
2
- import { c as N } from "./await-to-js.es5-Bv3Eu4mi-UCggJjes.js";
3
- import { useRender as B } from "@utogether/utils";
4
- import { W as I } from "./su-welcome-BjbuSrBZ.js";
5
- const S = {
6
- name: "CodeRule"
7
- }, M = /* @__PURE__ */ C({
8
- ...S,
9
- setup(b) {
10
- const e = B(), s = d(null), o = d(null), l = d(!1), f = d(!1), a = d({}), m = d(0), u = "/upfm/v1/codingRule", g = [{
11
- field: "ruleCode",
12
- title: "message.udp.ruleCode"
13
- }, {
14
- field: "ruleName",
15
- title: "message.udp.ruleName"
16
- }], v = [{
17
- type: "checkbox",
18
- width: 40,
19
- align: "center"
20
- }, {
21
- field: "ruleCode",
22
- title: "message.udp.ruleCode",
23
- required: !0,
24
- editRender: e.renderInput()
25
- }, {
26
- field: "ruleName",
27
- title: "message.udp.ruleName",
28
- required: !0,
29
- editRender: e.renderInput()
30
- }, {
31
- field: "remark",
32
- editRender: e.renderInput()
33
- }, {
34
- field: "haveBeenUsed",
35
- title: "message.udp.haveBeenUsed",
36
- formatter: ["formatDict", "SU.WHETHER"]
37
- }, {
38
- field: "enabled",
39
- width: 80,
40
- cellRender: e.renderEnabled(E)
41
- }, {
42
- field: "operate",
43
- width: 80,
44
- fixed: "right",
45
- slots: {
46
- default: ({
47
- row: t
48
- }) => {
49
- const r = t.haveBeenUsed === "Y" ? "look" : "encode", n = t.haveBeenUsed === "Y" ? "info" : "primary";
50
- return [c(i("ut-button"), {
51
- content: r,
52
- status: n,
53
- onTap: () => h(t)
54
- }, null)];
55
- }
56
- }
57
- }], R = [
58
- {
59
- type: "checkbox",
60
- width: 40,
61
- align: "center"
62
- },
63
- {
64
- field: "orderSeq",
65
- title: "message.seqNo",
66
- required: !0,
67
- editRender: e.renderNumber()
68
- },
69
- {
70
- field: "fieldType",
71
- required: !0,
72
- editRender: e.renderDict("SU.CODE.RULE.TYPE"),
73
- formatter: ["formatDict", "SU.CODE.RULE.TYPE"]
74
- },
75
- {
76
- field: "fieldValue",
77
- title: "message.udp.fieldValue",
78
- editRender: e.renderInput()
79
- },
80
- {
81
- field: "dateMask",
82
- title: "message.udp.dateMask",
83
- editRender: e.renderDict("SU.DATE.MASK")
84
- },
85
- {
86
- field: "resetFrequency",
87
- title: "message.udp.resetFrequency",
88
- editRender: e.renderDict("SU.RESET.FREQUENCY")
89
- },
90
- {
91
- field: "seqLength",
92
- title: "message.udp.seqLength",
93
- editRender: e.renderInput()
94
- },
95
- {
96
- field: "startValue",
97
- title: "message.udp.startValue",
98
- editRender: e.renderInput()
99
- },
100
- {
101
- field: "currentValue",
102
- title: "message.udp.currentValue"
103
- },
104
- {
105
- field: "remark",
106
- editRender: e.renderInput()
107
- }
108
- // { field: 'enabled', width: 80, cellRender: renderHook.renderEnabled(handleClick) }
109
- ], h = async (t) => {
110
- f.value = t.haveBeenUsed === "Y", a.value = {
111
- codingRuleId: t.id
112
- }, l.value = !0, await y(), o.value.reloadGrid(), m.value++;
113
- }, k = (t) => t.haveBeenUsed !== "Y";
114
- async function E({
115
- row: t
116
- }) {
117
- const [r] = await N(I().put(u, [t]));
118
- !r && s.value.refreshData();
119
- }
120
- return (t, r) => {
121
- const n = i("ut-grid"), U = i("ut-modal-grid");
122
- return p(), q("div", null, [c(n, {
123
- ref_key: "xgrid",
124
- ref: s,
125
- items: g,
126
- columns: v,
127
- url: u,
128
- "check-method": k
129
- }, null, 512), l.value ? (p(), w(U, {
130
- ref_key: "xmgrid",
131
- ref: o,
132
- key: m.value,
133
- "default-value": a.value,
134
- "default-params": a.value,
135
- columns: R,
136
- url: u + "Detail",
137
- editable: !f.value,
138
- "show-footer": !1,
139
- width: "80%",
140
- title: "编码段设置",
141
- onClose: r[0] || (r[0] = (T) => l.value = !1)
142
- }, null, 8, ["default-value", "default-params", "url", "editable"])) : D("", !0)]);
143
- };
144
- }
145
- });
146
- export {
147
- M as default
148
- };
@@ -1,135 +0,0 @@
1
- import { defineComponent as T, ref as u, createVNode as r, resolveComponent as n, Fragment as v, createElementBlock as I, openBlock as f, createBlock as R, createCommentVNode as C } from "vue";
2
- import { VXETable as x } from "vxe-table";
3
- import { c as N } from "./await-to-js.es5-Bv3Eu4mi-UCggJjes.js";
4
- import { W as y } from "./su-welcome-BjbuSrBZ.js";
5
- import { useRender as D, successMessage as E } from "@utogether/utils";
6
- const L = {
7
- name: "CronTask"
8
- }, _ = /* @__PURE__ */ T({
9
- ...L,
10
- setup(q) {
11
- const o = D(), d = u(null), l = u(!1), c = u({}), i = "/usch/v1/jobInfo", m = [{
12
- field: "jobName"
13
- }, {
14
- field: "jobDescription"
15
- }], p = [{
16
- type: "checkbox",
17
- width: 40,
18
- align: "center"
19
- }, {
20
- field: "jobName",
21
- width: 140,
22
- required: !0,
23
- editRender: o.renderInput()
24
- }, {
25
- field: "jobCron",
26
- width: 140,
27
- required: !0,
28
- editRender: o.renderInput()
29
- }, {
30
- field: "jobHandler",
31
- miwWidth: 200,
32
- required: !0,
33
- editRender: o.renderInput()
34
- }, {
35
- field: "jobParam",
36
- width: 140,
37
- editRender: o.renderInput()
38
- }, {
39
- field: "jobDescription",
40
- width: 120,
41
- editRender: o.renderInput()
42
- }, {
43
- field: "jobStatus",
44
- width: 100
45
- }, {
46
- field: "operate",
47
- width: 180,
48
- fixed: "right",
49
- slots: {
50
- default: ({
51
- row: e
52
- }) => {
53
- const t = e.jobStatus === "ACQUIRED" ? r(n("ut-button"), {
54
- content: "suspendTask",
55
- status: "warning",
56
- icon: "ri-search-line-plus",
57
- onTap: () => b(e)
58
- }, null) : r(n("ut-button"), {
59
- content: "resumeTask",
60
- status: "success",
61
- icon: "ri-search-line-plus",
62
- onTap: () => h(e)
63
- }, null);
64
- return [r(v, null, [t, r(n("ut-button"), {
65
- content: "stopTask",
66
- status: "danger",
67
- icon: "ri-close-line",
68
- onTap: () => w(e)
69
- }, null), r(n("ut-button"), {
70
- content: "taskLog",
71
- status: "info",
72
- icon: "ri-file-line",
73
- onTap: () => j(e)
74
- }, null)])];
75
- }
76
- }
77
- }], b = (e) => {
78
- a(i + "/pause", [e]);
79
- }, h = (e) => {
80
- a(i + "/resume", [e]);
81
- }, w = (e) => {
82
- a(i + "/terminate", [e]);
83
- }, a = async (e, t) => {
84
- if (await x.modal.confirm("您确定要继续吗?") === "confirm") {
85
- const [s] = await N(y().post(e, t));
86
- s || (E(), d.value.refreshData());
87
- }
88
- }, g = [
89
- // { field: 'jobName', width: 140 },
90
- {
91
- field: "startTime",
92
- width: 160
93
- },
94
- {
95
- field: "endTime",
96
- width: 160
97
- },
98
- {
99
- field: "jobResult",
100
- width: 120
101
- },
102
- {
103
- field: "errorMessage"
104
- }
105
- ], j = (e) => {
106
- c.value = {
107
- jobId: e.id
108
- }, l.value = !0;
109
- };
110
- return (e, t) => {
111
- const s = n("ut-grid"), k = n("ut-modal-grid");
112
- return f(), I("div", null, [r(s, {
113
- ref_key: "xgrid",
114
- ref: d,
115
- items: m,
116
- columns: p,
117
- url: i
118
- }, null, 512), l.value ? (f(), R(k, {
119
- key: 0,
120
- ref: "xmgrid",
121
- "default-params": c.value,
122
- columns: g,
123
- url: "/usch/v1/jobLog",
124
- "show-footer": !1,
125
- editable: !1,
126
- width: "50%",
127
- title: e.$t("message.title.cronLog"),
128
- onClose: t[0] || (t[0] = (B) => l.value = !1)
129
- }, null, 8, ["default-params", "title"])) : C("", !0)]);
130
- };
131
- }
132
- });
133
- export {
134
- _ as default
135
- };
@@ -1,10 +0,0 @@
1
- import { defineComponent as e, createElementBlock as o, openBlock as d } from "vue";
2
- const n = { name: "FlowTask" }, r = /* @__PURE__ */ e({
3
- ...n,
4
- setup(s) {
5
- return (a, t) => (d(), o("div", null, " dhasdhkasd kasdAsdasjldj打死了电话卡手机号多久啊是的 "));
6
- }
7
- });
8
- export {
9
- r as default
10
- };
@@ -1,44 +0,0 @@
1
- import { defineComponent as v, ref as r, unref as a, onMounted as d, resolveDirective as p, withDirectives as _, createElementBlock as k, openBlock as E, createElementVNode as h, nextTick as w } from "vue";
2
- import { useRoute as B } from "vue-router";
3
- import { t as S } from "./su-welcome-BjbuSrBZ.js";
4
- const V = { class: "frame" }, x = ["src"], D = /* @__PURE__ */ v({
5
- __name: "frameView",
6
- setup(I) {
7
- var o, c;
8
- const t = r(!1), l = B(), f = r(""), s = r(null);
9
- (o = a(l.meta)) != null && o.frameSrc && (f.value = (c = a(l.meta)) == null ? void 0 : c.frameSrc);
10
- function u() {
11
- t.value = !1;
12
- }
13
- function i() {
14
- w(() => {
15
- const e = a(s);
16
- if (!e) return;
17
- const n = e;
18
- n.attachEvent ? n.attachEvent("onload", () => {
19
- u();
20
- }) : e.onload = () => {
21
- u();
22
- };
23
- });
24
- }
25
- return d(() => {
26
- t.value = !0, i();
27
- }), (e, n) => {
28
- const m = p("spinning");
29
- return _((E(), k("div", V, [
30
- h("iframe", {
31
- ref_key: "frameRef",
32
- ref: s,
33
- src: f.value,
34
- class: "frame-iframe"
35
- }, null, 8, x)
36
- ])), [
37
- [m, t.value]
38
- ]);
39
- };
40
- }
41
- }), C = /* @__PURE__ */ S(D, [["__scopeId", "data-v-c2f5c865"]]);
42
- export {
43
- C as default
44
- };