@utogether/udp-core 1.0.1-beta.11 → 1.0.1-beta.12
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-D7L5zm05.js} +1 -1
- package/dist/{404-DmPHEfqM.js → 404-BQKzkK5W.js} +1 -1
- package/dist/{500-OYEgHR2a.js → 500-BM6k8XR5.js} +1 -1
- package/dist/{AuthorityInfo-B1H1txG-.js → AuthorityInfo-Dc-7W4L_.js} +1 -1
- package/dist/{AuthorityInfo.vue_vue_type_style_index_0_lang-BUlmQtjQ.js → AuthorityInfo.vue_vue_type_style_index_0_lang-CKvlh3lm.js} +1 -1
- package/dist/{Company-C8ojgx93.js → Company-BgwMUr-I.js} +3 -3
- package/dist/{CompanyPanel-Dageer1t.js → CompanyPanel-CDfVCPKC.js} +1 -1
- package/dist/{Department-Dr94_85I.js → Department-CFvEB4Ys.js} +3 -3
- package/dist/{DepartmentPanel-Bc5r1HpT.js → DepartmentPanel-11Ytcj2u.js} +1 -1
- package/dist/{DesignPanel-CcWt1Myp.js → DesignPanel-CP8z6teZ.js} +1 -1
- package/dist/{DesignPanel.vue_vue_type_style_index_0_lang-CKA6nx1l.js → DesignPanel.vue_vue_type_style_index_0_lang-Cp-WR8yE.js} +2 -2
- package/dist/{DictView-BHj6wexC.js → DictView-13NoDgPW.js} +1 -1
- package/dist/{InvOrganization-DP3Le9g-.js → InvOrganization-DOD4QdEX.js} +1 -1
- package/dist/{Org-BRGHTwsw.js → Org-cezJs-6P.js} +1 -1
- package/dist/{Preview-CqMaUD_3.js → Preview-DzOKwnp8.js} +1 -1
- package/dist/{ReportDefine-PEQdTCOY.js → ReportDefine-DWJq2q0f.js} +1 -1
- package/dist/{ReportDesign-CB4bv8ba.js → ReportDesign-f_ed8u_q.js} +2 -2
- package/dist/{ReportQuery-B7t4lMK0.js → ReportQuery-D58gv_yZ.js} +1 -1
- package/dist/{ReportQueryFrom-VBxUIMRJ.js → ReportQueryFrom-R0R6EbYv.js} +1 -1
- package/dist/{ReportQueryFrom.vue_vue_type_style_index_0_lang-HeLA4Qs5.js → ReportQueryFrom.vue_vue_type_style_index_0_lang-CIFpgUAH.js} +1 -1
- package/dist/{ReportTemplate-DNkv7F5p.js → ReportTemplate-BTknctTT.js} +1 -1
- package/dist/{Role-BGfTpZK4.js → Role-QTDJ16h8.js} +3 -3
- package/dist/{RoleAssign-DrKFWZzA.js → RoleAssign-7aZ3ufp5.js} +3 -3
- package/dist/{RolePanel-BRI5QYe4.js → RolePanel-CSe-UoR5.js} +1 -1
- package/dist/{RolePanel-3lvRh7aS.js → RolePanel-XXwmaAgy.js} +1 -1
- package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-BXKZb7yt.js → RolePanel.vue_vue_type_script_setup_true_lang-BsNhkvFo.js} +1 -1
- package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-Cci_Ysty.js → RolePanel.vue_vue_type_script_setup_true_lang-kConrKpo.js} +3 -3
- package/dist/{ScrollPanel.vue_vue_type_style_index_0_lang-BmId6zzA.js → ScrollPanel.vue_vue_type_style_index_0_lang-DtaqM_iA.js} +1 -1
- package/dist/{Staff-Dr0dq3fW.js → Staff-BsREgfrQ.js} +3 -3
- package/dist/{StaffInfo-_N9g2hPa.js → StaffInfo-CQtVXfvS.js} +1 -1
- package/dist/{StaffInfo.vue_vue_type_script_setup_true_lang-DiTJY2ug.js → StaffInfo.vue_vue_type_script_setup_true_lang-BRRtcGIH.js} +1 -1
- package/dist/{StaffPanel-mxJQiW3G.js → StaffPanel-cQTAulcP.js} +1 -1
- package/dist/{StaffPanel.vue_vue_type_script_setup_true_lang-GRGn-5t6.js → StaffPanel.vue_vue_type_script_setup_true_lang-BLeXlrI1.js} +2 -2
- package/dist/{SysUser-DgA19hZE.js → SysUser-DN5_46io.js} +2 -2
- package/dist/{SysUserPanel-Bc85z5_K.js → SysUserPanel-DTBNR42y.js} +1 -1
- package/dist/{SysUserPanel.vue_vue_type_script_setup_true_lang-BHDrP1Pk.js → SysUserPanel.vue_vue_type_script_setup_true_lang-CF2pHcPP.js} +1 -1
- package/dist/{SystemMenu-Be-gFIie.js → SystemMenu-D9TKZwgb.js} +2 -2
- package/dist/{UserInfo-BCYuwFmr.js → UserInfo-DJ5LRTMe.js} +1 -1
- package/dist/{UserInfo.vue_vue_type_style_index_0_lang-B1lgokO6.js → UserInfo.vue_vue_type_style_index_0_lang-CIpPef_S.js} +1 -1
- package/dist/{childView-DhcBr1UA.js → childView-CGZSd19y.js} +1 -1
- package/dist/{childView-Dk4zZoXd.js → childView-DrL_Qi-q.js} +1 -1
- package/dist/{childView.vue_vue_type_style_index_0_lang-CVnLnl03.js → childView.vue_vue_type_style_index_0_lang-B8wEeuFX.js} +1 -1
- package/dist/{childView.vue_vue_type_style_index_0_lang-D4GYVhOc.js → childView.vue_vue_type_style_index_0_lang-D2AzjPNV.js} +1 -1
- package/dist/{code-rule-BSwPwuAL.js → code-rule-DVEoh1Z4.js} +1 -1
- package/dist/core.es.js +1 -1
- package/dist/{cron-task-T1ztyra7.js → cron-task-BBpccUV_.js} +1 -1
- package/dist/{frameView-BDgngiBq.js → frameView-Cw6_EqfJ.js} +1 -1
- package/dist/{index-BSj2AtVL.js → index-BAkwQh8m.js} +44 -45
- package/dist/{layoutView-i7dLLBzJ.js → layoutView-CL2Ef3bw.js} +2 -2
- package/dist/{login-K5Ludp8x.js → login-BDocwo7t.js} +115 -107
- package/dist/{lov-view-lAexiucu.js → lov-view-R8nnUEbA.js} +2 -2
- package/dist/{menuInfo-BaN5YZPp.js → menuInfo-B-nGOcSv.js} +1 -1
- package/dist/{menuInfo.vue_vue_type_style_index_0_lang-yI4QOYxG.js → menuInfo.vue_vue_type_style_index_0_lang-1VuzxMb0.js} +1 -1
- package/dist/{pda-app-DEtDXFvM.js → pda-app-D5wBClj0.js} +1 -1
- package/dist/{resource-Bztmz7pn.js → resource-BXGSsXzw.js} +1 -1
- package/dist/{su-welcome-Bx8nBPi9.js → su-welcome-DISZAkBB.js} +1 -1
- package/dist/{sys-config-nvrtYGgi.js → sys-config-DuyYdzXL.js} +1 -1
- package/dist/udp-core.css +1 -1
- package/dist/{utogether-yPnwDAIH.js → utogether-C2KGHvut.js} +1 -1
- package/package.json +1 -1
- package/src/utils/propTypes.ts +42 -47
- package/src/utils/udp/http/index.ts +1 -1
- package/src/views/ulogin/login.vue +2 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { computed as W, ref as L } from "vue";
|
|
2
2
|
import { useGlobal as g, storageLocal as u, deviceDetection as H, cookies as C, storageSession as M } from "@utogether/utils";
|
|
3
|
-
import { y as P, j as E, s as j, g as h, v as d, z as J, l as K, m as R, n as V, u as S, r as G, o as O, A as x, B as Z } from "./index-
|
|
3
|
+
import { y as P, j as E, s as j, g as h, v as d, z as J, l as K, m as R, n as V, u as S, r as G, o as O, A as x, B as Z } from "./index-BAkwQh8m.js";
|
|
4
4
|
import { useI18n as f } from "vue-i18n";
|
|
5
5
|
import { defineStore as v } from "pinia";
|
|
6
6
|
function I() {
|
package/package.json
CHANGED
package/src/utils/propTypes.ts
CHANGED
|
@@ -1,47 +1,42 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* @Author: levi7754 levi7754@163.com
|
|
3
|
-
* @Date: 2023-06-19 09:14:18
|
|
4
|
-
* @LastEditors: wei.li
|
|
5
|
-
* @LastEditTime: 2024-07-02 08:57:49
|
|
6
|
-
* @FilePath: /sitzone-mes/src/utils/propTypes.ts
|
|
7
|
-
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
|
8
|
-
*/
|
|
9
|
-
import type { CSSProperties, VNodeChild } from 'vue';
|
|
10
|
-
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
return toValidableType('VNodeChild', {
|
|
44
|
-
type: undefined
|
|
45
|
-
});
|
|
46
|
-
}
|
|
47
|
-
}
|
|
1
|
+
/*
|
|
2
|
+
* @Author: levi7754 levi7754@163.com
|
|
3
|
+
* @Date: 2023-06-19 09:14:18
|
|
4
|
+
* @LastEditors: wei.li
|
|
5
|
+
* @LastEditTime: 2024-07-02 08:57:49
|
|
6
|
+
* @FilePath: /sitzone-mes/src/utils/propTypes.ts
|
|
7
|
+
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
|
8
|
+
*/
|
|
9
|
+
import type { CSSProperties, VNodeChild } from 'vue';
|
|
10
|
+
import { createTypes, toValidableType, type VueTypesInterface, type VueTypeValidableDef } from 'vue-types';
|
|
11
|
+
|
|
12
|
+
export type VueNode = VNodeChild | JSX.Element;
|
|
13
|
+
|
|
14
|
+
type PropTypes = VueTypesInterface & {
|
|
15
|
+
readonly style: VueTypeValidableDef<CSSProperties>;
|
|
16
|
+
readonly VNodeChild: VueTypeValidableDef<VueNode>;
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
const newPropTypes = createTypes({
|
|
20
|
+
func: undefined,
|
|
21
|
+
bool: undefined,
|
|
22
|
+
string: undefined,
|
|
23
|
+
number: undefined,
|
|
24
|
+
object: undefined,
|
|
25
|
+
integer: undefined
|
|
26
|
+
}) as PropTypes;
|
|
27
|
+
|
|
28
|
+
// 从 vue-types v5.0 开始,extend()方法已经废弃,当前已改为官方推荐的ES6+方法 https://dwightjack.github.io/vue-types/advanced/extending-vue-types.html#the-extend-method
|
|
29
|
+
export default class propTypes extends newPropTypes {
|
|
30
|
+
// a native-like validator that supports the `.validable` method
|
|
31
|
+
static get style() {
|
|
32
|
+
return toValidableType('style', {
|
|
33
|
+
type: [String, Object]
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
static get VNodeChild() {
|
|
38
|
+
return toValidableType('VNodeChild', {
|
|
39
|
+
type: undefined
|
|
40
|
+
});
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -74,7 +74,7 @@ class SuHttp {
|
|
|
74
74
|
if (whiteList.some(v => config.url.indexOf(v) > -1)) return config;
|
|
75
75
|
return new Promise(resolve => {
|
|
76
76
|
const token = cookies.get(kTOKENKEY);
|
|
77
|
-
debugger;
|
|
77
|
+
// debugger;
|
|
78
78
|
if (token) {
|
|
79
79
|
const data = JSON.parse(token);
|
|
80
80
|
const now = new Date().getTime();
|
|
@@ -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">
|
|
@@ -92,7 +92,7 @@
|
|
|
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
|
|