@utogether/udp-core 1.0.1-beta.12 → 1.0.1-beta.14

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 (72) hide show
  1. package/dist/{403-D7L5zm05.js → 403-pRpb9luy.js} +1 -1
  2. package/dist/{404-BQKzkK5W.js → 404-Bsowhpja.js} +1 -1
  3. package/dist/{500-BM6k8XR5.js → 500-DZuJN9lQ.js} +1 -1
  4. package/dist/{AuthorityInfo-Dc-7W4L_.js → AuthorityInfo-DsSMdxQ1.js} +1 -1
  5. package/dist/{AuthorityInfo.vue_vue_type_style_index_0_lang-CKvlh3lm.js → AuthorityInfo.vue_vue_type_style_index_0_lang-DCRZ7hKU.js} +1 -1
  6. package/dist/{Company-BgwMUr-I.js → Company-JFHxazkc.js} +3 -3
  7. package/dist/{CompanyPanel-CDfVCPKC.js → CompanyPanel-Bt-5OX8x.js} +1 -1
  8. package/dist/{Department-CFvEB4Ys.js → Department-B1bTl93X.js} +3 -3
  9. package/dist/{DepartmentPanel-11Ytcj2u.js → DepartmentPanel-CVIvI8sf.js} +1 -1
  10. package/dist/{DesignPanel-CP8z6teZ.js → DesignPanel-snVLq3Gi.js} +1 -1
  11. package/dist/{DesignPanel.vue_vue_type_style_index_0_lang-Cp-WR8yE.js → DesignPanel.vue_vue_type_style_index_0_lang-Cvb54DDl.js} +2 -2
  12. package/dist/{DictView-13NoDgPW.js → DictView-OoNA8vMb.js} +1 -1
  13. package/dist/{InvOrganization-DOD4QdEX.js → InvOrganization-CINznAuo.js} +4 -2
  14. package/dist/{Org-cezJs-6P.js → Org-BA3ZHIpa.js} +1 -1
  15. package/dist/{Preview-DzOKwnp8.js → Preview-C9rFs95x.js} +1 -1
  16. package/dist/{ReportDefine-DWJq2q0f.js → ReportDefine-D2CXXxZp.js} +1 -1
  17. package/dist/{ReportDesign-f_ed8u_q.js → ReportDesign-DWmFLxO_.js} +2 -2
  18. package/dist/{ReportQuery-D58gv_yZ.js → ReportQuery-BBMEls-l.js} +1 -1
  19. package/dist/{ReportQueryFrom-R0R6EbYv.js → ReportQueryFrom-CIeGY6UD.js} +1 -1
  20. package/dist/{ReportQueryFrom.vue_vue_type_style_index_0_lang-CIFpgUAH.js → ReportQueryFrom.vue_vue_type_style_index_0_lang-qtLKZPIW.js} +1 -1
  21. package/dist/{ReportTemplate-BTknctTT.js → ReportTemplate-CWxGNxLg.js} +1 -1
  22. package/dist/{Role-QTDJ16h8.js → Role-CF93718B.js} +3 -3
  23. package/dist/{RoleAssign-7aZ3ufp5.js → RoleAssign-BjoNSr6O.js} +3 -3
  24. package/dist/{RolePanel-XXwmaAgy.js → RolePanel-DmQaKkm5.js} +1 -1
  25. package/dist/{RolePanel-CSe-UoR5.js → RolePanel-qBGK6Ilt.js} +1 -1
  26. package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-BsNhkvFo.js → RolePanel.vue_vue_type_script_setup_true_lang-BeNdAkYp.js} +1 -1
  27. package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-kConrKpo.js → RolePanel.vue_vue_type_script_setup_true_lang-DdK59XHp.js} +3 -3
  28. package/dist/{ScrollPanel.vue_vue_type_style_index_0_lang-DtaqM_iA.js → ScrollPanel.vue_vue_type_style_index_0_lang-LU6W_QVY.js} +1 -1
  29. package/dist/{Staff-BsREgfrQ.js → Staff-BrjfdZU2.js} +3 -3
  30. package/dist/{StaffInfo-CQtVXfvS.js → StaffInfo-DYmftNDC.js} +1 -1
  31. package/dist/{StaffInfo.vue_vue_type_script_setup_true_lang-BRRtcGIH.js → StaffInfo.vue_vue_type_script_setup_true_lang-DVLhL8tz.js} +1 -1
  32. package/dist/{StaffPanel-cQTAulcP.js → StaffPanel-DJERIwT_.js} +1 -1
  33. package/dist/{StaffPanel.vue_vue_type_script_setup_true_lang-BLeXlrI1.js → StaffPanel.vue_vue_type_script_setup_true_lang-D_leV5A8.js} +2 -2
  34. package/dist/{SysUser-DN5_46io.js → SysUser-WO0whf-F.js} +2 -2
  35. package/dist/{SysUserPanel-DTBNR42y.js → SysUserPanel-C64mSt4O.js} +1 -1
  36. package/dist/{SysUserPanel.vue_vue_type_script_setup_true_lang-CF2pHcPP.js → SysUserPanel.vue_vue_type_script_setup_true_lang-B19FuxOZ.js} +1 -1
  37. package/dist/{SystemMenu-D9TKZwgb.js → SystemMenu-CY1EDfzl.js} +2 -2
  38. package/dist/{UserInfo-DJ5LRTMe.js → UserInfo-DWXmMOD1.js} +1 -1
  39. package/dist/{UserInfo.vue_vue_type_style_index_0_lang-CIpPef_S.js → UserInfo.vue_vue_type_style_index_0_lang-pjHVXRtK.js} +1 -1
  40. package/dist/{childView-CGZSd19y.js → childView-CMBPpTyj.js} +1 -1
  41. package/dist/{childView-DrL_Qi-q.js → childView-Czd4yk_A.js} +1 -1
  42. package/dist/{childView.vue_vue_type_style_index_0_lang-D2AzjPNV.js → childView.vue_vue_type_style_index_0_lang-C9wXL52o.js} +1 -1
  43. package/dist/{childView.vue_vue_type_style_index_0_lang-B8wEeuFX.js → childView.vue_vue_type_style_index_0_lang-CaMQbFZm.js} +1 -1
  44. package/dist/{code-rule-DVEoh1Z4.js → code-rule-kHfdPgGA.js} +1 -1
  45. package/dist/core.es.js +1 -1
  46. package/dist/{cron-task-BBpccUV_.js → cron-task-D1bbdvVP.js} +1 -1
  47. package/dist/{frameView-Cw6_EqfJ.js → frameView-B5JStsSt.js} +1 -1
  48. package/dist/index-Ce51XQgg.js +2618 -0
  49. package/dist/{layoutView-CL2Ef3bw.js → layoutView-DR39l27s.js} +2 -2
  50. package/dist/{login-BDocwo7t.js → login-d5LMP32l.js} +37 -36
  51. package/dist/{lov-view-R8nnUEbA.js → lov-view-wdnYE7wy.js} +2 -2
  52. package/dist/{menuInfo-B-nGOcSv.js → menuInfo-D0746839.js} +1 -1
  53. package/dist/{menuInfo.vue_vue_type_style_index_0_lang-1VuzxMb0.js → menuInfo.vue_vue_type_style_index_0_lang-p_yYtGl2.js} +1 -1
  54. package/dist/{pda-app-D5wBClj0.js → pda-app-zzzZfBj5.js} +1 -1
  55. package/dist/{resource-BXGSsXzw.js → resource-B7wnjBVW.js} +1 -1
  56. package/dist/{su-welcome-DISZAkBB.js → su-welcome-CeajjyWS.js} +1 -1
  57. package/dist/{sys-config-DuyYdzXL.js → sys-config-CpfSg66g.js} +1 -1
  58. package/dist/udp-core.css +2 -2
  59. package/dist/{utogether-C2KGHvut.js → utogether-B_dUqXea.js} +1 -1
  60. package/package.json +18 -18
  61. package/src/api/http.ts +1 -4
  62. package/src/api/index.ts +33 -31
  63. package/src/api/user.ts +2 -2
  64. package/src/main.ts +113 -119
  65. package/src/router/index.ts +177 -177
  66. package/src/style/vxetable.scss +1 -1
  67. package/src/utils/propTypes.ts +42 -42
  68. package/src/utils/udp/http/index.ts +19 -8
  69. package/src/views/login/login-view.vue +300 -300
  70. package/src/views/organization/inv-org/InvOrganization.vue +68 -68
  71. package/src/views/ulogin/login.vue +3 -2
  72. package/dist/index-BAkwQh8m.js +0 -4467
