|
|
@@ -717,6 +717,7 @@ const formAdd = ref({
|
|
|
appTitle: '',
|
|
|
appNote: '',
|
|
|
});
|
|
|
+const parSerList = ref([])
|
|
|
const tableDataCanStart = ref([])
|
|
|
const dialogVisibleSart = ref(false)
|
|
|
const testAttention = ref()
|
|
|
@@ -1085,10 +1086,11 @@ function saveNode(){
|
|
|
nodes.value.forEach(item=>{
|
|
|
if(item.id===parNodeid.value){
|
|
|
item.data.data = par
|
|
|
+ item.data.service.params = parSerList.value
|
|
|
}
|
|
|
})
|
|
|
console.log(toObject())
|
|
|
- nodeDeSer.value = false
|
|
|
+ // nodeDeSer.value = false
|
|
|
// const node = findNode(parNodeid.value)
|
|
|
// node.data.data = par
|
|
|
// updateNode(node.id, { data: { ...node.data, ...par } });
|
|
|
@@ -1341,6 +1343,7 @@ onNodeClick(({event, node}) => {
|
|
|
serviceRqtype.value = res.data.ptService.rqtype
|
|
|
servieName.value = res.data.ptService.name
|
|
|
tableDataCan.value = res.data.list
|
|
|
+ parSerList.value = JSON.parse(JSON.stringify(res.data.list))
|
|
|
var par1 = parseJSONWithComments(res.data.ptService.rpcontent)
|
|
|
var parShu = Object.keys((par1))
|
|
|
console.log(parShu)
|