|  | @ -1,12 +1,15 @@ | 
		
	
		
			
				|  |  | <template> |  |  | <template> | 
		
	
		
			
				|  |  |   <div class="content-left"> |  |  |   <div class="content-left"> | 
		
	
		
			
				|  |  |     <div class="content-left-top"> |  |  |     <div class="content-left-top"> | 
		
	
		
			
				|  |  |       <div v-for="(item, index) in formList" :key="index" class="formBox" style="margin-top: 12px" :class="[index === curIndex ? 'active' : '']" @click="handleForm(index, item)"> |  |  |  | 
		
	
		
			
				|  |  |  |  |  |       <div v-for="(item, index) in formList" :key="index" class="flex" style="margin-top: 12px" :class="[index === curIndex ? 'active' : '']" @click="handleForm(index, item)"> | 
		
	
		
			
				|  |  |  |  |  |         <div class="formBox"> | 
		
	
		
			
				|  |  |           <p :class="[index === curIndex ? 'activeFont' : 'curFont']">{{ item.createTime }}</p> |  |  |           <p :class="[index === curIndex ? 'activeFont' : 'curFont']">{{ item.createTime }}</p> | 
		
	
		
			
				|  |  |           <p> |  |  |           <p> | 
		
	
		
			
				|  |  |             {{ item.name }} |  |  |             {{ item.name }} | 
		
	
		
			
				|  |  |           </p> |  |  |           </p> | 
		
	
		
			
				|  |  |         </div> |  |  |         </div> | 
		
	
		
			
				|  |  |  |  |  |         <i v-if="index === curIndex && !onlyRead" style="margin-top: 28px;color: rgb(199,5,5)" class="el-icon-delete" @click="deleteForm()" /> | 
		
	
		
			
				|  |  |  |  |  |       </div> | 
		
	
		
			
				|  |  |       <img v-if="!formList" src="@/assets/img/nodata.png" alt="" class="nodata"> |  |  |       <img v-if="!formList" src="@/assets/img/nodata.png" alt="" class="nodata"> | 
		
	
		
			
				|  |  |       <!-- <div class="button"><i class="el-icon-plus" /> 新建表单</div> --> |  |  |       <!-- <div class="button"><i class="el-icon-plus" /> 新建表单</div> --> | 
		
	
		
			
				|  |  |     </div> |  |  |     </div> | 
		
	
	
		
			
				|  | @ -44,8 +47,8 @@ export default { | 
		
	
		
			
				|  |  |   data() { |  |  |   data() { | 
		
	
		
			
				|  |  |     return { |  |  |     return { | 
		
	
		
			
				|  |  |       formType: '门诊', |  |  |       formType: '门诊', | 
		
	
		
			
				|  |  |       defaultChecked: [], |  |  |  | 
		
	
		
			
				|  |  |       outFormNameList: ['眼科激光手术患者知情同意书', '眼科激光手术治疗', '眼底血管造影知情同意书'] |  |  |  | 
		
	
		
			
				|  |  |  |  |  |       defaultChecked: true, | 
		
	
		
			
				|  |  |  |  |  |       outFormNameList: ['门急诊电子病历', '眼科激光手术患者知情同意书', '眼科激光手术治疗', '眼底血管造影知情同意书'] | 
		
	
		
			
				|  |  |     } |  |  |     } | 
		
	
		
			
				|  |  |   }, |  |  |   }, | 
		
	
		
			
				|  |  |   methods: { |  |  |   methods: { | 
		
	
	
		
			
				|  | @ -54,6 +57,9 @@ export default { | 
		
	
		
			
				|  |  |     }, |  |  |     }, | 
		
	
		
			
				|  |  |     handleForm(index, item) { |  |  |     handleForm(index, item) { | 
		
	
		
			
				|  |  |       this.$emit('handleForm', { index, item }) |  |  |       this.$emit('handleForm', { index, item }) | 
		
	
		
			
				|  |  |  |  |  |     }, | 
		
	
		
			
				|  |  |  |  |  |     deleteForm() { | 
		
	
		
			
				|  |  |  |  |  |       this.$emit('deleteForm') | 
		
	
		
			
				|  |  |     } |  |  |     } | 
		
	
		
			
				|  |  |   } |  |  |   } | 
		
	
		
			
				|  |  | } |  |  | } | 
		
	
	
		
			
				|  | @ -64,6 +70,9 @@ export default { | 
		
	
		
			
				|  |  |   width: 185px; |  |  |   width: 185px; | 
		
	
		
			
				|  |  |   height: 100%; |  |  |   height: 100%; | 
		
	
		
			
				|  |  |   margin-right: 14px; |  |  |   margin-right: 14px; | 
		
	
		
			
				|  |  |  |  |  |   .flex{ | 
		
	
		
			
				|  |  |  |  |  |     display: flex; | 
		
	
		
			
				|  |  |  |  |  |   } | 
		
	
		
			
				|  |  |   .nodata { |  |  |   .nodata { | 
		
	
		
			
				|  |  |     width: 175px; |  |  |     width: 175px; | 
		
	
		
			
				|  |  |     margin-top: 30px; |  |  |     margin-top: 30px; | 
		
	
	
		
			
				|  | 
 |