|  | @ -1,7 +1,7 @@ | 
		
	
		
			
				|  |  | <template> |  |  | <template> | 
		
	
		
			
				|  |  |   <div class="recordContainer"> |  |  |   <div class="recordContainer"> | 
		
	
		
			
				|  |  |     <div v-if="onlyRead" class="btnBox"> |  |  |     <div v-if="onlyRead" class="btnBox"> | 
		
	
		
			
				|  |  |       <el-button v-print="'#allForeForm'" size="small">打印</el-button> |  |  |  | 
		
	
		
			
				|  |  |  |  |  |       <el-button v-print="printAll" size="small">打印</el-button> | 
		
	
		
			
				|  |  |       <el-button type="primary" size="small" @click="handleSaveTable">保存</el-button> |  |  |       <el-button type="primary" size="small" @click="handleSaveTable">保存</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"> | 
		
	
	
		
			
				|  | @ -87,7 +87,11 @@ export default { | 
		
	
		
			
				|  |  |         id: '' |  |  |         id: '' | 
		
	
		
			
				|  |  |       }, // 诊断处置 |  |  |       }, // 诊断处置 | 
		
	
		
			
				|  |  |       flag: '', // 1病史采集 2前段检查 3后段检查 4专科检查 5诊断处置 |  |  |       flag: '', // 1病史采集 2前段检查 3后段检查 4专科检查 5诊断处置 | 
		
	
		
			
				|  |  |       comonFormActive: '1' |  |  |  | 
		
	
		
			
				|  |  |  |  |  |       comonFormActive: '1', | 
		
	
		
			
				|  |  |  |  |  |       printAll: { | 
		
	
		
			
				|  |  |  |  |  |         id: 'allForeForm', | 
		
	
		
			
				|  |  |  |  |  |         beforeOpenCallback() { console.log('开始打印前') } | 
		
	
		
			
				|  |  |  |  |  |       } | 
		
	
		
			
				|  |  |     } |  |  |     } | 
		
	
		
			
				|  |  |   }, |  |  |   }, | 
		
	
		
			
				|  |  |   computed: { |  |  |   computed: { | 
		
	
	
		
			
				|  | @ -233,4 +237,9 @@ export default { | 
		
	
		
			
				|  |  |     padding: 8px; |  |  |     padding: 8px; | 
		
	
		
			
				|  |  |   } |  |  |   } | 
		
	
		
			
				|  |  | } |  |  | } | 
		
	
		
			
				|  |  |  |  |  | @media print{ | 
		
	
		
			
				|  |  |  |  |  |   @page { | 
		
	
		
			
				|  |  |  |  |  |     size:A5 landscape; | 
		
	
		
			
				|  |  |  |  |  |   } | 
		
	
		
			
				|  |  |  |  |  | } | 
		
	
		
			
				|  |  | </style> |  |  | </style> | 
		
	
	
		
			
				|  | 
 |