@partex/one-core 1.0.3 → 1.0.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.
package/README.md CHANGED
@@ -417,6 +417,8 @@ authorizationGroupArray: string[]
417
417
  authorizationMachineArray: string[]
418
418
  iot_menu_authorization: string[]
419
419
  tdm_menu_authorization: string[]
420
+ qms_menu_authorization: string[]
421
+ maintain_menu_authorization: string[]
420
422
  info: IUserInfo
421
423
  endTime: number
422
424
  tenantStatus: 0 | 1 | 2
@@ -98,3 +98,4 @@ export declare const fnCheckIoTRole: (role: string) => boolean;
98
98
  export declare const fnCheckTDMRole: (role: string) => boolean;
99
99
  export declare const fnCheckQMSRole: (role: string) => boolean;
100
100
  export declare const fnCheckDashRole: (role: string) => boolean;
101
+ export declare const fnCheckMaintainRole: (role: string) => boolean;
@@ -1,5 +1,4 @@
1
1
  export * from './searchBar';
2
- export * from './table';
3
2
  export * from './header';
4
3
  export * from './footer';
5
4
  export * from './back';
@@ -48,6 +48,7 @@ declare const _default: DefineComponent<{
48
48
  iot_menu_authorization: string[];
49
49
  tdm_menu_authorization: string[];
50
50
  qms_menu_authorization: string[];
51
+ maintain_menu_authorization: string[];
51
52
  info: {
52
53
  type: 0 | 1 | 2 | 3 | 4;
53
54
  id: string | string[];
@@ -68,6 +69,7 @@ declare const _default: DefineComponent<{
68
69
  platformName: string;
69
70
  platformType: string;
70
71
  platformUrl: string;
72
+ platformMainUrl: string;
71
73
  };
72
74
  theme: Ref<boolean>;
73
75
  activeMenu: Ref<string>;
@@ -6,6 +6,7 @@ export declare const headerStore: {
6
6
  platformName: string;
7
7
  platformType: string;
8
8
  platformUrl: string;
9
+ platformMainUrl: string;
9
10
  };
10
11
  export declare function fnShowDownload(val: boolean): void;
11
12
  export declare function fnSetInitLang(val: 'en-US' | 'zh-CN' | 'fr-FR'): void;
@@ -15,6 +16,7 @@ export declare function fnSetPlatform(val: {
15
16
  platformName: string;
16
17
  platformType: string;
17
18
  platformUrl: string;
19
+ platformMainUrl: string;
18
20
  }): void;
19
21
  export declare function fnSetPlatformName(platformName: string): void;
20
22
  export declare function fnSetNeedUpdate(value: boolean): void;
@@ -26,6 +26,7 @@ export interface IUserModel {
26
26
  iot_menu_authorization: string[];
27
27
  tdm_menu_authorization: string[];
28
28
  qms_menu_authorization: string[];
29
+ maintain_menu_authorization: string[];
29
30
  info: IUserInfo;
30
31
  endTime: number;
31
32
  tenantStatus: 0 | 1 | 2;
@@ -28,6 +28,7 @@ export declare const userStore: {
28
28
  iot_menu_authorization: string[];
29
29
  tdm_menu_authorization: string[];
30
30
  qms_menu_authorization: string[];
31
+ maintain_menu_authorization: string[];
31
32
  info: {
32
33
  type: 0 | 1 | 2 | 3 | 4;
33
34
  id: string | string[];