|
|
@@ -1873,6 +1873,28 @@ onNodeClick(({event, node}) => {
|
|
|
})
|
|
|
}
|
|
|
}
|
|
|
+ if (Array.isArray(tableDataCan.value) && tableDataCan.value.length === 0) {
|
|
|
+ getSerDe(node.data.id).then(res=>{
|
|
|
+ parNodeAll.value.push(res.data)
|
|
|
+ serviceRqtype.value = res.data.ptService.rqtype
|
|
|
+ servieName.value = res.data.ptService.name
|
|
|
+ tableDataCan.value = res.data.list
|
|
|
+ serInfo.value = res.data.ptService
|
|
|
+ parSerList.value = JSON.parse(JSON.stringify(res.data.list))
|
|
|
+ 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)
|
|
|
+ })
|
|
|
+ serviceUrl.value = res.data.ptService.url
|
|
|
+ nodeDeSer.value = true
|
|
|
+ })
|
|
|
+ }
|
|
|
if(node.data.nodeType==='tool'){
|
|
|
console.log(node.data.value)
|
|
|
if(node.data.value==='表输入组件'){
|