|  | @ -208,41 +208,35 @@ export default { | 
		
	
		
			
				|  |  |     }, |  |  |     }, | 
		
	
		
			
				|  |  |     // 收藏患者 |  |  |     // 收藏患者 | 
		
	
		
			
				|  |  |     handleAddPatient() { |  |  |     handleAddPatient() { | 
		
	
		
			
				|  |  |       // 添加患者 |  |  |  | 
		
	
		
			
				|  |  |  |  |  |       let params = {} | 
		
	
		
			
				|  |  |       if (!this.curNode.patientId) { |  |  |       if (!this.curNode.patientId) { | 
		
	
		
			
				|  |  |         const params = { |  |  |  | 
		
	
		
			
				|  |  |  |  |  |         // 添加患者 | 
		
	
		
			
				|  |  |  |  |  |         params = { | 
		
	
		
			
				|  |  |           createDate: this.$moment().format('YYYY-MM-DD HH:mm:ss'), |  |  |           createDate: this.$moment().format('YYYY-MM-DD HH:mm:ss'), | 
		
	
		
			
				|  |  |           patientId: this.patientId, |  |  |           patientId: this.patientId, | 
		
	
		
			
				|  |  |           platform: this.platform, |  |  |           platform: this.platform, | 
		
	
		
			
				|  |  |           remark: this.remark, |  |  |           remark: this.remark, | 
		
	
		
			
				|  |  |           treeId: this.curNode.id |  |  |           treeId: this.curNode.id | 
		
	
		
			
				|  |  |         } |  |  |         } | 
		
	
		
			
				|  |  |         this.$http.post('/tree/addPatientTree', params).then(() => { |  |  |  | 
		
	
		
			
				|  |  |         this.editMessage = '收藏成功!' |  |  |         this.editMessage = '收藏成功!' | 
		
	
		
			
				|  |  |           this.$message({ |  |  |  | 
		
	
		
			
				|  |  |             message: this.editMessage, |  |  |  | 
		
	
		
			
				|  |  |             type: 'success' |  |  |  | 
		
	
		
			
				|  |  |           }) |  |  |  | 
		
	
		
			
				|  |  |           this.findTree() |  |  |  | 
		
	
		
			
				|  |  |         }) |  |  |  | 
		
	
		
			
				|  |  |       } else { |  |  |       } else { | 
		
	
		
			
				|  |  |         // 修改患者 |  |  |         // 修改患者 | 
		
	
		
			
				|  |  |         const params = { |  |  |  | 
		
	
		
			
				|  |  |  |  |  |         params = { | 
		
	
		
			
				|  |  |           patientId: this.curNode.patientId, |  |  |           patientId: this.curNode.patientId, | 
		
	
		
			
				|  |  |           platform: this.platform, |  |  |           platform: this.platform, | 
		
	
		
			
				|  |  |           remark: this.remark, |  |  |           remark: this.remark, | 
		
	
		
			
				|  |  |           treeId: this.curNode.treeId, |  |  |           treeId: this.curNode.treeId, | 
		
	
		
			
				|  |  |           id: this.curNode.id |  |  |           id: this.curNode.id | 
		
	
		
			
				|  |  |         } |  |  |         } | 
		
	
		
			
				|  |  |         this.$http.post('/tree/addPatientTree', params).then(() => { |  |  |  | 
		
	
		
			
				|  |  |         this.editMessage = '修改成功!' |  |  |         this.editMessage = '修改成功!' | 
		
	
		
			
				|  |  |  |  |  |       } | 
		
	
		
			
				|  |  |  |  |  |       this.$http.post('/tree/addPatientTree', params).then(() => { | 
		
	
		
			
				|  |  |         this.$message({ |  |  |         this.$message({ | 
		
	
		
			
				|  |  |           message: this.editMessage, |  |  |           message: this.editMessage, | 
		
	
		
			
				|  |  |           type: 'success' |  |  |           type: 'success' | 
		
	
		
			
				|  |  |         }) |  |  |         }) | 
		
	
		
			
				|  |  |         this.findTree() |  |  |         this.findTree() | 
		
	
		
			
				|  |  |       }) |  |  |       }) | 
		
	
		
			
				|  |  |       } |  |  |  | 
		
	
		
			
				|  |  |     }, |  |  |     }, | 
		
	
		
			
				|  |  |     // 新增节点 |  |  |     // 新增节点 | 
		
	
		
			
				|  |  |     addNode(command, node, data) { |  |  |     addNode(command, node, data) { | 
		
	
	
		
			
				|  | 
 |