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