mooho-base-admin-plus 0.4.53 → 0.4.54
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.
|
@@ -30440,6 +30440,18 @@ const _sfc_main$J = {
|
|
|
30440
30440
|
for (let key in staticData) {
|
|
30441
30441
|
filter2[key] = staticData[key];
|
|
30442
30442
|
}
|
|
30443
|
+
if (this.tableView.sorting) {
|
|
30444
|
+
let obj = JSON.parse(this.tableView.sorting);
|
|
30445
|
+
let arr = [];
|
|
30446
|
+
for (let key in obj) {
|
|
30447
|
+
if (obj[key] === "desc") {
|
|
30448
|
+
arr.push("-" + key);
|
|
30449
|
+
} else {
|
|
30450
|
+
arr.push("+" + key);
|
|
30451
|
+
}
|
|
30452
|
+
}
|
|
30453
|
+
filter2.orderBy = arr.join(",");
|
|
30454
|
+
}
|
|
30443
30455
|
if (this.tableView.isGroupBy) {
|
|
30444
30456
|
filter2.isGroupBy = true;
|
|
30445
30457
|
filter2.groupColumn = JSON.parse(this.tableView.groupColumn);
|