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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (134) hide show
  1. package/dist/{403-CxOqlq0f.js → 403-y4Id7pky.js} +1 -1
  2. package/dist/{404-xdB6lFeQ.js → 404-DdxstlUr.js} +1 -1
  3. package/dist/{500-C94bRK2S.js → 500-BpsDn21g.js} +1 -1
  4. package/dist/{AuthorityInfo-Dy3b_nFN.js → AuthorityInfo-0CnlrZVd.js} +1 -1
  5. package/dist/{AuthorityInfo.vue_vue_type_style_index_0_lang-Bh7IbcdY.js → AuthorityInfo.vue_vue_type_style_index_0_lang-D5cXM84w.js} +1 -1
  6. package/dist/{Company-gKkfnhLt.js → Company-BPAqJfZm.js} +3 -3
  7. package/dist/{CompanyPanel-BF5Pc35s.js → CompanyPanel-CCeM96w4.js} +7 -7
  8. package/dist/{Department-D0I3QVZe.js → Department-BsLrIIrS.js} +3 -3
  9. package/dist/{DepartmentPanel-2LHODgc7.js → DepartmentPanel-B2YqwLmq.js} +20 -20
  10. package/dist/{DesignPanel-CtF3cAAQ.js → DesignPanel-CVSOCMvU.js} +1 -1
  11. package/dist/{DesignPanel.vue_vue_type_style_index_0_lang-BCYgwoVt.js → DesignPanel.vue_vue_type_style_index_0_lang-Dte8DQnU.js} +2 -2
  12. package/dist/{DictView-H3V5hxg3.js → DictView-CKVpPtFg.js} +1 -1
  13. package/dist/{InvOrganization-BiGLnbqe.js → InvOrganization-BBODO8aK.js} +1 -1
  14. package/dist/{Org-DQTCQHNY.js → Org-BYRi0OAt.js} +1 -1
  15. package/dist/{Preview-DXaiis29.js → Preview-COI8NwWh.js} +1 -1
  16. package/dist/{ReportDefine-BLh4CiER.js → ReportDefine-Dbh_8ykf.js} +1 -1
  17. package/dist/{ReportDesign-Ni1YxrLC.js → ReportDesign-DOeKYL9V.js} +6 -6
  18. package/dist/{ReportQuery-C8G88_qF.js → ReportQuery-Bb4r9lNR.js} +1 -1
  19. package/dist/{ReportQueryFrom-CuZKPtB4.js → ReportQueryFrom-CavcWtL3.js} +1 -1
  20. package/dist/{ReportQueryFrom.vue_vue_type_style_index_0_lang-BAn_siFW.js → ReportQueryFrom.vue_vue_type_style_index_0_lang-tuLRWEK9.js} +7 -7
  21. package/dist/{ReportTemplate-DFnDXWmx.js → ReportTemplate-C9NzPxM4.js} +8 -8
  22. package/dist/{Role-BQ7hsfPn.js → Role-Bqt4d9Lz.js} +3 -3
  23. package/dist/{RoleAssign-UPCg2d4G.js → RoleAssign-CWcytVz3.js} +3 -3
  24. package/dist/{RolePanel-CoSXOCZN.js → RolePanel-Di5nsMqt.js} +1 -1
  25. package/dist/{RolePanel-C-mQ5XRq.js → RolePanel-DlU0aCnL.js} +1 -1
  26. package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-Bg-t2UhF.js → RolePanel.vue_vue_type_script_setup_true_lang-BOq0iJsT.js} +7 -7
  27. package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-D-o7HYZ8.js → RolePanel.vue_vue_type_script_setup_true_lang-hzbUepuW.js} +7 -7
  28. package/dist/{ScrollPanel.vue_vue_type_style_index_0_lang-CCsoxDfk.js → ScrollPanel.vue_vue_type_style_index_0_lang-Bg3rg4P4.js} +1 -1
  29. package/dist/{Staff-D-CmvG1R.js → Staff-DXr2Ka1N.js} +3 -3
  30. package/dist/{StaffInfo-Idhvuc6e.js → StaffInfo-C6lDK0S_.js} +1 -1
  31. package/dist/{StaffInfo.vue_vue_type_script_setup_true_lang-MUGKjnHU.js → StaffInfo.vue_vue_type_script_setup_true_lang-YRJm87-b.js} +1 -1
  32. package/dist/{StaffPanel-CDDmAYE5.js → StaffPanel-WNpg0HWl.js} +1 -1
  33. package/dist/{StaffPanel.vue_vue_type_script_setup_true_lang-Bdilqbee.js → StaffPanel.vue_vue_type_script_setup_true_lang-azLpvFRo.js} +8 -8
  34. package/dist/{SysUser-a-j5bppr.js → SysUser-Dph6Qi_a.js} +2 -2
  35. package/dist/{SysUserPanel-6V232wwB.js → SysUserPanel-Iz024NS_.js} +1 -1
  36. package/dist/{SysUserPanel.vue_vue_type_script_setup_true_lang-BOtHuMVy.js → SysUserPanel.vue_vue_type_script_setup_true_lang-D8GUQHic.js} +1 -1
  37. package/dist/{SystemMenu-BnVeOSOQ.js → SystemMenu-6mTYGwbK.js} +6 -6
  38. package/dist/{UserInfo-Cax9b2nw.js → UserInfo-RQ7VgSbk.js} +1 -1
  39. package/dist/{UserInfo.vue_vue_type_style_index_0_lang-D-cw11i9.js → UserInfo.vue_vue_type_style_index_0_lang-BYp2-i9R.js} +1 -1
  40. package/dist/{childView-DKG3eZo8.js → childView-B8L4By2o.js} +1 -1
  41. package/dist/{childView-siumuBz0.js → childView-nCa8t4tr.js} +1 -1
  42. package/dist/{childView.vue_vue_type_style_index_0_lang-CUfXDS1q.js → childView.vue_vue_type_style_index_0_lang-Bl1MzDS9.js} +7 -7
  43. package/dist/{childView.vue_vue_type_style_index_0_lang-CW3EbAmW.js → childView.vue_vue_type_style_index_0_lang-DDx9z61J.js} +7 -7
  44. package/dist/{code-rule-Dtoree6F.js → code-rule-8dQLPHni.js} +1 -1
  45. package/dist/core.es.js +10 -10
  46. package/dist/{cron-task-GSRgA7S5.js → cron-task-aDBWT_Uh.js} +1 -1
  47. package/dist/{frameView-Cy6wxW0K.js → frameView-DM3flfo5.js} +1 -1
  48. package/dist/{index-Dc7xWMiC.js → index-ClHeZ3q4.js} +88 -88
  49. package/dist/{layout-home-3Dy4onl4.js → layout-home-DNPOu6R4.js} +27 -23
  50. package/dist/{layoutView-DMjNscJ-.js → layoutView-Ymyja_uK.js} +1 -1
  51. package/dist/{log-in-VAG6Cvcx.js → log-in-DtHf5ZcG.js} +8 -8
  52. package/dist/{log-out-DZGaMCjC.js → log-out-DZ8OkPM6.js} +3 -3
  53. package/dist/{login-CqVMdNHs.js → login-CoX7TNHE.js} +15 -15
  54. package/dist/{lov-view-Cc68_28B.js → lov-view-BWtIPBNm.js} +6 -6
  55. package/dist/{menuInfo-BIrIaJlH.js → menuInfo-wG5Zt00s.js} +1 -1
  56. package/dist/{menuInfo.vue_vue_type_style_index_0_lang-DlE4w35X.js → menuInfo.vue_vue_type_style_index_0_lang-DiPeALce.js} +1 -1
  57. package/dist/{pda-app-DnjphrRS.js → pda-app-9b3JC2he.js} +8 -8
  58. package/dist/{resource-DISgPDM7.js → resource-DiHXYgfm.js} +4 -4
  59. package/dist/{su-welcome-CYYy-dzr-D3RKPoB0.js → su-welcome-COvSPTOW.js} +21215 -21131
  60. package/dist/{sys-config-Yc9vh1t1.js → sys-config-Mm50Y0LQ.js} +12 -12
  61. package/dist/udp-core.css +1 -1
  62. package/package.json +1 -1
  63. package/src/plugins/vxe-table/index.ts +116 -116
  64. package/src/views/system/layout/layout-home.vue +6 -5
  65. package/src/views/ufile/aggregation/File.vue +87 -87
  66. package/src/views/uhome/components/home-todo.vue +6 -6
  67. package/src/views/uhome/su-welcome.vue +2 -4
  68. package/vite.config.ts +0 -1
  69. package/dist/403-WCboRvzZ-ZAPgYStl.js +0 -65
  70. package/dist/404-2V0Qi-d7-DkNwQggp.js +0 -65
  71. package/dist/500-BYfzvixf-CGpEieyQ.js +0 -67
  72. package/dist/AuthorityInfo-DBovfUjB-DpQwT9Q5.js +0 -4
  73. package/dist/AuthorityInfo.vue_vue_type_style_index_0_lang-D-l_Az3s-Cw7WmFxz.js +0 -100
  74. package/dist/AuthorityPanel-CRlAwbaI-G7pZXKdE.js +0 -4
  75. package/dist/AuthorityPanel.vue_vue_type_style_index_0_lang-DxhZjp1S-CJvk3pW8.js +0 -114
  76. package/dist/Company-B4vsXy2I-CkNCOqjJ.js +0 -25
  77. package/dist/CompanyPanel-Czcx8Gyw-CvndXwB_.js +0 -206
  78. package/dist/DataSet-DT-rGICv-DaUfgbxk.js +0 -147
  79. package/dist/Department-D0dVUrGC-C6HJcYI1.js +0 -25
  80. package/dist/DepartmentPanel-e91Lxr1j-BS_A-ILd.js +0 -254
  81. package/dist/DesignPanel-DdFl_ohi-uCwFxcl1.js +0 -4
  82. package/dist/DesignPanel.vue_vue_type_style_index_0_lang-BACPrfUI-cC7yL0uY.js +0 -1013
  83. package/dist/DictView-BzQLOf_P-DDicwdmM.js +0 -111
  84. package/dist/InvOrganization-atbhw0CI-BABbVt9V.js +0 -74
  85. package/dist/Org-BW1YHG-Q-Cow7JWlD.js +0 -39
  86. package/dist/Preview-DJtVsoq1-CCGidQjJ.js +0 -48
  87. package/dist/ReportDefine-CNx_ob99-6NQAHK-Q.js +0 -10
  88. package/dist/ReportDesign-FbQ6yTJS-C1pPAUSp.js +0 -165
  89. package/dist/ReportQuery-C5gz8Lgd-Eu2cQmda.js +0 -75
  90. package/dist/ReportQueryFrom-C7scua5v-uHXWq8Gy.js +0 -4
  91. package/dist/ReportQueryFrom.vue_vue_type_style_index_0_lang-DCbz67Wa-vK6r2uCl.js +0 -178
  92. package/dist/ReportTemplate-BDANdIWv-D_IGjR1w.js +0 -161
  93. package/dist/Role-ByB0WbxW-5E8Mb148.js +0 -25
  94. package/dist/RoleAssign-DW6iC_0v-Bis61auk.js +0 -26
  95. package/dist/RolePanel-BM2MaQPU-CgcsbfaX.js +0 -4
  96. package/dist/RolePanel-ClQy8DBL-DARL4O-o.js +0 -4
  97. package/dist/RolePanel.vue_vue_type_script_setup_true_lang-Bc_Ao_PU-DMmxr2iI.js +0 -132
  98. package/dist/RolePanel.vue_vue_type_script_setup_true_lang-fthF1zkp-JsbQJoDy.js +0 -154
  99. package/dist/ScrollPanel.vue_vue_type_style_index_0_lang-ByWIwajm-BsBf2Vs3.js +0 -100
  100. package/dist/Staff-CuxzvhD9-D0KTcyRh.js +0 -25
  101. package/dist/StaffInfo-CY7gUICu-EZUhUwIp.js +0 -4
  102. package/dist/StaffInfo.vue_vue_type_script_setup_true_lang-Dd8gtQz8-Dlkt-eCn.js +0 -108
  103. package/dist/StaffPanel-CwqG0_xr-CrvzLJoc.js +0 -4
  104. package/dist/StaffPanel.vue_vue_type_script_setup_true_lang-DCdBy8Hu-BXrueqi0.js +0 -143
  105. package/dist/SysUser-9Q2UJWhi-DprWXFlR.js +0 -15
  106. package/dist/SysUserPanel-bJy69O7x-BJtBgFEs.js +0 -4
  107. package/dist/SysUserPanel.vue_vue_type_script_setup_true_lang-DUPFqgz3-BSqRCMen.js +0 -356
  108. package/dist/SystemMenu-DGOAolc1-CJSLHP8i.js +0 -156
  109. package/dist/UserInfo-CKoOHkAM-DDWp0I_U.js +0 -4
  110. package/dist/UserInfo.vue_vue_type_style_index_0_lang-BaT53SSu-DsNaAomO.js +0 -160
  111. package/dist/await-to-js.es5-Bv3Eu4mi-UCggJjes.js +0 -10
  112. package/dist/childView-0YZQ6GBn-CEqg7k5d.js +0 -4
  113. package/dist/childView-DKkgi3yo-D47ft-vi.js +0 -4
  114. package/dist/childView.vue_vue_type_style_index_0_lang-ABMrGInv-ClOdE_sa.js +0 -143
  115. package/dist/childView.vue_vue_type_style_index_0_lang-CaW106ve-CClTM8PK.js +0 -180
  116. package/dist/code-rule-wQyfgpNL-C4evD4Co.js +0 -148
  117. package/dist/cron-task-C-kryDtd-C0NuGZCe.js +0 -135
  118. package/dist/flow-task-B07st2aD-CgQvagSQ.js +0 -10
  119. package/dist/frameView-BOGA3ezf-QoSxzmSQ.js +0 -44
  120. package/dist/layout-home-CYHksXN_-Basy-3IH.js +0 -228
  121. package/dist/layoutView-BaRvAbIa-xVgfqspc.js +0 -3302
  122. package/dist/log-in-Cx1dGik8-BVeEHeZ8.js +0 -117
  123. package/dist/log-out-COYdxrNC-ftopGZdE.js +0 -130
  124. package/dist/login-Dg9ofNS8-Bocp1XMA.js +0 -241
  125. package/dist/login-log-DJBGJVV0-AoOyj0jD.js +0 -70
  126. package/dist/lov-view-C0T5prk8-B2DBmn55.js +0 -97
  127. package/dist/menuInfo-BZJ_q7bz-Drho-_QC.js +0 -4
  128. package/dist/menuInfo.vue_vue_type_style_index_0_lang-BA8xjUo3-BCZ1wipf.js +0 -363
  129. package/dist/pda-app-m9hsppHo-B4xyja1o.js +0 -710
  130. package/dist/redirect-BqegffKC-CBCIuqmz.js +0 -15
  131. package/dist/resource-C6KEIXu--B_ddyecm.js +0 -97
  132. package/dist/su-welcome-BjbuSrBZ.js +0 -49424
  133. package/dist/sys-config-DCjJGtht-DARDjlrt.js +0 -370
  134. package/dist/utogether-MlnyYtNS-CGgjFNPS.js +0 -4
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@utogether/udp-core",
3
3
  "private": false,