@@ -1,68 +1,68 @@
1
- <!--
2
- * @Author: wei.li
3
- * @Date: 2021-11-29 11:32:07
4
- * @LastEditors: levi7754 levi7754@163.com
5
- * @LastEditTime: 2025-07-25 13:44:34
6
- * @Description: 库存组织
7
- -->
8
- <template>
9
- <ut-grid
10
- ref="xgrid"
11
- :items="formItems"
12
- :default-params="{ organizationId: '', orgId: '' }"
13
- :columns="data.columns"
14
- :url="url"
15
- />
16
- </template>
17
-
18
- <script lang="tsx">
19
- export default { name: 'InvOrganization' };
20
- </script>
21
- <script setup lang="tsx">
22
- import { ref, reactive } from 'vue';
23
- import to from 'await-to-js';
24
- import { useRender } from '@utogether/utils';
25
- import { getServiceApi } from '../../../api';
26
-
27
- const url = '/uums/cusOrganization';
28
-
29
- const xgrid = ref(null);
30
- const renderHook = useRender();
31
-
32
- const formItems = [
33
- { field: 'organizationCode', title: 'message.udp.organizationCode' },
34
- { field: 'organizationName', title: 'message.udp.organizationName' }
35
- ];
36
-
37
- // 列字段
38
- const columns = [
39
- { type: 'checkbox', width: 40, align: 'center' },
40
- {
41
- field: 'organizationCode',
42
- width: 120,
43
- title: 'message.udp.organizationCode',
44
- required: true,
45
- editRender: renderHook.renderInput()
46
- },
47
- {
48
- field: 'organizationName',
49
- minWidth: 120,
50
- title: 'message.udp.organizationName',
51
- required: true,
52
- editRender: renderHook.renderInput()
53
- },
54
- { field: 'orgName', minWidth: 170, title: 'message.udp.orgName', required: true, editRender: renderHook.renderBU() },
55
- { field: 'orgCode', width: 110, title: 'message.udp.orgCode' },
56
- { field: 'enabled', width: 80, cellRender: renderHook.renderEnabled(handleClick) }
57
- ];
58
-
59
- // 启用/禁用
60
- async function handleClick(row) {
61
- const [err] = await to(getServiceApi().put(url, [row]));
62
- !err && xgrid.value.refreshData();
63
- }
64
-
65
- const data = reactive({
66
- columns
67
- });
68
- </script>
1
+ <!--
2
+ * @Author: wei.li
3
+ * @Date: 2021-11-29 11:32:07
4
+ * @LastEditors: levi7754 levi7754@163.com
5
+ * @LastEditTime: 2025-09-05 10:49:38
6
+ * @Description: 库存组织
7
+ -->
8
+ <template>
9
+ <ut-grid
10
+ ref="xgrid"
11
+ :items="formItems"
12
+ :default-params="{ organizationId: '', orgId: '' }"
13
+ :columns="data.columns"
14
+ :url="url"
15
+ />
16
+ </template>
17
+
18
+ <script lang="tsx">
19
+ export default { name: 'InvOrganization' };
20
+ </script>
21
+ <script setup lang="tsx">
22
+ import { ref, reactive } from 'vue';
23
+ import to from 'await-to-js';
24
+ import { useRender } from '@utogether/utils';
25
+ import { getServiceApi } from '../../../api';
26
+
27
+ const url = '/uums/cusOrganization';
28
+
29
+ const xgrid = ref(null);
30
+ const renderHook = useRender();
31
+
32
+ const formItems = [
33
+ { field: 'organizationCode', title: 'message.udp.organizationCode' },
34
+ { field: 'organizationName', title: 'message.udp.organizationName' }
35
+ ];
36
+
37
+ // 列字段
38
+ const columns = [
39
+ { type: 'checkbox', width: 40, align: 'center' },
40
+ {
41
+ field: 'organizationCode',
42
+ width: 120,
43
+ title: 'message.udp.organizationCode',
44
+ required: true,
45
+ editRender: renderHook.renderInput()
46
+ },
47
+ {
48
+ field: 'organizationName',
49
+ minWidth: 120,
50
+ title: 'message.udp.organizationName',
51
+ required: true,
52
+ editRender: renderHook.renderInput()
53
+ },
54
+ { field: 'orgName', minWidth: 170, title: 'message.udp.orgName', required: true, editRender: renderHook.renderBU() },
55
+ { field: 'orgCode', width: 110, title: 'message.udp.orgCode' },
56
+ { field: 'enabled', width: 80, cellRender: renderHook.renderEnabled(handleClick) }
57
+ ];
58
+
59
+ // 启用/禁用
60
+ async function handleClick({ row }) {
61
+ const [err] = await to(getServiceApi().put(url, [row]));
62
+ !err && xgrid.value.refreshData();
63
+ }
64
+
65
+ const data = reactive({
66
+ columns
67
+ });
68
+ </script>
@@ -77,7 +77,7 @@
77
77
  href="http://www.u-together.cn/"
78
78
  target="_blank"
79
79
  class="!inline-block"
80
- style="margin-bottom: -5px; font-size: 17px; color: #59d8d8"
80
+ style="margin-bottom: -5px; font-size: 17px; color: #fff; mix-blend-mode: difference"
81
81
  >
82
82
  深圳友聚信息技术有限公司
83
83
  </a>
@@ -85,7 +85,7 @@
85
85
  href="http://www.u-together.cn/"
86
86
  target="_blank"
87
87
  class="!inline-block"
88
- style="font-size: 12px; color: #d9d9d9"
88
+ style="font-size: 12px; color: #fff; mix-blend-mode: difference"
89
89
  >
90
90
  SHENZHEN U-TOGETHER CO. LTD
91
91
  </a>
@@ -237,6 +237,7 @@ const cacheToken = token => {
237
237
  const cache = {
238
238
  accessToken: access_token,
239
239
  refreshToken: refresh_token,
240
+ // expires: Date.now() + expires_in
240
241
  expires: Date.now() + expires_in * 1000
241
242
  };
242
243