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

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 (201) hide show
  1. package/build/plugins.ts +39 -26
  2. package/dist/{403-B1R-4vXw.js → 403-Ctxjn4q8.js} +9 -8
  3. package/dist/{404-fXPl8csw.js → 404-W5yzyiZ9.js} +15 -14
  4. package/dist/{500-eI5842YB.js → 500-DXuGEOm4.js} +11 -10
  5. package/dist/{AuthorityInfo-CfVH6PaB.js → AuthorityInfo-C2tflCt8.js} +1 -1
  6. package/dist/AuthorityInfo.vue_vue_type_style_index_0_lang-SVgy3HX7.js +100 -0
  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-PLez5GoH.js} +3 -3
  10. package/dist/{CompanyPanel-B4MzoqN_.js → CompanyPanel-CIGaQooL.js} +20 -20
  11. package/dist/{Department-B4BNSiYx.js → Department-B9wLsXFm.js} +3 -3
  12. package/dist/{DepartmentPanel-zJO89L2O.js → DepartmentPanel-DSM4lTaz.js} +23 -23
  13. package/dist/{DesignPanel-S8P0J97f.js → DesignPanel-B6a9wW_A.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-DtHfoDQk.js} +28 -30
  15. package/dist/DictView-DhFbQxdJ.js +110 -0
  16. package/dist/{InvOrganization-MuM2jtsG.js → InvOrganization-D90AbR3b.js} +2 -2
  17. package/dist/Org-DxBkYabD.js +39 -0
  18. package/dist/{Preview-CRyiwUIR.js → Preview-BFtRpBxw.js} +1 -1
  19. package/dist/{ReportDefine-WZYIx8Sm.js → ReportDefine-BIa2QryC.js} +1 -1
  20. package/dist/{ReportDesign-D-7GKgpb.js → ReportDesign-CnyjI-WD.js} +44 -44
  21. package/dist/{ReportQuery-BIIJny6w.js → ReportQuery-BiK7yEhV.js} +5 -5
  22. package/dist/{ReportQueryFrom-OoUl7N2O.js → ReportQueryFrom-C2rqdFTm.js} +1 -1
  23. package/dist/{ReportQueryFrom.vue_vue_type_style_index_0_lang-B878fgj8.js → ReportQueryFrom.vue_vue_type_style_index_0_lang-Ba9HLnXQ.js} +6 -5
  24. package/dist/{ReportTemplate-Cfeq9US-.js → ReportTemplate-DdkLscP3.js} +30 -30
  25. package/dist/{Role-BwTV2QMH.js → Role-BrsxgK8D.js} +6 -6
  26. package/dist/{RoleAssign-De1JjOun.js → RoleAssign-DiqwJqDa.js} +8 -8
  27. package/dist/{RolePanel-pUBXsqCM.js → RolePanel-BDusGyo7.js} +1 -1
  28. package/dist/{RolePanel-E3RcdByM.js → RolePanel-Dqx5dI3f.js} +1 -1
  29. package/dist/RolePanel.vue_vue_type_script_setup_true_lang-2Z1q_5uW.js +132 -0
  30. package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-B2pQwHb0.js → RolePanel.vue_vue_type_script_setup_true_lang-B5lUnaMI.js} +40 -34
  31. package/dist/{ScrollPanel.vue_vue_type_style_index_0_lang-vMR1fBi0.js → ScrollPanel.vue_vue_type_style_index_0_lang-vSP23fEq.js} +23 -23
  32. package/dist/{Staff-Czm7A8vI.js → Staff-Cwi9LQiZ.js} +3 -3
  33. package/dist/StaffInfo-XjVtyaMv.js +4 -0
  34. package/dist/{StaffInfo.vue_vue_type_style_index_0_lang-DMTL7KCh.js → StaffInfo.vue_vue_type_script_setup_true_lang-wSrAuyet.js} +16 -16
  35. package/dist/{StaffPanel-CHk60LEz.js → StaffPanel-C-wYcFdv.js} +1 -1
  36. package/dist/{StaffPanel.vue_vue_type_script_setup_true_lang-iPKLb5wG.js → StaffPanel.vue_vue_type_script_setup_true_lang-DZNArmnC.js} +46 -49
  37. package/dist/{SysUser-BGwbttRn.js → SysUser-O4tvr-Ur.js} +2 -2
  38. package/dist/{SysUserPanel-BCbKoLKt.js → SysUserPanel-B853docZ.js} +1 -1
  39. package/dist/SysUserPanel.vue_vue_type_script_setup_true_lang-DhiYYC97.js +294 -0
  40. package/dist/{SystemMenu-BkqZSDKl.js → SystemMenu-CXR6mrXr.js} +52 -50
  41. package/dist/{UserInfo-BsyAcT2d.js → UserInfo-BkP8pE2a.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-D4r_umjV.js} +38 -36
  43. package/dist/{childView-CyuLTUqC.js → childView-D0HwbgDT.js} +1 -1
  44. package/dist/{childView-CF83nhxb.js → childView-TRqUkSDC.js} +1 -1
  45. package/dist/{childView.vue_vue_type_style_index_0_lang-CNSgGda3.js → childView.vue_vue_type_style_index_0_lang-BzISq0Jf.js} +43 -43
  46. package/dist/{childView.vue_vue_type_style_index_0_lang-Cch4lE-i.js → childView.vue_vue_type_style_index_0_lang-DQRgNsJY.js} +1 -1
  47. package/dist/{code-rule-Bz-gnktN.js → code-rule-BV7PQWhK.js} +13 -14
  48. package/dist/core.es.js +13 -10
  49. package/dist/{cron-task-CIifSUdW.js → cron-task-9ZS9bi7K.js} +11 -11
  50. package/dist/{frameView-_d2mqjjQ.js → frameView-DE83AN50.js} +15 -14
  51. package/dist/img/l_img.svg +1 -1
  52. package/dist/img/minicolors.png +0 -0
  53. package/dist/img/v_img.svg +1 -1
  54. package/dist/index-DVARtten.js +2623 -0
  55. package/dist/{layoutView-DLKVepB8.js → layoutView-D1U-c4By.js} +730 -724
  56. package/dist/{login-log-CvVnyGi3.js → login-log-kqKzKTto.js} +1 -1
  57. package/dist/{login-LREiDfFU.js → login-sPCEiTGT.js} +107 -113
  58. package/dist/{lov-view-DDrIVILB.js → lov-view-76NcYTYl.js} +5 -5
  59. package/dist/{menuInfo-B1FUV-Sk.js → menuInfo-CxjfjFpm.js} +1 -1
  60. package/dist/{menuInfo.vue_vue_type_style_index_0_lang-Cnk3vdtD.js → menuInfo.vue_vue_type_style_index_0_lang-C2qahH3r.js} +98 -95
  61. package/dist/pda-app-BUH16bLj.js +710 -0
  62. package/dist/redirect-BqegffKC.js +15 -0
  63. package/dist/{resource-BCwx9fEv.js → resource-CCuHzoA6.js} +18 -18
  64. package/dist/{su-welcome-189A7N4r.js → su-welcome-mRArONsd.js} +133 -133
  65. package/dist/{sys-config-BZ3sejow.js → sys-config-Cvt05yF6.js} +21 -21
  66. package/dist/udp-core.css +2 -2
  67. package/dist/{utogether-r08LNiIZ.js → utogether-Dm_VBQHR.js} +6 -6
  68. package/index.ts +40 -36
  69. package/package.json +4 -2
  70. package/src/App.vue +65 -70
  71. package/src/api/index.ts +1 -1
  72. package/src/components/SuCharts/src/UserInfo.vue +78 -78
  73. package/src/components/SuScrollTree/ScrollPanel.vue +3 -3
  74. package/src/components/udp/count-down.vue +536 -0
  75. package/src/components/udp/flip-down/FlipCard/flip-card.vue +251 -0
  76. package/src/components/udp/flip-down/FlipCard/interfaces.ts +4 -0
  77. package/src/components/udp/flip-down/FlipClock/flip-clock.vue +113 -0
  78. package/src/components/udp/form-upload.vue +482 -0
  79. package/src/components/udp/form.vue +112 -0
  80. package/src/components/udp/grid.vue +495 -0
  81. package/src/components/udp/index.ts +10 -0
  82. package/src/components/udp/lov.vue +388 -0
  83. package/src/components/udp/modal-form.vue +189 -0
  84. package/src/components/udp/modal-grid.vue +288 -0
  85. package/src/components/udp/upload.vue +423 -0
  86. package/src/components/udp/utils.ts +447 -0
  87. package/src/directives/permission/index.ts +1 -1
  88. package/src/layout/components/lay-navbar/index.vue +1 -1
  89. package/src/layout/components/lay-panel/index.vue +150 -150
  90. package/src/layout/components/lay-search/index.vue +25 -25
  91. package/src/layout/components/lay-sidebar/breadCrumb.vue +1 -1
  92. package/src/layout/components/lay-tag/index.vue +625 -625
  93. package/src/layout/layoutView.vue +215 -215
  94. package/src/main.ts +25 -14
  95. package/src/plugins/i18n/en.ts +302 -289
  96. package/src/plugins/i18n/zh.ts +348 -337
  97. package/src/plugins/vxe-table/index.ts +53 -46
  98. package/src/plugins/vxe-table/render.tsx +956 -397
  99. package/src/router/index.ts +187 -183
  100. package/src/router/modules/remaining.ts +58 -83
  101. package/src/style/button.scss +85 -78
  102. package/src/style/tailwind.css +1 -68
  103. package/src/style/vxetable.scss +44 -11
  104. package/src/utils/authority/index.ts +1 -1
  105. package/src/utils/{http → udp/http}/index.ts +8 -24
  106. package/src/utils/{http → udp/http}/types.d.ts +8 -5
  107. package/src/utils/udp/useRender.ts +431 -0
  108. package/src/views/login/login-view.vue +2 -2
  109. package/src/views/organization/company/CompanyPanel.vue +259 -259
  110. package/src/views/organization/inv-org/InvOrganization.vue +1 -1
  111. package/src/views/organization/org/Org.vue +9 -5
  112. package/src/views/organization/staff/StaffInfo.vue +0 -30
  113. package/src/views/organization/staff/StaffPanel.vue +4 -3
  114. package/src/views/system/menu/AuthorityPanel.vue +2 -2
  115. package/src/views/system/menu/SystemMenu.vue +183 -191
  116. package/src/views/system/menu/menuInfo.vue +363 -368
  117. package/src/views/system/role/AuthorityInfo.vue +19 -33
  118. package/src/views/system/role/Role.vue +1 -5
  119. package/src/views/system/role/RolePanel.vue +11 -2
  120. package/src/views/system/role/UserInfo.vue +195 -193
  121. package/src/views/system/role-assign/RoleAssign.vue +57 -57
  122. package/src/views/system/role-assign/RolePanel.vue +139 -136
  123. package/src/views/system/sys/sys-config.vue +1 -1
  124. package/src/views/system/sysUser/SysUserPanel.vue +278 -278
  125. package/src/views/uapp/pda/pda-app.vue +208 -176
  126. package/src/views/udev/dict/DictView.vue +118 -106
  127. package/src/views/udev/dict/childView.vue +7 -7
  128. package/src/views/udev/lov/lov-view.vue +91 -91
  129. package/src/views/ufile/aggregation/File.vue +5 -5
  130. package/src/views/ufile/file/water-mark.vue +14 -14
  131. package/src/views/uhome/components/menu-favorite.vue +1 -1
  132. package/src/views/uhome/su-welcome.vue +4 -4
  133. package/src/views/ulogin/login.vue +15 -10
  134. package/src/views/upms/user/login-log.vue +1 -1
  135. package/src/views/urpt/design/DesignPanel.vue +507 -526
  136. package/src/views/urpt/design/ReportDesign.vue +15 -19
  137. package/src/views/urpt/static-resource/resource.vue +3 -3
  138. package/src/views/urpt/template/ReportTemplate.vue +7 -7
  139. package/types/global.d.ts +2 -2
  140. package/vite.config.ts +13 -2
  141. package/dist/AuthorityInfo.vue_vue_type_style_index_0_lang-DbK-f8jH.js +0 -102
  142. package/dist/DictView-bIS5-rK-.js +0 -95
  143. package/dist/Org-kXHSjsgJ.js +0 -35
  144. package/dist/RolePanel.vue_vue_type_script_setup_true_lang-CTIad9_Q.js +0 -126
  145. package/dist/StaffInfo-DJzvBuxy.js +0 -4
  146. package/dist/SysUserPanel.vue_vue_type_script_setup_true_lang-0QUjnhjF.js +0 -289
  147. package/dist/core.umd.js +0 -173
  148. package/dist/index-BKIw8tSn.js +0 -9195
  149. package/dist/pda-app-CRhVGijN.js +0 -2209
  150. package/dist/redirect-DiaNDu8F.js +0 -15
  151. package/src/assets/images/empty.png +0 -0
  152. package/src/assets/images/logo.png +0 -0
  153. package/src/components/ReCountTo/README.md +0 -2
  154. package/src/components/ReCountTo/index.ts +0 -18
  155. package/src/components/ReCountTo/src/normal/index.tsx +0 -165
  156. package/src/components/ReCountTo/src/normal/props.ts +0 -37
  157. package/src/components/ReCountTo/src/rebound/index.tsx +0 -67
  158. package/src/components/ReCountTo/src/rebound/props.ts +0 -14
  159. package/src/components/ReCountTo/src/rebound/rebound.css +0 -77
  160. package/src/components/ReCropper/index.ts +0 -14
  161. package/src/components/ReCropper/src/index.tsx +0 -141
  162. package/src/components/ReFlicker/index.css +0 -39
  163. package/src/components/ReFlicker/index.ts +0 -50
  164. package/src/components/ReFlop/index.ts +0 -14
  165. package/src/components/ReFlop/src/Filpper.tsx +0 -99
  166. package/src/components/ReFlop/src/filpper.css +0 -184
  167. package/src/components/ReFlop/src/index.vue +0 -126
  168. package/src/components/ReFlowChart/index.ts +0 -24
  169. package/src/components/ReFlowChart/src/Control.vue +0 -139
  170. package/src/components/ReFlowChart/src/DataDialog.vue +0 -12
  171. package/src/components/ReFlowChart/src/NodePanel.vue +0 -151
  172. package/src/components/ReFlowChart/src/adpterForTurbo.ts +0 -160
  173. package/src/components/ReFlowChart/src/assets/iconfont/iconfont.css +0 -49
  174. package/src/components/ReFlowChart/src/assets/iconfont/iconfont.eot +0 -0
  175. package/src/components/ReFlowChart/src/assets/iconfont/iconfont.js +0 -61
  176. package/src/components/ReFlowChart/src/assets/iconfont/iconfont.json +0 -58
  177. package/src/components/ReFlowChart/src/assets/iconfont/iconfont.svg +0 -47
  178. package/src/components/ReFlowChart/src/assets/iconfont/iconfont.ttf +0 -0
  179. package/src/components/ReFlowChart/src/assets/iconfont/iconfont.woff +0 -0
  180. package/src/components/ReFlowChart/src/assets/iconfont/iconfont.woff2 +0 -0
  181. package/src/components/ReFlowChart/src/config.ts +0 -62
  182. package/src/components/ReSplitPane/index.css +0 -49
  183. package/src/components/ReSplitPane/index.tsx +0 -119
  184. package/src/components/ReSplitPane/resizer.css +0 -45
  185. package/src/components/ReSplitPane/resizer.tsx +0 -30
  186. package/src/components/SuCommon/card/components/Card.vue +0 -148
  187. package/src/components/SuCommon/card/components/DialogForm.vue +0 -127
  188. package/src/components/SuCommon/card/index.vue +0 -142
  189. package/src/components/SuCommon/icon-select/index.vue +0 -241
  190. package/src/components/SuCommon/table/index.vue +0 -208
  191. package/src/components/SuCommon/utils/index.ts +0 -103
  192. package/src/components/SuCommon/utils/slot.tsx +0 -50
  193. package/src/views/components/contextmenu/basic.vue +0 -74
  194. package/src/views/components/contextmenu/context-menu.vue +0 -40
  195. package/src/views/components/contextmenu/menuDynamic.vue +0 -99
  196. package/src/views/components/contextmenu/menuGroup.vue +0 -71
  197. package/src/views/components/count-to/index.vue +0 -43
  198. package/src/views/components/cropping/index.vue +0 -59
  199. package/src/views/components/cropping/picture.jpeg +0 -0
  200. package/src/views/components/split-pane/index.vue +0 -82
  201. package/src/views/components/video/index.vue +0 -57
