mooho-base-admin-plus 2.10.89 → 2.10.90
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
|
@@ -59,7 +59,8 @@
|
|
|
59
59
|
:load-data-enable="loadDataEnable"
|
|
60
60
|
:row-class-name="rowClassName"
|
|
61
61
|
:highlight-row="highlightRow"
|
|
62
|
-
:
|
|
62
|
+
:return-columns="returnColumns"
|
|
63
|
+
:disable-static-filter="disableStaticFilter"
|
|
63
64
|
@create="create"
|
|
64
65
|
@edit="edit"
|
|
65
66
|
@show="show"
|
|
@@ -374,6 +375,13 @@
|
|
|
374
375
|
*/
|
|
375
376
|
returnColumns: {
|
|
376
377
|
type: Array
|
|
378
|
+
},
|
|
379
|
+
/**
|
|
380
|
+
* 禁用静态筛选
|
|
381
|
+
*/
|
|
382
|
+
disableStaticFilter: {
|
|
383
|
+
type: Boolean,
|
|
384
|
+
default: false
|
|
377
385
|
}
|
|
378
386
|
},
|
|
379
387
|
computed: {
|
|
@@ -1011,6 +1011,13 @@
|
|
|
1011
1011
|
*/
|
|
1012
1012
|
returnColumns: {
|
|
1013
1013
|
type: Array
|
|
1014
|
+
},
|
|
1015
|
+
/**
|
|
1016
|
+
* 禁用静态筛选
|
|
1017
|
+
*/
|
|
1018
|
+
disableStaticFilter: {
|
|
1019
|
+
type: Boolean,
|
|
1020
|
+
default: false
|
|
1014
1021
|
}
|
|
1015
1022
|
},
|
|
1016
1023
|
computed: {
|
|
@@ -1328,7 +1335,11 @@
|
|
|
1328
1335
|
|
|
1329
1336
|
if (this.static) {
|
|
1330
1337
|
// 筛选和排序
|
|
1331
|
-
let data = this.
|
|
1338
|
+
let data = this.staticData;
|
|
1339
|
+
|
|
1340
|
+
if (!this.disableStaticFilter) {
|
|
1341
|
+
data = this.getFilterResult();
|
|
1342
|
+
}
|
|
1332
1343
|
|
|
1333
1344
|
this.total = data.length;
|
|
1334
1345
|
|