@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,91 +1,91 @@
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:31:20
6
- * @Description: 值集视图
7
- -->
8
- <template>
9
- <div>
10
- <ut-grid ref="xgrid" :items="formItems" :columns="columns" :url="url" :events="onEvents" />
11
- <child-view v-if="shouDrawer" :show="shouDrawer" :record="record" @onClose="handleClose" />
12
- </div>
13
- </template>
14
-
15
- <script setup lang="tsx">
16
- import { ref, nextTick } from 'vue';
17
- // import { VxeGridInstance } from 'vxe-table';
18
- import to from 'await-to-js';
19
- import { getServiceApi } from '../../../api';
20
- import childView from './childView.vue';
21
- import { useRender } from '@utogether/utils';
22
-
23
- defineOptions({ name: 'LovView' });
24
-
25
- const xgrid = ref(null);
26
-
27
- const formItems = [{ field: 'lovCode' }, { field: 'lovName' }];
28
-
29
- const renderHook = useRender();
30
-
31
- const url = '/upfm/v1/lovViewHeader';
32
-
33
- // 列字段
34
- const columns = [
35
- { type: 'checkbox', width: 50, align: 'center' },
36
- {
37
- field: 'lovCode',
38
- required: true,
39
- editRender: renderHook.renderInput()
40
- },
41
- { field: 'lovName', required: true, editRender: renderHook.renderInput() },
42
- { field: 'valueField', required: true, editRender: renderHook.renderInput() },
43
- { field: 'lovTitle', editRender: renderHook.renderInput() },
44
- {
45
- field: 'lovType',
46
- editRender: renderHook.renderDict('SU.LOV.TYPE'),
47
- required: true,
48
- formatter: ['formatDict', 'SU.LOV.TYPE']
49
- },
50
- { field: 'remarks', title: 'message.remark', editRender: renderHook.renderInput() },
51
- { field: 'enabled', width: 80, cellRender: renderHook.renderEnabled(handleClick) },
52
- {
53
- field: 'operate',
54
- width: 100,
55
- fixed: 'right',
56
- slots: {
57
- default: ({ row }) => {
58
- if (!row.id) return null;
59
- return [<ut-button content="config" icon="ri-edit-box-line" onTap={() => hanldeDipose(row)} />];
60
- }
61
- }
62
- }
63
- ];
64
-
65
- const shouDrawer = ref(false);
66
- const record = ref(null);
67
- const hanldeDipose = row => {
68
- nextTick(() => {
69
- shouDrawer.value = true;
70
- record.value = row;
71
- // record.value.total = row.children.length;
72
- });
73
- };
74
- const handleClose = () => {
75
- xgrid.value.refreshData();
76
- shouDrawer.value = false;
77
- };
78
-
79
- // 启用/禁用
80
- async function handleClick(row) {
81
- const [err] = await to(getServiceApi().put(url, [row]));
82
- !err && xgrid.value.refreshData();
83
- }
84
-
85
- const onEvents = {
86
- editActived({ row }) {
87
- columns[1].editRender.props.disabled = !!row.id;
88
- xgrid.value.refreshColumn();
89
- }
90
- };
91
- </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:31:20
6
+ * @Description: 值集视图
7
+ -->
8
+ <template>
9
+ <div>
10
+ <ut-grid ref="xgrid" :items="formItems" :columns="columns" :url="url" :events="onEvents" />
11
+ <child-view v-if="shouDrawer" :show="shouDrawer" :record="record" @onClose="handleClose" />
12
+ </div>
13
+ </template>
14
+
15
+ <script setup lang="tsx">
16
+ import { ref, nextTick } from 'vue';
17
+ // import { VxeGridInstance } from 'vxe-table';
18
+ import to from 'await-to-js';
19
+ import { getServiceApi } from '../../../api';
20
+ import childView from './childView.vue';
21
+ import { useRender } from '@utogether/utils';
22
+
23
+ defineOptions({ name: 'LovView' });
24
+
25
+ const xgrid = ref(null);
26
+
27
+ const formItems = [{ field: 'lovCode' }, { field: 'lovName' }];
28
+
29
+ const renderHook = useRender();
30
+
31
+ const url = '/upfm/v1/lovViewHeader';
32
+
33
+ // 列字段
34
+ const columns = [
35
+ { type: 'checkbox', width: 50, align: 'center' },
36
+ {
37
+ field: 'lovCode',
38
+ required: true,
39
+ editRender: renderHook.renderInput()
40
+ },
41
+ { field: 'lovName', required: true, editRender: renderHook.renderInput() },
42
+ { field: 'valueField', required: true, editRender: renderHook.renderInput() },
43
+ { field: 'lovTitle', editRender: renderHook.renderInput() },
44
+ {
45
+ field: 'lovType',
46
+ editRender: renderHook.renderDict('SU.LOV.TYPE'),
47
+ required: true,
48
+ formatter: ['formatDict', 'SU.LOV.TYPE']
49
+ },
50
+ { field: 'remarks', title: 'message.remark', editRender: renderHook.renderInput() },
51
+ { field: 'enabled', width: 80, cellRender: renderHook.renderEnabled(handleClick) },
52
+ {
53
+ field: 'operate',
54
+ width: 100,
55
+ fixed: 'right',
56
+ slots: {
57
+ default: ({ row }) => {
58
+ if (!row.id) return null;
59
+ return [<ut-button content="config" icon="ri-edit-box-line" onTap={() => hanldeDipose(row)} />];
60
+ }
61
+ }
62
+ }
63
+ ];
64
+
65
+ const shouDrawer = ref(false);
66
+ const record = ref(null);
67
+ const hanldeDipose = row => {
68
+ nextTick(() => {
69
+ shouDrawer.value = true;
70
+ record.value = row;
71
+ // record.value.total = row.children.length;
72
+ });
73
+ };
74
+ const handleClose = () => {
75
+ xgrid.value.refreshData();
76
+ shouDrawer.value = false;
77
+ };
78
+
79
+ // 启用/禁用
80
+ async function handleClick(row) {
81
+ const [err] = await to(getServiceApi().put(url, [row]));
82
+ !err && xgrid.value.refreshData();
83
+ }
84
+
85
+ const onEvents = {
86
+ editActived({ row }) {
87
+ columns[1].editRender.props.disabled = !!row.id;
88
+ xgrid.value.refreshColumn();
89
+ }
90
+ };
91
+ </script>
@@ -24,17 +24,17 @@ const xgrid = ref(null);
24
24
  const url = '/ufil/v1/attachment';
