@utogether/udp-core 1.0.1-beta.11 → 1.0.1-beta.13
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.
- package/dist/{403-Dsgsr2M-.js → 403-CYdgejwn.js} +1 -1
- package/dist/{404-DmPHEfqM.js → 404-CblgDc5z.js} +1 -1
- package/dist/{500-OYEgHR2a.js → 500-BZ6wCwWc.js} +1 -1
- package/dist/{AuthorityInfo-B1H1txG-.js → AuthorityInfo-C7ssheq6.js} +1 -1
- package/dist/{AuthorityInfo.vue_vue_type_style_index_0_lang-BUlmQtjQ.js → AuthorityInfo.vue_vue_type_style_index_0_lang-DiFYQyk8.js} +1 -1
- package/dist/{Company-C8ojgx93.js → Company-ECS1Fe1S.js} +3 -3
- package/dist/{CompanyPanel-Dageer1t.js → CompanyPanel-Bka7k-uP.js} +1 -1
- package/dist/{Department-Dr94_85I.js → Department-DGKkYUdS.js} +3 -3
- package/dist/{DepartmentPanel-Bc5r1HpT.js → DepartmentPanel-C17CZmjl.js} +1 -1
- package/dist/{DesignPanel-CcWt1Myp.js → DesignPanel-BWvmkPpc.js} +1 -1
- package/dist/{DesignPanel.vue_vue_type_style_index_0_lang-CKA6nx1l.js → DesignPanel.vue_vue_type_style_index_0_lang-CIrAgdYO.js} +2 -2
- package/dist/{DictView-BHj6wexC.js → DictView-B969z8wA.js} +1 -1
- package/dist/{InvOrganization-DP3Le9g-.js → InvOrganization-6bVuN-NP.js} +4 -2
- package/dist/{Org-BRGHTwsw.js → Org-kNkuyf89.js} +1 -1
- package/dist/{Preview-CqMaUD_3.js → Preview-CNn9UAsy.js} +1 -1
- package/dist/{ReportDefine-PEQdTCOY.js → ReportDefine-Cjv4aRVy.js} +1 -1
- package/dist/{ReportDesign-CB4bv8ba.js → ReportDesign-BrCobVSd.js} +2 -2
- package/dist/{ReportQuery-B7t4lMK0.js → ReportQuery-Gr87UX2I.js} +1 -1
- package/dist/{ReportQueryFrom-VBxUIMRJ.js → ReportQueryFrom-CX6cb9GY.js} +1 -1
- package/dist/{ReportQueryFrom.vue_vue_type_style_index_0_lang-HeLA4Qs5.js → ReportQueryFrom.vue_vue_type_style_index_0_lang-Dz3ZapUS.js} +1 -1
- package/dist/{ReportTemplate-DNkv7F5p.js → ReportTemplate-BDRw8aY4.js} +1 -1
- package/dist/{Role-BGfTpZK4.js → Role-B2uHACAG.js} +3 -3
- package/dist/{RoleAssign-DrKFWZzA.js → RoleAssign-Cpwz3ZND.js} +3 -3
- package/dist/{RolePanel-BRI5QYe4.js → RolePanel-0G7e5LC8.js} +1 -1
- package/dist/{RolePanel-3lvRh7aS.js → RolePanel-CHlQBMqq.js} +1 -1
- package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-Cci_Ysty.js → RolePanel.vue_vue_type_script_setup_true_lang-C_vBaRyr.js} +3 -3
- package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-BXKZb7yt.js → RolePanel.vue_vue_type_script_setup_true_lang-Cuyr3Z0F.js} +1 -1
- package/dist/{ScrollPanel.vue_vue_type_style_index_0_lang-BmId6zzA.js → ScrollPanel.vue_vue_type_style_index_0_lang-B_W_v3j5.js} +1 -1
- package/dist/{Staff-Dr0dq3fW.js → Staff-BALciFZu.js} +3 -3
- package/dist/{StaffInfo-_N9g2hPa.js → StaffInfo-BNzGN-gJ.js} +1 -1
- package/dist/{StaffInfo.vue_vue_type_script_setup_true_lang-DiTJY2ug.js → StaffInfo.vue_vue_type_script_setup_true_lang-BSYVizqX.js} +1 -1
- package/dist/{StaffPanel-mxJQiW3G.js → StaffPanel-xWUgRJqR.js} +1 -1
- package/dist/{StaffPanel.vue_vue_type_script_setup_true_lang-GRGn-5t6.js → StaffPanel.vue_vue_type_script_setup_true_lang-duZSwgoN.js} +2 -2
- package/dist/{SysUser-DgA19hZE.js → SysUser-q114FdeD.js} +2 -2
- package/dist/{SysUserPanel-Bc85z5_K.js → SysUserPanel-CognKMl5.js} +1 -1
- package/dist/{SysUserPanel.vue_vue_type_script_setup_true_lang-BHDrP1Pk.js → SysUserPanel.vue_vue_type_script_setup_true_lang-CMbUdk6A.js} +1 -1
- package/dist/{SystemMenu-Be-gFIie.js → SystemMenu-DVGGSkBO.js} +2 -2
- package/dist/{UserInfo-BCYuwFmr.js → UserInfo-Dug8S6IS.js} +1 -1
- package/dist/{UserInfo.vue_vue_type_style_index_0_lang-B1lgokO6.js → UserInfo.vue_vue_type_style_index_0_lang-GUvWUfH6.js} +1 -1
- package/dist/{childView-DhcBr1UA.js → childView-DC4St5Yu.js} +1 -1
- package/dist/{childView-Dk4zZoXd.js → childView-DgwW1_pS.js} +1 -1
- package/dist/{childView.vue_vue_type_style_index_0_lang-D4GYVhOc.js → childView.vue_vue_type_style_index_0_lang-C6ns1H7X.js} +1 -1
- package/dist/{childView.vue_vue_type_style_index_0_lang-CVnLnl03.js → childView.vue_vue_type_style_index_0_lang-CHB4aljD.js} +1 -1
- package/dist/{code-rule-BSwPwuAL.js → code-rule-DrnZAXq6.js} +1 -1
- package/dist/core.es.js +1 -1
- package/dist/{cron-task-T1ztyra7.js → cron-task-8TSn9qgc.js} +1 -1
- package/dist/{frameView-BDgngiBq.js → frameView-DsJ7Niwn.js} +1 -1
- package/dist/index-ChmJT--N.js +2618 -0
- package/dist/{layoutView-i7dLLBzJ.js → layoutView-JchyMwjZ.js} +2 -2
- package/dist/{login-K5Ludp8x.js → login-BXkivLFZ.js} +112 -103
- package/dist/{lov-view-lAexiucu.js → lov-view-Ck-gMZAO.js} +2 -2
- package/dist/{menuInfo-BaN5YZPp.js → menuInfo-u432VWl_.js} +1 -1
- package/dist/{menuInfo.vue_vue_type_style_index_0_lang-yI4QOYxG.js → menuInfo.vue_vue_type_style_index_0_lang-JMkwMJ9n.js} +1 -1
- package/dist/{pda-app-DEtDXFvM.js → pda-app-BeqyF-LQ.js} +1 -1
- package/dist/{resource-Bztmz7pn.js → resource-DkNbG8D8.js} +1 -1
- package/dist/{su-welcome-Bx8nBPi9.js → su-welcome-DEVHyaQ4.js} +1 -1
- package/dist/{sys-config-nvrtYGgi.js → sys-config-8MIo11zU.js} +1 -1
- package/dist/udp-core.css +2 -2
- package/dist/{utogether-yPnwDAIH.js → utogether-N0mpFm7j.js} +1 -1
- package/package.json +18 -18
- package/src/api/http.ts +1 -4
- package/src/api/index.ts +33 -31
- package/src/api/user.ts +2 -2
- package/src/main.ts +3 -9
- package/src/router/index.ts +177 -177
- package/src/style/vxetable.scss +1 -1
- package/src/utils/propTypes.ts +1 -6
- package/src/utils/udp/http/index.ts +19 -8
- package/src/views/login/login-view.vue +300 -300
- package/src/views/organization/inv-org/InvOrganization.vue +68 -68
- package/src/views/ulogin/login.vue +6 -5
- package/dist/index-BSj2AtVL.js +0 -4468
|
@@ -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-
|
|
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>
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
</button>
|
|
70
70
|
</div>
|
|
71
71
|
</div>
|
|
72
|
-
|
|
72
|
+
<div class="absolute flex justify-center w-full font-bold bottom-1">
|
|
73
73
|
<img :src="utogether" class="!h-10" style="height: 40px" />
|
|
74
74
|
<span class="flex flex-row justify-center" style="width: 300px">
|
|
75
75
|
<span style="font-size: 0; text-align: center">
|
|
@@ -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: #
|
|
80
|
+
style="margin-bottom: -5px; font-size: 17px; color: #fff; mix-blend-mode: difference"
|
|
81
81
|
>
|
|
82
82
|
深圳友聚信息技术有限公司
|
|
83
83
|
</a>
|
|
@@ -85,14 +85,14 @@
|
|
|
85
85
|
href="http://www.u-together.cn/"
|
|
86
86
|
target="_blank"
|
|
87
87
|
class="!inline-block"
|
|
88
|
-
style="font-size: 12px; color: #
|
|
88
|
+
style="font-size: 12px; color: #fff; mix-blend-mode: difference"
|
|
89
89
|
>
|
|
90
90
|
SHENZHEN U-TOGETHER CO. LTD
|
|
91
91
|
</a>
|
|
92
92
|
</span>
|
|
93
93
|
<span class="flex items-center text-white" style="width: 75px; font-size: 10px">技术支持</span>
|
|
94
94
|
</span>
|
|
95
|
-
</div>
|
|
95
|
+
</div>
|
|
96
96
|
</div>
|
|
97
97
|
</template>
|
|
98
98
|
|
|
@@ -237,7 +237,8 @@ const cacheToken = token => {
|
|
|
237
237
|
const cache = {
|
|
238
238
|
accessToken: access_token,
|
|
239
239
|
refreshToken: refresh_token,
|
|
240
|
-
expires: Date.now() + expires_in
|
|
240
|
+
expires: Date.now() + expires_in
|
|
241
|
+
// expires: Date.now() + expires_in * 1000
|
|
241
242
|
};
|
|
242
243
|
|
|
243
244
|
cookies.set(kCKTOKEN, token.access_token);
|