@kengic/vue 0.23.10 → 0.23.11-beta.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (28) hide show
  1. package/CHANGELOG.md +2 -0
  2. package/dist/index.css +1 -1
  3. package/dist/kengic-vue.js +5495 -4475
  4. package/dist/src/apis/WMS/Controllers/VarVariableController/Delete.d.ts +4 -6
  5. package/dist/src/apis/WMS/Controllers/VarVariableController/index.d.ts +0 -7
  6. package/dist/src/apis/WMS/models.d.ts +20 -2
  7. package/dist/src/components/KgForm/index.store.d.ts +2 -0
  8. package/dist/src/components/KgForm.Item/index.vm.d.ts +18 -8
  9. package/dist/src/components/KgSubmit/index.store.d.ts +8 -5
  10. package/dist/src/components/KgVar/index.hooks.d.ts +2 -0
  11. package/dist/src/components/KgVar/index.store.d.ts +5 -1
  12. package/dist/src/components/KgVar/index.store.service.d.ts +6 -5
  13. package/dist/src/components/KgVar/index.vm.d.ts +6 -4
  14. package/dist/src/{pages/KgPageDda/components/KgPageDda.Create.Child.d.ts → components/KgVarConfig/components/child/KgVarConfig.Modal.Child.d.ts} +1 -1
  15. package/dist/src/components/KgVarConfig/index.vm.d.ts +1 -0
  16. package/dist/src/consts/i18n/en.d.ts +9 -0
  17. package/dist/src/consts/i18n/zh_CN.d.ts +9 -0
  18. package/dist/src/pages/KgVarContainer/KgVarContainer.d.ts +4 -0
  19. package/dist/src/pages/KgVarContainer/index.d.ts +1 -0
  20. package/dist/src/pages/index.d.ts +7 -0
  21. package/package.json +1 -1
  22. package/dist/src/apis/WMS/Controllers/VarVariableController/Add.d.ts +0 -16
  23. package/dist/src/apis/WMS/Controllers/VarVariableController/DeleteBatch.d.ts +0 -18
  24. package/dist/src/apis/WMS/Controllers/VarVariableController/Edit.d.ts +0 -16
  25. package/dist/src/apis/WMS/Controllers/VarVariableController/ExportXls.d.ts +0 -24
  26. package/dist/src/apis/WMS/Controllers/VarVariableController/ImportExcel.d.ts +0 -15
  27. package/dist/src/apis/WMS/Controllers/VarVariableController/List.d.ts +0 -31
  28. 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
- * 变量-通过id删除
7
+ * 删除变量.
10
8
  *
11
9
  * @param config 请求配置.
12
10
  * @param option 请求选项.
13
11
  */
14
- export declare function Delete(config?: IRequestConfig<DeleteQuery, {}>, option?: IRequestOptions): Promise<string>;
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: "DELETE";
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
  /** 变量配置:变量翻译. */
