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

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 (182) hide show
  1. package/dist/{403-CTJDBjz7.js → 403-CxOqlq0f.js} +3 -3
  2. package/dist/403-WCboRvzZ-ZAPgYStl.js +65 -0
  3. package/dist/404-2V0Qi-d7-DkNwQggp.js +65 -0
  4. package/dist/{404-BFYkWIkQ.js → 404-xdB6lFeQ.js} +1 -1
  5. package/dist/500-BYfzvixf-CGpEieyQ.js +67 -0
  6. package/dist/{500-DGG3qadg.js → 500-C94bRK2S.js} +2 -2
  7. package/dist/AuthorityInfo-DBovfUjB-DpQwT9Q5.js +4 -0
  8. package/dist/{AuthorityInfo-ozZIo1Te.js → AuthorityInfo-Dy3b_nFN.js} +1 -1
  9. package/dist/{AuthorityInfo.vue_vue_type_style_index_0_lang-DujerENw.js → AuthorityInfo.vue_vue_type_style_index_0_lang-Bh7IbcdY.js} +2 -2
  10. package/dist/AuthorityInfo.vue_vue_type_style_index_0_lang-D-l_Az3s-Cw7WmFxz.js +100 -0
  11. package/dist/AuthorityPanel-CRlAwbaI-G7pZXKdE.js +4 -0
  12. package/dist/AuthorityPanel.vue_vue_type_style_index_0_lang-DxhZjp1S-CJvk3pW8.js +114 -0
  13. package/dist/Company-B4vsXy2I-CkNCOqjJ.js +25 -0
  14. package/dist/{Company-6VJtwh23.js → Company-gKkfnhLt.js} +3 -3
  15. package/dist/{CompanyPanel-B2P488mq.js → CompanyPanel-BF5Pc35s.js} +7 -7
  16. package/dist/CompanyPanel-Czcx8Gyw-CvndXwB_.js +206 -0
  17. package/dist/DataSet-DT-rGICv-DaUfgbxk.js +147 -0
  18. package/dist/{Department-BnwoLEOC.js → Department-D0I3QVZe.js} +3 -3
  19. package/dist/Department-D0dVUrGC-C6HJcYI1.js +25 -0
  20. package/dist/{DepartmentPanel-CRrrmxtv.js → DepartmentPanel-2LHODgc7.js} +22 -22
  21. package/dist/DepartmentPanel-e91Lxr1j-BS_A-ILd.js +254 -0
  22. package/dist/{DesignPanel-CvbccgX2.js → DesignPanel-CtF3cAAQ.js} +1 -1
  23. package/dist/DesignPanel-DdFl_ohi-uCwFxcl1.js +4 -0
  24. package/dist/DesignPanel.vue_vue_type_style_index_0_lang-BACPrfUI-cC7yL0uY.js +1013 -0
  25. package/dist/{DesignPanel.vue_vue_type_style_index_0_lang-Dz2tUszs.js → DesignPanel.vue_vue_type_style_index_0_lang-BCYgwoVt.js} +3 -3
  26. package/dist/DictView-BzQLOf_P-DDicwdmM.js +111 -0
  27. package/dist/{DictView-Ce1LoVHh.js → DictView-H3V5hxg3.js} +1 -1
  28. package/dist/{InvOrganization-BwCFZO1X.js → InvOrganization-BiGLnbqe.js} +2 -2
  29. package/dist/InvOrganization-atbhw0CI-BABbVt9V.js +74 -0
  30. package/dist/Org-BW1YHG-Q-Cow7JWlD.js +39 -0
  31. package/dist/{Org-0hzs6b0R.js → Org-DQTCQHNY.js} +2 -2
  32. package/dist/Preview-DJtVsoq1-CCGidQjJ.js +48 -0
  33. package/dist/{Preview--DnEAhwh.js → Preview-DXaiis29.js} +1 -1
  34. package/dist/{ReportDefine-Cu983bTN.js → ReportDefine-BLh4CiER.js} +1 -1
  35. package/dist/ReportDefine-CNx_ob99-6NQAHK-Q.js +10 -0
  36. package/dist/ReportDesign-FbQ6yTJS-C1pPAUSp.js +165 -0
  37. package/dist/{ReportDesign-QsWXXgvo.js → ReportDesign-Ni1YxrLC.js} +7 -7
  38. package/dist/ReportQuery-C5gz8Lgd-Eu2cQmda.js +75 -0
  39. package/dist/{ReportQuery-BjKIIhPu.js → ReportQuery-C8G88_qF.js} +1 -1
  40. package/dist/ReportQueryFrom-C7scua5v-uHXWq8Gy.js +4 -0
  41. package/dist/{ReportQueryFrom-DIjBO6Fx.js → ReportQueryFrom-CuZKPtB4.js} +1 -1
  42. package/dist/{ReportQueryFrom.vue_vue_type_style_index_0_lang-0T62cUMK.js → ReportQueryFrom.vue_vue_type_style_index_0_lang-BAn_siFW.js} +7 -7
  43. package/dist/ReportQueryFrom.vue_vue_type_style_index_0_lang-DCbz67Wa-vK6r2uCl.js +178 -0
  44. package/dist/ReportTemplate-BDANdIWv-D_IGjR1w.js +161 -0
  45. package/dist/{ReportTemplate-2uk9tJcy.js → ReportTemplate-DFnDXWmx.js} +8 -8
  46. package/dist/{Role-_QP8QEaI.js → Role-BQ7hsfPn.js} +3 -3
  47. package/dist/Role-ByB0WbxW-5E8Mb148.js +25 -0
  48. package/dist/RoleAssign-DW6iC_0v-Bis61auk.js +26 -0
  49. package/dist/{RoleAssign-C2gkcmEQ.js → RoleAssign-UPCg2d4G.js} +3 -3
  50. package/dist/RolePanel-BM2MaQPU-CgcsbfaX.js +4 -0
  51. package/dist/{RolePanel-vnl_lXNY.js → RolePanel-C-mQ5XRq.js} +1 -1
  52. package/dist/RolePanel-ClQy8DBL-DARL4O-o.js +4 -0
  53. package/dist/{RolePanel-B8FPNGaA.js → RolePanel-CoSXOCZN.js} +1 -1
  54. package/dist/RolePanel.vue_vue_type_script_setup_true_lang-Bc_Ao_PU-DMmxr2iI.js +132 -0
  55. package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-bxHXrBYl.js → RolePanel.vue_vue_type_script_setup_true_lang-Bg-t2UhF.js} +7 -7
  56. package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-BuQbYEEI.js → RolePanel.vue_vue_type_script_setup_true_lang-D-o7HYZ8.js} +8 -8
  57. package/dist/RolePanel.vue_vue_type_script_setup_true_lang-fthF1zkp-JsbQJoDy.js +154 -0
  58. package/dist/ScrollPanel.vue_vue_type_style_index_0_lang-ByWIwajm-BsBf2Vs3.js +100 -0
  59. package/dist/{ScrollPanel.vue_vue_type_style_index_0_lang-C6yZXBqB.js → ScrollPanel.vue_vue_type_style_index_0_lang-CCsoxDfk.js} +1 -1
  60. package/dist/Staff-CuxzvhD9-D0KTcyRh.js +25 -0
  61. package/dist/{Staff-CHWrMIEb.js → Staff-D-CmvG1R.js} +3 -3
  62. package/dist/StaffInfo-CY7gUICu-EZUhUwIp.js +4 -0
  63. package/dist/{StaffInfo-Cpq2eayz.js → StaffInfo-Idhvuc6e.js} +1 -1
  64. package/dist/StaffInfo.vue_vue_type_script_setup_true_lang-Dd8gtQz8-Dlkt-eCn.js +108 -0
  65. package/dist/{StaffInfo.vue_vue_type_script_setup_true_lang-BVCjF2i1.js → StaffInfo.vue_vue_type_script_setup_true_lang-MUGKjnHU.js} +1 -1
  66. package/dist/{StaffPanel-D2BMXt5p.js → StaffPanel-CDDmAYE5.js} +1 -1
  67. package/dist/StaffPanel-CwqG0_xr-CrvzLJoc.js +4 -0
  68. package/dist/{StaffPanel.vue_vue_type_script_setup_true_lang-B6jAGo-g.js → StaffPanel.vue_vue_type_script_setup_true_lang-Bdilqbee.js} +42 -42
  69. package/dist/StaffPanel.vue_vue_type_script_setup_true_lang-DCdBy8Hu-BXrueqi0.js +143 -0
  70. package/dist/SysUser-9Q2UJWhi-DprWXFlR.js +15 -0
  71. package/dist/{SysUser-om6H1BeC.js → SysUser-a-j5bppr.js} +2 -2
  72. package/dist/{SysUserPanel-CH0HPP7h.js → SysUserPanel-6V232wwB.js} +1 -1
  73. package/dist/SysUserPanel-bJy69O7x-BJtBgFEs.js +4 -0
  74. package/dist/{SysUserPanel.vue_vue_type_script_setup_true_lang-Dpl13ee0.js → SysUserPanel.vue_vue_type_script_setup_true_lang-BOtHuMVy.js} +2 -2
  75. package/dist/SysUserPanel.vue_vue_type_script_setup_true_lang-DUPFqgz3-BSqRCMen.js +356 -0
  76. package/dist/{SystemMenu-BkG_DKxA.js → SystemMenu-BnVeOSOQ.js} +7 -7
  77. package/dist/SystemMenu-DGOAolc1-CJSLHP8i.js +156 -0
  78. package/dist/UserInfo-CKoOHkAM-DDWp0I_U.js +4 -0
  79. package/dist/{UserInfo-D9croxUe.js → UserInfo-Cax9b2nw.js} +1 -1
  80. package/dist/UserInfo.vue_vue_type_style_index_0_lang-BaT53SSu-DsNaAomO.js +160 -0
  81. package/dist/{UserInfo.vue_vue_type_style_index_0_lang-DLIP8xpN.js → UserInfo.vue_vue_type_style_index_0_lang-D-cw11i9.js} +2 -2
  82. package/dist/await-to-js.es5-Bv3Eu4mi-UCggJjes.js +10 -0
  83. package/dist/await-to-js.es5-Bv3Eu4mi.js +10 -0
  84. package/dist/childView-0YZQ6GBn-CEqg7k5d.js +4 -0
  85. package/dist/{childView-BY_Ip-l1.js → childView-DKG3eZo8.js} +1 -1
  86. package/dist/childView-DKkgi3yo-D47ft-vi.js +4 -0
  87. package/dist/{childView-CHp_TueS.js → childView-siumuBz0.js} +1 -1
  88. package/dist/childView.vue_vue_type_style_index_0_lang-ABMrGInv-ClOdE_sa.js +143 -0
  89. package/dist/{childView.vue_vue_type_style_index_0_lang-BNHbDRjt.js → childView.vue_vue_type_style_index_0_lang-CUfXDS1q.js} +8 -8
  90. package/dist/{childView.vue_vue_type_style_index_0_lang-CbjGf7Z7.js → childView.vue_vue_type_style_index_0_lang-CW3EbAmW.js} +8 -8
  91. package/dist/childView.vue_vue_type_style_index_0_lang-CaW106ve-CClTM8PK.js +180 -0
  92. package/dist/{code-rule-Ce6yWqCq.js → code-rule-Dtoree6F.js} +2 -2
  93. package/dist/code-rule-wQyfgpNL-C4evD4Co.js +148 -0
  94. package/dist/core.es.js +10 -10
  95. package/dist/cron-task-C-kryDtd-C0NuGZCe.js +135 -0
  96. package/dist/{cron-task-DziaH0rI.js → cron-task-GSRgA7S5.js} +2 -2
  97. package/dist/flow-task-B07st2aD-CgQvagSQ.js +10 -0
  98. package/dist/frameView-BOGA3ezf-QoSxzmSQ.js +44 -0
  99. package/dist/{frameView-DNeCVQaY.js → frameView-Cy6wxW0K.js} +1 -1
  100. package/dist/{index-BabfUVv_.js → index-Dc7xWMiC.js} +1057 -1033
  101. package/dist/layout-home-3Dy4onl4.js +228 -0
  102. package/dist/layout-home-CYHksXN_-Basy-3IH.js +228 -0
  103. package/dist/layoutView-BaRvAbIa-xVgfqspc.js +3302 -0
  104. package/dist/{layoutView-12Mlp9A2.js → layoutView-DMjNscJ-.js} +8 -8
  105. package/dist/log-in-Cx1dGik8-BVeEHeZ8.js +117 -0
  106. package/dist/{log-in-1NGaA5OM.js → log-in-VAG6Cvcx.js} +8 -8
  107. package/dist/log-out-COYdxrNC-ftopGZdE.js +130 -0
  108. package/dist/{log-out-B8_atGcQ.js → log-out-DZGaMCjC.js} +4 -4
  109. package/dist/{login-5dydO6GR.js → login-CqVMdNHs.js} +16 -16
  110. package/dist/login-Dg9ofNS8-Bocp1XMA.js +241 -0
  111. package/dist/login-log-DJBGJVV0-AoOyj0jD.js +70 -0
  112. package/dist/lov-view-C0T5prk8-B2DBmn55.js +97 -0
  113. package/dist/{lov-view-DPvGUu3h.js → lov-view-Cc68_28B.js} +7 -7
  114. package/dist/{menuInfo-DVADYfEK.js → menuInfo-BIrIaJlH.js} +1 -1
  115. package/dist/menuInfo-BZJ_q7bz-Drho-_QC.js +4 -0
  116. package/dist/menuInfo.vue_vue_type_style_index_0_lang-BA8xjUo3-BCZ1wipf.js +363 -0
  117. package/dist/{menuInfo.vue_vue_type_style_index_0_lang-DgsifDrm.js → menuInfo.vue_vue_type_style_index_0_lang-DlE4w35X.js} +2 -2
  118. package/dist/{pda-app-BZXs-2BQ.js → pda-app-DnjphrRS.js} +9 -9
  119. package/dist/pda-app-m9hsppHo-B4xyja1o.js +710 -0
  120. package/dist/redirect-BqegffKC-CBCIuqmz.js +15 -0
  121. package/dist/resource-C6KEIXu--B_ddyecm.js +97 -0
  122. package/dist/{resource-BZA9NFKc.js → resource-DISgPDM7.js} +4 -4
  123. package/dist/su-welcome-BjbuSrBZ.js +49424 -0
  124. package/dist/su-welcome-CYYy-dzr-D3RKPoB0.js +42089 -0
  125. package/dist/sys-config-DCjJGtht-DARDjlrt.js +370 -0
  126. package/dist/{sys-config-DQmNjWH4.js → sys-config-Yc9vh1t1.js} +13 -13
  127. package/dist/udp-core.css +1 -1
  128. package/dist/utogether-MlnyYtNS-CGgjFNPS.js +4 -0
  129. package/package.json +5 -2
  130. package/src/App.vue +71 -71
  131. package/src/components/udp/content/index.vue +88 -88
  132. package/src/components/udp/form-upload/form-upload.vue +492 -492
  133. package/src/components/udp/grid/index.vue +524 -524
  134. package/src/components/udp/index.ts +6 -6
  135. package/src/components/udp/ut-stamp-badge/index.vue +271 -271
  136. package/src/components/udp/utils.ts +408 -408
  137. package/src/layout/components/lay-content/index.vue +136 -136
  138. package/src/layout/components/lay-search/components/SearchModal.vue +181 -189
  139. package/src/layout/components/lay-setting/index.vue +503 -503
  140. package/src/layout/components/lay-sidebar/sidebar-logo.vue +101 -101
  141. package/src/layout/components/lay-tag/index.vue +598 -598
  142. package/src/layout/hooks/useNav.ts +176 -176
  143. package/src/layout/hooks/useTag.ts +227 -227
  144. package/src/layout/layoutView.vue +216 -216
  145. package/src/layout/types.ts +93 -93
  146. package/src/main.ts +111 -112
  147. package/src/plugins/i18n/zh.ts +1 -0
  148. package/src/plugins/vxe-table/index.ts +116 -116
  149. package/src/plugins/vxe-table/render.tsx +968 -968
  150. package/src/router/index.ts +187 -187
  151. package/src/router/modules/home.ts +32 -32
  152. package/src/router/utils.ts +420 -420
  153. package/src/store/modules/epTheme.ts +48 -48
  154. package/src/style/vxetable.scss +364 -356
  155. package/src/utils/dataFormat/index.ts +222 -222
  156. package/src/utils/lifecycle.ts +39 -39
  157. package/src/views/organization/department/DepartmentPanel.vue +303 -303
  158. package/src/views/organization/staff/StaffInfo.vue +127 -127
  159. package/src/views/organization/staff/StaffPanel.vue +3 -3
  160. package/src/views/system/layout/layout-home.vue +45 -7
  161. package/src/views/system/menu/AuthorityPanel.vue +141 -141
  162. package/src/views/system/menu/SystemMenu.vue +194 -194
  163. package/src/views/system/menu/menuInfo.vue +1 -1
  164. package/src/views/system/sysUser/SysUserPanel.vue +363 -363
  165. package/src/views/udev/coderule/code-rule.vue +132 -132
  166. package/src/views/udev/dict/DictView.vue +118 -118
  167. package/src/views/udev/dict/childView.vue +184 -184
  168. package/src/views/udev/lov/childView.vue +174 -174
  169. package/src/views/uhome/components/common-menu.vue +118 -0
  170. package/src/views/uhome/components/dynamic-component.vue +66 -0
  171. package/src/views/uhome/components/home-todo.vue +170 -0
  172. package/src/views/uhome/components/menu-favorite.vue +315 -315
  173. package/src/views/uhome/dynamic-card.vue +18 -19
  174. package/src/views/uhome/su-welcome.vue +46 -116
  175. package/src/views/ulogin/login.vue +336 -336
  176. package/src/views/upms/interface/log-in.vue +100 -100
  177. package/src/views/upms/interface/log-out.vue +104 -104
  178. package/src/views/upms/user/login-log.vue +54 -54
  179. package/types/global.d.ts +232 -232
  180. package/dist/await-to-js.es5-BtRbN2QH.js +0 -10
  181. package/dist/layout-home-Cis1KlEr.js +0 -195
  182. package/dist/su-welcome-BXe6Cdp3.js +0 -580
