mooho-base-admin-plus 2.5.11 → 2.5.13
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
|
@@ -105,3 +105,5 @@ 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
107
|
mooho-base-admin-plus@2.5.11 - 修复申请类别编辑的bug
|
|
108
|
+
mooho-base-admin-plus@2.5.12 - 表单组件增加getFullDataWithoutValidate方法
|
|
109
|
+
mooho-base-admin-plus@2.5.13 - 修复弹出自定义表单只读的bug
|
|
@@ -39259,6 +39259,28 @@ const tableSetting = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["render", _sfc_r
|
|
|
39259
39259
|
}
|
|
39260
39260
|
return r;
|
|
39261
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
|
+
},
|
|
39262
39284
|
/**
|
|
39263
39285
|
* 设置表格字段内容
|
|
39264
39286
|
*
|