mooho-base-admin-plus 2.5.14 → 2.5.15
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
|
@@ -42116,8 +42116,8 @@ const viewTable = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["render", _sfc_rend
|
|
|
42116
42116
|
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;
|
|
42117
42117
|
});
|
|
42118
42118
|
else if (this.task.activityInst.activity.pageMode == "Form")
|
|
42119
|
-
this.form = this.$refs.form, this.form.init(this.task.activityInst.activity.formViewCode, async (s) => {
|
|
42120
|
-
s.dataView.isCustom ? this.model = await customModelApi.get(a.model, r.processInst.modelID) : this.model = await modelApi.get(a.model, r.processInst.modelID), this.
|
|
42119
|
+
this.form = this.$refs.form, this.readonly = !this.task.activityInst.activity.isEditable, this.form.init(this.task.activityInst.activity.formViewCode, async (s) => {
|
|
42120
|
+
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(async () => {
|
|
42121
42121
|
this.form.onDataChange(), this.form.clearValidate(), this.opened = !0;
|
|
42122
42122
|
});
|
|
42123
42123
|
});
|