|
@@ -464,8 +464,14 @@ export default {
|
|
|
let temp = await this.$refs.myFormRef?.getFormData();
|
|
|
console.log("temp", temp);
|
|
|
if (!temp?.flag) {
|
|
|
- this.$message.error(temp.msg);
|
|
|
- return false;
|
|
|
+ if (!temp) {
|
|
|
+ //没有表单
|
|
|
+ // formData.flag = true;
|
|
|
+ } else {
|
|
|
+ //表单数据不合法
|
|
|
+ this.$message.error(temp.msg);
|
|
|
+ return false;
|
|
|
+ }
|
|
|
} else {
|
|
|
formData = temp.data;
|
|
|
}
|
|
@@ -579,7 +585,7 @@ export default {
|
|
|
implementationName: this.row.benmTaskAutomaticScriptTriggerType, //当前节点绑定的脚本名
|
|
|
// taskProcessXmlContent: this.row.bepTaskProcessXmlContent, //当前流程xml
|
|
|
tableName: this.tableName,
|
|
|
- formDataMap: JSON.stringify(formData), //自定义表单组件收集的表单数据
|
|
|
+ formDataMap: JSON.stringify(JSON.parse(JSON.stringify(formData))), //自定义表单组件收集的表单数据
|
|
|
taskNodeType: this.backExceptionTaskList.includes(
|
|
|
this.row.benTaskNodeFormKey
|
|
|
)
|