mooho-base-admin-plus 2.5.27 → 2.5.28

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
@@ -121,3 +121,4 @@ mooho-base-admin-plus@2.5.24 - 增加批量审批功能
121
121
  mooho-base-admin-plus@2.5.25 - 弹出表单组件增加getFullDataWithoutValidate方法
122
122
  mooho-base-admin-plus@2.5.26 - 修复上一版本的bug
123
123
  mooho-base-admin-plus@2.5.27 - 修复升级后出现的警告
124
+ mooho-base-admin-plus@2.5.28 - form增加tables属性
@@ -37158,6 +37158,9 @@ const modalFormSort = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["render", _sfc_
37158
37158
  },
37159
37159
  columns() {
37160
37160
  return this.$refs.form.columns;
37161
+ },
37162
+ tables() {
37163
+ return this.$refs.form.tables;
37161
37164
  }
37162
37165
  },
37163
37166
  methods: {
@@ -39330,7 +39333,14 @@ const tableSetting = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["render", _sfc_r
39330
39333
  default: !0
39331
39334
  }
39332
39335
  },
39333
- computed: {},
39336
+ computed: {
39337
+ tables() {
39338
+ let r = {};
39339
+ for (let a of this.columns)
39340
+ a.controlType == "Table" && !a.isReadonly && a.isShow && (r[a.code] = this.$refs["table_" + a.code][0]);
39341
+ return r;
39342
+ }
39343
+ },
39334
39344
  watch: {
39335
39345
  data() {
39336
39346
  this.data && Object.keys(this.data).length > 0 && this.columns.forEach(async (r) => {