|
@@ -1290,19 +1290,18 @@ onNodeClick(({event, node}) => {
|
|
|
nodeEnd.value = false
|
|
nodeEnd.value = false
|
|
|
nodeStart.value = false
|
|
nodeStart.value = false
|
|
|
nodeDeSer.value = false
|
|
nodeDeSer.value = false
|
|
|
- console.log(node)
|
|
|
|
|
parNodeid.value = node.id
|
|
parNodeid.value = node.id
|
|
|
parTitle.value = node.data.name
|
|
parTitle.value = node.data.name
|
|
|
tableDataCan.value = []
|
|
tableDataCan.value = []
|
|
|
optionsCan.value = []
|
|
optionsCan.value = []
|
|
|
|
|
+ tableDataCanOut.value = []
|
|
|
var parNode = getPredecessorsNodes(node.id)
|
|
var parNode = getPredecessorsNodes(node.id)
|
|
|
- console.log((JSON.parse(JSON.stringify(parNode))))
|
|
|
|
|
var a = JSON.parse(JSON.stringify(parNode))
|
|
var a = JSON.parse(JSON.stringify(parNode))
|
|
|
a.forEach((item,index) => {
|
|
a.forEach((item,index) => {
|
|
|
console.log(item.data)
|
|
console.log(item.data)
|
|
|
if(item.data.label!=='开始'&&item.data.service&&item.data.service.rpcontent){
|
|
if(item.data.label!=='开始'&&item.data.service&&item.data.service.rpcontent){
|
|
|
item.data.service.rpcontent = parseJSONWithComments(item.data.service.rpcontent)
|
|
item.data.service.rpcontent = parseJSONWithComments(item.data.service.rpcontent)
|
|
|
- // console.log((item.data.service.rpcontent))
|
|
|
|
|
|
|
+ console.log((item.data.service.rpcontent))
|
|
|
var parShu = Object.keys((item.data.service.rpcontent))
|
|
var parShu = Object.keys((item.data.service.rpcontent))
|
|
|
parShu.forEach(item1=>{
|
|
parShu.forEach(item1=>{
|
|
|
var count = index+1
|
|
var count = index+1
|
|
@@ -1336,7 +1335,17 @@ onNodeClick(({event, node}) => {
|
|
|
serviceRqtype.value = res.data.ptService.rqtype
|
|
serviceRqtype.value = res.data.ptService.rqtype
|
|
|
servieName.value = res.data.ptService.name
|
|
servieName.value = res.data.ptService.name
|
|
|
tableDataCan.value = res.data.list
|
|
tableDataCan.value = res.data.list
|
|
|
- tableDataCanOut.value = res.data.returnList
|
|
|
|
|
|
|
+ var par1 = parseJSONWithComments(res.data.ptService.rpcontent)
|
|
|
|
|
+ var parShu = Object.keys((par1))
|
|
|
|
|
+ console.log(parShu)
|
|
|
|
|
+ parShu.forEach(item1=>{
|
|
|
|
|
+ var par = {
|
|
|
|
|
+ paramCode:item1,
|
|
|
|
|
+ paramValue:''
|
|
|
|
|
+ }
|
|
|
|
|
+ tableDataCanOut.value.push(par)
|
|
|
|
|
+ })
|
|
|
|
|
+ // tableDataCanOut.value = parseJSONWithComments(res.data.ptService.rpcontent)
|
|
|
serviceUrl.value = res.data.ptService.url
|
|
serviceUrl.value = res.data.ptService.url
|
|
|
nodeDeSer.value = true
|
|
nodeDeSer.value = true
|
|
|
})
|
|
})
|