@kengic/vue 0.23.9 → 0.23.11-beta.0
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 +9023 -8012
- package/dist/src/apis/WMS/Controllers/VarVariableController/Delete.d.ts +4 -6
- package/dist/src/apis/WMS/Controllers/VarVariableController/index.d.ts +0 -7
- package/dist/src/apis/WMS/models.d.ts +18 -0
- package/dist/src/components/KgForm/index.store.d.ts +2 -0
- package/dist/src/components/KgForm.Item/index.vm.d.ts +18 -8
- package/dist/src/components/KgSubmit/index.store.d.ts +8 -5
- package/dist/src/components/KgTable/index.hooks.d.ts +5 -1
- package/dist/src/components/KgVar/index.store.d.ts +2 -1
- package/dist/src/components/KgVar/index.store.service.d.ts +6 -5
- package/dist/src/components/KgVar/index.vm.d.ts +6 -4
- package/dist/src/{pages/KgPageDda/components/KgPageDda.Create.Child.d.ts → components/KgVarConfig/components/child/KgVarConfig.Modal.Child.d.ts} +1 -1
- package/dist/src/components/KgVarConfig/index.vm.d.ts +1 -0
- package/dist/src/consts/i18n/en.d.ts +9 -0
- package/dist/src/consts/i18n/zh_CN.d.ts +9 -0
- package/dist/src/pages/KgPageDdaIndex/KgPageDdaIndex.d.ts +3 -0
- package/dist/src/pages/KgPageDdaIndex/index.d.ts +2 -0
- package/dist/src/pages/index.d.ts +8 -0
- package/dist/src/utils/kg-logger.util.d.ts +5 -1
- package/package.json +1 -1
- package/dist/src/apis/WMS/Controllers/VarVariableController/Add.d.ts +0 -16
- package/dist/src/apis/WMS/Controllers/VarVariableController/DeleteBatch.d.ts +0 -18
- package/dist/src/apis/WMS/Controllers/VarVariableController/Edit.d.ts +0 -16
- package/dist/src/apis/WMS/Controllers/VarVariableController/ExportXls.d.ts +0 -24
- package/dist/src/apis/WMS/Controllers/VarVariableController/ImportExcel.d.ts +0 -15
- package/dist/src/apis/WMS/Controllers/VarVariableController/List.d.ts +0 -31
- package/dist/src/apis/WMS/Controllers/VarVariableController/QueryById.d.ts +0 -19
@@ -1,18 +1,16 @@
|
|
1
1
|
import { IRequestConfig, IRequestOptions } from '../../../../services';
|
2
|
+
import * as DEF from '../../../def';
|
2
3
|
/** 请求参数. */
|
3
4
|
export declare class DeleteQuery {
|
4
|
-
/** id */
|
5
|
-
id: string | null;
|
6
|
-
constructor(obj?: DeleteQuery);
|
7
5
|
}
|
8
6
|
/**
|
9
|
-
*
|
7
|
+
* 删除变量.
|
10
8
|
*
|
11
9
|
* @param config 请求配置.
|
12
10
|
* @param option 请求选项.
|
13
11
|
*/
|
14
|
-
export declare function Delete(config?: IRequestConfig<DeleteQuery,
|
12
|
+
export declare function Delete(config?: IRequestConfig<DeleteQuery, Array<DEF.WMS.VarVariable>>, option?: IRequestOptions): Promise<string>;
|
15
13
|
export declare namespace Delete {
|
16
|
-
var method: "
|
14
|
+
var method: "POST";
|
17
15
|
var url: string;
|
18
16
|
}
|
@@ -1,8 +1 @@
|
|
1
|
-
export { Add, AddQuery } from './Add';
|
2
1
|
export { Delete, DeleteQuery } from './Delete';
|
3
|
-
export { DeleteBatch, DeleteBatchQuery } from './DeleteBatch';
|
4
|
-
export { Edit, EditQuery } from './Edit';
|
5
|
-
export { ExportXls, ExportXlsQuery } from './ExportXls';
|
6
|
-
export { ImportExcel, ImportExcelQuery } from './ImportExcel';
|
7
|
-
export { List, ListQuery } from './List';
|
8
|
-
export { QueryById, QueryByIdQuery } from './QueryById';
|
@@ -391,6 +391,22 @@ export declare class VarButtonConfig {
|
|
391
391
|
id?: string | null;
|
392
392
|
constructor(obj?: VarButtonConfig);
|
393
393
|
}
|
394
|
+
/** 父子界面. */
|
395
|
+
export declare class VarChildDetail {
|
396
|
+
/** 是否可用. */
|
397
|
+
available_flag?: number | null;
|
398
|
+
/** 子界面的界面标识 */
|
399
|
+
child_form_id?: string | null;
|
400
|
+
/** 父子界面间的关联属性. */
|
401
|
+
foreign_keys?: string | null;
|
402
|
+
/** 界面标识(FormID). */
|
403
|
+
frm_id?: string | null;
|
404
|
+
/** 主键. */
|
405
|
+
id?: string | null;
|
406
|
+
/** 排序. */
|
407
|
+
sort?: number | null;
|
408
|
+
constructor(obj?: VarChildDetail);
|
409
|
+
}
|
394
410
|
/** 变量配置:表单控件. */
|
395
411
|
export declare class VarConfigControl {
|
396
412
|
/** 所属按钮的变量名称. */
|
@@ -543,6 +559,8 @@ export declare class VarDTO {
|
|
543
559
|
varButtonConfig?: VarButtonConfig | null;
|
544
560
|
/** 按钮. */
|
545
561
|
varButtons?: Array<VarButton> | null;
|
562
|
+
/** 父子界面. */
|
563
|
+
varChildDetails?: Array<VarChildDetail> | null;
|
546
564
|
/** 变量配置:表单控件. */
|
547
565
|
varConfigControls?: Array<VarConfigControl> | null;
|
548
566
|
/** 变量配置:变量翻译. */
|
@@ -33,6 +33,8 @@ export declare type IKgFormChangeEventListenerParameter = {
|
|
33
33
|
/**
|
34
34
|
* 变量名称.
|
35
35
|
*/
|
36
|
+
varName: string;
|
37
|
+
/** @deprecated */
|
36
38
|
variableName: string;
|
37
39
|
};
|
38
40
|
export declare type IKgFormChangeEventListener = ((param: IKgFormChangeEventListenerParameter) => Promise<boolean>) & IKgEventListener;
|
@@ -86,23 +86,33 @@ export declare const getProps: () => {
|
|
86
86
|
onKgSelectDatasChange: PropType<(datas: Array<any>) => void>;
|
87
87
|
};
|
88
88
|
export declare type KgFormItemProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
|
89
|
-
/**
|
90
|
-
|
89
|
+
/**
|
90
|
+
* 插槽参数: control.
|
91
|
+
*/
|
92
|
+
export declare type IKgFormItemSlotControlParameter = {
|
93
|
+
/** @deprecated */
|
91
94
|
frm_id: string;
|
92
|
-
|
93
|
-
|
95
|
+
formID: string;
|
96
|
+
/** @deprecated 已废弃, 请直接使用 KgSubmit.formModel 或者 kgSearch.formModel */
|
94
97
|
model: ComputedRef<Record<string, any>>;
|
98
|
+
props: ComputedRef<KgFormItemProps>;
|
95
99
|
varConfigControl: VarConfigControl;
|
100
|
+
varName: string;
|
96
101
|
varProfileDetail: VarProfileDetail;
|
97
102
|
varSubmitDetail: VarSubmitDetail;
|
98
103
|
};
|
99
|
-
/**
|
100
|
-
|
104
|
+
/**
|
105
|
+
* 插槽参数: controlRight.
|
106
|
+
*/
|
107
|
+
export declare type IKgFormItemSlotControlRightParameter = {
|
108
|
+
/** @deprecated */
|
101
109
|
frm_id: string;
|
102
|
-
|
103
|
-
|
110
|
+
formID: string;
|
111
|
+
/** @deprecated 已废弃, 请直接使用 KgSubmit.formModel 或者 kgSearch.formModel */
|
104
112
|
model: ComputedRef<Record<string, any>>;
|
113
|
+
props: ComputedRef<KgFormItemProps>;
|
105
114
|
varConfigControl: VarConfigControl;
|
115
|
+
varName: string;
|
106
116
|
varProfileDetail: VarProfileDetail;
|
107
117
|
varSubmitDetail: VarSubmitDetail;
|
108
118
|
};
|
@@ -61,23 +61,26 @@ export declare type IKgSubmitAfterValidateEventListenerParameter = {
|
|
61
61
|
export declare type IKgSubmitAfterValidateEventListener = ((param: IKgSubmitAfterValidateEventListenerParameter) => Promise<boolean>) & IKgEventListener;
|
62
62
|
export declare type IKgSubmitBeforeRequestEventListenerParameter = {
|
63
63
|
/**
|
64
|
-
* <p
|
65
|
-
* <p>是一个对象或者列表.</p>
|
64
|
+
* <p>请求参数. 是一个对象或者列表. 是对「表单数据对象」解析之后得到的请求参数, 如果需要修改某些参数, 则直接修改该对象的属性即可.</p>
|
66
65
|
*/
|
67
66
|
data: Ref<KgAny>;
|
67
|
+
/** @deprecated */
|
68
68
|
isCopying: boolean | null;
|
69
|
+
/** @deprecated */
|
69
70
|
isCreating: boolean | null;
|
71
|
+
/** @deprecated */
|
70
72
|
isDeleting: boolean | null;
|
73
|
+
/** @deprecated */
|
71
74
|
isUpdating: boolean | null;
|
72
|
-
/**
|
73
|
-
* 表单数据对象.
|
74
|
-
*/
|
75
|
+
/** @deprecated */
|
75
76
|
model: Ref<Record<string, any>>;
|
76
77
|
/**
|
77
78
|
* 请求参数.
|
78
79
|
*/
|
79
80
|
params: Ref<Record<string, any>>;
|
81
|
+
/** @deprecated */
|
80
82
|
row: IKgTableRow | null;
|
83
|
+
/** @deprecated */
|
81
84
|
rows: Array<IKgTableRow> | null;
|
82
85
|
};
|
83
86
|
export declare type IKgSubmitBeforeRequestEventListener = ((param: IKgSubmitBeforeRequestEventListenerParameter) => Promise<boolean>) & IKgEventListener;
|
@@ -18,8 +18,12 @@ export interface IUseKgTable {
|
|
18
18
|
getVarGridDetail(param: {
|
19
19
|
varName: string | null | undefined;
|
20
20
|
}): VarGridDetail | null;
|
21
|
-
/**
|
21
|
+
/** @deprecated 已弃用, 请使用 {@link IUseKgTable.idKey}. */
|
22
22
|
id: ComputedRef<string>;
|
23
|
+
/**
|
24
|
+
* 作为主键的属性名.
|
25
|
+
*/
|
26
|
+
idKey: ComputedRef<string>;
|
23
27
|
/** 是否自动查询. */
|
24
28
|
isAutoRequest: ComputedRef<boolean>;
|
25
29
|
/** 是否支持多选. */
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { StoreDefinition } from 'pinia';
|
2
|
-
import { VarButton, VarButtonConfig, VarConfigControl, VarConfigDescription, VarConfigInput, VarConfigLookup, VarConfigPossibility, VarConfigTip, VarGridConfig, VarGridDetail, VarGridMasterDTO, VarProfileConfig, VarProfileDetail, VarProfileMasterDTO, VarSubmitConfig, VarSubmitDetail, VarVariable } from '../../apis/WMS/models';
|
2
|
+
import { VarButton, VarButtonConfig, VarChildDetail, VarConfigControl, VarConfigDescription, VarConfigInput, VarConfigLookup, VarConfigPossibility, VarConfigTip, VarGridConfig, VarGridDetail, VarGridMasterDTO, VarProfileConfig, VarProfileDetail, VarProfileMasterDTO, VarSubmitConfig, VarSubmitDetail, VarVariable } from '../../apis/WMS/models';
|
3
3
|
import { IKgEventListener, KG__VAR_BUTTON__TYPE } from '../../consts';
|
4
4
|
/**
|
5
5
|
* 事件类型.
|
@@ -38,6 +38,7 @@ export interface IUseKgVarStoreState {
|
|
38
38
|
onRetrieveEventListenersMap: Map<string, Array<IKgVarRetrieveEventListener>>;
|
39
39
|
varButtonConfigMap: Map<string, VarButtonConfig | null>;
|
40
40
|
varButtonMap: Map<string, Array<VarButton>>;
|
41
|
+
varChildDetailMap: Map<string, Array<VarChildDetail>>;
|
41
42
|
varConfigControlMap: Map<string, Array<VarConfigControl>>;
|
42
43
|
varConfigDescriptionMap: Map<string, Array<VarConfigDescription>>;
|
43
44
|
varConfigInputMap: Map<string, Array<VarConfigInput>>;
|
@@ -1,13 +1,14 @@
|
|
1
|
-
import { VarButton, VarButtonConfig, VarConfigPossibility, VarGridConfig, VarGridDetail, VarGridMasterDTO, VarProfileConfig, VarProfileDetail, VarProfileMasterDTO, VarSubmitConfig, VarSubmitDetail } from '../../apis/WMS/models';
|
2
|
-
export declare function transformVarProfileConfig(varProfileConfig
|
3
|
-
export declare function transformVarGridConfig(varGridConfig
|
1
|
+
import { VarButton, VarButtonConfig, VarChildDetail, VarConfigPossibility, VarGridConfig, VarGridDetail, VarGridMasterDTO, VarProfileConfig, VarProfileDetail, VarProfileMasterDTO, VarSubmitConfig, VarSubmitDetail } from '../../apis/WMS/models';
|
2
|
+
export declare function transformVarProfileConfig(varProfileConfig: VarProfileConfig | null | undefined): VarProfileConfig | null;
|
3
|
+
export declare function transformVarGridConfig(varGridConfig: VarGridConfig | null | undefined): VarGridConfig | null;
|
4
4
|
export declare function transformVarGridMasterDTOs(varGridMasterDTOs?: Array<VarGridMasterDTO> | null): Array<VarGridMasterDTO>;
|
5
|
+
export declare function transformVarChildDetails(varChildDetails: Array<VarChildDetail> | null | undefined): Array<VarChildDetail>;
|
5
6
|
export declare function transformVarProfileMasterDTOs(varProfileMasterDTOs?: Array<VarProfileMasterDTO> | null): Array<VarProfileMasterDTO>;
|
6
7
|
export declare function transformVarSubmitConfigs(varSubmitConfigs?: Array<VarSubmitConfig> | null): Array<VarSubmitConfig>;
|
7
8
|
export declare function transformVarSubmitDetails(varSubmitDetails?: Array<VarSubmitDetail> | null): Array<VarSubmitDetail>;
|
8
9
|
export declare function transformVarButtons(varButtons?: Array<VarButton> | null): Array<VarButton>;
|
9
|
-
export declare function transformVarConfigPossibilities(varConfigPossibilities
|
10
|
-
export declare function transformVarButtonConfig(varButtonConfig
|
10
|
+
export declare function transformVarConfigPossibilities(varConfigPossibilities: Array<VarConfigPossibility> | null | undefined): Array<VarConfigPossibility>;
|
11
|
+
export declare function transformVarButtonConfig(varButtonConfig: VarButtonConfig | null | undefined): VarButtonConfig | null;
|
11
12
|
/**
|
12
13
|
* 处理 VarGridDetail 数据.
|
13
14
|
*
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { ComputedRef, InjectionKey } from 'vue';
|
2
2
|
import { IKgButtonProps } from '../KgButton';
|
3
|
-
import {
|
3
|
+
import { IKgFormItemSlotControlParameter, IKgFormItemSlotControlRightParameter } from '../KgForm.Item/index.vm';
|
4
4
|
import { IKgSearchProps } from '../KgSearch';
|
5
5
|
import { KgSubmitProps } from '../KgSubmit';
|
6
6
|
import { IKgTableSlotParams } from '../KgTable';
|
@@ -15,13 +15,15 @@ export declare type IKgSlots = {
|
|
15
15
|
left?: () => any;
|
16
16
|
};
|
17
17
|
KgSubmit?: {
|
18
|
-
/**
|
18
|
+
/**
|
19
|
+
* 某个表单控件.
|
20
|
+
*/
|
19
21
|
'KgForm.Item.control'?: {
|
20
|
-
[variable: string]: (param:
|
22
|
+
[variable: string]: (param: IKgFormItemSlotControlParameter) => any;
|
21
23
|
};
|
22
24
|
/** 某个表单控件右侧. */
|
23
25
|
'KgForm.Item.controlRight'?: {
|
24
|
-
[variable: string]: (param:
|
26
|
+
[variable: string]: (param: IKgFormItemSlotControlRightParameter) => any;
|
25
27
|
};
|
26
28
|
};
|
27
29
|
KgTable?: {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { ExtractPropTypes } from 'vue';
|
2
2
|
export declare const getProps: () => any;
|
3
|
-
export declare type
|
3
|
+
export declare type KgVarConfigModalChildProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
|
4
4
|
declare const _default: import("vue").DefineComponent<any, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<any>, {} | {
|
5
5
|
[x: string]: any;
|
6
6
|
}>;
|
@@ -47,3 +47,4 @@ export declare const FORM_ID__SUBMIT__VAR_SUBMIT_DETAIL = "KgVarConfig.Modal.Sub
|
|
47
47
|
export declare const FORM_ID__SUBMIT__VAR_SUBMIT_CONFIG = "KgVarConfig.Modal.Submit.VarSubmitConfig";
|
48
48
|
export declare const FORM_ID__TABLE__VAR_GRID_MASTER = "KgVarConfig.Modal.Table.VarGridMaster";
|
49
49
|
export declare const FORM_ID__TABLE__VAR_GRID_CONFIG = "KgVarConfig.Modal.Table.VarGridConfig";
|
50
|
+
export declare const FORM_ID__CHILD = "KgVarConfig.Modal.Child";
|
@@ -165,6 +165,7 @@ declare const _default: {
|
|
165
165
|
pleaseSelectVariable: string;
|
166
166
|
required: string;
|
167
167
|
tabButton: string;
|
168
|
+
tabChild: string;
|
168
169
|
tabSearch: string;
|
169
170
|
tabSubmit: string;
|
170
171
|
tabTable: string;
|
@@ -182,6 +183,14 @@ declare const _default: {
|
|
182
183
|
VarButton: string;
|
183
184
|
VarButtonConfig: string;
|
184
185
|
};
|
186
|
+
KgVarConfigModalChild: {
|
187
|
+
childVarName: string;
|
188
|
+
childVarNameDuplicate: string;
|
189
|
+
childVarNameRequired: string;
|
190
|
+
parentVarName: string;
|
191
|
+
parentVarNameDuplicate: string;
|
192
|
+
parentVarNameRequired: string;
|
193
|
+
};
|
185
194
|
KgVarConfigModalSubmit: {
|
186
195
|
VarSubmitConfig: string;
|
187
196
|
VarSubmitDetail: string;
|
@@ -164,6 +164,7 @@ declare const _default: {
|
|
164
164
|
invalidPageSizeOptions: string;
|
165
165
|
pleaseSelectVariable: string;
|
166
166
|
tabButton: string;
|
167
|
+
tabChild: string;
|
167
168
|
tabSearch: string;
|
168
169
|
tabSubmit: string;
|
169
170
|
tabTable: string;
|
@@ -181,6 +182,14 @@ declare const _default: {
|
|
181
182
|
VarButton: string;
|
182
183
|
VarButtonConfig: string;
|
183
184
|
};
|
185
|
+
KgVarConfigModalChild: {
|
186
|
+
childVarName: string;
|
187
|
+
childVarNameDuplicate: string;
|
188
|
+
childVarNameRequired: string;
|
189
|
+
parentVarName: string;
|
190
|
+
parentVarNameDuplicate: string;
|
191
|
+
parentVarNameRequired: string;
|
192
|
+
};
|
184
193
|
KgVarConfigModalSubmit: {
|
185
194
|
VarSubmitConfig: string;
|
186
195
|
VarSubmitDetail: string;
|
@@ -0,0 +1,3 @@
|
|
1
|
+
import './KgPageDdaIndex.less';
|
2
|
+
declare const _default: import("vue").DefineComponent<{}, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
3
|
+
export default _default;
|
@@ -0,0 +1,2 @@
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
2
|
+
export default _default;
|
@@ -1,2 +1,10 @@
|
|
1
1
|
export * from './KgPageDda';
|
2
2
|
export { default as KgPageDda } from './KgPageDda';
|
3
|
+
export * from './KgPageDdaIndex';
|
4
|
+
export { default as KgPageDdaIndex } from './KgPageDdaIndex';
|
5
|
+
/**
|
6
|
+
* 路由.
|
7
|
+
*
|
8
|
+
* @param layout 布局组件.
|
9
|
+
*/
|
10
|
+
export declare function KG_ROUTES(layout: () => any): Array<any>;
|
@@ -62,4 +62,8 @@ declare class KgLogger {
|
|
62
62
|
*/
|
63
63
|
static debugDDA(formID: string | null | undefined, component: string | null | undefined, method: string | null | undefined, message: string | null | undefined, args?: Record<string, any>, collapsed?: boolean): void;
|
64
64
|
}
|
65
|
-
|
65
|
+
declare const ____DEBUG____: typeof KgLogger.debug;
|
66
|
+
declare const ____INFO_____: typeof KgLogger.info;
|
67
|
+
declare const ____WARN_____: typeof KgLogger.warn;
|
68
|
+
declare const ____ERROR____: typeof KgLogger.error;
|
69
|
+
export { KgLogger, ____DEBUG____, ____INFO_____, ____WARN_____, ____ERROR____ };
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@kengic/vue",
|
3
|
-
"version": "0.23.
|
3
|
+
"version": "0.23.11-beta.0",
|
4
4
|
"scripts": {
|
5
5
|
"build": "npm run switch-node-version && rimraf dist && vue-tsc && vite build",
|
6
6
|
"build:dev": "npm run switch-node-version && rimraf dist && vue-tsc && vite build --mode development",
|
@@ -1,16 +0,0 @@
|
|
1
|
-
import { IRequestConfig, IRequestOptions } from '../../../../services';
|
2
|
-
import * as DEF from '../../../def';
|
3
|
-
/** 请求参数. */
|
4
|
-
export declare class AddQuery {
|
5
|
-
}
|
6
|
-
/**
|
7
|
-
* 变量-添加
|
8
|
-
*
|
9
|
-
* @param config 请求配置.
|
10
|
-
* @param option 请求选项.
|
11
|
-
*/
|
12
|
-
export declare function Add(config?: IRequestConfig<AddQuery, DEF.WMS.VarVariable>, option?: IRequestOptions): Promise<string>;
|
13
|
-
export declare namespace Add {
|
14
|
-
var method: "POST";
|
15
|
-
var url: string;
|
16
|
-
}
|
@@ -1,18 +0,0 @@
|
|
1
|
-
import { IRequestConfig, IRequestOptions } from '../../../../services';
|
2
|
-
/** 请求参数. */
|
3
|
-
export declare class DeleteBatchQuery {
|
4
|
-
/** ids */
|
5
|
-
ids: string | null;
|
6
|
-
constructor(obj?: DeleteBatchQuery);
|
7
|
-
}
|
8
|
-
/**
|
9
|
-
* 变量-批量删除
|
10
|
-
*
|
11
|
-
* @param config 请求配置.
|
12
|
-
* @param option 请求选项.
|
13
|
-
*/
|
14
|
-
export declare function DeleteBatch(config?: IRequestConfig<DeleteBatchQuery, {}>, option?: IRequestOptions): Promise<string>;
|
15
|
-
export declare namespace DeleteBatch {
|
16
|
-
var method: "DELETE";
|
17
|
-
var url: string;
|
18
|
-
}
|
@@ -1,16 +0,0 @@
|
|
1
|
-
import { IRequestConfig, IRequestOptions } from '../../../../services';
|
2
|
-
import * as DEF from '../../../def';
|
3
|
-
/** 请求参数. */
|
4
|
-
export declare class EditQuery {
|
5
|
-
}
|
6
|
-
/**
|
7
|
-
* 变量-编辑
|
8
|
-
*
|
9
|
-
* @param config 请求配置.
|
10
|
-
* @param option 请求选项.
|
11
|
-
*/
|
12
|
-
export declare function Edit(config?: IRequestConfig<EditQuery, DEF.WMS.VarVariable>, option?: IRequestOptions): Promise<string>;
|
13
|
-
export declare namespace Edit {
|
14
|
-
var method: "POST";
|
15
|
-
var url: string;
|
16
|
-
}
|
@@ -1,24 +0,0 @@
|
|
1
|
-
import { IRequestConfig, IRequestOptions } from '../../../../services';
|
2
|
-
/** 请求参数. */
|
3
|
-
export declare class ExportXlsQuery {
|
4
|
-
/** 界面标识(FormID). */
|
5
|
-
frm_id?: string | null;
|
6
|
-
/** 分组(GroupName). */
|
7
|
-
grp_nam?: string | null;
|
8
|
-
/** 主键. */
|
9
|
-
id?: string | null;
|
10
|
-
/** 变量名称(VariableName). */
|
11
|
-
var_nam?: string | null;
|
12
|
-
constructor(obj?: ExportXlsQuery);
|
13
|
-
}
|
14
|
-
/**
|
15
|
-
* 变量-导出
|
16
|
-
*
|
17
|
-
* @param config 请求配置.
|
18
|
-
* @param option 请求选项.
|
19
|
-
*/
|
20
|
-
export declare function ExportXls(config?: IRequestConfig<ExportXlsQuery, {}>, option?: IRequestOptions): Promise<any>;
|
21
|
-
export declare namespace ExportXls {
|
22
|
-
var method: "GET";
|
23
|
-
var url: string;
|
24
|
-
}
|
@@ -1,15 +0,0 @@
|
|
1
|
-
import { IRequestConfig, IRequestOptions } from '../../../../services';
|
2
|
-
/** 请求参数. */
|
3
|
-
export declare class ImportExcelQuery {
|
4
|
-
}
|
5
|
-
/**
|
6
|
-
* 变量-导入
|
7
|
-
*
|
8
|
-
* @param config 请求配置.
|
9
|
-
* @param option 请求选项.
|
10
|
-
*/
|
11
|
-
export declare function ImportExcel(config?: IRequestConfig<ImportExcelQuery, {}>, option?: IRequestOptions): Promise<Record<any, any>>;
|
12
|
-
export declare namespace ImportExcel {
|
13
|
-
var method: "POST";
|
14
|
-
var url: string;
|
15
|
-
}
|
@@ -1,31 +0,0 @@
|
|
1
|
-
import { IRequestConfig, IRequestOptions } from '../../../../services';
|
2
|
-
import * as DEF from '../../../def';
|
3
|
-
/** 请求参数. */
|
4
|
-
export declare class ListQuery {
|
5
|
-
/** 界面标识(FormID). */
|
6
|
-
frm_id?: string | null;
|
7
|
-
/** 分组(GroupName). */
|
8
|
-
grp_nam?: string | null;
|
9
|
-
/** 变量名称(VariableName). */
|
10
|
-
var_nam?: string | null;
|
11
|
-
/** 排序字段. */
|
12
|
-
column?: string | null;
|
13
|
-
/** 排序方式. */
|
14
|
-
order?: 'asc' | 'desc' | null;
|
15
|
-
/** 当前页数. */
|
16
|
-
pageNo?: number | null;
|
17
|
-
/** 每页条数. */
|
18
|
-
pageSize?: number | null;
|
19
|
-
constructor(obj?: ListQuery);
|
20
|
-
}
|
21
|
-
/**
|
22
|
-
* 变量-分页列表查询
|
23
|
-
*
|
24
|
-
* @param config 请求配置.
|
25
|
-
* @param option 请求选项.
|
26
|
-
*/
|
27
|
-
export declare function List(config?: IRequestConfig<ListQuery, {}>, option?: IRequestOptions): Promise<DEF.WMS.IPage<DEF.WMS.VarVariable>>;
|
28
|
-
export declare namespace List {
|
29
|
-
var method: "GET";
|
30
|
-
var url: string;
|
31
|
-
}
|
@@ -1,19 +0,0 @@
|
|
1
|
-
import { IRequestConfig, IRequestOptions } from '../../../../services';
|
2
|
-
import * as DEF from '../../../def';
|
3
|
-
/** 请求参数. */
|
4
|
-
export declare class QueryByIdQuery {
|
5
|
-
/** id */
|
6
|
-
id: string | null;
|
7
|
-
constructor(obj?: QueryByIdQuery);
|
8
|
-
}
|
9
|
-
/**
|
10
|
-
* 变量-通过id查询
|
11
|
-
*
|
12
|
-
* @param config 请求配置.
|
13
|
-
* @param option 请求选项.
|
14
|
-
*/
|
15
|
-
export declare function QueryById(config?: IRequestConfig<QueryByIdQuery, {}>, option?: IRequestOptions): Promise<DEF.WMS.VarVariable>;
|
16
|
-
export declare namespace QueryById {
|
17
|
-
var method: "GET";
|
18
|
-
var url: string;
|
19
|
-
}
|