nanjingliujinyu hace 4 meses
padre
commit
c158607285
Se han modificado 1 ficheros con 3 adiciones y 3 borrados
  1. 3 3
      ruoyi-ui/src/views/standardization/modeling/index.vue

+ 3 - 3
ruoyi-ui/src/views/standardization/modeling/index.vue

@@ -1012,7 +1012,7 @@ function startTest(){
       // par.set(item.name,item.value)
       par.params[item.name] = item.value
     })
-    console.log(par)
+    console.log(a)
     runflow(par).then(res=>{
       if(res.code === 200){
         proxy.$message({
@@ -1322,6 +1322,7 @@ onNodeClick(({event, node}) => {
   tableDataCanOut.value = []
   var parNode = getPredecessorsNodes(node.id)
   var a = JSON.parse(JSON.stringify(parNode))
+  // console.log(a)
   a.forEach((item,index) => {
     console.log(item.data)
     if(item.data.label!=='开始'&&item.data.service&&item.data.service.rpcontent){
@@ -1329,9 +1330,8 @@ onNodeClick(({event, node}) => {
       console.log((item.data.service.rpcontent))
       var parShu = Object.keys((item.data.service.rpcontent))
       parShu.forEach(item1=>{
-        var count = index+1
         var par = {
-          ref:item.data.id + '.' + item1,
+          ref:item.id + '.' + item1,
           name:item.data.label + ':' + item1
         }
         optionsCan.value.push(par)