mooho-base-admin-plus 2.5.12 → 2.5.14

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
@@ -106,3 +106,5 @@ 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
108
  mooho-base-admin-plus@2.5.12 - 表单组件增加getFullDataWithoutValidate方法
109
+ mooho-base-admin-plus@2.5.13 - 修复弹出自定义表单只读的bug
110
+ mooho-base-admin-plus@2.5.14 - 修复上一版本的bug
@@ -42112,7 +42112,7 @@ const viewTable = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["render", _sfc_rend
42112
42112
  this.$router.push({ path: this.task.activityInst.activity.routerPath, query: { taskID: r.id } });
42113
42113
  return;
42114
42114
  } else if (this.task.activityInst.activity.pageMode == "Component")
42115
- this.customComponent = markRaw(this.$pages[this.task.activityInst.activity.templateUrl]), this.isCustom = !0, setTimeout(async () => {
42115
+ this.readonly = !this.task.activityInst.activity.isEditable, this.customComponent = markRaw(this.$pages[this.task.activityInst.activity.templateUrl]), this.isCustom = !0, setTimeout(async () => {
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")
@@ -42125,7 +42125,7 @@ const viewTable = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["render", _sfc_rend
42125
42125
  this.$router.push({ path: a.routerPath, query: { taskID: r.id } });
42126
42126
  return;
42127
42127
  } else if (a.pageMode == "Component")
42128
- this.customComponent = markRaw(this.$pages[a.templateUrl]), this.isCustom = !0, setTimeout(async () => {
42128
+ this.readonly = !this.task.activityInst.activity.isEditable, this.customComponent = markRaw(this.$pages[a.templateUrl]), this.isCustom = !0, setTimeout(async () => {
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")
@@ -42144,7 +42144,7 @@ const viewTable = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["render", _sfc_rend
42144
42144
  },
42145
42145
  // 自定义组件就绪
42146
42146
  customComponentReady() {
42147
- this.$refs.customComponent.form && (this.form = this.$refs.customComponent.form, this.form.data = this.model, this.form.onDataChange(), this.form.clearValidate(), this.readonly = !this.task.activityInst.activity.isEditable, this.width = this.form.formView.width || "800", this.name = this.form.formView.name, this.description = this.form.formView.description);
42147
+ this.$refs.customComponent.form && (this.form = this.$refs.customComponent.form, this.form.data = this.model, this.form.onDataChange(), this.form.clearValidate(), this.width = this.form.formView.width || "800", this.name = this.form.formView.name, this.description = this.form.formView.description);
42148
42148
  },
42149
42149
  // 执行结果
42150
42150
  async action(r) {