bri-components 1.3.62 → 1.3.64
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
|
@@ -138,12 +138,12 @@
|
|
|
138
138
|
this.$https({
|
|
139
139
|
url: {
|
|
140
140
|
module: "sheet",
|
|
141
|
-
name: "
|
|
141
|
+
name: "customFilter"
|
|
142
142
|
},
|
|
143
143
|
params: this.listParams,
|
|
144
144
|
loadingName: "listPropsObj.isLoading",
|
|
145
145
|
callback: data => {
|
|
146
|
-
this.listData = data.list;
|
|
146
|
+
this.listData = data.list.slice(0, 50);
|
|
147
147
|
this.curDataItem = this.listData[0];
|
|
148
148
|
}
|
|
149
149
|
});
|
|
@@ -73,7 +73,13 @@ export default {
|
|
|
73
73
|
...(this.useSelection === true ? [this.selectionColumn] : []),
|
|
74
74
|
...(this.useIndex === true ? [this.indexColumn] : []),
|
|
75
75
|
...this.$transformToColumns(this.contentColumns),
|
|
76
|
-
...(
|
|
76
|
+
...(
|
|
77
|
+
this.isSearching
|
|
78
|
+
? []
|
|
79
|
+
: this.$getOperationList(["canDelete"]).length
|
|
80
|
+
? [this.operationColumn]
|
|
81
|
+
: []
|
|
82
|
+
)
|
|
77
83
|
];
|
|
78
84
|
},
|
|
79
85
|
indexColumn () {
|
|
@@ -104,11 +104,13 @@ export default {
|
|
|
104
104
|
this.expandColumn,
|
|
105
105
|
...(this.useIndex === true ? [this.indexColumn] : []),
|
|
106
106
|
...this.$transformToColumns(this.contentColumns),
|
|
107
|
-
...(
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
107
|
+
...(
|
|
108
|
+
this.isSearching
|
|
109
|
+
? []
|
|
110
|
+
: this.$getOperationList(["canDelete"]).length
|
|
111
|
+
? [this.operationColumn]
|
|
112
|
+
: []
|
|
113
|
+
)
|
|
112
114
|
];
|
|
113
115
|
},
|
|
114
116
|
expandColumn () {
|
|
@@ -313,14 +313,16 @@ export default {
|
|
|
313
313
|
return this.selfPropsObj._searchLabelWidth;
|
|
314
314
|
},
|
|
315
315
|
rowsNum () {
|
|
316
|
-
return this.
|
|
316
|
+
return this.isSearching
|
|
317
|
+
? this.showListData.length
|
|
318
|
+
: this.allListData.length;
|
|
317
319
|
},
|
|
318
320
|
rowsNumStr () {
|
|
319
321
|
return `当前“${this.isSearching ? "筛选" : "全部"}”范围, 共 ${this.rowsNum} 行`;
|
|
320
322
|
},
|
|
321
323
|
|
|
322
|
-
|
|
323
|
-
console.log("
|
|
324
|
+
renderedListData () {
|
|
325
|
+
console.log("renderedListData");
|
|
324
326
|
return this.allListData.filter(row => {
|
|
325
327
|
if (this.isSearching) {
|
|
326
328
|
const bool = this.$isAdvRelyAccord(this.finalTableAdvSearch, row);
|
|
@@ -331,21 +333,17 @@ export default {
|
|
|
331
333
|
row.__isRendered__ = true;
|
|
332
334
|
row.__isSearchShow__ = true;
|
|
333
335
|
}
|
|
334
|
-
|
|
335
|
-
return bool;
|
|
336
|
-
} else {
|
|
337
|
-
return true;
|
|
338
336
|
}
|
|
337
|
+
|
|
338
|
+
return row.__isRendered__;
|
|
339
339
|
});
|
|
340
340
|
},
|
|
341
|
-
|
|
342
|
-
console.log("
|
|
343
|
-
return this.
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
: false
|
|
348
|
-
)
|
|
341
|
+
showListData () {
|
|
342
|
+
console.log("showListData");
|
|
343
|
+
return this.renderedListData.filter(row =>
|
|
344
|
+
this.isSearching
|
|
345
|
+
? !!row.__isSearchShow__
|
|
346
|
+
: !!row.__isShow__
|
|
349
347
|
);
|
|
350
348
|
},
|
|
351
349
|
parentDataId () {
|
|
@@ -768,7 +766,8 @@ export default {
|
|
|
768
766
|
params: {
|
|
769
767
|
screenKey: this.screenKey,
|
|
770
768
|
_id: this.parentObj._id,
|
|
771
|
-
_key: this.controlKey
|
|
769
|
+
_key: this.controlKey,
|
|
770
|
+
advSearch: this.finalTableAdvSearch
|
|
772
771
|
},
|
|
773
772
|
callback: data => {
|
|
774
773
|
this.getJobStatus(operationItem, data.jobId, data.excel_url);
|