doway-coms 1.6.3 → 1.6.4

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "doway-coms",
3
- "version": "1.6.3",
3
+ "version": "1.6.4",
4
4
  "description": "doway组件库",
5
5
  "author": "dowaysoft",
6
6
  "main": "packages/index.js",
@@ -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">
@@ -2273,7 +2274,11 @@ export default {
2273
2274
  let row = fullData.find((x) => x.id == id);
2274
2275
  this.$refs.baseGrid.setCurrentRow(row);
2275
2276
  },
2276
- gridRowStyle(scope) {},
2277
+ gridRowStyle(scope) {
2278
+ if (scope.row.sysRepeat === true) {
2279
+ return "row--pending";
2280
+ }
2281
+ },
2277
2282
  bodyScroll(scrollInfo) {
2278
2283
  this.$emit("scroll", scrollInfo);
2279
2284
  // if (scrollInfo.isX === true) {
@@ -429,7 +429,7 @@ export default {
429
429
  this.columns[i]["type"] = "checkbox";
430
430
  }
431
431
  // 设置字段的过滤插槽
432
- if(this.columns[i].fieldFilter) {
432
+ if(this.columns[i].filter) {
433
433
  this.columns[i]["filterMultiple"] = false;
434
434
  this.columns[i]['filters'] = [
435
435
  {