doway-coms 1.6.3 → 1.6.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.
package/package.json
CHANGED
|
@@ -65,6 +65,7 @@
|
|
|
65
65
|
:height="'auto'"
|
|
66
66
|
:show-footer="showFooter"
|
|
67
67
|
@scroll="bodyScroll"
|
|
68
|
+
:row-class-name="gridRowStyle"
|
|
68
69
|
>
|
|
69
70
|
<template v-for="item in internalColumns" #[item.field]>
|
|
70
71
|
<div :key="item.field">
|
|
@@ -286,6 +287,7 @@
|
|
|
286
287
|
v-if="pager.size"
|
|
287
288
|
:totalRows="pager.totalRows"
|
|
288
289
|
:pageSize="pager.size"
|
|
290
|
+
:pageSizeOptions="pager.sizeOptions"
|
|
289
291
|
:currentPage="pager.current"
|
|
290
292
|
@pageChange="pageChange"
|
|
291
293
|
@pageSizeChange="pageSizeChange"
|
|
@@ -861,6 +863,10 @@ export default {
|
|
|
861
863
|
|
|
862
864
|
created() {
|
|
863
865
|
|
|
866
|
+
this.pager.sizeOptions = XEUtils.map(this.pager.sizeOptions, item => {
|
|
867
|
+
return Number(item)
|
|
868
|
+
})
|
|
869
|
+
|
|
864
870
|
//拖动后输入框有错位问题,暂时不启用
|
|
865
871
|
// this.initColumnDrop()
|
|
866
872
|
|
|
@@ -2273,7 +2279,11 @@ export default {
|
|
|
2273
2279
|
let row = fullData.find((x) => x.id == id);
|
|
2274
2280
|
this.$refs.baseGrid.setCurrentRow(row);
|
|
2275
2281
|
},
|
|
2276
|
-
gridRowStyle(scope) {
|
|
2282
|
+
gridRowStyle(scope) {
|
|
2283
|
+
if (scope.row.sysRepeat === true) {
|
|
2284
|
+
return "row--pending";
|
|
2285
|
+
}
|
|
2286
|
+
},
|
|
2277
2287
|
bodyScroll(scrollInfo) {
|
|
2278
2288
|
this.$emit("scroll", scrollInfo);
|
|
2279
2289
|
// if (scrollInfo.isX === true) {
|