@@ -1,10 +1,10 @@
1
- import { defineComponent as U, ref as c, onMounted as F, resolveComponent as n, createElementBlock as j, openBlock as w, createVNode as t, withCtx as s, createElementVNode as N, createBlock as G, createCommentVNode as K, createTextVNode as P, toDisplayString as $ } from "vue";
1
+ import { defineComponent as U, ref as u, onMounted as F, resolveComponent as n, createElementBlock as j, openBlock as N, createVNode as t, withCtx as d, createElementVNode as w, createBlock as G, createCommentVNode as K, createTextVNode as P, toDisplayString as $ } from "vue";
2
2
  import { useI18n as Q } from "vue-i18n";
3
3
  import { t as I } from "./await-to-js.es5-BtRbN2QH.js";
4
4
  import { VxeUI as W } from "vxe-pc-ui";
5
5
  import { useRender as X, successMessage as k } from "@utogether/utils";
6
- import { w as _, i as S } from "./index-BKIw8tSn.js";
7
- const Y = { class: "u-dict-config_wrapper" }, Z = { style: { margin: "10px" } }, h = "/upfm/v1/lov", se = /* @__PURE__ */ U({
6
+ import { q as b, e as S } from "./index-DVARtten.js";
7
+ const Y = { class: "u-dict-config_wrapper" }, Z = { style: { margin: "10px" } }, _ = "/upfm/v1/lov", de = /* @__PURE__ */ U({
8
8
  __name: "childView",
9
9
  props: {
10
10
  record: { default: () => ({}) },
@@ -12,7 +12,7 @@ const Y = { class: "u-dict-config_wrapper" }, Z = { style: { margin: "10px" } },
12
12
  },
13
13
  emits: ["onClose"],
14
14
  setup(V, { emit: D }) {
15
- const v = V, T = X(), { t: q } = Q(), y = c([]), u = c(!1), d = c(!1), a = c({}), p = c({}), m = c("add"), O = [
15
+ const v = V, T = X(), { t: q } = Q(), h = u([]), m = u(!1), s = u(!1), a = u({}), p = u({}), i = u("add"), O = [
16
16
  { field: "dictCode", title: "message.udp.dictCode", required: !0 },
17
17
  { field: "dictName", title: "message.udp.dictName", required: !0 },
18
18
  { field: "dictDesc", title: "message.remark" },
@@ -23,23 +23,23 @@ const Y = { class: "u-dict-config_wrapper" }, Z = { style: { margin: "10px" } },
23
23
  // formatter: ['formatDict', 'SU.ENABLE']
24
24
  }
25
25
  ], R = () => {
26
- d.value = !0, m.value = "add", a.value = {
26
+ s.value = !0, i.value = "add", a.value = {
27
27
  dictCode: "",
28
28
  dictName: "",
29
29
  dictDesc: "",
30
30
  enabled: "1"
31
31
  }, p.value = v.record;
32
32
  }, x = (e) => {
33
- d.value = !0, m.value = "child", a.value = {
33
+ s.value = !0, i.value = "child", a.value = {
34
34
  dictCode: "",
35
35
  dictName: "",
36
36
  dictDesc: "",
37
37
  enabled: "1"
38
38
  }, p.value = JSON.parse(JSON.stringify(e));
39
39
  }, B = async (e) => {
40
- await W.modal.confirm(q("message.deleteRecord")) === "confirm" && (await _().delete(h, [e]), k(), f());
40
+ await W.modal.confirm(q("message.deleteRecord")) === "confirm" && (await b().delete(_, [e]), k(), f());
41
41
  }, J = async (e) => {
42
- d.value = !0, m.value = "edit", p.value = v.record, a.value = JSON.parse(JSON.stringify(e)), console.log({ subRecord: a });
42
+ s.value = !0, i.value = "edit", p.value = v.record, a.value = JSON.parse(JSON.stringify(e));
43
43
  }, z = async () => {
44
44
  const e = {
45
45
  ...a.value,
@@ -48,16 +48,16 @@ const Y = { class: "u-dict-config_wrapper" }, Z = { style: { margin: "10px" } },
48
48
  parentId: a.value.parentId || p.value.id
49
49
  };
50
50
  let o = "post";
51
- ["add", "child"].includes(m.value) ? o = "post" : o = "put", u.value = !0;
52
- const [i, g] = await I(_()[o](h, [e]));
53
- u.value = !1, i || (console.log({ res: g }), d.value = !1, k(), f());
51
+ ["add", "child"].includes(i.value) ? o = "post" : o = "put", m.value = !0;
52
+ const [r, y] = await I(b()[o](_, [e]));
53
+ m.value = !1, r || (i.value === "edit" ? s.value = !1 : a.value = { enabled: "1" }, k(), f());
54
54
  }, f = async () => {
55
55
  const e = {
56
56
  parentId: v.record.id
57
57
  };
58
- u.value = !0;
59
- const [o, i] = await I(_().get(h + "/children", e));
60
- u.value = !1, o || (y.value = i.list);
58
+ m.value = !0;
59
+ const [o, r] = await I(b().get(_ + "/children", e));
60
+ m.value = !1, o || (h.value = r.list);
61
61
  }, A = D;
62
62
  function E() {
63
63
  A("onClose");
@@ -65,8 +65,8 @@ const Y = { class: "u-dict-config_wrapper" }, Z = { style: { margin: "10px" } },
65
65
  return F(() => {
66
66
  f();
67
67
  }), (e, o) => {
68
- const i = n("vxe-button"), g = n("vxe-toolbar"), r = n("vxe-table-column"), b = n("ut-button"), M = n("vxe-table"), H = n("ut-modal-form"), L = n("el-drawer");
69
- return w(), j("div", Y, [
68
+ const r = n("vxe-button"), y = n("vxe-toolbar"), c = n("vxe-table-column"), g = n("ut-button"), M = n("vxe-table"), H = n("ut-modal-form"), L = n("el-drawer");
69
+ return N(), j("div", Y, [
70
70
  t(L, {
71
71
  "model-value": e.show,
72
72
  "before-close": E,
@@ -75,23 +75,23 @@ const Y = { class: "u-dict-config_wrapper" }, Z = { style: { margin: "10px" } },
75
75
  "destroy-on-close": "",
76
76
  size: "76%"
77
77
  }, {
78
- default: s(() => [
79
- N("div", Z, [
80
- t(g, null, {
81
- buttons: s(() => [
82
- t(i, {
78
+ default: d(() => [
79
+ w("div", Z, [
80
+ t(y, null, {
81
+ buttons: d(() => [
82
+ t(r, {
83
83
  status: "primary",
84
84
  icon: "vxe-icon-add",
85
85
  onClick: R
86
86
  }, {
87
- default: s(() => [
87
+ default: d(() => [
88
88
  P($(e.$t("message.btn.add")), 1)
89
89
  ]),
90
90
  _: 1
91
91
  })
92
92
  ]),
93
- tools: s(() => [
94
- t(i, {
93
+ tools: d(() => [
94
+ t(r, {
95
95
  icon: "vxe-icon-refresh",
96
96
  onClick: f
97
97
  })
@@ -101,56 +101,56 @@ const Y = { class: "u-dict-config_wrapper" }, Z = { style: { margin: "10px" } },
101
101
  t(M, {
102
102
  border: "",
103
103
  "row-id": "id",
104
- data: y.value,
105
- loading: u.value,
104
+ data: h.value,
105
+ loading: m.value,
106
106
  "tree-config": { childrenField: "children", expandAll: !0 }
107
107
  }, {
108
- default: s(() => [
109
- t(r, {
108
+ default: d(() => [
109
+ t(c, {
110
110
  type: "seq",
111
111
  width: "130",
112
112
  title: e.$t("message.seqNo"),
113
113
  "tree-node": ""
114
114
  }, null, 8, ["title"]),
115
- t(r, {
115
+ t(c, {
116
116
  field: "dictCode",
117
117
  title: e.$t("message.udp.dictCode")
118
118
  }, null, 8, ["title"]),
119
- t(r, {
119
+ t(c, {
120
120
  field: "dictName",
121
121
  title: e.$t("message.udp.dictName")
122
122
  }, null, 8, ["title"]),
123
- t(r, {
123
+ t(c, {
124
124
  field: "dictDesc",
125
125
  title: e.$t("message.remark")
126
126
  }, null, 8, ["title"]),
127
- t(r, {
127
+ t(c, {
128
128
  field: "enabled",
129
129
  title: e.$t("message.enabled"),
130
130
  width: "100"
131
131
  }, {
132
- default: s(({ row: l }) => [
133
- N("span", null, $(l.enabled === "1" ? e.$t("message.enabled") : e.$t("message.disabled")), 1)
132
+ default: d(({ row: l }) => [
133
+ w("span", null, $(l.enabled === "1" ? e.$t("message.enabled") : e.$t("message.disabled")), 1)
134
134
  ]),
135
135
  _: 1
136
136
  }, 8, ["title"]),
137
- t(r, {
137
+ t(c, {
138
138
  field: "",
139
139
  title: e.$t("message.operate"),
140
140
  width: "200"
141
141
  }, {
142
- default: s(({ row: l }) => [
143
- t(b, {
142
+ default: d(({ row: l }) => [
143
+ t(g, {
144
144
  status: "primary",
145
145
  content: "edit",
146
146
  onTap: (C) => J(l)
147
147
  }, null, 8, ["onTap"]),
148
- t(b, {
148
+ t(g, {
149
149
  status: "warning",
150
150
  content: "delete",
151
151
  onTap: (C) => B(l)
152
152
  }, null, 8, ["onTap"]),
153
- t(b, {
153
+ t(g, {
154
154
  status: "success",
155
155
  content: "add",
156
156
  disabled: l.enabled !== "1",
@@ -163,16 +163,16 @@ const Y = { class: "u-dict-config_wrapper" }, Z = { style: { margin: "10px" } },
163
163
  _: 1
164
164
  }, 8, ["data", "loading"])
165
165
  ]),
166
- d.value ? (w(), G(H, {
166
+ s.value ? (N(), G(H, {
167
167
  key: 0,
168
168
  ref: "xmodal",
169
169
  record: a.value,
170
170
  items: O,
171
171
  width: "400",
172
172
  height: "280",
173
- "data-status": m.value,
173
+ "data-status": i.value,
174
174
  title: e.$t("message.title.dictInfo", { name: e.record.dictName }),
175
- onClose: o[0] || (o[0] = (l) => d.value = !1),
175
+ onClose: o[0] || (o[0] = (l) => s.value = !1),
176
176
  onConfirm: z
177
177
  }, null, 8, ["record", "data-status", "title"])) : K("", !0)
178
178
  ]),
@@ -183,5 +183,5 @@ const Y = { class: "u-dict-config_wrapper" }, Z = { style: { margin: "10px" } },
183
183
  }
184
184
  });
185
185
  export {
186
- se as _
186
+ de as _
187
187
  };
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as V, ref as a, resolveComponent as o, resolveDirective as F, createElementBlock as h, openBlock as _, createVNode as d, withCtx as c, withDirectives as W } from "vue";
2
2
  import { t as u } from "./await-to-js.es5-BtRbN2QH.js";
3
3
  import { useRender as P } from "@utogether/utils";
4
- import { i as $, w as f } from "./index-BKIw8tSn.js";
4
+ import { e as $, q as f } from "./index-DVARtten.js";
5
5
  const B = { class: "ut-loview-wrapper" }, Y = "/upfm/v1/lovViewHeader", m = "/upfm/v1/lovViewLine", G = /* @__PURE__ */ V({
6
6
  __name: "childView",
7
7
  props: {
@@ -1,13 +1,13 @@
1
- import { defineComponent as _, ref as d, createVNode as c, resolveComponent as s, createElementBlock as k, openBlock as m, createBlock as C, createCommentVNode as E } from "vue";
1
+ import { defineComponent as _, ref as d, createVNode as m, resolveComponent as i, createElementBlock as k, openBlock as c, createBlock as C, createCommentVNode as E } from "vue";
2
2
  import { t as U } from "./await-to-js.es5-BtRbN2QH.js";
3
- import { useRender as x } from "@utogether/utils";
4
- import { w as b } from "./index-BKIw8tSn.js";
5
- const q = {
3
+ import { useRender as q } from "@utogether/utils";
4
+ import { q as x } from "./index-DVARtten.js";
5
+ const b = {
6
6
  name: "CodeRule"
7
7
  }, V = /* @__PURE__ */ _({
8
- ...q,
8
+ ...b,
9
9
  setup(y) {
10
- const e = x(), i = d(null), l = d(!1), o = d(!1), n = d({}), u = "/upfm/v1/codingRule", f = [{
10
+ const e = q(), s = d(null), l = d(!1), o = d(!1), n = d({}), u = "/upfm/v1/codingRule", f = [{
11
11
  field: "ruleCode",
12
12
  title: "message.udp.ruleCode"
13
13
  }, {
@@ -47,7 +47,7 @@ const q = {
47
47
  row: t
48
48
  }) => {
49
49
  const r = t.haveBeenUsed === "Y" ? "look" : "encode", a = t.haveBeenUsed === "Y" ? "info" : "primary";
50
- return [c(s("ut-button"), {
50
+ return [m(i("ut-button"), {
51
51
  content: r,
52
52
  status: a,
53
53
  onTap: () => v(t)
@@ -114,19 +114,18 @@ const q = {
114
114
  async function h({
115
115
  row: t
116
116
  }) {
117
- console.log(t);
118
- const [r] = await U(b().put(u, t));
119
- !r && i.value.refreshData();
117
+ const [r] = await U(x().put(u, t));
118
+ !r && s.value.refreshData();
120
119
  }
121
120
  return (t, r) => {
122
- const a = s("ut-grid"), R = s("ut-modal-grid");
123
- return m(), k("div", null, [c(a, {
121
+ const a = i("ut-grid"), R = i("ut-modal-grid");
122
+ return c(), k("div", null, [m(a, {
124
123
  ref_key: "xgrid",
125
- ref: i,
124
+ ref: s,
126
125
  items: f,
127
126
  columns: p,
128
127
  url: u
129
- }, null, 512), l.value ? (m(), C(R, {
128
+ }, null, 512), l.value ? (c(), C(R, {
130
129
  key: 0,
131
130
  ref: "xmgrid",
132
131
  "default-value": n.value,
package/dist/core.es.js CHANGED
@@ -1,13 +1,16 @@
1
- import { L as t, H as a, w as r, y as o, M as i, N as u, s as l, d as S, h as d, i as h } from "./index-BKIw8tSn.js";
1
+ import { L as t, G as a, C as r, q as o, w as u, H as i, J as n, M as l, K as S, s as d, u as f, d as m, e as R } from "./index-DVARtten.js";
2
2
  export {
3
- t as default,
4
- a as delCurrentRoute,
5
- r as getServiceApi,
6
- o as handleAliveRoute,
3
+ t as constantRoutes,
4
+ a as default,
5
+ r as delCurrentRoute,
6
+ o as getServiceApi,
7
+ u as handleAliveRoute,
7
8
  i as hasAuthority,
8
- u as lifeCycleEvent,
9
- l as store,
10
- S as useMultiTagsStore,
11
- d as usePermissionStore,
12
- h as useSystemStore
9
+ n as lifeCycleEvent,
10
+ l as remainingRouters,
11
+ S as routerBefore,
12
+ d as store,
13
+ f as useMultiTagsStore,
14
+ m as usePermissionStore,
15
+ R as useSystemStore
13
16
  };
@@ -1,13 +1,13 @@
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
3
  import { t as x } from "./await-to-js.es5-BtRbN2QH.js";
4
- import { w as y } from "./index-BKIw8tSn.js";
5
- import { useRender as S, successMessage as D } from "@utogether/utils";
6
- const E = {
4
+ import { q as y } from "./index-DVARtten.js";
5
+ import { useRender as S, successMessage as q } from "@utogether/utils";
6
+ const D = {
7
7
  name: "CronTask"
8
8
  }, H = /* @__PURE__ */ k({
9
- ...E,
10
- setup(L) {
9
+ ...D,
10
+ setup(E) {
11
11
  const r = S(), u = d(null), i = d(!1), c = d({}), s = "/usch/v1/jobInfo", p = [{
12
12
  field: "jobName"
13
13
  }, {
@@ -70,7 +70,7 @@ const E = {
70
70
  content: "taskLog",
71
71
  status: "info",
72
72
  icon: "ri-file-line",
73
- onTap: () => j(e)
73
+ onTap: () => w(e)
74
74
  }, null)])];
75
75
  }
76
76
  }
@@ -83,9 +83,9 @@ const E = {
83
83
  }, l = async (e, t) => {
84
84
  if (await C.modal.confirm("您确定要继续吗?") === "confirm") {
85
85
  const [a] = await x(y().post(e, t));
86
- a || (D(), u.value.refreshData());
86
+ a || (q(), u.value.refreshData());
87
87
  }
88
- }, w = [
88
+ }, j = [
89
89
  // { field: 'jobName', width: 140 },
90
90
  {
91
91
  field: "startTime",
@@ -102,7 +102,7 @@ const E = {
102
102
  {
103
103
  field: "errorMessage"
104
104
  }
105
- ], j = (e) => {
105
+ ], w = (e) => {
106
106
  c.value = {
107
107
  jobId: e.id
108
108
  }, i.value = !0;
@@ -119,13 +119,13 @@ const E = {
119
119
  key: 0,
120
120
  ref: "xmgrid",
121
121
  "default-params": c.value,
122
- columns: w,
122
+ columns: j,
123
123
  url: "/usch/v1/jobLog",
124
124
  "show-footer": !1,
125
125
  editable: !1,
126
126
  width: "50%",
127
127
  title: e.$t("message.title.cronLog"),
128
- onClose: t[0] || (t[0] = (N) => i.value = !1)
128
+ onClose: t[0] || (t[0] = (L) => i.value = !1)
129
129
  }, null, 8, ["default-params", "title"])) : R("", !0)]);
130
130
  };
131
131
  }
@@ -1,34 +1,35 @@
1
- import { defineComponent as _, ref as r, unref as a, onMounted as d, resolveDirective as v, withDirectives as p, createElementBlock as h, openBlock as g, createElementVNode as k, nextTick as x } from "vue";
2
- import { u as E, _ as R } from "./index-BKIw8tSn.js";
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
+ import { useRoute as E } from "vue-router";
3
+ import { _ as R } from "./index-DVARtten.js";
3
4
  const w = { class: "frame" }, S = ["src"], V = /* @__PURE__ */ _({
4
5
  __name: "frameView",
5
6
  setup(B) {
6
- var f, m;
7
- const t = r(!1), o = E(), c = r(""), s = r(null);
8
- (f = a(o.meta)) != null && f.frameSrc && (c.value = (m = a(o.meta)) == null ? void 0 : m.frameSrc);
9
- function i() {
7
+ var s, m;
8
+ const t = r(!1), o = E(), c = r(""), i = r(null);
9
+ (s = a(o.meta)) != null && s.frameSrc && (c.value = (m = a(o.meta)) == null ? void 0 : m.frameSrc);
10
+ function f() {
10
11
  t.value = !1;
11
12
  }
12
13
  function l() {
13
14
  x(() => {
14
- const e = a(s);
15
+ const e = a(i);
15
16
  if (!e) return;
16
17
  const n = e;
17
18
  n.attachEvent ? n.attachEvent("onload", () => {
18
- i();
19
+ f();
19
20
  }) : e.onload = () => {
20
- i();
21
+ f();
21
22
  };
22
23
  });
23
24
  }
24
25
  return d(() => {
25
26
  t.value = !0, l();
26
27
  }), (e, n) => {
27
- const u = v("spinning");
28
- return p((g(), h("div", w, [
28
+ const u = p("spinning");
29
+ return v((g(), h("div", w, [
29
30
  k("iframe", {
30
31
  ref_key: "frameRef",
31
- ref: s,
32
+ ref: i,
32
33
  src: c.value,
33
34
  class: "frame-iframe"
34
35
  }, null, 8, S)
@@ -37,7 +38,7 @@ const w = { class: "frame" }, S = ["src"], V = /* @__PURE__ */ _({
37
38
  ]);
38
39
  };
39
40
  }
40
- }), C = /* @__PURE__ */ R(V, [["__scopeId", "data-v-c2f5c865"]]);
41
+ }), I = /* @__PURE__ */ R(V, [["__scopeId", "data-v-c2f5c865"]]);
41
42
  export {
42
- C as default
43
+ I as default
43
44
  };