mooho-base-admin-plus 2.5.10 → 2.5.12

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
@@ -104,3 +104,5 @@ mooho-base-admin-plus@2.5.7 - 解决序号来不及加载的问题
104
104
  mooho-base-admin-plus@2.5.8 - 表格只读时禁止选择
105
105
  mooho-base-admin-plus@2.5.9 - 表格增加highlightRow属性和on-current-change事件
106
106
  mooho-base-admin-plus@2.5.10 - 增加系统管理子功能权限判定
107
+ mooho-base-admin-plus@2.5.11 - 修复申请类别编辑的bug
108
+ mooho-base-admin-plus@2.5.12 - 表单组件增加getFullDataWithoutValidate方法
@@ -18152,10 +18152,6 @@ const columnCheck = /* @__PURE__ */ _export_sfc(_sfc_main$1n, [["render", _sfc_r
18152
18152
  async save() {
18153
18153
  await this.$refs.form.validate() ? this.confirm("Front_Msg_Sure_To_Save", async () => {
18154
18154
  let a = this.$refs.form.getFullData();
18155
- if (!(a.formViewCode || "").trim() && !(a.routerPath || "").trim()) {
18156
- this.error("Front_Msg_Form_View_Router_Path_Required");
18157
- return;
18158
- }
18159
18155
  a.processProperty = JSON.stringify(this.$refs.propertyTable.data), a.id ? await modelApi.update("ApplicationType", a) : await modelApi.add("ApplicationType", a), this.success("Front_Msg_Success", () => {
18160
18156
  this.$refs.form.close(), this.$refs.table.loadData();
18161
18157
  });
@@ -39263,6 +39259,28 @@ const tableSetting = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["render", _sfc_r
39263
39259
  }
39264
39260
  return r;
39265
39261
  },
39262
+ /**
39263
+ * 获取完整数据,跳过验证
39264
+ *
39265
+ * @public
39266
+ */
39267
+ getFullDataWithoutValidate() {
39268
+ let r = this.copy(this.data);
39269
+ if (!r)
39270
+ return null;
39271
+ r.tableData = [];
39272
+ for (let a of this.columns)
39273
+ if (a.controlType == "Table" && !a.isReadonly && a.isShow) {
39274
+ let o = this.$refs["table_" + a.code][0].getData();
39275
+ a.tableStoreType == "Inner" ? r[a.code] = JSON.stringify(o) : r.tableData.push({
39276
+ model: a.sourceModel,
39277
+ sourceDataCode: a.sourceDataCode,
39278
+ filtering: this.$refs["table_" + a.code][0].tableView.filtering,
39279
+ data: o
39280
+ });
39281
+ }
39282
+ return r;
39283
+ },
39266
39284
  /**
39267
39285
  * 设置表格字段内容
39268
39286
  *