@@ -214,6 +214,7 @@
@click="handleRemove(index, btnConfigCopy)"
size="mini"
style="border: none; background: #ecebeb"
+ :disabled="formOption.readonly"
v-if="formOption.btnConfig !== undefined && formOption.btnConfig.isNeed"
>删除</van-button
>
@@ -559,6 +559,10 @@ watch(
formDom.value.formDataListShowLabelOne();
formDomOne.value.formDataShowLabelOne();
}
+ if (route.query.processType == 10 || route.query.processType == 20) {
+ formOption.readonly = true;
+ formOptionOne.readonly = true;
+ }
},
{
deep: true,
@@ -181,7 +181,7 @@ const handleSubmit = async (_type) => {
proxy
.post('/flowExample/setStartData', {
exampleId: route.query.id,
- startDate: childrenData,
+ startData: childrenData,
})
.then()