doway-coms 1.6.46 → 1.6.47
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.
package/package.json
CHANGED
|
@@ -63,6 +63,7 @@
|
|
|
63
63
|
:columns="internalColumns"
|
|
64
64
|
class="base-grid-view"
|
|
65
65
|
:height="'auto'"
|
|
66
|
+
:maxHeight="expandHeight"
|
|
66
67
|
:show-footer="showFooter"
|
|
67
68
|
@scroll="bodyScroll"
|
|
68
69
|
:row-class-name="gridRowStyle"
|
|
@@ -760,6 +761,11 @@ export default {
|
|
|
760
761
|
height: {
|
|
761
762
|
default: null,
|
|
762
763
|
},
|
|
764
|
+
// 当前展开行最大高度
|
|
765
|
+
expandHeight: {
|
|
766
|
+
type: String,
|
|
767
|
+
default: undefined,
|
|
768
|
+
},
|
|
763
769
|
pager: {
|
|
764
770
|
type: Object,
|
|
765
771
|
default: () => {
|
|
@@ -941,27 +947,7 @@ export default {
|
|
|
941
947
|
}
|
|
942
948
|
this.gridEdit = this.edit;
|
|
943
949
|
},
|
|
944
|
-
|
|
945
|
-
mounted() {
|
|
946
|
-
// this.toggleFixedColumn('operation','right')
|
|
947
|
-
//设置默认筛选的到表格
|
|
948
|
-
// let filterCol = this.internalColumns.filter(
|
|
949
|
-
// x =>
|
|
950
|
-
// (x.filters && x.filters.length > 0) ||
|
|
951
|
-
// (x.children &&
|
|
952
|
-
// x.children.length > 0 &&
|
|
953
|
-
// x.children[0].filters &&
|
|
954
|
-
// x.children[0].filters.length > 0)
|
|
955
|
-
// )
|
|
956
|
-
// for (let i = 0; i < filterCol.length; i++) {
|
|
957
|
-
// this.$refs.baseGrid
|
|
958
|
-
// .setFilter(filterCol[i].field, filterCol[i].filters)
|
|
959
|
-
// .then(() => {
|
|
960
|
-
// // if (i == filterCol.length - 1) {
|
|
961
|
-
// // }
|
|
962
|
-
// })
|
|
963
|
-
// }
|
|
964
|
-
},
|
|
950
|
+
mounted() {},
|
|
965
951
|
methods: {
|
|
966
952
|
exportDataEvent () {
|
|
967
953
|
this.$refs.baseGrid.exportData({ type: 'csv' })
|