cloud-web-corejs 1.0.54-dev.591 → 1.0.54-dev.592
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
|
@@ -114,6 +114,19 @@ export default {
|
|
|
114
114
|
onCellDblclick: (param) => {
|
|
115
115
|
this.checkWithSubmit(param);
|
|
116
116
|
},
|
|
117
|
+
callback: () => {
|
|
118
|
+
if (this.checkRows.length) {
|
|
119
|
+
let $grid = this.getGrid();
|
|
120
|
+
let datas = $grid.getTableData().tableData;
|
|
121
|
+
let fieldKey = this.fieldKey;
|
|
122
|
+
this.checkRows.forEach((checkRow) => {
|
|
123
|
+
let row = datas.find((row) => row[fieldKey] == checkRow[fieldKey]);
|
|
124
|
+
if (row) {
|
|
125
|
+
$grid.setCheckboxRow(row, true);
|
|
126
|
+
}
|
|
127
|
+
});
|
|
128
|
+
}
|
|
129
|
+
},
|
|
117
130
|
otherConfig: {
|
|
118
131
|
onFilter: () => {
|
|
119
132
|
this.checkRows = [];
|
|
@@ -518,7 +531,9 @@ export default {
|
|
|
518
531
|
}
|
|
519
532
|
}
|
|
520
533
|
}
|
|
521
|
-
::v-deep .labMargin .tree-container{
|
|
534
|
+
::v-deep .labMargin .tree-container {
|
|
535
|
+
display: flex;
|
|
536
|
+
}
|
|
522
537
|
/* ::v-deep .tree-container #labBtn {
|
|
523
538
|
background-color: #f4f6fa;
|
|
524
539
|
position: relative;
|