|
|
@@ -991,7 +991,9 @@ function startTest(){
|
|
|
item.data.outputDefs = paramEnd
|
|
|
}
|
|
|
})
|
|
|
+
|
|
|
var a = JSON.parse(JSON.stringify(toObject()))
|
|
|
+ console.log(a)
|
|
|
a.nodes.forEach(item=>{
|
|
|
if(item.id==='1'){
|
|
|
item.type = 'startNode'
|
|
|
@@ -1010,17 +1012,17 @@ function startTest(){
|
|
|
// par.set(item.name,item.value)
|
|
|
par.params[item.name] = item.value
|
|
|
})
|
|
|
- console.log(a)
|
|
|
- runflow(par).then(res=>{
|
|
|
- if(res.code === 200){
|
|
|
- proxy.$message({
|
|
|
- message: res.msg,
|
|
|
- type: 'success'
|
|
|
- });
|
|
|
- dialogVisibleSart.value = true
|
|
|
- outputData.value = JSON.stringify(res.data)
|
|
|
- }
|
|
|
- })
|
|
|
+ console.log(par)
|
|
|
+ // runflow(par).then(res=>{
|
|
|
+ // if(res.code === 200){
|
|
|
+ // proxy.$message({
|
|
|
+ // message: res.msg,
|
|
|
+ // type: 'success'
|
|
|
+ // });
|
|
|
+ // dialogVisibleSart.value = true
|
|
|
+ // outputData.value = JSON.stringify(res.data)
|
|
|
+ // }
|
|
|
+ // })
|
|
|
|
|
|
}
|
|
|
else if(tableDataCanStart.value.length===0){
|
|
|
@@ -1098,7 +1100,8 @@ function saveNode(){
|
|
|
})
|
|
|
nodes.value.forEach(item=>{
|
|
|
if(item.id===parNodeid.value){
|
|
|
- item.data = par
|
|
|
+ // console.log(item.id)
|
|
|
+ item.data.data = par.parameters
|
|
|
item.data.service = serInfo.value
|
|
|
item.data.service.params = parSerList.value
|
|
|
}
|