gzhr-ui 1.1.4 → 1.1.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.
@@ -51,6 +51,7 @@ declare const HrUI: {
51
51
  onTableSelectRemote?: ((...args: any[]) => any) | undefined;
52
52
  }>, {
53
53
  gridRef: import('vue').Ref<import('vxe-pc-ui').VxeGridInstance<any> | undefined, import('vxe-pc-ui').VxeGridInstance<any> | undefined>;
54
+ getFieldTotal: (data: any, field: any) => any;
54
55
  gridOptions: import('vue').ComputedRef<import('vxe-pc-ui').VxeGridProps<any>>;
55
56
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
56
57
  FilterSearch: (...args: any[]) => void;
@@ -111,6 +112,7 @@ declare const HrUI: {
111
112
  onTableSelectRemote?: ((...args: any[]) => any) | undefined;
112
113
  }>, {
113
114
  gridRef: import('vue').Ref<import('vxe-pc-ui').VxeGridInstance<any> | undefined, import('vxe-pc-ui').VxeGridInstance<any> | undefined>;
115
+ getFieldTotal: (data: any, field: any) => any;
114
116
  gridOptions: import('vue').ComputedRef<import('vxe-pc-ui').VxeGridProps<any>>;
115
117
  }, {}, {}, {}, {
116
118
  data: unknown[];
@@ -153,6 +155,7 @@ declare const HrUI: {
153
155
  onTableSelectRemote?: ((...args: any[]) => any) | undefined;
154
156
  }>, {
155
157
  gridRef: import('vue').Ref<import('vxe-pc-ui').VxeGridInstance<any> | undefined, import('vxe-pc-ui').VxeGridInstance<any> | undefined>;
158
+ getFieldTotal: (data: any, field: any) => any;
156
159
  gridOptions: import('vue').ComputedRef<import('vxe-pc-ui').VxeGridProps<any>>;
157
160
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
158
161
  FilterSearch: (...args: any[]) => void;
@@ -33,6 +33,7 @@ export declare const HrTable: {
33
33
  onTableSelectRemote?: ((...args: any[]) => any) | undefined;
34
34
  }>, {
35
35
  gridRef: import('vue').Ref<VxeUI.VxeGridInstance<any> | undefined, VxeUI.VxeGridInstance<any> | undefined>;
36
+ getFieldTotal: (data: any, field: any) => any;
36
37
  gridOptions: import('vue').ComputedRef<VxeUI.VxeGridProps<any>>;
37
38
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
38
39
  FilterSearch: (...args: any[]) => void;
@@ -93,6 +94,7 @@ export declare const HrTable: {
93
94
  onTableSelectRemote?: ((...args: any[]) => any) | undefined;
94
95
  }>, {
95
96
  gridRef: import('vue').Ref<VxeUI.VxeGridInstance<any> | undefined, VxeUI.VxeGridInstance<any> | undefined>;
97
+ getFieldTotal: (data: any, field: any) => any;
96
98
  gridOptions: import('vue').ComputedRef<VxeUI.VxeGridProps<any>>;
97
99
  }, {}, {}, {}, {
98
100
  data: unknown[];
@@ -135,6 +137,7 @@ export declare const HrTable: {
135
137
  onTableSelectRemote?: ((...args: any[]) => any) | undefined;
136
138
  }>, {
137
139
  gridRef: import('vue').Ref<VxeUI.VxeGridInstance<any> | undefined, VxeUI.VxeGridInstance<any> | undefined>;
140
+ getFieldTotal: (data: any, field: any) => any;
138
141
  gridOptions: import('vue').ComputedRef<VxeUI.VxeGridProps<any>>;
139
142
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
140
143
  FilterSearch: (...args: any[]) => void;
@@ -1,4 +1,6 @@
1
1
  import { VxeGridInstance, VxeGridProps } from 'vxe-table';
2
+ /** 获取表格数据对应列的合计数 */
3
+ declare function getFieldTotal(data: any, field: any): any;
2
4
  declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
3
5
  config: {
4
6
  type: ObjectConstructor;
@@ -17,6 +19,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
17
19
  };
18
20
  }>, {
19
21
  gridRef: import('vue').Ref<VxeGridInstance<any> | undefined, VxeGridInstance<any> | undefined>;
22
+ getFieldTotal: typeof getFieldTotal;
20
23
  gridOptions: import('vue').ComputedRef<VxeGridProps<any>>;
21
24
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
22
25
  FilterSearch: (...args: any[]) => void;