|  | @ -3,7 +3,6 @@ | 
		
	
		
			
				|  |  |     <div v-if="!onlyRead" class="btnBox"> |  |  |     <div v-if="!onlyRead" class="btnBox"> | 
		
	
		
			
				|  |  |       <el-button v-print="printAll" size="small" @click="handleSaveTable">打印</el-button> |  |  |       <el-button v-print="printAll" size="small" @click="handleSaveTable">打印</el-button> | 
		
	
		
			
				|  |  |       <el-button type="primary" size="small" @click="handleSaveTable">保存</el-button> |  |  |       <el-button type="primary" size="small" @click="handleSaveTable">保存</el-button> | 
		
	
		
			
				|  |  |       <!--      <el-button type="danger" size="small" @click="formDelete">删除</el-button>--> |  |  |  | 
		
	
		
			
				|  |  |       <el-button v-if="comonFormActive === '2' || comonFormActive === '3'" type="primary" size="small" @click="handleTemplate">保存为模板</el-button> |  |  |       <el-button v-if="comonFormActive === '2' || comonFormActive === '3'" type="primary" size="small" @click="handleTemplate">保存为模板</el-button> | 
		
	
		
			
				|  |  |       <div v-if="comonFormActive === '2' || comonFormActive === '3'" size="small" style="display:inline-block;margin-left:10px;text-align:center;width: 32px;height: 32px;background-color: #1e79ff;border-radius: 4px;vertical-align: bottom" @click="addData"> |  |  |       <div v-if="comonFormActive === '2' || comonFormActive === '3'" size="small" style="display:inline-block;margin-left:10px;text-align:center;width: 32px;height: 32px;background-color: #1e79ff;border-radius: 4px;vertical-align: bottom" @click="addData"> | 
		
	
		
			
				|  |  |         <img :src="require('@/assets/img/data.png')" alt="" style="width: 17px;height: 16px;margin-top: 5px"> |  |  |         <img :src="require('@/assets/img/data.png')" alt="" style="width: 17px;height: 16px;margin-top: 5px"> | 
		
	
	
		
			
				|  | @ -185,7 +184,7 @@ export default { | 
		
	
		
			
				|  |  |     async saveHistory() { |  |  |     async saveHistory() { | 
		
	
		
			
				|  |  |       const { data: res } = await this.$http.post('/mjz/saveMjzBscj', this.formData) |  |  |       const { data: res } = await this.$http.post('/mjz/saveMjzBscj', this.formData) | 
		
	
		
			
				|  |  |       if (res.code === 0) { |  |  |       if (res.code === 0) { | 
		
	
		
			
				|  |  |         this.getMedicalHistory() |  |  |  | 
		
	
		
			
				|  |  |  |  |  |         await this.getMedicalHistory() | 
		
	
		
			
				|  |  |       } else { |  |  |       } else { | 
		
	
		
			
				|  |  |         this.$message.error(res.msg) |  |  |         this.$message.error(res.msg) | 
		
	
		
			
				|  |  |       } |  |  |       } | 
		
	
	
		
			
				|  | @ -193,7 +192,7 @@ export default { | 
		
	
		
			
				|  |  |     async saveDiagnosis() { |  |  |     async saveDiagnosis() { | 
		
	
		
			
				|  |  |       const { data: res } = await this.$http.post('/mjz/saveMjzZdcz', this.diagnosis) |  |  |       const { data: res } = await this.$http.post('/mjz/saveMjzZdcz', this.diagnosis) | 
		
	
		
			
				|  |  |       if (res.code === 0) { |  |  |       if (res.code === 0) { | 
		
	
		
			
				|  |  |         this.getDiagnosis() |  |  |  | 
		
	
		
			
				|  |  |  |  |  |         await this.getDiagnosis() | 
		
	
		
			
				|  |  |       } else { |  |  |       } else { | 
		
	
		
			
				|  |  |         this.$message.error(res.msg) |  |  |         this.$message.error(res.msg) | 
		
	
		
			
				|  |  |       } |  |  |       } | 
		
	
	
		
			
				|  | 
 |