4
- "version": "2.0.0-beta.3",
4
+ "version": "2.0.0-beta.5",
5
5
  "description": "",
6
6
  "type": "module",
7
7
  "main1": "index.ts",
@@ -1,116 +1,116 @@
1
- /*
2
- * @Author: levi7754 levi7754@163.com
3
- * @Date: 2024-06-05 14:32:03
4
- * @LastEditors: levi7754 levi7754@163.com
5
- * @LastEditTime: 2025-12-09 08:57:02
6
- * @FilePath: /udp-front/packages/udp-core/src/plugins/vxe-table/index.ts
7
- * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
8
- */
9
- import 'xe-utils';
10
- import { merge, toDateString, getWhatDay } from 'xe-utils';
11
- import { geti18n, transformI18n } from '../i18n/index';
12
- // import { storageLocal } from '@utogether/utils';
13
- import { VxetableRender } from '@utogether/utils';
14
- // import { VxetableRender } from './render';
15
- import { getServiceApi } from '../../api';
16
-
17
- import VXETable, { VxeUI } from 'vxe-table';
18
- // import './render.tsx';
19
-
20
- // const dict = storageLocal.getItem('kLov');
21
- VxetableRender(VXETable, { serviceApi: getServiceApi(), i18n: transformI18n });
22
- setCommands();
23
-
24
- // 全局默认参数
25
- const defaultConfig = {
26
- // 对组件内置的提示语进行国际化翻译
27
- // @ts-ignore
28
- i18n: (key, args) => geti18n().global.t(key, args),
29
- // 可选,对参数中的列头、校验提示..等进行自动翻译(只对支持国际化的有效)
30
- translate(key) {
31
- // 例如,只翻译 "message." 开头的键值
32
- const NAMESPACED = ['message.', 'el.'];
33
- if (key && NAMESPACED.findIndex(v => key.includes(v)) !== -1) {
34
- return geti18n().global.t.call(geti18n().global.locale, key);
35
- }
36
- return key;
37
- }
38
- };
39
-
40
- export function setTableConfig(config = {}) {
41
- VXETable.setConfig(merge(defaultConfig, config));
42
-
43
- VxeUI.interceptor.add('event.clearEdit', {
44
- tableInterceptorMethod(params) {
45
- const { $event } = params;
46
- if ($event.target.className.indexOf('vxe-table--ignore-clear') > -1) return false;
47
- }
48
- });
49
- }
50
-
51
- export function setTheme(theme) {
52
- // 切换为暗黑主题
53
- VxeUI.setTheme(theme);
54
- }
55
-
56
- function setCommands() {
57
- // 定义选中日期今天指令
58
- VxeUI.commands.add('utTodyay', {
59
- dateRangePickerCommandMethod({ $dateRangePicker }) {
60
- const startDate = toDateString(new Date(), 'yyyy-MM-dd 00:00:00');
61
- const endDate = toDateString(new Date(), 'yyyy-MM-dd 23:59:59');
62
- $dateRangePicker.setModelValue(startDate, endDate);
63
- }
64
- });
65
- // 定义选中日期昨天指令
66
- VxeUI.commands.add('utYesterDay', {
67
- dateRangePickerCommandMethod({ $dateRangePicker }) {
68
- const startDate = toDateString(getWhatDay(new Date(), -1), 'yyyy-MM-dd 00:00:00');
69
- const endDate = toDateString(getWhatDay(new Date(), -1), 'yyyy-MM-dd 23:59:59');
70
- $dateRangePicker.setModelValue(startDate, endDate);
71
- }
72
- });
73
- // 定义选中日期最近一周指令
74
- VxeUI.commands.add('utRecentWeek', {
75
- dateRangePickerCommandMethod({ $dateRangePicker }) {
76
- const startDate = toDateString(getWhatDay(new Date(), -7), 'yyyy-MM-dd 00:00:00');
77
- const endDate = toDateString(new Date(), 'yyyy-MM-dd 23:59:59');
78
- $dateRangePicker.setModelValue(startDate, endDate);
79
- }
80
- });
81
-
82
- // 定义选中日期最近一个月指令
83
- VxeUI.commands.add('utRecentMonth', {
84
- dateRangePickerCommandMethod({ $dateRangePicker }) {
85
- const startDate = toDateString(getWhatDay(new Date(), -30), 'yyyy-MM-dd 00:00:00');
86
- const endDate = toDateString(new Date(), 'yyyy-MM-dd 23:59:59');
87
- $dateRangePicker.setModelValue(startDate, endDate);
88
- }
89
- });
90
-
91
- // 定义选中日期最近三个月指令
92
- VxeUI.commands.add('utRecentThreeMonth', {
93
- dateRangePickerCommandMethod({ $dateRangePicker }) {
94
- const startDate = toDateString(getWhatDay(new Date(), -90), 'yyyy-MM-dd 00:00:00');
95
- const endDate = toDateString(new Date(), 'yyyy-MM-dd 23:59:59');
96
- $dateRangePicker.setModelValue(startDate, endDate);
97
- }
98
- });
99
-
100
- // 定义选中日期最近半年指令
101
- VxeUI.commands.add('utRecentHalfYear', {
102
- dateRangePickerCommandMethod({ $dateRangePicker }) {
103
- const startDate = toDateString(getWhatDay(new Date(), -180), 'yyyy-MM-dd 00:00:00');
104
- const endDate = toDateString(new Date(), 'yyyy-MM-dd 23:59:59');
105
- $dateRangePicker.setModelValue(startDate, endDate);
106
- }
107
- });
108
- // 定义选中日期最近半年指令
109
- VxeUI.commands.add('utRecentYear', {
110
- dateRangePickerCommandMethod({ $dateRangePicker }) {
111
- const startDate = toDateString(getWhatDay(new Date(), -365), 'yyyy-MM-dd 00:00:00');
112
- const endDate = toDateString(new Date(), 'yyyy-MM-dd 23:59:59');
113
- $dateRangePicker.setModelValue(startDate, endDate);
114
- }
115
- });
116
- }
1
+ /*
2
+ * @Author: levi7754 levi7754@163.com
3
+ * @Date: 2024-06-05 14:32:03
4
+ * @LastEditors: levi7754 levi7754@163.com
5
+ * @LastEditTime: 2025-12-09 08:57:02
6
+ * @FilePath: /udp-front/packages/udp-core/src/plugins/vxe-table/index.ts
7
+ * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
8
+ */
9
+ import 'xe-utils';
10
+ import { merge, toDateString, getWhatDay } from 'xe-utils';
11
+ import { geti18n, transformI18n } from '../i18n/index';
12
+ // import { storageLocal } from '@utogether/utils';
13
+ import { VxetableRender } from '@utogether/utils';
14
+ // import { VxetableRender } from './render';
15
+ import { getServiceApi } from '../../api';
16
+
17
+ import VXETable, { VxeUI } from 'vxe-table';
18
+ // import './render.tsx';
19
+
20
+ // const dict = storageLocal.getItem('kLov');
21
+ VxetableRender(VXETable, { serviceApi: getServiceApi(), i18n: transformI18n });
22
+ setCommands();
23
+
24
+ // 全局默认参数
25
+ const defaultConfig = {
26
+ // 对组件内置的提示语进行国际化翻译
27
+ // @ts-ignore
28
+ i18n: (key, args) => geti18n().global.t(key, args),
29
+ // 可选,对参数中的列头、校验提示..等进行自动翻译(只对支持国际化的有效)
30
+ translate(key) {
31
+ // 例如,只翻译 "message." 开头的键值
32
+ const NAMESPACED = ['message.', 'el.'];
33
+ if (key && NAMESPACED.findIndex(v => key.includes(v)) !== -1) {
34
+ return geti18n().global.t.call(geti18n().global.locale, key);
35
+ }
36
+ return key;
37
+ }
38
+ };
39
+
40
+ export function setTableConfig(config = {}) {
41
+ VXETable.setConfig(merge(defaultConfig, config));
42
+
43
+ VxeUI.interceptor.add('event.clearEdit', {
44
+ tableInterceptorMethod(params) {
45
+ const { $event } = params;
46
+ if ($event.target.className.indexOf('vxe-table--ignore-clear') > -1) return false;
47
+ }
48
+ });
49
+ }
50
+
51
+ export function setTheme(theme) {
52
+ // 切换为暗黑主题
53
+ VxeUI.setTheme(theme);
54
+ }
55
+
56
+ function setCommands() {
57
+ // 定义选中日期今天指令
58
+ VxeUI.commands.add('utTodyay', {
59
+ dateRangePickerCommandMethod({ $dateRangePicker }) {
60
+ const startDate = toDateString(new Date(), 'yyyy-MM-dd 00:00:00');
61
+ const endDate = toDateString(new Date(), 'yyyy-MM-dd 23:59:59');
62
+ $dateRangePicker.setModelValue(startDate, endDate);
63
+ }
64
+ });
65
+ // 定义选中日期昨天指令
66
+ VxeUI.commands.add('utYesterDay', {
67
+ dateRangePickerCommandMethod({ $dateRangePicker }) {
68
+ const startDate = toDateString(getWhatDay(new Date(), -1), 'yyyy-MM-dd 00:00:00');
69
+ const endDate = toDateString(getWhatDay(new Date(), -1), 'yyyy-MM-dd 23:59:59');
70
+ $dateRangePicker.setModelValue(startDate, endDate);
71
+ }
72
+ });
73
+ // 定义选中日期最近一周指令
74
+ VxeUI.commands.add('utRecentWeek', {
75
+ dateRangePickerCommandMethod({ $dateRangePicker }) {
76
+ const startDate = toDateString(getWhatDay(new Date(), -7), 'yyyy-MM-dd 00:00:00');
77
+ const endDate = toDateString(new Date(), 'yyyy-MM-dd 23:59:59');
78
+ $dateRangePicker.setModelValue(startDate, endDate);
79
+ }
80
+ });
81
+
82
+ // 定义选中日期最近一个月指令
83
+ VxeUI.commands.add('utRecentMonth', {
84
+ dateRangePickerCommandMethod({ $dateRangePicker }) {
85
+ const startDate = toDateString(getWhatDay(new Date(), -30), 'yyyy-MM-dd 00:00:00');
86
+ const endDate = toDateString(new Date(), 'yyyy-MM-dd 23:59:59');
87
+ $dateRangePicker.setModelValue(startDate, endDate);
88
+ }
89
+ });
90
+
91
+ // 定义选中日期最近三个月指令
92
+ VxeUI.commands.add('utRecentThreeMonth', {
93
+ dateRangePickerCommandMethod({ $dateRangePicker }) {
94
+ const startDate = toDateString(getWhatDay(new Date(), -90), 'yyyy-MM-dd 00:00:00');
95
+ const endDate = toDateString(new Date(), 'yyyy-MM-dd 23:59:59');
96
+ $dateRangePicker.setModelValue(startDate, endDate);
97
+ }
98
+ });
99
+
100
+ // 定义选中日期最近半年指令
101
+ VxeUI.commands.add('utRecentHalfYear', {
102
+ dateRangePickerCommandMethod({ $dateRangePicker }) {
103
+ const startDate = toDateString(getWhatDay(new Date(), -180), 'yyyy-MM-dd 00:00:00');
104
+ const endDate = toDateString(new Date(), 'yyyy-MM-dd 23:59:59');
105
+ $dateRangePicker.setModelValue(startDate, endDate);
106
+ }
107
+ });
108
+ // 定义选中日期最近半年指令
109
+ VxeUI.commands.add('utRecentYear', {
110
+ dateRangePickerCommandMethod({ $dateRangePicker }) {
111
+ const startDate = toDateString(getWhatDay(new Date(), -365), 'yyyy-MM-dd 00:00:00');
112
+ const endDate = toDateString(new Date(), 'yyyy-MM-dd 23:59:59');
113
+ $dateRangePicker.setModelValue(startDate, endDate);
114
+ }
115
+ });
116
+ }
@@ -2,7 +2,7 @@
2
2
  * @Author: levi7754 levi7754@163.com
