cnhis-design-vue 3.1.21-beta.10 → 3.1.21-beta.11
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.
|
@@ -722,10 +722,7 @@ declare const BigTable: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
722
722
|
handleCheckAll: () => void;
|
|
723
723
|
handleCancelAllCheck: () => void;
|
|
724
724
|
getRowClassName: (params: any) => any;
|
|
725
|
-
footerMethod: (
|
|
726
|
-
columns: any;
|
|
727
|
-
data: any;
|
|
728
|
-
}) => any[];
|
|
725
|
+
footerMethod: (payload: any) => any;
|
|
729
726
|
loadChildrenMethod: ({ row }: {
|
|
730
727
|
row: any;
|
|
731
728
|
}) => Promise<any>;
|
|
@@ -720,10 +720,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
720
720
|
handleCheckAll: () => void;
|
|
721
721
|
handleCancelAllCheck: () => void;
|
|
722
722
|
getRowClassName: (params: any) => any;
|
|
723
|
-
footerMethod: (
|
|
724
|
-
columns: any;
|
|
725
|
-
data: any;
|
|
726
|
-
}) => any[];
|
|
723
|
+
footerMethod: (payload: any) => any;
|
|
727
724
|
loadChildrenMethod: ({ row }: {
|
|
728
725
|
row: any;
|
|
729
726
|
}) => Promise<any>;
|
|
@@ -494,7 +494,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
494
494
|
} else {
|
|
495
495
|
col.slots.header = toolTipTitle(item);
|
|
496
496
|
}
|
|
497
|
-
if (!isScanMultiTable2) {
|
|
497
|
+
if (!isScanMultiTable2 && !isFunction(attr.footerMethod) && !isFunction(attr["footer-method"])) {
|
|
498
498
|
col.slots.footer = "tooltip_footer";
|
|
499
499
|
}
|
|
500
500
|
if (props.showNestTable && state.isTree == 0 && ((_g = props.curNestColumnConfig) == null ? void 0 : _g.isTree) == 0) {
|
|
@@ -1043,10 +1043,15 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1043
1043
|
};
|
|
1044
1044
|
return state.selectType === "checkbox" ? selectStyle() : null;
|
|
1045
1045
|
};
|
|
1046
|
-
const footerMethod = ({
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1046
|
+
const footerMethod = (payload) => {
|
|
1047
|
+
const {
|
|
1048
|
+
columns,
|
|
1049
|
+
data
|
|
1050
|
+
} = payload;
|
|
1051
|
+
if (isFunction(attr.footerMethod))
|
|
1052
|
+
return attr.spanMethod(footerMethod);
|
|
1053
|
+
if (isFunction(attr["footer-method"]))
|
|
1054
|
+
return attr["footer-method"](payload);
|
|
1050
1055
|
if (!props.groupCountFields || !props.groupCountFields.length) {
|
|
1051
1056
|
return [columns.map((column, index) => {
|
|
1052
1057
|
if (index === 0) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cnhis-design-vue",
|
|
3
|
-
"version": "3.1.21-beta.
|
|
3
|
+
"version": "3.1.21-beta.11",
|
|
4
4
|
"license": "ISC",
|
|
5
5
|
"module": "./es/components/index.js",
|
|
6
6
|
"main": "./es/components/index.js",
|
|
@@ -66,5 +66,5 @@
|
|
|
66
66
|
"iOS 7",
|
|
67
67
|
"last 3 iOS versions"
|
|
68
68
|
],
|
|
69
|
-
"gitHead": "
|
|
69
|
+
"gitHead": "79a10ccc3e78b46f18703b08ab2edecfe5bcbb48"
|
|
70
70
|
}
|