@@ -0,0 +1,148 @@
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
+ };
package/dist/core.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import { R as a, O as t, H as r, K as o, L as u, T as i, y as n, B as l, E as g, J as c, P as h, S as m, Q as S, s as f, C as y, D as R, c as C, h as P, i as d } from "./index-BabfUVv_.js";
1
+ import { S as a, P as t, d as r, l as o, m as u, U as i, g as n, O as l, h as g, i as m, Q as f, T as h, R as S, t as c, f as R, e as d, x as y, C, u as P } from "./index-Dc7xWMiC.js";
2
2
  export {
3
3
  a as constantRoutes,
4
4
  t as default,
@@ -9,14 +9,14 @@ export {
9
9
  n as getServiceApi,
10
10
  l as handleAliveRoute,
11
11
  g as hasAuthority,
12
- c as initDict,
13
- h as lifeCycleEvent,
14
- m as remainingRouters,
12
+ m as initDict,
13
+ f as lifeCycleEvent,
14
+ h as remainingRouters,
15
15
  S as routerBefore,
16
- f as store,
17
- y as useDataThemeChange,
18
- R as useLayout,
19
- C as useMultiTagsStore,
20
- P as usePermissionStore,
21
- d as useSystemStore
16
+ c as store,
17
+ R as useDataThemeChange,
18
+ d as useLayout,
19
+ y as useMultiTagsStore,
20
+ C as usePermissionStore,
21
+ P as useSystemStore
22
22
  };
@@ -0,0 +1,135 @@
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,7 +1,7 @@
1
1
  import { defineComponent as k, ref as d, createVNode as n, resolveComponent as o, Fragment as v, createElementBlock as T, openBlock as f, createBlock as I, createCommentVNode as R } from "vue";
2
2
  import { VXETable as C } from "vxe-table";
3
- import { t as x } from "./await-to-js.es5-BtRbN2QH.js";
4
- import { y } from "./index-BabfUVv_.js";
3
+ import { t as x } from "./await-to-js.es5-Bv3Eu4mi.js";
4
+ import { g as y } from "./index-Dc7xWMiC.js";
5
5
  import { useRender as S, successMessage as D } from "@utogether/utils";
6
6
  const E = {
7
7
  name: "CronTask"
@@ -0,0 +1,10 @@
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
+ };
@@ -0,0 +1,44 @@
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
+ };
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as _, ref as r, unref as a, onMounted as d, resolveDirective as p, withDirectives as v, createElementBlock as h, openBlock as g, createElementVNode as k, nextTick as x } from "vue";
2
2
  import { useRoute as E } from "vue-router";
3
- import { _ as R } from "./index-BabfUVv_.js";
3
+ import { _ as R } from "./index-Dc7xWMiC.js";
4
4
  const w = { class: "frame" }, S = ["src"], V = /* @__PURE__ */ _({
5
5
  __name: "frameView",
6
6
  setup(B) {