|  |  | @ -951,8 +951,7 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |         name: this.form.name, | 
			
		
	
		
			
				
					|  |  |  |         flag: this.treeFlag, // // 1公共树,2个人树 | 
			
		
	
		
			
				
					|  |  |  |         type: this.type, | 
			
		
	
		
			
				
					|  |  |  |         parentId: this.parentId, | 
			
		
	
		
			
				
					|  |  |  |         platform: this.isSearch | 
			
		
	
		
			
				
					|  |  |  |         parentId: this.parentId | 
			
		
	
		
			
				
					|  |  |  |       } | 
			
		
	
		
			
				
					|  |  |  |       const { data: res } = await this.$http.post('/treetag/addTree', params) | 
			
		
	
		
			
				
					|  |  |  |       if (res.code === 0) { | 
			
		
	
	
		
			
				
					|  |  | @ -1013,8 +1012,7 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |         axios.get(baseUrl, { | 
			
		
	
		
			
				
					|  |  |  |           params: { | 
			
		
	
		
			
				
					|  |  |  |             doctorId: this.doctorId, | 
			
		
	
		
			
				
					|  |  |  |             type: type, | 
			
		
	
		
			
				
					|  |  |  |             platform: this.isSearch | 
			
		
	
		
			
				
					|  |  |  |             type: type | 
			
		
	
		
			
				
					|  |  |  |           } | 
			
		
	
		
			
				
					|  |  |  |         }).then(res => { | 
			
		
	
		
			
				
					|  |  |  |           if (res.data.code === 0) { | 
			
		
	
	
		
			
				
					|  |  | @ -1046,6 +1044,7 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |     // 点击保存模板后弹框 | 
			
		
	
		
			
				
					|  |  |  |     handleTemplate() { | 
			
		
	
		
			
				
					|  |  |  |       this.form.name = '' | 
			
		
	
		
			
				
					|  |  |  |       this.treeId = '' | 
			
		
	
		
			
				
					|  |  |  |       this.queryTemplate() | 
			
		
	
		
			
				
					|  |  |  |       this.templateFlag = true | 
			
		
	
		
			
				
					|  |  |  |     }, | 
			
		
	
	
		
			
				
					|  |  | @ -1088,11 +1087,11 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |     // 新增左侧描述项树 | 
			
		
	
		
			
				
					|  |  |  |     async handleSaveCase() { | 
			
		
	
		
			
				
					|  |  |  |       const params = { | 
			
		
	
		
			
				
					|  |  |  |         type: 2, | 
			
		
	
		
			
				
					|  |  |  |         doctorId: this.doctorId, | 
			
		
	
		
			
				
					|  |  |  |         name: this.form.name, | 
			
		
	
		
			
				
					|  |  |  |         weight: this.weight, | 
			
		
	
		
			
				
					|  |  |  |         parentId: this.parentId, | 
			
		
	
		
			
				
					|  |  |  |         platform: this.isSearch | 
			
		
	
		
			
				
					|  |  |  |         parentId: this.parentId | 
			
		
	
		
			
				
					|  |  |  |       } | 
			
		
	
		
			
				
					|  |  |  |       const { data: res } = await this.$http.post('/treetemplate/addTree', params) | 
			
		
	
		
			
				
					|  |  |  |       if (res.code === 0) { | 
			
		
	
	
		
			
				
					|  |  | @ -1142,7 +1141,7 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |     async queryTemplate() { | 
			
		
	
		
			
				
					|  |  |  |       const { data: res } = await this.$http.get('/treetemplate/findTree', { | 
			
		
	
		
			
				
					|  |  |  |         params: { | 
			
		
	
		
			
				
					|  |  |  |           platform: this.isSearch, | 
			
		
	
		
			
				
					|  |  |  |           type: 2, | 
			
		
	
		
			
				
					|  |  |  |           doctorId: this.doctorId | 
			
		
	
		
			
				
					|  |  |  |         } | 
			
		
	
		
			
				
					|  |  |  |       }) | 
			
		
	
	
		
			
				
					|  |  | @ -1170,7 +1169,6 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |       const { data: res } = await this.$http.get('/treetemplate/findTreeCase', { | 
			
		
	
		
			
				
					|  |  |  |         params: { | 
			
		
	
		
			
				
					|  |  |  |           type: 2, | 
			
		
	
		
			
				
					|  |  |  |           platform: this.isSearch, | 
			
		
	
		
			
				
					|  |  |  |           doctorId: this.doctorId | 
			
		
	
		
			
				
					|  |  |  |         } | 
			
		
	
		
			
				
					|  |  |  |       }) | 
			
		
	
	
		
			
				
					|  |  | 
 |