mooho-base-admin-plus 0.4.53 → 0.4.55

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);
@@ -30564,7 +30576,7 @@ const _sfc_main$J = {
30564
30576
  });
30565
30577
  return {
30566
30578
  type: "pie",
30567
- radius: (this.setting.itemWidth == null ? 70 : this.setting.itemWidth) + 100 / count2,
30579
+ radius: (this.setting.chartItemWidth == null ? 70 : this.setting.chartItemWidth) / count2,
30568
30580
  center: [100 / (count2 + 1) * (index2 + 1) + "%", "50%"],
30569
30581
  datasetIndex: index2,
30570
30582
  data: Object.keys(keyData).map((key) => {
@@ -30618,7 +30630,7 @@ const _sfc_main$J = {
30618
30630
  option2.series = chartSeries.map((item, index2) => {
30619
30631
  return {
30620
30632
  type: "pie",
30621
- radius: (this.setting.itemWidth == null ? 70 : this.setting.itemWidth) + 100 / count2,
30633
+ radius: (this.setting.chartItemWidth == null ? 70 : this.setting.chartItemWidth) + 100 / count2,
30622
30634
  center: [100 / (count2 + 1) * (index2 + 1) + "%", "50%"],
30623
30635
  datasetIndex: index2,
30624
30636
  data: this.data.map((data3) => {