bri-components 1.4.10 → 1.4.12

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.
@@ -102,7 +102,7 @@ export default {
102
102
  showImportModal: false,
103
103
  exportTimer: null,
104
104
  isEnlarge: false,
105
- isEnlargeFlag: true, // 为重渲染膜态框内容而用
105
+ isEnlargeFlag: false, // 为重渲染膜态框内容而用
106
106
 
107
107
  baseOperationMap: {
108
108
  canCreate: {
@@ -565,6 +565,12 @@ export default {
565
565
  }
566
566
  };
567
567
  },
568
+ tableInModalPropsObj () {
569
+ return {
570
+ ...this.tablePropsObj,
571
+ maxHeight: undefined
572
+ };
573
+ },
568
574
 
569
575
  hideColKeys () {
570
576
  return this.selfPropsObj._hideColKeys;
@@ -712,6 +718,7 @@ export default {
712
718
  isEnlarge (bool) {
713
719
  setTimeout(() => {
714
720
  this.isEnlargeFlag = bool;
721
+ this.dealingOpenModal && this.dealingOpenModal();
715
722
  }, 0);
716
723
  }
717
724
  },
@@ -1050,7 +1057,7 @@ export default {
1050
1057
  e.stopPropagation();
1051
1058
  }
1052
1059
  }
1053
- });
1060
+ });
1054
1061
  },
1055
1062
  topSearchRender (h) {
1056
1063
  return this.searchFormList.length
@@ -1340,7 +1347,7 @@ export default {
1340
1347
  getRowDelBtnCanEdit (row, rowIndex) {
1341
1348
  return row.__readonly__ !== true && // 不能为只读数据
1342
1349
  (this.disabledDeleteDftRow ? row.__isDefault__ !== true : true) && // 默认数据可删除
1343
- (this.disabledDeleteOldRow ? row.__old__ !== true : true); // 老数据可删除
1350
+ (this.disabledDeleteOldRow ? row.__old__ !== true : true); // 老数据可删除
1344
1351
  },
1345
1352
  // 行内容是否可编辑
1346
1353
  getRowCanEdit (row, rowIndex) {
@@ -1592,11 +1599,9 @@ export default {
1592
1599
  ? compareRow[curColKey].length === row[curColKey].length && compareRow[curColKey].every((item, index) => item._key === row[curColKey][index]._key)
1593
1600
  : compareRow[curColKey] === row[curColKey];
1594
1601
  },
1595
- // 行id+列key组成键
1596
- getMixKey (row, column, useDsh = true) {
1597
- return useDsh
1598
- ? `${row._id}dsh${column._key}`
1599
- : `${row._id}${column._key}`;
1602
+ // 行id + 分隔符 + 列key 组成键
1603
+ getMixKey (row, column, splitStr = "--") {
1604
+ return `${row._id}${splitStr}${column._key}`;
1600
1605
  }
1601
1606
  }
1602
1607
  };