|
@@ -4785,26 +4785,27 @@ export default {
|
|
|
templateName:'',
|
|
|
contractRange:[],
|
|
|
contractRangeName:'',
|
|
|
- nodeIds:'',
|
|
|
+ nodeId:'',
|
|
|
formIds:''};
|
|
|
|
|
|
if(this.$refs.syncProTree){
|
|
|
this.$refs.syncProTree.setCheckedKeys([])
|
|
|
}
|
|
|
if(this.$refs.proTable){
|
|
|
- this.refs.proTable.clearSelection()
|
|
|
+ this.$refs.proTable.clearSelection()
|
|
|
}
|
|
|
this.preTableData=[]
|
|
|
+ this.proSyncTag=false
|
|
|
|
|
|
},
|
|
|
saveProTag(){
|
|
|
|
|
|
this.syncForm.projectId=this.projectid
|
|
|
if(this.isShowLeft){
|
|
|
- let ids=this.$res.syncProTree.getCheckedKeys()
|
|
|
- this.syncForm.nodeIds=ids.join(',')
|
|
|
+ let ids=this.$refs.syncProTree.getCheckedKeys()
|
|
|
+ this.syncForm.nodeId=ids.join(',')
|
|
|
}else{
|
|
|
- this.syncForm.nodeIds=this.curTreeData.primaryKeyId
|
|
|
+ this.syncForm.nodeId=this.curTreeData.primaryKeyId
|
|
|
}
|
|
|
|
|
|
|