mooho-base-admin-plus 2.5.15 → 2.5.16
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
|
@@ -108,4 +108,5 @@ mooho-base-admin-plus@2.5.11 - 修复申请类别编辑的bug
|
|
|
108
108
|
mooho-base-admin-plus@2.5.12 - 表单组件增加getFullDataWithoutValidate方法
|
|
109
109
|
mooho-base-admin-plus@2.5.13 - 修复弹出自定义表单只读的bug
|
|
110
110
|
mooho-base-admin-plus@2.5.14 - 修复上一版本的bug
|
|
111
|
-
mooho-base-admin-plus@2.5.
|
|
111
|
+
mooho-base-admin-plus@2.5.15 - 修复上一版本的bug
|
|
112
|
+
mooho-base-admin-plus@2.5.16 - 修复上一版本的bug
|
|
@@ -42129,8 +42129,8 @@ const viewTable = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["render", _sfc_rend
|
|
|
42129
42129
|
a.isCustom ? this.model = await customModelApi.get(a.model, r.processInst.modelID) : this.model = await modelApi.get(a.model, r.processInst.modelID), this.customComponentReady(), this.opened = !0;
|
|
42130
42130
|
});
|
|
42131
42131
|
else if (a.pageMode == "Form")
|
|
42132
|
-
this.form = this.$refs.form, this.form.init(a.formViewCode, async (s) => {
|
|
42133
|
-
s.dataView.isCustom ? this.model = await customModelApi.get(a.model, r.processInst.modelID) : this.model = await modelApi.get(a.model, r.processInst.modelID), this.
|
|
42132
|
+
this.form = this.$refs.form, this.readonly = !this.task.activityInst.activity.isEditable, this.form.init(a.formViewCode, async (s) => {
|
|
42133
|
+
s.dataView.isCustom ? this.model = await customModelApi.get(a.model, r.processInst.modelID) : this.model = await modelApi.get(a.model, r.processInst.modelID), this.width = this.form.formView.width || "800", this.name = this.form.formView.name, this.description = this.form.formView.description, this.form.data = this.model, setTimeout(() => {
|
|
42134
42134
|
this.form.onDataChange(), this.form.clearValidate(), this.opened = !0;
|
|
42135
42135
|
});
|
|
42136
42136
|
});
|