@kengic/vue 0.26.5-beta.0 → 0.26.5-beta.2
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.css +1 -1
- package/dist/kengic-vue.js +2104 -1771
- package/dist/src/apis/WMS/Controllers/DescriptionController/List.d.ts +3 -1
- package/dist/src/apis/WMS/Controllers/WorkstationController/List.d.ts +25 -0
- package/dist/src/apis/WMS/Controllers/WorkstationController/index.d.ts +1 -0
- package/dist/src/apis/WMS/Controllers/index.d.ts +1 -0
- package/dist/src/apis/WMS/models.d.ts +72 -0
- package/dist/src/components/KgStation/KgStation.d.ts +47 -0
- package/dist/src/components/KgStation/index.d.ts +3 -0
- package/dist/src/components/KgStation/index.hooks.d.ts +29 -0
- package/dist/src/components/KgStation/index.store.d.ts +45 -0
- package/dist/src/components/KgWarehouse/KgWarehouse.d.ts +21 -12
- package/dist/src/components/KgWarehouse/index.hooks.d.ts +3 -4
- package/dist/src/components/KgWarehouse/index.store.d.ts +12 -10
- package/dist/src/components/index.d.ts +1 -0
- package/dist/src/config/index.store.d.ts +13 -5
- package/dist/src/consts/i18n/en.d.ts +8 -0
- package/dist/src/consts/i18n/es_ES.d.ts +8 -0
- package/dist/src/consts/i18n/fr_FR.d.ts +8 -0
- package/dist/src/consts/i18n/km_KH.d.ts +8 -0
- package/dist/src/consts/i18n/ko_KR.d.ts +8 -0
- package/dist/src/consts/i18n/vi_VN.d.ts +8 -0
- package/dist/src/consts/i18n/zh_CN.d.ts +8 -0
- package/dist/src/services/http-client.d.ts +54 -19
- package/dist/src/utils/kg.util.d.ts +3 -1
- package/package.json +3 -6
@@ -20,6 +20,8 @@ export declare class ListQuery {
|
|
20
20
|
moddte?: string | null;
|
21
21
|
/** 短描述(ShortDescription). */
|
22
22
|
shortDsc?: string | null;
|
23
|
+
/** 短描述含列值(ShortDescriptionWithCodeValue). */
|
24
|
+
shortDscWithCodval?: string | null;
|
23
25
|
/** 顺序号(Sequence). */
|
24
26
|
srtseq?: number | null;
|
25
27
|
/** 系统定义. */
|
@@ -42,7 +44,7 @@ export declare class ListQuery {
|
|
42
44
|
* @param config 请求配置.
|
43
45
|
* @param option 请求选项.
|
44
46
|
*/
|
45
|
-
export declare function List(config?: IRequestConfig<ListQuery, {}>, option?: IRequestOptions): Promise<DEF.WMS.IPage<DEF.WMS.
|
47
|
+
export declare function List(config?: IRequestConfig<ListQuery, {}>, option?: IRequestOptions): Promise<DEF.WMS.IPage<DEF.WMS.DescriptionDTO>>;
|
46
48
|
export declare namespace List {
|
47
49
|
var method: "GET";
|
48
50
|
var url: string;
|
@@ -0,0 +1,25 @@
|
|
1
|
+
import { IRequestConfig, IRequestOptions } from '../../../../services';
|
2
|
+
import * as DEF from '../../../def';
|
3
|
+
/** 请求参数. */
|
4
|
+
export declare class ListQuery {
|
5
|
+
/** 排序字段. */
|
6
|
+
column?: string | null;
|
7
|
+
/** 排序方式. */
|
8
|
+
order?: 'asc' | 'desc' | null;
|
9
|
+
/** 当前页数. */
|
10
|
+
pageNo?: number | null;
|
11
|
+
/** 每页条数. */
|
12
|
+
pageSize?: number | null;
|
13
|
+
constructor(obj?: ListQuery);
|
14
|
+
}
|
15
|
+
/**
|
16
|
+
* 工作站-分页列表查询
|
17
|
+
*
|
18
|
+
* @param config 请求配置.
|
19
|
+
* @param option 请求选项.
|
20
|
+
*/
|
21
|
+
export declare function List(config?: IRequestConfig<ListQuery, {}>, option?: IRequestOptions): Promise<DEF.WMS.IPage<DEF.WMS.WorkstationDTO>>;
|
22
|
+
export declare namespace List {
|
23
|
+
var method: "GET";
|
24
|
+
var url: string;
|
25
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
export { List, ListQuery } from './List';
|
@@ -8,3 +8,4 @@ export * as VarGridMasterController from './VarGridMasterController';
|
|
8
8
|
export * as VarProfileMasterController from './VarProfileMasterController';
|
9
9
|
export * as VarVariableController from './VarVariableController';
|
10
10
|
export * as WhController from './WhController';
|
11
|
+
export * as WorkstationController from './WorkstationController';
|
@@ -104,6 +104,36 @@ export declare class DescriptionBatchQuery {
|
|
104
104
|
codeValues?: Array<string> | null;
|
105
105
|
constructor(obj?: DescriptionBatchQuery);
|
106
106
|
}
|
107
|
+
/** 描述数据传输对象(DescriptionDTO). */
|
108
|
+
export declare class DescriptionDTO {
|
109
|
+
/** 列名(CodeName). */
|
110
|
+
codnam?: string | null;
|
111
|
+
/** 列值(CodeValue). */
|
112
|
+
codval?: string | null;
|
113
|
+
/** 模块(ProjectName). */
|
114
|
+
grpNam?: string | null;
|
115
|
+
/** id */
|
116
|
+
id?: string | null;
|
117
|
+
/** 长描述(LongDescription). */
|
118
|
+
lngDsc?: string | null;
|
119
|
+
/** 语言(LocaleId). */
|
120
|
+
localeId?: string | null;
|
121
|
+
/** 修改用户编号 */
|
122
|
+
modUsrCod?: string | null;
|
123
|
+
/** 修改日期 */
|
124
|
+
moddte?: string | null;
|
125
|
+
/** 短描述(ShortDescription). */
|
126
|
+
shortDsc?: string | null;
|
127
|
+
/** 短描述含列值(ShortDescriptionWithCodeValue). */
|
128
|
+
shortDscWithCodval?: string | null;
|
129
|
+
/** 顺序号(Sequence). */
|
130
|
+
srtseq?: number | null;
|
131
|
+
/** 系统定义. */
|
132
|
+
sysDefFlg?: number | null;
|
133
|
+
/** 版本 */
|
134
|
+
version?: number | null;
|
135
|
+
constructor(obj?: DescriptionDTO);
|
136
|
+
}
|
107
137
|
/** 获取 SQL 查询结果的元数据. */
|
108
138
|
export declare class GetResultSetMetadataFromSqlQuery {
|
109
139
|
/** SQL. */
|
@@ -933,6 +963,48 @@ export declare class WhDTO {
|
|
933
963
|
whId?: string | null;
|
934
964
|
constructor(obj?: WhDTO);
|
935
965
|
}
|
966
|
+
/** 工作站区域数据传输对象 */
|
967
|
+
export declare class WorkstationAreaDTO {
|
968
|
+
/** 主键 */
|
969
|
+
id?: string | null;
|
970
|
+
/** 创建日期 */
|
971
|
+
insDt?: string | null;
|
972
|
+
/** 创建用户 */
|
973
|
+
insUsrId?: string | null;
|
974
|
+
/** 修改日期 */
|
975
|
+
modUsrId?: string | null;
|
976
|
+
/** 修改用户 */
|
977
|
+
moddte?: string | null;
|
978
|
+
/** 仓库 */
|
979
|
+
whId?: string | null;
|
980
|
+
/** 工作区 */
|
981
|
+
wrkare?: string | null;
|
982
|
+
/** 工作区描述 */
|
983
|
+
wrkareDsc?: string | null;
|
984
|
+
constructor(obj?: WorkstationAreaDTO);
|
985
|
+
}
|
986
|
+
/** 工作站数据传输对象 */
|
987
|
+
export declare class WorkstationDTO {
|
988
|
+
/** 工作站 */
|
989
|
+
devcod?: string | null;
|
990
|
+
/** 主工作区 */
|
991
|
+
hmewrkare?: string | null;
|
992
|
+
/** 主键 */
|
993
|
+
id?: string | null;
|
994
|
+
/** 创建日期 */
|
995
|
+
insDt?: string | null;
|
996
|
+
/** 创建用户 */
|
997
|
+
insUsrId?: string | null;
|
998
|
+
/** 修改日期 */
|
999
|
+
modUsrId?: string | null;
|
1000
|
+
/** 修改用户 */
|
1001
|
+
moddte?: string | null;
|
1002
|
+
/** 仓库 */
|
1003
|
+
whId?: string | null;
|
1004
|
+
/** 工作站与工作区域关系 */
|
1005
|
+
workstationAreas?: Array<WorkstationAreaDTO> | null;
|
1006
|
+
constructor(obj?: WorkstationDTO);
|
1007
|
+
}
|
936
1008
|
/**
|
937
1009
|
* 获取对象的属性名数组.
|
938
1010
|
* @param obj 对象.
|
@@ -0,0 +1,47 @@
|
|
1
|
+
import { ExtractPropTypes, PropType } from 'vue';
|
2
|
+
import './KgStation.less';
|
3
|
+
export declare const getProps: () => {
|
4
|
+
/**
|
5
|
+
* <p>是否隐藏.</p>
|
6
|
+
* <p>此组件需要在不同的地方使用,</p>
|
7
|
+
* <ul>
|
8
|
+
* <li>在有的地方需要显示当前选择的工作站, 并且可以通过点击打开弹窗, 比如顶部导航栏,</li>
|
9
|
+
* <li>在有的地方, 不需要显示此组件, 用户通过参数控制是否打开弹窗, 比如登录页,</li>
|
10
|
+
* </ul>
|
11
|
+
*
|
12
|
+
* @default undefined
|
13
|
+
*/
|
14
|
+
kgInvisible: PropType<boolean>;
|
15
|
+
onKgOk: PropType<() => void>;
|
16
|
+
};
|
17
|
+
export declare type KgStationProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
|
18
|
+
declare const _default: import("vue").DefineComponent<{
|
19
|
+
/**
|
20
|
+
* <p>是否隐藏.</p>
|
21
|
+
* <p>此组件需要在不同的地方使用,</p>
|
22
|
+
* <ul>
|
23
|
+
* <li>在有的地方需要显示当前选择的工作站, 并且可以通过点击打开弹窗, 比如顶部导航栏,</li>
|
24
|
+
* <li>在有的地方, 不需要显示此组件, 用户通过参数控制是否打开弹窗, 比如登录页,</li>
|
25
|
+
* </ul>
|
26
|
+
*
|
27
|
+
* @default undefined
|
28
|
+
*/
|
29
|
+
kgInvisible: PropType<boolean>;
|
30
|
+
onKgOk: PropType<() => void>;
|
31
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "kgOk"[], "kgOk", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
32
|
+
/**
|
33
|
+
* <p>是否隐藏.</p>
|
34
|
+
* <p>此组件需要在不同的地方使用,</p>
|
35
|
+
* <ul>
|
36
|
+
* <li>在有的地方需要显示当前选择的工作站, 并且可以通过点击打开弹窗, 比如顶部导航栏,</li>
|
37
|
+
* <li>在有的地方, 不需要显示此组件, 用户通过参数控制是否打开弹窗, 比如登录页,</li>
|
38
|
+
* </ul>
|
39
|
+
*
|
40
|
+
* @default undefined
|
41
|
+
*/
|
42
|
+
kgInvisible: PropType<boolean>;
|
43
|
+
onKgOk: PropType<() => void>;
|
44
|
+
}>> & {
|
45
|
+
onKgOk?: ((...args: any[]) => any) | undefined;
|
46
|
+
}, {}>;
|
47
|
+
export default _default;
|
@@ -0,0 +1,29 @@
|
|
1
|
+
import { Pinia } from 'pinia';
|
2
|
+
import { ComputedRef } from 'vue';
|
3
|
+
import { WorkstationAreaDTO, WorkstationDTO } from '../../apis/WMS/models';
|
4
|
+
import { IKgStationStore } from './index.store';
|
5
|
+
export declare type IUseKgStation = {
|
6
|
+
/**
|
7
|
+
* 当前工作区.
|
8
|
+
*/
|
9
|
+
area: ComputedRef<WorkstationAreaDTO | null>;
|
10
|
+
/**
|
11
|
+
* 当前工作站.
|
12
|
+
*/
|
13
|
+
station: ComputedRef<WorkstationDTO | null>;
|
14
|
+
/**
|
15
|
+
* 所有工作站.
|
16
|
+
*/
|
17
|
+
stations: ComputedRef<IKgStationStore['getStations']>;
|
18
|
+
store: IKgStationStore;
|
19
|
+
/**
|
20
|
+
* 是否显示弹窗.
|
21
|
+
*/
|
22
|
+
visible: ComputedRef<IKgStationStore['getVisible']>;
|
23
|
+
};
|
24
|
+
/**
|
25
|
+
* 在某些地方调用时(比如在路由守卫中), pinia 尚未设置, 此时需要手动传入 pinia 实例.
|
26
|
+
*
|
27
|
+
* @param pinia
|
28
|
+
*/
|
29
|
+
export declare function useKgStation(pinia?: Pinia): IUseKgStation;
|
@@ -0,0 +1,45 @@
|
|
1
|
+
import { StoreDefinition } from 'pinia';
|
2
|
+
import { WorkstationDTO } from '../../apis/WMS/models';
|
3
|
+
export interface IUseKgStationStoreState {
|
4
|
+
/**
|
5
|
+
* 当前工作站.
|
6
|
+
*/
|
7
|
+
station: WorkstationDTO | null;
|
8
|
+
/**
|
9
|
+
* 所有工作站.
|
10
|
+
*/
|
11
|
+
stations: Array<WorkstationDTO> | undefined;
|
12
|
+
/**
|
13
|
+
* 是否显示弹窗.
|
14
|
+
*/
|
15
|
+
visible: boolean;
|
16
|
+
}
|
17
|
+
export interface IUseKgStationStoreGetters {
|
18
|
+
getStation: WorkstationDTO | null;
|
19
|
+
getStations: Array<WorkstationDTO> | undefined;
|
20
|
+
/**
|
21
|
+
* 是否显示弹窗.
|
22
|
+
*/
|
23
|
+
getVisible: boolean;
|
24
|
+
}
|
25
|
+
export interface IUseKgStationStoreActions {
|
26
|
+
/**
|
27
|
+
* 查询所有工作站.
|
28
|
+
*/
|
29
|
+
requestStations(): Promise<void>;
|
30
|
+
/**
|
31
|
+
* 设置当前工作站.
|
32
|
+
*
|
33
|
+
* @param station 当前工作站.
|
34
|
+
*/
|
35
|
+
setStation(station?: WorkstationDTO | null): void;
|
36
|
+
/**
|
37
|
+
* 设置是否显示弹窗.
|
38
|
+
*
|
39
|
+
* @param visible 是否显示.
|
40
|
+
*/
|
41
|
+
setVisible(visible: boolean): void;
|
42
|
+
}
|
43
|
+
export declare type IUseKgStationStore = StoreDefinition<'KgStation', IUseKgStationStoreState, IUseKgStationStoreGetters, IUseKgStationStoreActions>;
|
44
|
+
export declare type IKgStationStore = ReturnType<IUseKgStationStore>;
|
45
|
+
export declare const useKgStationStore: IUseKgStationStore;
|
@@ -2,10 +2,13 @@ import { ExtractPropTypes, PropType } from 'vue';
|
|
2
2
|
import './KgWarehouse.less';
|
3
3
|
export declare const getProps: () => {
|
4
4
|
/**
|
5
|
-
*
|
6
|
-
*
|
7
|
-
*
|
8
|
-
*
|
5
|
+
* <p>是否隐藏.</p>
|
6
|
+
* <p>此组件需要在不同的地方使用,</p>
|
7
|
+
* <ul>
|
8
|
+
* <li>在有的地方需要显示当前选择的仓库, 并且可以通过点击打开弹窗, 比如顶部导航栏,</li>
|
9
|
+
* <li>在有的地方, 不需要显示此组件, 用户通过参数控制是否打开弹窗, 比如登录页,</li>
|
10
|
+
* </ul>
|
11
|
+
*
|
9
12
|
* @default undefined
|
10
13
|
*/
|
11
14
|
kgInvisible: PropType<boolean>;
|
@@ -14,20 +17,26 @@ export declare const getProps: () => {
|
|
14
17
|
export declare type IKgWarehouseProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
|
15
18
|
declare const _default: import("vue").DefineComponent<{
|
16
19
|
/**
|
17
|
-
*
|
18
|
-
*
|
19
|
-
*
|
20
|
-
*
|
20
|
+
* <p>是否隐藏.</p>
|
21
|
+
* <p>此组件需要在不同的地方使用,</p>
|
22
|
+
* <ul>
|
23
|
+
* <li>在有的地方需要显示当前选择的仓库, 并且可以通过点击打开弹窗, 比如顶部导航栏,</li>
|
24
|
+
* <li>在有的地方, 不需要显示此组件, 用户通过参数控制是否打开弹窗, 比如登录页,</li>
|
25
|
+
* </ul>
|
26
|
+
*
|
21
27
|
* @default undefined
|
22
28
|
*/
|
23
29
|
kgInvisible: PropType<boolean>;
|
24
30
|
onKgOk: PropType<() => void>;
|
25
31
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "kgOk"[], "kgOk", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
26
32
|
/**
|
27
|
-
*
|
28
|
-
*
|
29
|
-
*
|
30
|
-
*
|
33
|
+
* <p>是否隐藏.</p>
|
34
|
+
* <p>此组件需要在不同的地方使用,</p>
|
35
|
+
* <ul>
|
36
|
+
* <li>在有的地方需要显示当前选择的仓库, 并且可以通过点击打开弹窗, 比如顶部导航栏,</li>
|
37
|
+
* <li>在有的地方, 不需要显示此组件, 用户通过参数控制是否打开弹窗, 比如登录页,</li>
|
38
|
+
* </ul>
|
39
|
+
*
|
31
40
|
* @default undefined
|
32
41
|
*/
|
33
42
|
kgInvisible: PropType<boolean>;
|
@@ -1,6 +1,5 @@
|
|
1
1
|
import { Pinia } from 'pinia';
|
2
2
|
import { ComputedRef } from 'vue';
|
3
|
-
import { WhDTO } from '../../apis/WMS/models';
|
4
3
|
import { IRemoveEventListenerHandler } from '../../consts';
|
5
4
|
import { IKgWarehouseMountedEventListener, IKgWarehouseStore } from './index.store';
|
6
5
|
export declare type IUseKgWarehouse = {
|
@@ -12,13 +11,13 @@ export declare type IUseKgWarehouse = {
|
|
12
11
|
onMounted(listener: IKgWarehouseMountedEventListener, isOnce?: boolean): IRemoveEventListenerHandler;
|
13
12
|
store: IKgWarehouseStore;
|
14
13
|
/**
|
15
|
-
*
|
14
|
+
* 是否显示弹窗.
|
16
15
|
*/
|
17
|
-
visible: ComputedRef<
|
16
|
+
visible: ComputedRef<IKgWarehouseStore['getVisible']>;
|
18
17
|
/**
|
19
18
|
* 当前仓库.
|
20
19
|
*/
|
21
|
-
warehouse: ComputedRef<
|
20
|
+
warehouse: ComputedRef<IKgWarehouseStore['getWarehouse']>;
|
22
21
|
};
|
23
22
|
/**
|
24
23
|
* 在某些地方调用时(比如在路由守卫中), pinia 尚未设置, 此时需要手动传入 pinia 实例.
|
@@ -9,19 +9,19 @@ export declare type IKgWarehouseEvent = 'mounted';
|
|
9
9
|
export declare type IKgWarehouseMountedEventListener = (() => void) & IKgEventListener;
|
10
10
|
export declare type IKgWarehouseEventListener = IKgWarehouseMountedEventListener;
|
11
11
|
export interface IUseKgWarehouseStoreState {
|
12
|
+
mountedListeners: Array<IKgWarehouseMountedEventListener>;
|
12
13
|
/**
|
13
|
-
*
|
14
|
+
* 是否显示弹窗.
|
14
15
|
*/
|
15
16
|
visible: boolean;
|
16
17
|
/**
|
17
18
|
* 当前仓库.
|
18
19
|
*/
|
19
20
|
warehouse: WhDTO | null;
|
20
|
-
mountedListeners: Array<IKgWarehouseMountedEventListener>;
|
21
21
|
}
|
22
22
|
export interface IUseKgWarehouseStoreGetters {
|
23
23
|
/**
|
24
|
-
*
|
24
|
+
* 是否显示弹窗.
|
25
25
|
*/
|
26
26
|
getVisible: boolean;
|
27
27
|
getWarehouse: WhDTO | null;
|
@@ -33,12 +33,6 @@ export interface IUseKgWarehouseStoreActions {
|
|
33
33
|
* @param listener 事件监听函数.
|
34
34
|
*/
|
35
35
|
addEventListener(event: IKgWarehouseEvent, listener: IKgWarehouseEventListener): void;
|
36
|
-
/**
|
37
|
-
* 退订事件监听.
|
38
|
-
* @param event 事件名称.
|
39
|
-
* @param listener 事件监听函数.
|
40
|
-
*/
|
41
|
-
removeEventListener(event: IKgWarehouseEvent, listener?: IKgWarehouseEventListener): void;
|
42
36
|
/**
|
43
37
|
* 触发事件.
|
44
38
|
* @param event 事件名称.
|
@@ -46,12 +40,20 @@ export interface IUseKgWarehouseStoreActions {
|
|
46
40
|
*/
|
47
41
|
emit(event: IKgWarehouseEvent, args?: any | null): void;
|
48
42
|
/**
|
49
|
-
*
|
43
|
+
* 退订事件监听.
|
44
|
+
* @param event 事件名称.
|
45
|
+
* @param listener 事件监听函数.
|
46
|
+
*/
|
47
|
+
removeEventListener(event: IKgWarehouseEvent, listener?: IKgWarehouseEventListener): void;
|
48
|
+
/**
|
49
|
+
* 设置是否显示弹窗.
|
50
|
+
*
|
50
51
|
* @param visible 是否显示.
|
51
52
|
*/
|
52
53
|
setVisible(visible: boolean): void;
|
53
54
|
/**
|
54
55
|
* 设置当前仓库.
|
56
|
+
*
|
55
57
|
* @param warehouse 当前仓库.
|
56
58
|
*/
|
57
59
|
setWarehouse(warehouse?: WhDTO | null): void;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { StoreDefinition } from 'pinia';
|
2
2
|
import { ComputedRef } from 'vue';
|
3
3
|
import { Router } from 'vue-router';
|
4
|
-
import {
|
4
|
+
import { DescriptionDTO, SysUserWarehouseDTO } from '../apis/WMS/models';
|
5
5
|
import { KG_APP, Menu } from '../consts';
|
6
6
|
import { LocaleType } from '../project/types/config';
|
7
7
|
import { UserInfo } from '../project/types/store';
|
@@ -121,6 +121,14 @@ export declare type IKgOption = {
|
|
121
121
|
/** 默认的仓库编码, 只有在 {@link IKgOption.KgWarehouse.on} 为 false 时才生效. */
|
122
122
|
defaultWarehouseID?: string;
|
123
123
|
};
|
124
|
+
/** 工作站选择. */
|
125
|
+
KgStation?: {
|
126
|
+
/**
|
127
|
+
* 是否启用功能.
|
128
|
+
* @default true
|
129
|
+
*/
|
130
|
+
isOn?: boolean;
|
131
|
+
};
|
124
132
|
/** 模块首页地址. */
|
125
133
|
appIndex?: {
|
126
134
|
/** 默认为 '/wms/data-manager/index'. */
|
@@ -205,7 +213,7 @@ export interface IUseKgStoreState {
|
|
205
213
|
* <p>系统描述.</p>
|
206
214
|
* <p>第一层 key 为 codeName, 第二层 key 为 codeValue.</p>
|
207
215
|
*/
|
208
|
-
descriptionMap: Map<string, Map<string,
|
216
|
+
descriptionMap: Map<string, Map<string, DescriptionDTO>>;
|
209
217
|
i18n: any;
|
210
218
|
/**
|
211
219
|
* <p>某个系统描述是否正在查询.</p>
|
@@ -233,13 +241,13 @@ export interface IUseKgStoreGetters {
|
|
233
241
|
getDescription(): (param: {
|
234
242
|
codeName: string | null | undefined;
|
235
243
|
codeValue: string | null | undefined;
|
236
|
-
}) =>
|
244
|
+
}) => DescriptionDTO | null;
|
237
245
|
/**
|
238
246
|
* 根据 codeName 获取当前语言下的它的所有描述.
|
239
247
|
*/
|
240
248
|
getDescriptions(): (param: {
|
241
249
|
codeName: string | null | undefined;
|
242
|
-
}) => Array<
|
250
|
+
}) => Array<DescriptionDTO>;
|
243
251
|
getI18N(): Record<string, any>;
|
244
252
|
getI18n(): any;
|
245
253
|
/**
|
@@ -288,7 +296,7 @@ export interface IUseKgStoreActions {
|
|
288
296
|
*/
|
289
297
|
setDescriptions(param: {
|
290
298
|
codeName: string | null | undefined;
|
291
|
-
descriptions: Array<
|
299
|
+
descriptions: Array<DescriptionDTO>;
|
292
300
|
}): void;
|
293
301
|
setI18N(I18N: Record<string, any>): void;
|
294
302
|
setI18n(i18n: any): void;
|
@@ -96,6 +96,14 @@ declare const _default: {
|
|
96
96
|
formTitle: string;
|
97
97
|
pleaseSelectVarProfileMaster: string;
|
98
98
|
};
|
99
|
+
KgStation: {
|
100
|
+
reloadMessage: string;
|
101
|
+
selectStation: string;
|
102
|
+
station: string;
|
103
|
+
title: string;
|
104
|
+
workArea: string;
|
105
|
+
workStation: string;
|
106
|
+
};
|
99
107
|
KgTable: {
|
100
108
|
apiNotSupportDynamicQuery: string;
|
101
109
|
column: string;
|
@@ -96,6 +96,14 @@ declare const _default: {
|
|
96
96
|
formTitle: string;
|
97
97
|
pleaseSelectVarProfileMaster: string;
|
98
98
|
};
|
99
|
+
KgStation: {
|
100
|
+
reloadMessage: string;
|
101
|
+
selectStation: string;
|
102
|
+
station: string;
|
103
|
+
title: string;
|
104
|
+
workArea: string;
|
105
|
+
workStation: string;
|
106
|
+
};
|
99
107
|
KgTable: {
|
100
108
|
apiNotSupportDynamicQuery: string;
|
101
109
|
column: string;
|
@@ -96,6 +96,14 @@ declare const _default: {
|
|
96
96
|
formTitle: string;
|
97
97
|
pleaseSelectVarProfileMaster: string;
|
98
98
|
};
|
99
|
+
KgStation: {
|
100
|
+
reloadMessage: string;
|
101
|
+
selectStation: string;
|
102
|
+
station: string;
|
103
|
+
title: string;
|
104
|
+
workArea: string;
|
105
|
+
workStation: string;
|
106
|
+
};
|
99
107
|
KgTable: {
|
100
108
|
apiNotSupportDynamicQuery: string;
|
101
109
|
column: string;
|
@@ -96,6 +96,14 @@ declare const _default: {
|
|
96
96
|
formTitle: string;
|
97
97
|
pleaseSelectVarProfileMaster: string;
|
98
98
|
};
|
99
|
+
KgStation: {
|
100
|
+
reloadMessage: string;
|
101
|
+
selectStation: string;
|
102
|
+
station: string;
|
103
|
+
title: string;
|
104
|
+
workArea: string;
|
105
|
+
workStation: string;
|
106
|
+
};
|
99
107
|
KgTable: {
|
100
108
|
apiNotSupportDynamicQuery: string;
|
101
109
|
column: string;
|
@@ -96,6 +96,14 @@ declare const _default: {
|
|
96
96
|
formTitle: string;
|
97
97
|
pleaseSelectVarProfileMaster: string;
|
98
98
|
};
|
99
|
+
KgStation: {
|
100
|
+
reloadMessage: string;
|
101
|
+
selectStation: string;
|
102
|
+
station: string;
|
103
|
+
title: string;
|
104
|
+
workArea: string;
|
105
|
+
workStation: string;
|
106
|
+
};
|
99
107
|
KgTable: {
|
100
108
|
apiNotSupportDynamicQuery: string;
|
101
109
|
column: string;
|
@@ -96,6 +96,14 @@ declare const _default: {
|
|
96
96
|
formTitle: string;
|
97
97
|
pleaseSelectVarProfileMaster: string;
|
98
98
|
};
|
99
|
+
KgStation: {
|
100
|
+
reloadMessage: string;
|
101
|
+
selectStation: string;
|
102
|
+
station: string;
|
103
|
+
title: string;
|
104
|
+
workArea: string;
|
105
|
+
workStation: string;
|
106
|
+
};
|
99
107
|
KgTable: {
|
100
108
|
apiNotSupportDynamicQuery: string;
|
101
109
|
column: string;
|
@@ -96,6 +96,14 @@ declare const _default: {
|
|
96
96
|
formTitle: string;
|
97
97
|
pleaseSelectVarProfileMaster: string;
|
98
98
|
};
|
99
|
+
KgStation: {
|
100
|
+
reloadMessage: string;
|
101
|
+
selectStation: string;
|
102
|
+
station: string;
|
103
|
+
title: string;
|
104
|
+
workArea: string;
|
105
|
+
workStation: string;
|
106
|
+
};
|
99
107
|
KgTable: {
|
100
108
|
apiNotSupportDynamicQuery: string;
|
101
109
|
column: string;
|