25
25
 
26
26
  const formItems = [
27
- { field: 'fileName', title: 'message.file.fileName' },
27
+ { field: 'fileName', title: 'message.urpt.fileName' },
28
28
  { field: 'creationDate', itemRender: { name: '#SuDateRange', props: { type: 'daterange' } } },
29
29
  { field: 'createdByName' }
30
30
  ];
31
31
 
32
32
  // 列字段
33
33
  const columns = [
34
- { field: 'fileName', title: 'message.file.fileName', width: 240 },
35
- { field: 'fileSize', title: 'message.file.fileSize', width: 110 },
36
- { field: 'fileExtend', title: 'message.file.fileExtend', width: 100 },
37
- { field: 'realpath', title: 'message.file.filePath' },
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
38
  { field: 'createdByName', width: 120 },
39
39
  { field: 'creationDate', width: 160 },
40
40
  {
@@ -25,15 +25,15 @@ const renderHook = useRender();
25
25
  const url = '/ufil/v1/watermark';
26
26
 
27
27
  const formItems = [
28
- { field: 'watermarkCode', title: 'message.file.watermarkContent' },
28
+ { field: 'watermarkCode', title: 'message.urpt.watermarkContent' },
29
29
  {
30
30
  field: 'watermarkType',
31
- title: 'message.file.watermarkType',
31
+ title: 'message.urpt.watermarkType',
32
32
  itemRender: renderHook.renderDict('SU.WATERMARK.TYPE')
33
33
  },
34
34
  {
35
35
  field: 'textAlign',
36
- title: 'message.file.textAlign',
36
+ title: 'message.urpt.textAlign',
37
37
  itemRender: renderHook.renderDict('SU.ALIGN.TYPE')
38
38
  }
39
39
  ];
@@ -43,14 +43,14 @@ const columns = [
43
43
  { type: 'checkbox', width: 40, align: 'center' },
44
44
  {
45
45
  field: 'watermarkCode',
46
- title: 'message.file.watermarkContent',
46
+ title: 'message.urpt.watermarkContent',
47
47
  required: true,
48
48
  minWidth: 110,
49
49
  editRender: renderHook.renderInput()
50
50
  },
51
51
  {
52
52
  field: 'watermarkType',
53
- title: 'message.file.watermarkType',
53
+ title: 'message.urpt.watermarkType',
54
54
  width: 120,
55
55
  required: true,
56
56
  editRender: renderHook.renderDict({ code: 'SU.WATERMARK.TYPE', defaultValue: 'text' }),
@@ -58,13 +58,13 @@ const columns = [
58
58
  },
59
59
  {
60
60
  field: 'content',
61
- title: 'message.file.watermarkContent',
61
+ title: 'message.urpt.watermarkContent',
62
62
  width: 110,
63
63
  editRender: renderHook.renderInput()
64
64
  },
65
65
  {
66
66
  field: 'textAlign',
67
- title: 'message.file.textAlign',
67
+ title: 'message.urpt.textAlign',
68
68
  width: 120,
69
69
  required: true,
70
70
  editRender: renderHook.renderDict('SU.ALIGN.TYPE'),
@@ -72,32 +72,32 @@ const columns = [
72
72
  },
73
73
  {
74
74
  field: 'watermarkTrigger',
75
- title: 'message.file.watermarkTrigger',
75
+ title: 'message.urpt.watermarkTrigger',
76
76
  width: 120,
77
77
  required: true,
78
78
  editRender: renderHook.renderDict('SU.WATERMARK.TRIGGER'),
79
79
  formatter: ['formatDict', 'SU.WATERMARK.TRIGGER']
80
80
  },
81
- { field: 'color', title: 'message.file.color', width: 90, editRender: renderHook.renderInput() },
81
+ { field: 'color', title: 'message.urpt.color', width: 90, editRender: renderHook.renderInput() },
82
82
  {
83
83
  field: 'fillOpacity',
84
- title: 'message.file.fillOpacity',
84
+ title: 'message.urpt.fillOpacity',
85
85
  width: 100,
86
86
  editRender: renderHook.renderNumber()
87
87
  },
88
88
  {
89
89
  field: 'fontSize',
90
- title: 'message.file.fontSize',
90
+ title: 'message.urpt.fontSize',
91
91
  width: 110,
92
92
  editRender: renderHook.renderNumber()
93
93
  },
94
94
  {
95
95
  field: 'rotation',
96
- title: 'message.file.rotation',
96
+ title: 'message.urpt.rotation',
97
97
  width: 110,
98
98
  editRender: renderHook.renderNumber()
99
99
  },
100
- { field: 'xAxis', title: 'message.file.xAxis', width: 100, editRender: renderHook.renderNumber() },
101
- { field: 'yAxis', title: 'message.file.yAxis', width: 100, editRender: renderHook.renderNumber() }
100
+ { field: 'xAxis', title: 'message.urpt.xAxis', width: 100, editRender: renderHook.renderNumber() },
101
+ { field: 'yAxis', title: 'message.urpt.yAxis', width: 100, editRender: renderHook.renderNumber() }
102
102
  ];
103
103
  </script>
@@ -160,7 +160,7 @@ const loading = ref(false);
160
160
  const checkboxModel = ref<IRecord>({});
161
161
  // const cacheCheckModel = {}; // 缓存最初选中的数据
162
162
 
163
- const url = '/upms/v1/menuFavority';
163
+ const url = '/upfm/v1/menuFavority';
164
164
 
165
165
  const getCacheMenuList = async () => {
166
166
  menuList.value = await dbstorage.getItem(`U-${props.userName}-ROUTES`);
@@ -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: 2025-04-29 17:04:36
5
+ * @LastEditTime: 2025-08-06 14:47:34
6
6
  * @FilePath: /front-web-mes/src/views/uhome/su-welcome.vue
7
7
  * @Description: 欢迎页面
8
8
  -->
@@ -38,7 +38,7 @@
38
38
  </div>
39
39
  <div class="flex flex-col">
40
40
  <span class="text-4xl">
41
- <ut-countdown :show-days="false" :show-labels="false" />
41
+ <ut-flip-down :show-days="false" :show-labels="false" />
42
42
  </span>
43
43
  <div class="mt-1 ml-3">{{ getLunarDay() }}</div>
44
44
  </div>
@@ -215,7 +215,7 @@ const getLunarDay = () => {
215
215
 
216
216
  /** 查询收藏菜单功能 */
217
217
  const getMenuList = () => {
218
- const url = '/upms/v1/menuFavority';
218
+ const url = '/upfm/v1/menuFavority';
219
219
  loading.value = true;
220
220
  const query = { pageSize: 20, pageNum: 1, userName: cookies.get(kLOGINER) };
221
221
  getServiceApi()
@@ -233,7 +233,7 @@ const onClickMenu = item => {
233
233
  };
234
234
 
235
235
  const getUserLog = () => {
236
- const url = '/upms/v1/userMonitor';
236
+ const url = '/upfm/v1/userMonitor';
237
237
  const query = { pageSize: 8, pageNum: 1, employeeName: systemHook.getUserInfo?.name };
238
238
  getServiceApi()
239
239
  .get(url, query)
@@ -7,11 +7,7 @@
7
7
  </div>
8
8
  <div class="login-box">
9
9
  <div class="login-form">
10
- <h2
11
- v-motion
12
- :initial="{ opacity: 0, y: 100 }"
13
- :enter="{ opacity: 1, y: 0, transition: { delay: 100 } }"
14
- >
10
+ <h2 v-motion :initial="{ opacity: 0, y: 100 }" :enter="{ opacity: 1, y: 0, transition: { delay: 100 } }">
15
11
  {{ sysConfig['title'] }}
16
12
  </h2>
17
13
  <div
@@ -73,7 +69,7 @@
73
69
  </button>
74
70
  </div>
75
71
  </div>
76
- <div class="absolute flex justify-center w-full font-bold bottom-1">
72
+ <!-- <div class="absolute flex justify-center w-full font-bold bottom-1">
77
73
  <img :src="utogether" class="!h-10" style="height: 40px" />
78
74
  <span class="flex flex-row justify-center" style="width: 300px">
79
75
  <span style="font-size: 0; text-align: center">
@@ -94,9 +90,9 @@
94
90
  SHENZHEN U-TOGETHER CO. LTD
95
91
  </a>
96
92
  </span>
97
- <span class="flex items-center text-white" style="width: 150px; font-size: 10px">技术支持</span>
93
+ <span class="flex items-center text-white" style="width: 75px; font-size: 10px">技术支持</span>
98
94
  </span>
99
- </div>
95
+ </div> -->
100
96
  </div>
101
97
  </template>
102
98
 
@@ -113,6 +109,7 @@ import { useFavicon } from '@vueuse/core';
113
109
  import { isEmpty, toDateString } from 'xe-utils';
114
110
  import { removeClass, storageLocal, errorMessage, cookies, delay } from '@utogether/utils';
115
111
  import to from 'await-to-js';
112
+ // import JSEencrypt from 'jsencrypt';
116
113
  import { useSystemStoreHook } from '../../store/modules/system';
117
114
  import { useLayout } from '../../layout/hooks/useLayout';
118
115
  import { useDataThemeChange } from '../../layout/hooks/useDataThemeChange';
@@ -187,6 +184,13 @@ const onLogin = async () => {
187
184
  const rsakeypair = new RSAKeyPair(publicRSA.publicKeyExponent, '', publicRSA.publicKeyModulus);
188
185
  // @ts-ignore
189
186
  const password = encryptedString(rsakeypair, passWord.split('').reverse().join(''));
187
+ // const key = new JSEencrypt();
188
+ // key.setPublicKey(
189
+ // '-----BEGIN PUBLIC KEY-----MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQChJwirJjZ+FxG9dn9rsfKa+9hTgBhXI9e0kiMOJWfJXPVxjsp0XaBkNADKYZ++7Ikt9hq+H3GtO4ItB27YMQgMU3gu34wGJ+6VxX4r7hL+VdorPK3sWZR6dczMu/Nvs7eByTtL9RSJeJ8cCEn5AjoW7HC+9BpQR4XhCCtvE1iOKQIDAQAB-----END PUBLIC KEY-----'
190
+ // );
191
+ // const password = key.encrypt(passWord);
192
+ // // console.log('password1 ===', password1);
193
+ // console.log('password ===', password);
190
194
  const param = {
191
195
  username,
192
196
  password,
@@ -233,7 +237,8 @@ const cacheToken = token => {
233
237
  const cache = {
234
238
  accessToken: access_token,
235
239
  refreshToken: refresh_token,
236
- expires: Date.now() + expires_in * 1000
240
+ // expires: Date.now() + expires_in * 1000
241
+ expires: Date.now() + expires_in
237
242
  };
238
243
 
239
244
  cookies.set(kCKTOKEN, token.access_token);
@@ -275,7 +280,7 @@ const insertLoginInfo = username => {
275
280
  browserVersion,
276
281
  operatingSystem: getPlatform(userAgent)
277
282
  };
278
- serviceApi.post('/upms/v1/userMonitor', obj);
283
+ serviceApi.post('/upfm/v1/userMonitor', obj);
279
284
  };
280
285
 
281
286
  const getSysConfig = async () => {
@@ -12,7 +12,7 @@
12
12
  ref="xgrid"
13
13
  :items="formItems"
14
14
  :columns="columns"
15
- url="/upms/v1/userMonitor"
15
+ url="/upfm/v1/userMonitor"
16
16
  :editable="false"
17
17
  />
18
18
  </div>