Selaa lähdekoodia

项目数据同步

duy 2 kuukautta sitten
vanhempi
commit
58e3358a41
1 muutettua tiedostoa jossa 6 lisäystä ja 5 poistoa
  1. 6 5
      src/views/manager/projectinfo/tree.vue

+ 6 - 5
src/views/manager/projectinfo/tree.vue

@@ -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
       }