@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
@@ -0,0 +1,15 @@
1
+ import { defineComponent as a, unref as p, createElementBlock as s, openBlock as u } from "vue";
2
+ import { useRouter as _ } from "vue-router";
3
+ const m = { name: "Redirect" }, y = /* @__PURE__ */ a({
4
+ ...m,
5
+ setup(i) {
6
+ const { currentRoute: t, replace: r } = _(), { params: o, query: n } = p(t), { path: e } = o, c = Array.isArray(e) ? e.join("/") : e;
7
+ return r({
8
+ path: "/" + c,
9
+ query: n
10
+ }), (f, l) => (u(), s("div"));
11
+ }
12
+ });
13
+ export {
14
+ y as default
15
+ };
@@ -1,7 +1,7 @@
1
- import { defineComponent as w, ref as o, resolveComponent as l, createElementBlock as k, openBlock as u, createVNode as r, createBlock as b, createCommentVNode as x, Fragment as B } from "vue";
2
- import { successMessage as U } from "@utogether/utils";
1
+ import { defineComponent as w, ref as o, resolveComponent as r, createElementBlock as k, openBlock as i, createVNode as l, createBlock as x, createCommentVNode as b, Fragment as U } from "vue";
2
+ import { successMessage as B } from "@utogether/utils";
3
3
  import { useClipboard as N } from "@vueuse/core";