@@ -555,6 +573,8 @@ export declare class VarDTO {
555
573
  varConfigPossibilities?: Array<VarConfigPossibility> | null;
556
574
  /** 变量配置:提示文本. */
557
575
  varConfigTips?: Array<VarConfigTip> | null;
576
+ /** DDA. */
577
+ varDda?: VarDda | null;
558
578
  /** 表格配置. */
559
579
  varGridConfig?: VarGridConfig | null;
560
580
  /** 表格视图列表. */
@@ -789,8 +809,6 @@ export declare class VarProfileMasterDTO {
789
809
  id?: string | null;
790
810
  /** 视图名称变量. */
791
811
  prf_var_nam?: string | null;
792
- /** 视图名称翻译. */
793
- prf_var_nam_dsc?: string | null;
794
812
  /** 用户(UserID). */
795
813
  usr_id?: string | null;
796
814
  /** 查询条件明细列表. */
@@ -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
- /** 插槽 control 的参数. */
90
- export declare type IKgFormItemSlotControlParam = {
89
+ /**
90
+ * 插槽参数: control.
91
+ */
92
+ export declare type IKgFormItemSlotControlParameter = {
93
+ /** @deprecated */
91
94
  frm_id: string;
92
- varName: string;
93
- props: ComputedRef<KgFormItemProps>;
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
- /** 插槽 controlRight 的参数. */
100
- export declare type IKgFormItemSlotControlRightParam = {
104
+ /**
105
+ * 插槽参数: controlRight.
106
+ */
107
+ export declare type IKgFormItemSlotControlRightParameter = {
108
+ /** @deprecated */
101
109
  frm_id: string;
102
- varName: string;
103
- props: ComputedRef<KgFormItemProps>;
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>请求参数.</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;
@@ -120,6 +120,8 @@ export declare type IUseKgVar = {
120
120
  varButtonCreate: ComputedRef<ReturnType<IKgVarStore['getVarButtonCreate']>>;
121
121
  varButtonDelete: ComputedRef<ReturnType<IKgVarStore['getVarButtonDelete']>>;
122
122
  varButtonUpdate: ComputedRef<ReturnType<IKgVarStore['getVarButtonUpdate']>>;
123
+ varChildDetails: ComputedRef<ReturnType<IKgVarStore['getVarChildDetails']>>;
124
+ varDda: ComputedRef<ReturnType<IKgVarStore['getVarDda']>>;
123
125
  varGridConfig: ComputedRef<ReturnType<IKgVarStore['getVarGridConfig']>>;
124
126
  /** 所有的 VarGridMaster 列表. */
125
127
  varGridMasters: ComputedRef<ReturnType<IKgVarStore['getVarGridMasters']>>;
@@ -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, VarDda, 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,12 +38,14 @@ 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>>;
44
45
  varConfigLookupMap: Map<string, Array<VarConfigLookup>>;
45
46
  varConfigPossibilityMap: Map<string, Array<VarConfigPossibility>>;
46
47
  varConfigTipMap: Map<string, Array<VarConfigTip>>;
48
+ varDdaMap: Map<string, VarDda | null>;
47
49
  varGridConfigMap: Map<string, VarGridConfig | null>;
48
50
  varGridMasterMap: Map<string, {
49
51
  varGridMasters: Array<VarGridMasterDTO> | null;
@@ -102,6 +104,7 @@ export interface IUseKgVarStoreGetters {
102
104
  getVarButtonCreate(): (formID: string | null | undefined) => VarButton | null;
103
105
  getVarButtonDelete(): (formID: string | null | undefined) => VarButton | null;
104
106
  getVarButtonUpdate(): (formID: string | null | undefined) => VarButton | null;
107
+ getVarChildDetails(): (formID: string | null | undefined) => Array<VarChildDetail>;
105
108
  getVarConfigControl(): (formID: string | null | undefined, param: {
106
109
  buttonType?: KG__VAR_BUTTON__TYPE;
107
110
  buttonVarName?: string | null;
@@ -111,6 +114,7 @@ export interface IUseKgVarStoreGetters {
111
114
  getVarConfigLookup(): (formID: string | null | undefined, varName: string | null | undefined) => VarConfigLookup | null;
112
115
  getVarConfigPossibility(): (formID: string | null | undefined, varName: string | null | undefined) => VarConfigPossibility | null;
113
116
  getVarConfigTip(): (formID: string | null | undefined, varName: string | null | undefined) => VarConfigTip | null;
117
+ getVarDda(): (formID: string | null | undefined) => VarDda | null;
114
118
  /**
115
119
  * 获取'表格配置'.
116
120
  */
@@ -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?: VarProfileConfig | null): VarProfileConfig | null;
3
- export declare function transformVarGridConfig(varGridConfig?: VarGridConfig | null): VarGridConfig | null;
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?: Array<VarConfigPossibility> | null): Array<VarConfigPossibility>;
10
- export declare function transformVarButtonConfig(varButtonConfig?: VarButtonConfig | null): VarButtonConfig | null;
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 { IKgFormItemSlotControlParam, IKgFormItemSlotControlRightParam } from '../KgForm.Item/index.vm';
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: IKgFormItemSlotControlParam) => any;
22
+ [variable: string]: (param: IKgFormItemSlotControlParameter) => any;
21
23
  };
22
24
  /** 某个表单控件右侧. */
23
25
  'KgForm.Item.controlRight'?: {
24
- [variable: string]: (param: IKgFormItemSlotControlRightParam) => any;
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 IKgPageDdaCreate06Props = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
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,4 @@
1
+ import './KgVarContainer.less';
2
+ export declare function KgVarContainer(param: {
3
+ formID: string | null | undefined;
4
+ }): import("vue").DefineComponent<{}, () => null, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}> | 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<{}>>, {}>;
@@ -0,0 +1 @@
1
+ export { KgVarContainer } from './KgVarContainer';
@@ -1,2 +1,9 @@
1
1
  export * from './KgPageDda';
2
2
  export { default as KgPageDda } from './KgPageDda';
3
+ export * from './KgVarContainer';
4
+ /**
5
+ * 路由.
6
+ *
7
+ * @param layout 布局组件.
8
+ */
9
+ export declare function KG_ROUTES(layout: () => any): Array<any>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kengic/vue",
3
- "version": "0.23.10",
3
+ "version": "0.23.11-beta.1",
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
- }