3
3
  * @Date: 2025-12-23 11:00:51
4
4
  * @LastEditors: levi7754 levi7754@163.com
5
- * @LastEditTime: 2026-01-06 18:07:18
5
+ * @LastEditTime: 2026-01-06 18:50:23
6
6
  * @FilePath: \udp-crm\packages\udp-crm\src\views\udev\layout\home-layout.vue
7
7
  * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
8
8
  -->
@@ -13,7 +13,7 @@
13
13
  :items="items"
14
14
  :columns="columns"
15
15
  :url="url"
16
- :default-params="{ orgId: null, enabled: '1' }"
16
+ :default-params="{ orgId: null }"
17
17
  :check-method="onCheckMethod"
18
18
  @editActivated="onEditActivated"
19
19
  />
@@ -74,7 +74,8 @@ const url = '/ucrm/sysHomeConfig';
74
74
 
75
75
  const items = [
76
76
  { field: 'code', title: 'message.udp.componentCode' },
77
- { field: 'title', title: 'message.udp.componentTitle' }
77
+ { field: 'title', title: 'message.udp.componentTitle' },
78
+ { field: 'enabled', itemRender: renderHook.renderDict({ code: 'SU.ENABLE' }) }
78
79
  ];
79
80
 
80
81
  const subItems = [
@@ -94,7 +95,7 @@ const options = [
94
95
  // 列字段
95
96
  const columns = [
96
97
  { type: 'checkbox', width: 50, align: 'center' },
97
- { field: 'seqNo', required: true, width: 100, editRender: renderHook.renderNumber({ min: 60, step: 10 }) },
98
+ { field: 'seqNo', required: true, width: 100, editRender: renderHook.renderNumber({ min: 10, step: 10 }) },
98
99
  {
99
100
  field: 'type',
100
101
  title: 'message.udp.componentType',
@@ -216,7 +217,7 @@ const onConfirm = async records => {
216
217
  };
217
218
 
218
219
  const onCheckMethod = row => {
219
- return row.type === 'custom';
220
+ return row.type !== 'system';
220
221
  };
221
222
 
222
223
  const onEditActivated = ({ row }) => {
@@ -1,87 +1,87 @@
1
- <!--
2
- * @Author: wei.li
3
- * @Date: 2022-08-10 09:10:39
4
- * @LastEditors: levi7754 levi7754@163.com
5
- * @LastEditTime: 2025-04-08 15:33:48
6
- * @Description: 文件汇总查询
7
- -->
8
- <template>
9
- <div>
10
- <ut-grid ref="xgrid" :items="formItems" :columns="columns" :url="url" />
11
- </div>
12
- </template>
13
-
14
- <script lang="tsx">
15
- export default { name: 'AggregationFile' };
16
- </script>
17
- <script setup lang="tsx">
18
- import { ref } from 'vue';
19
- import { getBaseURL } from '../../../api';
20
- import { api as viewerApi } from 'v-viewer';
21
-
22
- const xgrid = ref(null);
23
-
24
- const url = '/ufil/v1/attachment';
25
-
26
- const formItems = [
27
- { field: 'fileName', title: 'message.urpt.fileName' },
28
- { field: 'creationDate', itemRender: { name: '#SuDateRange', props: { type: 'daterange' } } },
29
- { field: 'createdByName' }
30
- ];
31
-
32
- // 列字段
33
- const columns = [
34
- { field: 'fileName', title: 'message.urpt.fileName', width: 240 },
35
- { field: 'fileSize', title: 'message.urpt.fileSize', width: 110 },
36
- { field: 'fileExtend', title: 'message.urpt.fileExtend', width: 100 },
37
- { field: 'realpath', title: 'message.urpt.filePath' },
38
- { field: 'createdByName', width: 120 },
39
- { field: 'creationDate', width: 160 },
40
- {
41
- field: 'operate',
42
- width: 70,
43
- fixed: 'right',
44
- slots: {
45
- default: ({ row }) => {
46
- if (['png', 'jpeg', 'jpg'].includes(row.fileExtend)) {
47
- return [
48
- <ut-button content="review" icon="ri-search-line-plus" onTap={() => handlePreview(row)} />
49
- ];
50
- } else {
51
- return [
52
- <ut-button
53
- content="download"
54
- icon="ri-download-2-fill"
55
- status="warning"
56
- onTap={() => handleDownload(row)}
57
- />
58
- ];
59
- }
60
- }
61
- }
62
- }
63
- ];
64
-
65
- /**
66
- * @description: 预览文件
67
- * @param {*}
68
- */
69
- const handlePreview = row => {
70
- const realPath = `${getBaseURL()}/ufil${row.realpath}`;
71
- const images = [{ src: realPath, 'data-source': realPath }];
72
- viewerApi({ options: { toolbar: true, url: 'data-source' }, images });
73
- };
74
-
75
- // 附件下载
76
- const handleDownload = row => {
77
- const url = getBaseURL() + '/ufil' + row.realpath;
78
- const link = document.createElement('a');
79
- link.style.display = 'none';
80
- const fileName = row.fileName.split('.');
81
- link.href = url;
82
- link.setAttribute('download', fileName[0]);
83
- document.body.appendChild(link);
84
- link.click();
85
- document.body.removeChild(link);
86
- };
87
- </script>
1
+ <!--
2
+ * @Author: wei.li
3
+ * @Date: 2022-08-10 09:10:39
4
+ * @LastEditors: levi7754 levi7754@163.com
5
+ * @LastEditTime: 2025-04-08 15:33:48
6
+ * @Description: 文件汇总查询
7
+ -->
8
+ <template>
9
+ <div>
10
+ <ut-grid ref="xgrid" :items="formItems" :columns="columns" :url="url" />
11
+ </div>
12
+ </template>
13
+
14
+ <script lang="tsx">
15
+ export default { name: 'AggregationFile' };
16
+ </script>
17
+ <script setup lang="tsx">
18
+ import { ref } from 'vue';
19
+ import { getBaseURL } from '../../../api';
20
+ // import { api as viewerApi } from 'v-viewer';
21
+
22
+ const xgrid = ref(null);
23
+
24
+ const url = '/ufil/v1/attachment';
25
+
26
+ const formItems = [
27
+ { field: 'fileName', title: 'message.urpt.fileName' },
28
+ { field: 'creationDate', itemRender: { name: '#SuDateRange', props: { type: 'daterange' } } },
29
+ { field: 'createdByName' }
30
+ ];
31
+
32
+ // 列字段
33
+ const columns = [
34
+ { field: 'fileName', title: 'message.urpt.fileName', width: 240 },
35
+ { field: 'fileSize', title: 'message.urpt.fileSize', width: 110 },
36
+ { field: 'fileExtend', title: 'message.urpt.fileExtend', width: 100 },
37
+ { field: 'realpath', title: 'message.urpt.filePath' },
38
+ { field: 'createdByName', width: 120 },
39
+ { field: 'creationDate', width: 160 },
40
+ {
41
+ field: 'operate',
42
+ width: 70,
43
+ fixed: 'right',
44
+ slots: {
45
+ default: ({ row }) => {
46
+ if (['png', 'jpeg', 'jpg'].includes(row.fileExtend)) {
47
+ return [
48
+ <ut-button content="review" icon="ri-search-line-plus" onTap={() => handlePreview(row)} />
49
+ ];
50
+ } else {
51
+ return [
52
+ <ut-button
53
+ content="download"
54
+ icon="ri-download-2-fill"
55
+ status="warning"
56
+ onTap={() => handleDownload(row)}
57
+ />
58
+ ];
59
+ }
60
+ }
61
+ }
62
+ }
63
+ ];
64
+
65
+ /**
66
+ * @description: 预览文件
67
+ * @param {*}
68
+ */
69
+ const handlePreview = row => {
70
+ const realPath = `${getBaseURL()}/ufil${row.realpath}`;
71
+ // const images = [{ src: realPath, 'data-source': realPath }];
72
+ // viewerApi({ options: { toolbar: true, url: 'data-source' }, images });
73
+ };
74
+
75
+ // 附件下载
76
+ const handleDownload = row => {
77
+ const url = getBaseURL() + '/ufil' + row.realpath;
78
+ const link = document.createElement('a');
79
+ link.style.display = 'none';
80
+ const fileName = row.fileName.split('.');
81
+ link.href = url;
82
+ link.setAttribute('download', fileName[0]);
83
+ document.body.appendChild(link);
84
+ link.click();
85
+ document.body.removeChild(link);
86
+ };
87
+ </script>
@@ -21,10 +21,10 @@
21
21
  ref="xgrid"
22
22
  :columns="columns"
23
23
  :editable="false"
24
- :height="height"
25
24
  :data="data.todo"
26
25
  :events="events"
27
26
  :proxy-config="{ enabled: false }"
27
+ height="360"
28
28
  />
29
29
  </vxe-tab-pane>
30
30
  <vxe-tab-pane name="finish" lazy :title="$t('message.t_finishFlow')">
@@ -39,10 +39,11 @@
39
39
  ref="ygrid"
40
40
  :columns="columns"
41
41
  :editable="false"
42
- :height="height"
43
42
  :data="data.finish"
44
43
  :events="events"
45
44
  :proxy-config="{ enabled: false }"
45
+ height="360"
46
+ />
46
47
  />
47
48
  </vxe-tab-pane>
48
49
  </vxe-tabs>
@@ -55,7 +56,8 @@
55
56
  <script setup lang="tsx">
56
57
  import { useRouter } from 'vue-router';
57
58
  import { ref, onMounted, nextTick } from 'vue';
58
- import { useSystemStore } from '@utogether/udp-core';
59
+
60
+ import { useSystemStoreHook } from '../../../store/modules/system';
59
61
  import { isEmpty } from 'xe-utils';
60
62
  import to from 'await-to-js';
61
63
  import { getServiceApi } from '../../../api';
@@ -71,8 +73,6 @@ const keywords = ref(null);
71
73
  const flowTitle = ref(null);
72
74
  const data = ref({ todo: [], finish: [], todoPage: {}, finishPage: {} });
73
75
 
74
- const height = window.innerHeight - 170;
75
-
76
76
  const url = '/uwfl/activiti';
77
77
 
78
78
  const pagination = { pageNum: 1, pageSize: 20 };
@@ -132,7 +132,7 @@ const getDataList = async (type, searchField) => {
132
132
  const params = {
133
133
  ...data.value[`${activeName.value}Page`],
134
134
  searchField,
135
- userName: useSystemStore().getUserInfo.userName
135
+ userName: useSystemStoreHook().getUserInfo.userName
136
136
  };
137
137
  const [err, res]: any = await to(getServiceApi().post(url + uri, params));
138
138
  if (err) return;
@@ -2,7 +2,7 @@
2
2
  * @Author: levi7754 levi7754@163.com
3
3
  * @Date: 2023-11-02 10:04:05
4
4
  * @LastEditors: levi7754 levi7754@163.com
5
- * @LastEditTime: 2026-01-06 18:25:02
5
+ * @LastEditTime: 2026-01-07 10:56:02
6
6
  * @FilePath: /front-web-mes/src/views/uhome/su-welcome.vue
7
7
  * @Description: 欢迎页面
8
8
  -->
@@ -59,7 +59,7 @@
59
59
  </el-card>
60
60
  </el-col>
61
61
 
62
- <el-col :xl="16" :lg="12" :md="24">
62
+ <el-col v-if="systemLayout.LoginInfo" :xl="16" :lg="12" :md="24">
63
63
  <el-card class="mb-2">
64
64
  <template #header>
65
65
  <div class="font-bold">
@@ -237,8 +237,6 @@ const statutoryHoliday = [
237
237
  { name: '中秋节', date: '2024-09-17' },
238
238
  { name: '国庆节', date: '2024-10-01' }
239
239
  ];
240
-
241
- console.log(pkg.name, pkg);
242
240
  </script>
243
241
 
244
242
  <style lang="scss" scoped>
package/vite.config.ts CHANGED
@@ -46,7 +46,6 @@ export default () => {
46
46
  'vxe-pc-ui',
47
47
  'xe-utils',
48
48
  'vue-i18n',
49
- 'v-viewer',
50
49
  'vuedraggable',
51
50
  '@vueuse/core',
52
51
  '@vueuse/motion',
@@ -1,65 +0,0 @@
1
- import { defineComponent as o, resolveComponent as F, resolveDirective as r, createElementBlock as h, openBlock as a, createVNode as f, createElementVNode as M, unref as n, withDirectives as s, createTextVNode as c, createBlock as B, withCtx as k, createStaticVNode as y } from "vue";
2
- import { useRouter as E, useRoute as D } from "vue-router";
3
- import { P as v } from "./su-welcome-BjbuSrBZ.js";
4
- const A = {
5
- width: "251",
6
- height: "294"
7
- };
8
- function C(e, l) {
9
- return a(), h("svg", A, l[0] || (l[0] = [
10
- y('<g fill="none"><path fill="#E4EBF7" d="M0 129.023v-2.084C0 58.364 55.591 2.774 124.165 2.774h2.085c68.574 0 124.165 55.59 124.165 124.165v2.084c0 68.575-55.59 124.166-124.165 124.166h-2.085C55.591 253.189 0 197.598 0 129.023"></path><path fill="#FFF" d="M41.417 132.92a8.231 8.231 0 1 1-16.38-1.65 8.231 8.231 0 0 1 16.38 1.65"></path><path stroke="#FFF" d="m38.652 136.36 10.425 5.91m.912 6.235-12.58 10.73"></path><path fill="#FFF" d="M41.536 161.28a5.636 5.636 0 1 1-11.216-1.13 5.636 5.636 0 0 1 11.216 1.13m17.618-16.019a5.677 5.677 0 1 1-11.297-1.138 5.677 5.677 0 0 1 11.297 1.138M100.36 29.516l29.66-.013a4.562 4.562 0 1 0-.004-9.126l-29.66.013a4.563 4.563 0 0 0 .005 9.126m11.344 18.238 29.659-.013a4.563 4.563 0 1 0-.004-9.126l-29.66.013a4.563 4.563 0 1 0 .005 9.126"></path><path fill="#FFF" d="M114.066 29.503V29.5l15.698-.007a4.563 4.563 0 1 0 .004 9.126l-15.698.007v-.002a4.562 4.562 0 0 0-.004-9.122m71.339 108.221c-.55 5.455-5.418 9.432-10.873 8.882-5.456-.55-9.432-5.418-8.882-10.873s5.418-9.432 10.873-8.882 9.432 5.418 8.882 10.873"></path><path stroke="#FFF" d="m180.17 143.772 12.572 7.129m1.099 7.519-15.171 12.94"></path><path fill="#FFF" d="M185.55 171.926a6.798 6.798 0 1 1-13.528-1.363 6.798 6.798 0 0 1 13.527 1.363m18.571-16.641a6.848 6.848 0 1 1-13.627-1.375 6.848 6.848 0 0 1 13.626 1.375"></path><path stroke="#FFF" d="M152.988 194.074a2.21 2.21 0 1 1-4.42 0 2.21 2.21 0 0 1 4.42 0zm72.943-75.857a2.21 2.21 0 1 1-4.421 0 2.21 2.21 0 0 1 4.421 0zm-8.841 34.834a2.21 2.21 0 1 1-4.421 0 2.21 2.21 0 0 1 4.42 0zm-39.25-43.209a2.21 2.21 0 1 1-4.422 0 2.21 2.21 0 0 1 4.421 0zm18.274-15.388a2.21 2.21 0 1 1-4.421 0 2.21 2.21 0 0 1 4.421 0zm6.73 88.069a2.21 2.21 0 1 1-4.42 0 2.21 2.21 0 0 1 4.42 0z"></path><path stroke="#FFF" d="m215.125 155.262-1.902 20.075-10.87 5.958m-27.752-4.659-6.322 9.761H156.98l-4.484 6.449m23.378-65.566v-15.72m45.636 7.844-12.77 7.859-15.228-7.86V96.668"></path><path fill="#A26EF4" d="M180.68 29.32C180.68 13.128 193.806 0 210 0c16.193 0 29.32 13.127 29.32 29.32 0 16.194-13.127 29.322-29.32 29.322s-29.32-13.128-29.32-29.321"></path><path fill="#FFF" d="m221.45 41.706-21.563-.125a1.744 1.744 0 0 1-1.734-1.754l.071-12.23a1.744 1.744 0 0 1 1.754-1.734l21.562.125c.964.006 1.74.791 1.735 1.755l-.071 12.229a1.744 1.744 0 0 1-1.754 1.734"></path><path fill="#FFF" d="M215.106 29.192c-.015 2.577-2.049 4.654-4.543 4.64s-4.504-2.115-4.489-4.693l.04-6.925c.016-2.577 2.05-4.654 4.543-4.64s4.504 2.116 4.49 4.693l-.04 6.925zm-4.53-14.074a6.877 6.877 0 0 0-6.916 6.837l-.043 7.368a6.877 6.877 0 0 0 13.754.08l.042-7.368a6.88 6.88 0 0 0-6.837-6.917m-43.01 53.249h-3.93a4.73 4.73 0 0 1-4.717-4.717 4.73 4.73 0 0 1 4.717-4.717h3.93a4.73 4.73 0 0 1 4.717 4.717 4.73 4.73 0 0 1-4.717 4.717"></path><path fill="#5BA02E" d="M168.214 248.838a6.61 6.61 0 0 1-6.61-6.611v-66.108a6.611 6.611 0 0 1 13.221 0v66.108a6.61 6.61 0 0 1-6.61 6.61"></path><path fill="#92C110" d="M176.147 248.176a6.61 6.61 0 0 1-6.61-6.61v-33.054a6.611 6.611 0 1 1 13.221 0v33.053a6.61 6.61 0 0 1-6.61 6.611"></path><path fill="#F2D7AD" d="M185.994 293.89h-27.376a3.17 3.17 0 0 1-3.17-3.17v-45.887a3.17 3.17 0 0 1 3.17-3.17h27.376a3.17 3.17 0 0 1 3.17 3.17v45.886a3.17 3.17 0 0 1-3.17 3.17"></path><path fill="#FFF" d="M81.972 147.673s6.377-.927 17.566-1.28c11.729-.371 17.57 1.086 17.57 1.086s3.697-3.855.968-8.424c1.278-12.077 5.982-32.827.335-48.273-1.116-1.339-3.743-1.512-7.536-.62-1.337.315-7.147-.149-7.983-.1l-15.311-.347s-3.487-.17-8.035-.508c-1.512-.113-4.227-1.683-5.458-.338-.406.443-2.425 5.669-1.97 16.077l8.635 35.642s-3.141 3.61 1.219 7.085"></path><path fill="#FFC6A0" d="m75.768 73.325-.9-6.397 11.982-6.52s7.302-.118 8.038 1.205c.737 1.324-5.616.993-5.616.993s-1.836 1.388-2.615 2.5c-1.654 2.363-.986 6.471-8.318 5.986-1.708.284-2.57 2.233-2.57 2.233"></path><path fill="#FFB594" d="M52.44 77.672s14.217 9.406 24.973 14.444c1.061.497-2.094 16.183-11.892 11.811-7.436-3.318-20.162-8.44-21.482-14.496-.71-3.258 2.543-7.643 8.401-11.76m89.422 2.442s-6.693 2.999-13.844 6.876c-3.894 2.11-10.137 4.704-12.33 7.988-6.224 9.314 3.536 11.22 12.947 7.503 6.71-2.651 28.999-12.127 13.227-22.367"></path><path fill="#FFC6A0" d="m76.166 66.36 3.06 3.881s-2.783 2.67-6.31 5.747c-7.103 6.195-12.803 14.296-15.995 16.44-3.966 2.662-9.754 3.314-12.177-.118-3.553-5.032.464-14.628 31.422-25.95"></path><path fill="#FFF" d="M64.674 85.116s-2.34 8.413-8.912 14.447c.652.548 18.586 10.51 22.144 10.056 5.238-.669 6.417-18.968 1.145-20.531-.702-.208-5.901-1.286-8.853-2.167-.87-.26-1.611-1.71-3.545-.936l-1.98-.869zm63.688.71s5.318 1.956 7.325 13.734c-.546.274-17.55 12.35-21.829 7.805-6.534-6.94-.766-17.393 4.275-18.61 4.646-1.121 5.03-1.37 10.23-2.929"></path><path stroke="#E4EBF7" d="M78.18 94.656s.911 7.41-4.914 13.078M87.397 94.68s3.124 2.572 10.263 2.572c7.14 0 9.074-3.437 9.074-3.437"></path><path fill="#FFC6A0" d="m117.184 68.639-6.781-6.177s-5.355-4.314-9.223-.893c-3.867 3.422 4.463 2.083 5.653 4.165s.848 1.143-2.083.446c-5.603-1.331-2.082.893 2.975 5.355 2.091 1.845 6.992.955 6.992.955z"></path><path fill="#FFB594" d="m105.282 91.315-.297-10.937-15.918-.027-.53 10.45c-.026.403.17.788.515.999 2.049 1.251 9.387 5.093 15.799.424.287-.21.443-.554.431-.91"></path><path fill="#5C2552" d="M107.573 74.24c.817-1.147.982-9.118 1.015-11.928a1.046 1.046 0 0 0-.965-1.055l-4.62-.365c-7.71-1.044-17.071.624-18.253 6.346-5.482 5.813-.421 13.244-.421 13.244s1.963 3.566 4.305 6.791c.756 1.041.398-3.731 3.04-5.929 5.524-4.594 15.899-7.103 15.899-7.103"></path><path fill="#FFC6A0" d="M88.426 83.206s2.685 6.202 11.602 6.522c7.82.28 8.973-7.008 7.434-17.505l-.909-5.483c-6.118-2.897-15.478.54-15.478.54s-.576 2.044-.19 5.504c-2.276 2.066-1.824 5.618-1.824 5.618s-.905-1.922-1.98-2.321c-.86-.32-1.897.089-2.322 1.98-1.04 4.632 3.667 5.145 3.667 5.145"></path><path stroke="#DB836E" d="m100.843 77.099 1.701-.928-1.015-4.324.674-1.406"></path><path fill="#552950" d="M105.546 74.092c-.022.713-.452 1.279-.96 1.263-.51-.016-.904-.607-.882-1.32.021-.713.452-1.278.96-1.263.51.016.904.607.882 1.32m-7.954.257c-.022.713-.452 1.278-.961 1.263s-.904-.607-.882-1.32.452-1.279.961-1.263c.51.016.904.606.882 1.32"></path><path stroke="#DB836E" d="M91.132 86.786s5.269 4.957 12.679 2.327"></path><path fill="#DB836E" d="M99.776 81.903s-3.592.232-1.44-2.79c1.59-1.496 4.897-.46 4.897-.46s1.156 3.906-3.457 3.25"></path><path stroke="#5C2552" d="M102.88 70.6s2.483.84 3.402.715m-12.399.66s2.492-1.144 4.778-1.073"></path><path stroke="#DB836E" d="M86.32 77.374s.961.879 1.458 2.106c-.377.48-1.033 1.152-.236 1.809m11.795 2.43s1.911.151 2.509-.254"></path><path stroke="#E4EBF7" d="m87.782 115.821 15.73-3.012m-3.347 3.012 10.04-2.008M66.508 86.763s-1.598 8.83-6.697 14.078M128.31 87.934s3.013 4.121 4.06 11.785"></path><path stroke="#DB836E" d="M64.09 84.816s-6.03 9.912-13.607 9.903"></path><path fill="#FFC6A0" d="m112.366 65.909-.142 5.32s5.993 4.472 11.945 9.202c4.482 3.562 8.888 7.455 10.985 8.662 4.804 2.766 8.9 3.355 11.076 1.808 4.071-2.894 4.373-9.878-8.136-15.263-4.271-1.838-16.144-6.36-25.728-9.73"></path><path stroke="#DB836E" d="M130.532 85.488s4.588 5.757 11.619 6.214"></path><path stroke="#E4EBF7" d="M121.708 105.73s-.393 8.564-1.34 13.612"></path><path stroke="#648BD8" d="M115.784 161.512s-3.57-1.488-2.678-7.14"></path><path fill="#CBD1D1" d="M101.52 290.246s4.326 2.057 7.408 1.03c2.842-.948 4.564.673 7.132 1.186 2.57.514 6.925 1.108 11.772-1.269-.104-5.551-6.939-4.01-12.048-6.763-2.582-1.39-3.812-4.757-3.625-8.863h-9.471s-1.402 10.596-1.169 14.68"></path><path fill="#2B0849" d="M101.496 290.073s2.447 1.281 6.809.658c3.081-.44 3.74.485 7.479 1.039s10.802-.07 11.91-.9c.415 1.108-.347 2.077-.347 2.077s-1.523.608-4.847.831c-2.045.137-5.843.293-7.663-.507-1.8-1.385-5.286-1.917-5.77-.243-3.947.958-7.41-.288-7.41-.288l-.16-2.667z"></path><path fill="#A4AABA" d="M108.824 276.19h3.116s-.103 6.751 4.57 8.62c-4.673.624-8.62-2.32-7.686-8.62"></path><path fill="#CBD1D1" d="M57.65 272.52s-2.122 7.47-4.518 12.396c-1.811 3.724-4.255 7.548 5.505 7.548 6.698 0 9.02-.483 7.479-6.648-1.541-6.164.268-13.296.268-13.296z"></path><path fill="#2B0849" d="M51.54 290.04s2.111 1.178 6.682 1.178c6.128 0 8.31-1.662 8.31-1.662s.605 1.122-.624 2.18c-1 .862-3.624 1.603-7.444 1.559-4.177-.049-5.876-.57-6.786-1.177-.831-.554-.692-1.593-.138-2.078"></path><path fill="#A4AABA" d="M58.533 274.438s.034 1.529-.315 2.95c-.352 1.431-1.087 3.127-1.139 4.17-.058 1.16 4.57 1.592 5.194.035.623-1.559 1.303-6.475 1.927-7.306.622-.831-4.94-2.135-5.667.15"></path><path fill="#7BB2F9" d="m100.885 277.015 13.306.092s1.291-54.228 1.843-64.056 3.756-43.13.997-62.788l-12.48-.64-22.725.776s-.433 3.944-1.19 9.921c-.062.493-.677.838-.744 1.358-.075.582.42 1.347.318 1.956-2.35 14.003-6.343 32.926-8.697 46.425-.116.663-1.227 1.004-1.45 2.677-.04.3.21 1.516.112 1.785-6.836 18.643-10.89 47.584-14.2 61.551l14.528-.014s2.185-8.524 4.008-16.878c2.796-12.817 22.987-84.553 22.987-84.553l3-.517 1.037 46.1s-.223 1.228.334 2.008c.558.782-.556 1.117-.39 2.233l.39 1.784s-.446 7.14-.892 11.826c-.446 4.685-.092 38.954-.092 38.954"></path><path stroke="#648BD8" d="M77.438 220.434c1.146.094 4.016-2.008 6.916-4.91m23.196 8.407s2.758-1.103 6.069-3.862M108.459 220.905s2.759-1.104 6.07-3.863M76.099 223.557s2.608-.587 6.47-3.346m4.761-69.391c-.27 3.088.297 8.478-4.315 9.073m21.814-10.818s.11 13.936-1.286 14.983c-2.207 1.655-2.975 1.934-2.975 1.934m.446-16.362s.035 12.81-1.19 24.245m-4.894 1.09s7.174-1.655 9.38-1.655m-28.639 31.444c-.316 1.55-.64 3.067-.973 4.535 0 0-1.45 1.822-1.003 3.756.446 1.934-.943 2.034-4.96 15.273-1.686 5.559-4.464 18.49-6.313 27.447-.078.38-4.018 18.06-4.093 18.423m18.714-77.445a313 313 0 0 1-.877 4.729m7.742-50.058-1.19 10.413s-1.091.148-.496 2.23c.111 1.34-2.66 15.692-5.153 30.267M57.58 272.94h13.238"></path><path fill="#192064" d="M117.377 147.423s-16.955-3.087-35.7.199c.157 2.501-.002 4.128-.002 4.128s14.607-2.802 35.476-.31c.251-2.342.226-4.017.226-4.017"></path><path fill="#FFF" d="m107.511 150.353.004-4.885a.807.807 0 0 0-.774-.81c-2.428-.092-5.04-.108-7.795-.014a.814.814 0 0 0-.784.81l-.003 4.88c0 .456.371.82.827.808a141 141 0 0 1 7.688.017.81.81 0 0 0 .837-.806"></path><path fill="#192064" d="m106.402 149.426.002-3.06a.64.64 0 0 0-.616-.643 94 94 0 0 0-5.834-.009.647.647 0 0 0-.626.643l-.001 3.056c0 .36.291.648.651.64 1.78-.04 3.708-.041 5.762.012a.644.644 0 0 0 .662-.64"></path><path stroke="#648BD8" d="M101.485 273.933h12.272m-11.105-4.858c.006 3.368.04 5.759.11 6.47m-.095-12.42c-.009 1.53-.015 2.98-.016 4.313m-.447-93.414.893 44.402s.669 1.561-.224 2.677c-.892 1.116 2.455.67.893 2.231-1.562 1.562.893 1.116 0 3.347-.592 1.48-.988 20.987-1.09 34.956"></path></g>', 1)
11
- ]));
12
- }
13
- const u = { render: C }, z = {
14
- style: { width: "100%", height: "100%" },
15
- class: "flex justify-center items-center bg-[#fff]"
16
- }, x = { class: "ml-12" }, g = {
17
- class: "font-medium text-4xl mb-4 dark:text-white",
18
- initial: { opacity: 0, y: 100 },
19
- enter: { opacity: 1, y: 0, transition: { delay: 100 } }
20
- }, V = {
21
- class: "mb-4 text-gray-500",
22
- initial: { opacity: 0, y: 100 },
23
- enter: { opacity: 1, y: 0, transition: { delay: 300 } }
24
- }, R = /* @__PURE__ */ o({
25
- __name: "403",
26
- setup(e) {
27
- const l = E(), i = D(), d = () => {
28
- v(i, !1), l.push("/");
29
- };
30
- return (w, t) => {
31
- const m = F("el-button"), p = r("motion");
32
- return a(), h("div", z, [
33
- f(n(u)),
34
- M("div", x, [
35
- s((a(), h("p", g, t[0] || (t[0] = [
36
- c(" 403 ")
37
- ]))), [
38
- [p]
39
- ]),
40
- s((a(), h("p", V, t[1] || (t[1] = [
41
- c(" 抱歉,你无权访问该页面 ")
42
- ]))), [
43
- [p]
44
- ]),
45
- s((a(), B(m, {
46
- initial: { opacity: 0, y: 100 },
47
- enter: { opacity: 1, y: 0, transition: { delay: 500 } },
48
- type: "primary",
49
- onClick: d
50
- }, {
51
- default: k(() => t[2] || (t[2] = [
52
- c("返回首页")
53
- ])),
54
- _: 1
55
- })), [
56
- [p]
57
- ])
58
- ])
59
- ]);
60
- };
61
- }
62
- });
63
- export {
64
- R as default
65
- };