4
- import { B as y } from "./index-BKIw8tSn.js";
4
+ import { x as y } from "./index-DVARtten.js";
5
5
  const q = {
6
6
  name: "StaticResource"
7
7
  }, V = /* @__PURE__ */ w({
@@ -15,15 +15,15 @@ const q = {
15
15
  align: "center"
16
16
  }, {
17
17
  field: "templateCode",
18
- title: "message.file.resourceCode",
18
+ title: "message.urpt.resourceCode",
19
19
  width: 140
20
20
  }, {
21
21
  field: "templateName",
22
- title: "message.file.resourceName",
22
+ title: "message.urpt.resourceName",
23
23
  width: 150
24
24
  }, {
25
25
  field: "templateUrl",
26
- title: "message.file.resourceUrl",
26
+ title: "message.urpt.resourceUrl",
27
27
  miWidth: 200
28
28
  }, {
29
29
  field: "operate",
@@ -32,20 +32,20 @@ const q = {
32
32
  slots: {
33
33
  default: ({
34
34
  row: e
35
- }) => [r(B, null, [r(l("ut-button"), {
35
+ }) => [l(U, null, [l(r("ut-button"), {
36
36
  content: "download",
37
37
  icon: "ri-download-line",
38
38
  status: "success",
39
39
  onTap: () => g(e)
40
40
  }, null)])]
41
41
  }
42
- }], f = {
42
+ }], p = {
43
43
  toolbarButtonClick({
44
44
  code: e
45
45
  }) {
46
46
  e === "add" && _();
47
47
  }
48
- }, p = [{
48
+ }, f = [{
49
49
  field: "templateCode",
50
50
  required: !0
51
51
  }, {
@@ -63,32 +63,32 @@ const q = {
63
63
  }], t = o(!1), _ = (e) => {
64
64
  a.value = {}, t.value = !0;
65
65
  }, g = (e) => {
66
- m(d + "/ufil/" + e.templateUrl), U("复制成功,快试试右键粘贴吧");
66
+ m(d + "/ufil/" + e.templateUrl), B("复制成功,快试试右键粘贴吧");
67
67
  }, h = () => {
68
68
  s.value.refreshData();
69
69
  };
70
- return (e, i) => {
71
- const v = l("ut-grid"), C = l("ut-modal-form");
72
- return u(), k("div", null, [r(v, {
70
+ return (e, u) => {
71
+ const v = r("ut-grid"), C = r("ut-modal-form");
72
+ return i(), k("div", null, [l(v, {
73
73
  ref_key: "xgrid",
74
74
  ref: s,
75
75
  columns: c,
76
76
  url: n,
77
77
  editable: !1,
78
78
  mode: "form",
79
- events: f
80
- }, null, 512), t.value ? (u(), b(C, {
79
+ events: p
80
+ }, null, 512), t.value ? (i(), x(C, {
81
81
  key: 0,
82
82
  record: a.value,
83
- items: p,
83
+ items: f,
84
84
  width: 300,
85
85
  height: 340,
86
86
  "data-status": "add",
87
87
  title: "静态资源新增",
88
88
  url: n,
89
- onClose: i[0] || (i[0] = (R) => t.value = !1),
89
+ onClose: u[0] || (u[0] = (R) => t.value = !1),
90
90
  onConfirm: h
91
- }, null, 8, ["record"])) : x("", !0)]);
91
+ }, null, 8, ["record"])) : b("", !0)]);
92
92
  };
93
93
  }
94
94
  });
@@ -1,10 +1,11 @@
1
- import { defineComponent as J, ref as y, onMounted as K, resolveComponent as _, createBlock as N, openBlock as a, withCtx as c, createElementVNode as e, createVNode as i, createCommentVNode as O, unref as B, normalizeStyle as Q, toDisplayString as f, createElementBlock as p, Fragment as k, renderList as C, nextTick as X, computed as Z, resolveDirective as ee, createTextVNode as Y, withDirectives as te, normalizeClass as se } from "vue";
2
- import { w as G, i as oe, c as ne, p as le, _ as ae } from "./index-BKIw8tSn.js";
3
- import ce from "dayjs";
4
- import { dbstorage as ie, delay as re, warnMessage as ue, successMessage as de, lunarCalendar as me, cookies as fe } from "@utogether/utils";
1
+ import { defineComponent as J, ref as y, onMounted as K, resolveComponent as _, createBlock as N, openBlock as a, withCtx as i, createElementVNode as e, createVNode as c, createCommentVNode as O, unref as B, normalizeStyle as Q, toDisplayString as f, createElementBlock as p, Fragment as k, renderList as C, nextTick as X, computed as Z, resolveDirective as ee, createTextVNode as Y, withDirectives as te, normalizeClass as se } from "vue";
2
+ import { useRouter as ne } from "vue-router";
3
+ import oe from "dayjs";
4
+ import { dbstorage as le, delay as ae, warnMessage as ie, successMessage as ce, lunarCalendar as re, cookies as ue } from "@utogether/utils";
5
+ import { q as G, e as de, n as me, _ as fe } from "./index-DVARtten.js";
5
6
  import { clone as _e, max as ve } from "xe-utils";
6
7
  import pe from "vuedraggable";
7
- const ge = { class: "" }, he = { class: "w-full h-24" }, xe = { class: "" }, ye = { class: "h-24 w-24 flex justify-center items-center flex-col relative drag-item ut-menu-top-item" }, be = { class: "w-[90%] text-xs mt-2 text-ellipsis overflow-hidden whitespace-nowrap text-center" }, we = ["onClick"], ke = { class: "p-3" }, Ce = { class: "flex items-center" }, Ne = { class: "ml-1 font-bold text-base" }, $e = { class: "pl-3 py-2" }, Ie = { class: "flex items-center" }, Ve = { class: "ml-1 font-bold text-sm" }, Me = { class: "pl-3 py-2" }, Se = { class: "flex items-center" }, Ue = { class: "ml-1 font-bold text-sm" }, je = { class: "py-2" }, De = { class: "flex justify-end" }, Ee = "/upms/v1/menuFavority", Le = /* @__PURE__ */ J({
8
+ const ge = { class: "" }, he = { class: "w-full h-24" }, xe = { class: "" }, ye = { class: "h-24 w-24 flex justify-center items-center flex-col relative drag-item ut-menu-top-item" }, be = { class: "w-[90%] text-xs mt-2 text-ellipsis overflow-hidden whitespace-nowrap text-center" }, we = ["onClick"], ke = { class: "p-3" }, Ce = { class: "flex items-center" }, Ne = { class: "ml-1 font-bold text-base" }, $e = { class: "pl-3 py-2" }, Ie = { class: "flex items-center" }, Ve = { class: "ml-1 font-bold text-sm" }, Me = { class: "pl-3 py-2" }, Se = { class: "flex items-center" }, Ue = { class: "ml-1 font-bold text-sm" }, je = { class: "py-2" }, qe = { class: "flex justify-end" }, De = "/upfm/v1/menuFavority", Ee = /* @__PURE__ */ J({
8
9
  __name: "menu-favorite",
9
10
  props: {
10
11
  dataSource: { default: () => [] },
@@ -13,61 +14,60 @@ const ge = { class: "" }, he = { class: "w-full h-24" }, xe = { class: "" }, ye
13
14
  },
14
15
  emits: ["close", "success"],
15
16
  setup(P, { emit: h }) {
16
- const j = P, r = y([]), $ = y([]), b = y(!1), I = y(!1), u = y({}), L = async () => {
17
- $.value = await ie.getItem(`U-${j.userName}-ROUTES`), $.value = $.value.filter((o) => o.menuCode !== "SysHome"), await re(64), A();
18
- }, R = (o, s) => {
19
- var n;
20
- r.value.splice(s, 1);
21
- const t = (n = u.value[o.parentId]) == null ? void 0 : n.findIndex((v) => v === o.menuId);
22
- u.value[o.parentId].splice(t, 1);
23
- }, V = (o) => {
17
+ const j = P, u = y([]), $ = y([]), b = y(!1), I = y(!1), r = y({}), E = async () => {
18
+ $.value = await le.getItem(`U-${j.userName}-ROUTES`), $.value = $.value.filter((n) => n.menuCode !== "SysHome"), await ae(64), A();
19
+ }, R = (n, s) => {
20
+ var o;
21
+ u.value.splice(s, 1);
22
+ const t = (o = r.value[n.parentId]) == null ? void 0 : o.findIndex((v) => v === n.menuId);
23
+ r.value[n.parentId].splice(t, 1);
24
+ }, V = (n) => {
24
25
  const s = [], t = [];
25
- return o.children.forEach((n) => {
26
- ["5", "100"].includes(n.menuCategory) ? s.push(n) : t.push(n);
26
+ return n.children.forEach((o) => {
27
+ ["5", "100"].includes(o.menuCategory) ? s.push(o) : t.push(o);
27
28
  }), { folder: s, menus: t };
28
29
  }, A = () => {
29
- j.dataSource.forEach((o) => {
30
- u.value[o.parentId] ? u.value[o.parentId].push(o.menuId) : u.value[o.parentId] = [o.menuId];
30
+ j.dataSource.forEach((n) => {
31
+ r.value[n.parentId] ? r.value[n.parentId].push(n.menuId) : r.value[n.parentId] = [n.menuId];
31
32
  });
32
- }, D = (o, s) => {
33
+ }, q = (n, s) => {
33
34
  debugger;
34
35
  if (s.checked) {
35
- if (r.value.length === 16)
36
+ if (u.value.length === 16)
36
37
  return X(() => {
37
- u.value[o.id].splice(u.value[o.id].length - 1, 1);
38
- }), ue("最多只能选择16个常用功能");
39
- const t = o.children.find((n) => n.id === s.label);
40
- t && (t.seqNo = H() + 10, t.menuId = t.id, r.value.push(t));
38
+ r.value[n.id].splice(r.value[n.id].length - 1, 1);
39
+ }), ie("最多只能选择16个常用功能");
40
+ const t = n.children.find((o) => o.id === s.label);
41
+ t && (t.seqNo = H() + 10, t.menuId = t.id, u.value.push(t));
41
42
  } else {
42
- let t = r.value.findIndex((n) => n.menuId === s.label);
43
- t !== -1 && r.value.splice(t, 1), t = u.value[o.id].findIndex((n) => n === s.label), t !== -1 && u.value[o.id].splice(t, 1);
43
+ let t = u.value.findIndex((o) => o.menuId === s.label);
44
+ t !== -1 && u.value.splice(t, 1), t = r.value[n.id].findIndex((o) => o === s.label), t !== -1 && r.value[n.id].splice(t, 1);
44
45
  }
45
46
  }, F = () => {
46
- r.value.forEach((o, s) => {
47
- o.seqNo = (s + 1) * 10;
47
+ u.value.forEach((n, s) => {
48
+ n.seqNo = (s + 1) * 10;
48
49
  });
49
50
  }, H = () => {
50
- var o;
51
- return ((o = ve(r.value, (s) => s.seqNo)) == null ? void 0 : o.seqNo) || 0;
51
+ var n;
52
+ return ((n = ve(u.value, (s) => s.seqNo)) == null ? void 0 : n.seqNo) || 0;
52
53
  }, T = () => {
53
- console.log(r);
54
- const o = r.value.map((s) => ({
54
+ const n = u.value.map((s) => ({
55
55
  userName: j.userName,
56
56
  menuId: s.menuId,
57
57
  seqNo: s.seqNo
58
58
  }));
59
- console.log(o), I.value = !0, G().post(Ee, o).then(() => {
60
- de(), E(), z("success");
59
+ I.value = !0, G().post(De, n).then(() => {
60
+ ce(), D(), z("success");
61
61
  }).finally(() => {
62
62
  I.value = !1;
63
63
  });
64
- }, E = () => {
64
+ }, D = () => {
65
65
  b.value = !1, z("close");
66
- }, q = (o) => ["#409eff", "#67c23a", "#13c2c2", "#e85f33", "orange"][o % 5], z = h;
66
+ }, L = (n) => ["#409eff", "#67c23a", "#13c2c2", "#e85f33", "orange"][n % 5], z = h;
67
67
  return K(() => {
68
- r.value = _e(j.dataSource, !0), b.value = !0, L();
69
- }), (o, s) => {
70
- const t = _("el-empty"), n = _("iconify-icon-offline"), v = _("el-scrollbar"), M = _("vxe-checkbox"), S = _("vxe-checkbox-group"), w = _("ut-button"), U = _("vxe-modal");
68
+ u.value = _e(j.dataSource, !0), b.value = !0, E();
69
+ }), (n, s) => {
70
+ const t = _("el-empty"), o = _("iconify-icon-offline"), v = _("el-scrollbar"), M = _("vxe-checkbox"), S = _("vxe-checkbox-group"), w = _("ut-button"), U = _("vxe-modal");
71
71
  return a(), N(U, {
72
72
  modelValue: b.value,
73
73
  "onUpdate:modelValue": s[0] || (s[0] = (m) => b.value = m),
@@ -77,39 +77,39 @@ const ge = { class: "" }, he = { class: "w-full h-24" }, xe = { class: "" }, ye
77
77
  title: "常用菜单设置(拖动可改变菜单顺序)",
78
78
  "class-name": "u-favorite-modal",
79
79
  "show-footer": "",
80
- onClose: E
80
+ onClose: D
81
81
  }, {
82
- default: c(() => [
82
+ default: i(() => [
83
83
  e("div", ge, [
84
- i(v, {
84
+ c(v, {
85
85
  heigth: "100",
86
86
  class: "w-full border-b border-slate-300"
87
87
  }, {
88
- default: c(() => [
88
+ default: i(() => [
89
89
  e("div", he, [
90
- r.value.length ? O("", !0) : (a(), N(t, {
90
+ u.value.length ? O("", !0) : (a(), N(t, {
91
91
  key: 0,
92
92
  "image-size": 50,
93
93
  description: "",
94
94
  class: "p-0"
95
95
  })),
96
- i(B(pe), {
97
- list: r.value,
96
+ c(B(pe), {
97
+ list: u.value,
98
98
  handle: ".drag-item",
99
99
  animation: "300",
100
100
  "item-key": "id",
101
101
  class: "flex",
102
102
  onEnd: F
103
103
  }, {
104
- item: c(({ element: m, index: l }) => [
104
+ item: i(({ element: m, index: l }) => [
105
105
  e("div", xe, [
106
106
  e("div", ye, [
107
107
  e("div", {
108
108
  class: "rounded-full w-10 h-10 flex items-center justify-center",
109
- style: Q({ backgroundColor: q(l) })
109
+ style: Q({ backgroundColor: L(l) })
110
110
  }, [
111
- i(n, {
112
- icon: m.icon || `ri:${o.icons[l]}-line`,
111
+ c(o, {
112
+ icon: m.icon || `ri:${n.icons[l]}-line`,
113
113
  class: "text-2xl text-white"
114
114
  }, null, 8, ["icon"])
115
115
  ], 4),
@@ -127,8 +127,8 @@ const ge = { class: "" }, he = { class: "w-full h-24" }, xe = { class: "" }, ye
127
127
  ]),
128
128
  _: 1
129
129
  }),
130
- i(v, { class: "u-favorite-menu--contain" }, {
131
- default: c(() => [
130
+ c(v, { class: "u-favorite-menu--contain" }, {
131
+ default: i(() => [
132
132
  e("div", ke, [
133
133
  (a(!0), p(k, null, C($.value, (m) => (a(), p("div", {
134
134
  key: m.id,
@@ -139,12 +139,12 @@ const ge = { class: "" }, he = { class: "w-full h-24" }, xe = { class: "" }, ye
139
139
  e("div", Ne, f(m.menuName), 1)
140
140
  ]),
141
141
  e("div", $e, [
142
- i(S, {
143
- modelValue: u.value[m.id],
144
- "onUpdate:modelValue": (l) => u.value[m.id] = l,
145
- onChange: (l) => D(m, l)
142
+ c(S, {
143
+ modelValue: r.value[m.id],
144
+ "onUpdate:modelValue": (l) => r.value[m.id] = l,
145
+ onChange: (l) => q(m, l)
146
146
  }, {
147
- default: c(() => [
147
+ default: i(() => [
148
148
  (a(!0), p(k, null, C(V(m).menus, (l) => (a(), N(M, {
149
149
  key: l.id,
150
150
  label: l.id,
@@ -163,12 +163,12 @@ const ge = { class: "" }, he = { class: "w-full h-24" }, xe = { class: "" }, ye
163
163
  e("div", Ve, f(l.menuName), 1)
164
164
  ]),
165
165
  e("div", Me, [
166
- i(S, {
167
- modelValue: u.value[l.id],
168
- "onUpdate:modelValue": (d) => u.value[l.id] = d,
169
- onChange: (d) => D(l, d)
166
+ c(S, {
167
+ modelValue: r.value[l.id],
168
+ "onUpdate:modelValue": (d) => r.value[l.id] = d,
169
+ onChange: (d) => q(l, d)
170
170
  }, {
171
- default: c(() => [
171
+ default: i(() => [
172
172
  (a(!0), p(k, null, C(V(l).menus, (d) => (a(), N(M, {
173
173
  key: d.id,
174
174
  label: d.id,
@@ -187,12 +187,12 @@ const ge = { class: "" }, he = { class: "w-full h-24" }, xe = { class: "" }, ye
187
187
  e("div", Ue, f(d.menuName), 1)
188
188
  ]),
189
189
  e("div", je, [
190
- i(S, {
191
- modelValue: u.value[d.id],
192
- "onUpdate:modelValue": (x) => u.value[d.id] = x,
193
- onChange: (x) => D(l, x)
190
+ c(S, {
191
+ modelValue: r.value[d.id],
192
+ "onUpdate:modelValue": (x) => r.value[d.id] = x,
193
+ onChange: (x) => q(l, x)
194
194
  }, {
195
- default: c(() => [
195
+ default: i(() => [
196
196
  (a(!0), p(k, null, C(V(d).menus, (x) => (a(), N(M, {
197
197
  key: x.id,
198
198
  label: x.id,
@@ -211,14 +211,14 @@ const ge = { class: "" }, he = { class: "w-full h-24" }, xe = { class: "" }, ye
211
211
  })
212
212
  ])
213
213
  ]),
214
- footer: c(() => [
215
- e("div", De, [
216
- i(w, {
214
+ footer: i(() => [
215
+ e("div", qe, [
216
+ c(w, {
217
217
  content: "cancel",
218
218
  status: "warning",
219
- onTap: E
219
+ onTap: D
220
220
  }),
221
- i(w, {
221
+ c(w, {
222
222
  content: "confirm",
223
223
  onTap: T
224
224
  })
@@ -228,43 +228,43 @@ const ge = { class: "" }, he = { class: "w-full h-24" }, xe = { class: "" }, ye
228
228
  }, 8, ["modelValue", "loading"]);
229
229
  };
230
230
  }
231
- }), qe = { class: "ut-home m-3" }, ze = { class: "h-32 mb-4 p-4 flex justify-between items-center bg-white home-page" }, Re = { class: "flex flex-row items-center flex-[2]" }, Ae = { class: "ml-4 text-xs flex-[2]" }, Fe = { class: "flex justify-center items-center" }, He = { class: "py-2 text-gray-500 flex" }, Te = { class: "w-2/3" }, Oe = { class: "text-gray-500 flex" }, Be = { class: "w-2/3" }, Ge = { class: "flex flex-col" }, Pe = { class: "text-4xl" }, We = { class: "mt-1 ml-3" }, Ye = { class: "default:bg-white dark:bg-black" }, Je = ["onClick"], Ke = { class: "h-20 flex justify-center items-center flex-col" }, Qe = { class: "text-xs mt-2" }, Xe = { class: "p-3" }, Ze = { class: "p-0 w-full h-full" }, et = { class: "flex" }, tt = { class: "ml-3" }, st = { class: "text-blue-600 mr-3" }, ot = { class: "text-gray-400 text-sm" }, nt = { class: "p-1" }, lt = /* @__PURE__ */ J({
231
+ }), Le = { class: "ut-home m-3" }, ze = { class: "h-32 mb-4 p-4 flex justify-between items-center bg-white home-page" }, Re = { class: "flex flex-row items-center flex-[2]" }, Ae = { class: "ml-4 text-xs flex-[2]" }, Fe = { class: "flex justify-center items-center" }, He = { class: "py-2 text-gray-500 flex" }, Te = { class: "w-2/3" }, Oe = { class: "text-gray-500 flex" }, Be = { class: "w-2/3" }, Ge = { class: "flex flex-col" }, Pe = { class: "text-4xl" }, We = { class: "mt-1 ml-3" }, Ye = { class: "default:bg-white dark:bg-black" }, Je = ["onClick"], Ke = { class: "h-20 flex justify-center items-center flex-col" }, Qe = { class: "text-xs mt-2" }, Xe = { class: "p-3" }, Ze = { class: "p-0 w-full h-full" }, et = { class: "flex" }, tt = { class: "ml-3" }, st = { class: "text-blue-600 mr-3" }, nt = { class: "text-gray-400 text-sm" }, ot = { class: "p-1" }, lt = /* @__PURE__ */ J({
232
232
  name: "SuHome",
233
233
  __name: "su-welcome",
234
234
  setup(P) {
235
- const h = oe(), j = ne(), r = y([]), $ = y([]), b = y(!1), I = y(!1), u = Z(() => {
235
+ const h = de(), j = ne(), u = y([]), $ = y([]), b = y(!1), I = y(!1), r = Z(() => {
236
236
  var s;
237
237
  return (s = h.getUserInfo.name) == null ? void 0 : s.slice(0, 1);
238
- }), L = () => {
239
- var t, n;
240
- return h.isAdminRole ? "系统管理员" : (n = (t = h.getUserInfo) == null ? void 0 : t.sysRoles) == null ? void 0 : n.map((v) => v.roleName).join(",");
238
+ }), E = () => {
239
+ var t, o;
240
+ return h.isAdminRole ? "系统管理员" : (o = (t = h.getUserInfo) == null ? void 0 : t.sysRoles) == null ? void 0 : o.map((v) => v.roleName).join(",");
241
241
  }, R = () => {
242
242
  var t;
243
- return h.isAdminRole ? "【系统管理员】拥有所有组织" : L() === "项目组管理员" ? "【项目组管理员】拥有所有组织" : (t = h.getOrglist) == null ? void 0 : t.map((n) => n.orgName).join(",");
243
+ return h.isAdminRole ? "【系统管理员】拥有所有组织" : E() === "项目组管理员" ? "【项目组管理员】拥有所有组织" : (t = h.getOrglist) == null ? void 0 : t.map((o) => o.orgName).join(",");
244
244
  }, V = () => {
245
- const s = Number(ce().format("HH"));
245
+ const s = Number(oe().format("HH"));
246
246
  return s < 12 ? "上午好" : s < 18 ? "下午好" : "晚上好";
247
247
  }, A = () => {
248
- const s = /* @__PURE__ */ new Date(), t = me.solar2lunar(
248
+ const s = /* @__PURE__ */ new Date(), t = re.solar2lunar(
249
249
  s.getFullYear(),
250
250
  s.getMonth() + 1,
251
251
  s.getDate()
252
- ), { gzYear: n, IMonthCn: v, IDayCn: M, cMonth: S, cDay: w, ncWeek: U } = t;
253
- return `${S}月${w}日 ${n}${v}${M} ${U}`;
254
- }, D = () => {
255
- const s = "/upms/v1/menuFavority";
252
+ ), { gzYear: o, IMonthCn: v, IDayCn: M, cMonth: S, cDay: w, ncWeek: U } = t;
253
+ return `${S}月${w}日 ${o}${v}${M} ${U}`;
254
+ }, q = () => {
255
+ const s = "/upfm/v1/menuFavority";
256
256
  I.value = !0;
257
- const t = { pageSize: 20, pageNum: 1, userName: fe.get(le) };
258
- G().get(s, t).then((n) => {
259
- r.value = (n == null ? void 0 : n.list) || [];
257
+ const t = { pageSize: 20, pageNum: 1, userName: ue.get(me) };
258
+ G().get(s, t).then((o) => {
259
+ u.value = (o == null ? void 0 : o.list) || [];
260
260
  }).finally(() => {
261
261
  I.value = !1;
262
262
  });
263
263
  }, F = (s) => {
264
264
  j.push(s.menuPath);
265
265
  }, H = () => {
266
- var n;
267
- const s = "/upms/v1/userMonitor", t = { pageSize: 8, pageNum: 1, employeeName: (n = h.getUserInfo) == null ? void 0 : n.name };
266
+ var o;
267
+ const s = "/upfm/v1/userMonitor", t = { pageSize: 8, pageNum: 1, employeeName: (o = h.getUserInfo) == null ? void 0 : o.name };
268
268
  G().get(s, t).then((v) => {
269
269
  $.value = (v == null ? void 0 : v.list) || [];
270
270
  });
@@ -272,9 +272,9 @@ const ge = { class: "" }, he = { class: "w-full h-24" }, xe = { class: "" }, ye
272
272
  b.value = !0;
273
273
  };
274
274
  K(() => {
275
- D(), H();
275
+ q(), H();
276
276
  });
277
- const E = (s) => ["#409eff", "#67c23a", "#13c2c2", "#e85f33", "orange"][s % 5], q = [
277
+ const D = (s) => ["#409eff", "#67c23a", "#13c2c2", "#e85f33", "orange"][s % 5], L = [
278
278
  "community",
279
279
  "shield-star",
280
280
  "group",
@@ -317,7 +317,7 @@ const ge = { class: "" }, he = { class: "w-full h-24" }, xe = { class: "" }, ye
317
317
  10: { 1: "假", 2: "假", 3: "假", 4: "假", 5: "假", 6: "假", 7: "假", 12: "班" }
318
318
  }
319
319
  }
320
- ], o = [
320
+ ], n = [
321
321
  { name: "元旦", date: "2024-01-01" },
322
322
  { name: "春节", date: "2024-02-10" },
323
323
  { name: "清明节", date: "2024-04-04" },
@@ -328,17 +328,17 @@ const ge = { class: "" }, he = { class: "w-full h-24" }, xe = { class: "" }, ye
328
328
  ];
329
329
  return (s, t) => {
330
330
  var x;
331
- const n = _("el-avatar"), v = _("ut-countdown"), M = _("el-empty"), S = _("iconify-icon-offline"), w = _("el-card"), U = _("el-col"), m = _("ut-calendar"), l = _("el-row"), d = ee("spinning");
332
- return a(), p("div", qe, [
331
+ const o = _("el-avatar"), v = _("ut-flip-down"), M = _("el-empty"), S = _("iconify-icon-offline"), w = _("el-card"), U = _("el-col"), m = _("ut-calendar"), l = _("el-row"), d = ee("spinning");
332
+ return a(), p("div", Le, [
333
333
  e("div", ze, [
334
334
  e("div", Re, [
335
335
  e("div", null, [
336
- i(n, {
336
+ c(o, {
337
337
  size: "large",
338
338
  class: "text-4xl font-bold bg-[var(--el-color-primary)]"
339
339
  }, {
340
- default: c(() => [
341
- Y(f(u.value), 1)
340
+ default: i(() => [
341
+ Y(f(r.value), 1)
342
342
  ]),
343
343
  _: 1
344
344
  })
@@ -353,7 +353,7 @@ const ge = { class: "" }, he = { class: "w-full h-24" }, xe = { class: "" }, ye
353
353
  ]),
354
354
  e("div", He, [
355
355
  t[2] || (t[2] = e("span", { class: "inline-block" }, " 所属角色: ", -1)),
356
- e("div", Te, f(L()), 1)
356
+ e("div", Te, f(E()), 1)
357
357
  ]),
358
358
  e("div", Oe, [
359
359
  t[3] || (t[3] = e("span", { class: "inline-block" }, " 所属组织: ", -1)),
@@ -363,7 +363,7 @@ const ge = { class: "" }, he = { class: "w-full h-24" }, xe = { class: "" }, ye
363
363
  ]),
364
364
  e("div", Ge, [
365
365
  e("span", Pe, [
366
- i(v, {
366
+ c(v, {
367
367
  "show-days": !1,
368
368
  "show-labels": !1
369
369
  })
@@ -371,19 +371,19 @@ const ge = { class: "" }, he = { class: "w-full h-24" }, xe = { class: "" }, ye
371
371
  e("div", We, f(A()), 1)
372
372
  ])
373
373
  ]),
374
- i(l, {
374
+ c(l, {
375
375
  class: "m-2",
376
376
  gutter: 10
377
377
  }, {
378
- default: c(() => [
378
+ default: i(() => [
379
379
  te((a(), N(U, {
380
380
  lg: 24,
381
381
  md: 24,
382
382
  class: ""
383
383
  }, {
384
- default: c(() => [
385
- i(w, { class: "mb-2" }, {
386
- header: c(() => [
384
+ default: i(() => [
385
+ c(w, { class: "mb-2" }, {
386
+ header: i(() => [
387
387
  e("div", { class: "flex items-center justify-between dark:bg-black" }, [
388
388
  t[5] || (t[5] = e("span", { class: "font-bold" }, "常用菜单", -1)),
389
389
  e("span", {
@@ -395,18 +395,18 @@ const ge = { class: "" }, he = { class: "w-full h-24" }, xe = { class: "" }, ye
395
395
  ]))
396
396
  ])
397
397
  ]),
398
- default: c(() => [
398
+ default: i(() => [
399
399
  e("div", Ye, [
400
- r.value.length ? O("", !0) : (a(), N(M, {
400
+ u.value.length ? O("", !0) : (a(), N(M, {
401
401
  key: 0,
402
402
  "image-size": 100,
403
403
  description: "快来添加常用菜单吧!",
404
404
  class: "p-0 pb-3"
405
405
  })),
406
406
  e("ul", {
407
- class: se(["p-0 w-full h-full grid grid-rows-1 grid-cols-8 u-dashed-menu", { "grid-rows-2": r.value.length > 8 }])
407
+ class: se(["p-0 w-full h-full grid grid-rows-1 grid-cols-8 u-dashed-menu", { "grid-rows-2": u.value.length > 8 }])
408
408
  }, [
409
- (a(!0), p(k, null, C(r.value, (g, W) => (a(), p("li", {
409
+ (a(!0), p(k, null, C(u.value, (g, W) => (a(), p("li", {
410
410
  key: g.id,
411
411
  class: "text-center list-none bg-white",
412
412
  onClick: (at) => F(g)
@@ -414,10 +414,10 @@ const ge = { class: "" }, he = { class: "w-full h-24" }, xe = { class: "" }, ye
414
414
  e("div", Ke, [
415
415
  e("div", {
416
416
  class: "rounded-full w-10 h-10 flex items-center justify-center",
417
- style: Q({ backgroundColor: E(W) })
417
+ style: Q({ backgroundColor: D(W) })
418
418
  }, [
419
- i(S, {
420
- icon: g.icon || `ri:${q[W]}-line`,
419
+ c(S, {
420
+ icon: g.icon || `ri:${L[W]}-line`,
421
421
  class: "text-2xl text-white"
422
422
  }, null, 8, ["icon"])
423
423
  ], 4),
@@ -435,19 +435,19 @@ const ge = { class: "" }, he = { class: "w-full h-24" }, xe = { class: "" }, ye
435
435
  })), [
436
436
  [d, I.value]
437
437
  ]),
438
- i(U, {
438
+ c(U, {
439
439
  xl: 16,
440
440
  lg: 12,
441
441
  md: 24
442
442
  }, {
443
- default: c(() => [
444
- i(w, { class: "mb-2" }, {
445
- header: c(() => t[7] || (t[7] = [
443
+ default: i(() => [
444
+ c(w, { class: "mb-2" }, {
445
+ header: i(() => t[7] || (t[7] = [
446
446
  e("div", { class: "font-bold" }, [
447
447
  e("span", null, "个人动态")
448
448
  ], -1)
449
449
  ])),
450
- default: c(() => [
450
+ default: i(() => [
451
451
  e("div", Xe, [
452
452
  e("ul", Ze, [
453
453
  (a(!0), p(k, null, C($.value, (g) => (a(), p("li", {
@@ -456,9 +456,9 @@ const ge = { class: "" }, he = { class: "w-full h-24" }, xe = { class: "" }, ye
456
456
  }, [
457
457
  e("div", et, [
458
458
  e("div", null, [
459
- i(n, { class: "text-base" }, {
460
- default: c(() => [
461
- Y(f(u.value), 1)
459
+ c(o, { class: "text-base" }, {
460
+ default: i(() => [
461
+ Y(f(r.value), 1)
462
462
  ]),
463
463
  _: 1
464
464
  })
@@ -468,7 +468,7 @@ const ge = { class: "" }, he = { class: "w-full h-24" }, xe = { class: "" }, ye
468
468
  e("span", st, f(g.browser), 1),
469
469
  e("span", null, f(g.browserVersion || g.platformVersion), 1)
470
470
  ]),
471
- e("div", ot, f(g.loginTime), 1)
471
+ e("div", nt, f(g.loginTime), 1)
472
472
  ])
473
473
  ])
474
474
  ]))), 128))
@@ -480,24 +480,24 @@ const ge = { class: "" }, he = { class: "w-full h-24" }, xe = { class: "" }, ye
480
480
  ]),
481
481
  _: 1
482
482
  }),
483
- i(U, {
483
+ c(U, {
484
484
  xl: 8,
485
485
  lg: 12,
486
486
  md: 24,
487
487
  class: ""
488
488
  }, {
489
- default: c(() => [
490
- i(w, { class: "mb-2" }, {
491
- header: c(() => t[8] || (t[8] = [
489
+ default: i(() => [
490
+ c(w, { class: "mb-2" }, {
491
+ header: i(() => t[8] || (t[8] = [
492
492
  e("div", { class: "font-bold" }, [
493
493
  e("span", null, "日历")
494
494
  ], -1)
495
495
  ])),
496
- default: c(() => [
497
- e("div", nt, [
498
- i(m, {
496
+ default: i(() => [
497
+ e("div", ot, [
498
+ c(m, {
499
499
  holidays: z,
500
- "statutory-holiday": o
500
+ "statutory-holiday": n
501
501
  })
502
502
  ])
503
503
  ]),
@@ -509,18 +509,18 @@ const ge = { class: "" }, he = { class: "w-full h-24" }, xe = { class: "" }, ye
509
509
  ]),
510
510
  _: 1
511
511
  }),
512
- b.value ? (a(), N(Le, {
512
+ b.value ? (a(), N(Ee, {
513
513
  key: 0,
514
- "data-source": r.value,
514
+ "data-source": u.value,
515
515
  "user-name": B(h).getUserInfo.userName,
516
- icons: q,
516
+ icons: L,
517
517
  onClose: t[0] || (t[0] = (g) => b.value = !1),
518
- onSuccess: D
518
+ onSuccess: q
519
519
  }, null, 8, ["data-source", "user-name"])) : O("", !0)
520
520
  ]);
521
521
  };
522
522
  }
523
- }), ft = /* @__PURE__ */ ae(lt, [["__scopeId", "data-v-6a2c1a83"]]);
523
+ }), _t = /* @__PURE__ */ fe(lt, [["__scopeId", "data-v-5b8ab4a4"]]);
524
524
  export {
525
- ft as default
525
+ _t as default
526
526
  };