mooho-base-admin-plus 2.5.14 → 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/package.json
CHANGED
|
@@ -143,6 +143,7 @@
|
|
|
143
143
|
});
|
|
144
144
|
} else if (this.task.activityInst.activity.pageMode == 'Form') {
|
|
145
145
|
this.form = this.$refs.form;
|
|
146
|
+
this.readonly = !this.task.activityInst.activity.isEditable;
|
|
146
147
|
this.form.init(this.task.activityInst.activity.formViewCode, async view => {
|
|
147
148
|
if (view.dataView.isCustom) {
|
|
148
149
|
this.model = await customModelApi.get(applicationType.model, row.processInst.modelID);
|
|
@@ -150,7 +151,6 @@
|
|
|
150
151
|
this.model = await modelApi.get(applicationType.model, row.processInst.modelID);
|
|
151
152
|
}
|
|
152
153
|
|
|
153
|
-
this.readonly = !this.task.activityInst.activity.isEditable;
|
|
154
154
|
this.width = this.form.formView.width || '800';
|
|
155
155
|
this.name = this.form.formView.name;
|
|
156
156
|
this.description = this.form.formView.description;
|
|
@@ -184,6 +184,7 @@
|
|
|
184
184
|
});
|
|
185
185
|
} else if (applicationType.pageMode == 'Form') {
|
|
186
186
|
this.form = this.$refs.form;
|
|
187
|
+
this.readonly = !this.task.activityInst.activity.isEditable;
|
|
187
188
|
this.form.init(applicationType.formViewCode, async view => {
|
|
188
189
|
if (view.dataView.isCustom) {
|
|
189
190
|
this.model = await customModelApi.get(applicationType.model, row.processInst.modelID);
|
|
@@ -191,7 +192,6 @@
|
|
|
191
192
|
this.model = await modelApi.get(applicationType.model, row.processInst.modelID);
|
|
192
193
|
}
|
|
193
194
|
|
|
194
|
-
this.readonly = !this.task.activityInst.activity.isEditable;
|
|
195
195
|
this.width = this.form.formView.width || '800';
|
|
196
196
|
this.name = this.form.formView.name;
|
|
197
197
|
this.description = this.form.formView.description;
|