mooho-base-admin-plus 2.10.84 → 2.10.86

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/history.md CHANGED
@@ -255,3 +255,5 @@ mooho-base-admin-plus@2.10.81 - 优化弹出选择控件
255
255
  mooho-base-admin-plus@2.10.82 - 优化弹出选择控件
256
256
  mooho-base-admin-plus@2.10.83 - 修复上一版本的bug
257
257
  mooho-base-admin-plus@2.10.84 - 修复上一版本的bug
258
+ mooho-base-admin-plus@2.10.85 - 修复内嵌表格在打开新页面时无法更新筛选条件的bug
259
+ mooho-base-admin-plus@2.10.86 - 修复弹出选择框的bug
@@ -30431,7 +30431,10 @@ const comboSelect = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["render", _sfc_re
30431
30431
  page: 1,
30432
30432
  per: 999
30433
30433
  };
30434
- a[this.sourceDataCode] = JSON.parse(this.modelValue).join(","), this.loadDataView(this.source).then(async (r) => {
30434
+ a[this.sourceDataCode] = JSON.parse(this.modelValue).join(",");
30435
+ for (let r in this.param)
30436
+ a[r] = this.param[r];
30437
+ this.loadDataView(this.source).then(async (r) => {
30435
30438
  if (r.dataView.isCustom) {
30436
30439
  let o = await customModelApi.query(r.dataView.model, a, [this.sourceDataCode, this.sourceDisplayCode]);
30437
30440
  o.data.length > 0 && (this.selected = o.data.map((s) => this.parseData(s, this.sourceDisplayCode)).join(","), this.selectedData = o.data);
@@ -30467,7 +30470,10 @@ const comboSelect = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["render", _sfc_re
30467
30470
  page: 1,
30468
30471
  per: 1
30469
30472
  };
30470
- a[this.sourceDataCode] = this.modelValue, this.loadDataView(this.source).then(async (r) => {
30473
+ a[this.sourceDataCode] = this.modelValue;
30474
+ for (let r in this.param)
30475
+ a[r] = this.param[r];
30476
+ this.loadDataView(this.source).then(async (r) => {
30471
30477
  if (r.dataView.isCustom) {
30472
30478
  let o = await customModelApi.query(r.dataView.model, a);
30473
30479
  o.data.length > 0 && (this.selected = this.parseData(o.data[0], this.sourceDisplayCode), this.selectedData = o.data[0]);
@@ -42347,6 +42353,7 @@ const tableSetting = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["render", _sfc_r
42347
42353
  let o, s = {}, l = this.$refs["table_" + r.code][0].tableView, c = l.filtering;
42348
42354
  (c || "").trim() && (s = JSON.parse(c)), s[r.sourceDataCode] = this.data.id, r.isSourceCustom ? o = await customModelApi.query(r.sourceModel, s, null, l.isReturnSimple ? l : null) : o = await modelApi.query(r.sourceModel, s, null, l.isReturnSimple ? l : null, l.functionName, l.functionType), this.$refs["table_" + r.code][0].loadData(o.data);
42349
42355
  }
42356
+ this.$refs["table_" + r.code][0].$refs.tableFilter.onDataChange();
42350
42357
  });
42351
42358
  }
42352
42359
  // // 打印