|  |  | @ -24,7 +24,7 @@ | 
			
		
	
		
			
				
					|  |  |  |             filterable | 
			
		
	
		
			
				
					|  |  |  |             :remote-method="queryProjects" | 
			
		
	
		
			
				
					|  |  |  |             size="small" | 
			
		
	
		
			
				
					|  |  |  |             @change="getDataListInitial" | 
			
		
	
		
			
				
					|  |  |  |             @change="projectChange" | 
			
		
	
		
			
				
					|  |  |  |           > | 
			
		
	
		
			
				
					|  |  |  |             <el-option | 
			
		
	
		
			
				
					|  |  |  |               v-for="item in projects" | 
			
		
	
	
		
			
				
					|  |  | @ -75,65 +75,67 @@ | 
			
		
	
		
			
				
					|  |  |  |         </div> | 
			
		
	
		
			
				
					|  |  |  |       </div> | 
			
		
	
		
			
				
					|  |  |  |       <div class="scheduled-patient-content"> | 
			
		
	
		
			
				
					|  |  |  |         <el-table | 
			
		
	
		
			
				
					|  |  |  |           id="multipleTable" | 
			
		
	
		
			
				
					|  |  |  |           ref="multipleTable" | 
			
		
	
		
			
				
					|  |  |  |           :data="dataList" | 
			
		
	
		
			
				
					|  |  |  |           tooltip-effect="dark" | 
			
		
	
		
			
				
					|  |  |  |           style="width: 100%" | 
			
		
	
		
			
				
					|  |  |  |           :cell-class-name="tableCellClassName" | 
			
		
	
		
			
				
					|  |  |  |           @selection-change="handleSelectionChange" | 
			
		
	
		
			
				
					|  |  |  |         > | 
			
		
	
		
			
				
					|  |  |  |           <el-table-column v-if="printHidden" type="selection" /> | 
			
		
	
		
			
				
					|  |  |  |           <el-table-column label="预约时间" header-align="center" align="center" width="110px"> | 
			
		
	
		
			
				
					|  |  |  |             <template slot-scope="scope"> | 
			
		
	
		
			
				
					|  |  |  |               {{ scope.row.appointDate ? scope.row.appointDate : '-' }} | 
			
		
	
		
			
				
					|  |  |  |             </template> | 
			
		
	
		
			
				
					|  |  |  |           </el-table-column> | 
			
		
	
		
			
				
					|  |  |  |           <el-table-column label="类型" header-align="center" align="center" width="55px" /> | 
			
		
	
		
			
				
					|  |  |  |           <el-table-column label="负责医生" header-align="center" align="center" width="100px"> | 
			
		
	
		
			
				
					|  |  |  |             <template slot-scope="scope"> | 
			
		
	
		
			
				
					|  |  |  |               {{ scope.row.doctorName ? scope.row.doctorName : '-' }} | 
			
		
	
		
			
				
					|  |  |  |             </template> | 
			
		
	
		
			
				
					|  |  |  |           </el-table-column> | 
			
		
	
		
			
				
					|  |  |  |           <el-table-column prop="patientName" label="患者姓名" header-align="center" align="center" width="100px" /> | 
			
		
	
		
			
				
					|  |  |  |           <el-table-column prop="patientId" label="登记号" header-align="center" align="center" width="120px" /> | 
			
		
	
		
			
				
					|  |  |  |           <el-table-column prop="patientPhone" label="电话" header-align="center" align="center" width="140px" /> | 
			
		
	
		
			
				
					|  |  |  |           <el-table-column label="眼别" prop="eyeType" header-align="center" align="center" width="80px" /> | 
			
		
	
		
			
				
					|  |  |  |           <el-table-column label="医疗项目" prop="itemName" header-align="center" align="center" width="100px" /> | 
			
		
	
		
			
				
					|  |  |  |           <el-table-column label="准备工作" header-align="center" align="center" width="140px"> | 
			
		
	
		
			
				
					|  |  |  |             <template slot-scope="scope"> | 
			
		
	
		
			
				
					|  |  |  |               <div> | 
			
		
	
		
			
				
					|  |  |  |                 <div v-if="scope.row.yzOpen==='Y'" :class="{active_check:scope.row.yzOpen==='Y'}"> | 
			
		
	
		
			
				
					|  |  |  |                   医嘱已开 | 
			
		
	
		
			
				
					|  |  |  |                 </div> | 
			
		
	
		
			
				
					|  |  |  |                 <div v-if="scope.row.pupilDilate==='Y'" :class="{active_check:scope.row.pupilDilate==='Y'}"> | 
			
		
	
		
			
				
					|  |  |  |                   散瞳 | 
			
		
	
		
			
				
					|  |  |  |         <div id="multipleTable"> | 
			
		
	
		
			
				
					|  |  |  |           <div v-if="dataForm.itemId" class="project_title">医疗项目:{{ curProject.itemName }}</div> | 
			
		
	
		
			
				
					|  |  |  |           <el-table | 
			
		
	
		
			
				
					|  |  |  |             ref="multipleTable" | 
			
		
	
		
			
				
					|  |  |  |             :data="dataList" | 
			
		
	
		
			
				
					|  |  |  |             tooltip-effect="dark" | 
			
		
	
		
			
				
					|  |  |  |             style="width: 100%" | 
			
		
	
		
			
				
					|  |  |  |             :cell-class-name="tableCellClassName" | 
			
		
	
		
			
				
					|  |  |  |             @selection-change="handleSelectionChange" | 
			
		
	
		
			
				
					|  |  |  |           > | 
			
		
	
		
			
				
					|  |  |  |             <el-table-column v-if="printHidden" type="selection" /> | 
			
		
	
		
			
				
					|  |  |  |             <el-table-column label="预约时间" header-align="center" align="center" width="110px"> | 
			
		
	
		
			
				
					|  |  |  |               <template slot-scope="scope"> | 
			
		
	
		
			
				
					|  |  |  |                 {{ scope.row.appointDate ? scope.row.appointDate : '-' }} | 
			
		
	
		
			
				
					|  |  |  |               </template> | 
			
		
	
		
			
				
					|  |  |  |             </el-table-column> | 
			
		
	
		
			
				
					|  |  |  |             <el-table-column label="类型" header-align="center" align="center" width="55px" /> | 
			
		
	
		
			
				
					|  |  |  |             <el-table-column label="负责医生" header-align="center" align="center" width="100px"> | 
			
		
	
		
			
				
					|  |  |  |               <template slot-scope="scope"> | 
			
		
	
		
			
				
					|  |  |  |                 {{ scope.row.doctorName ? scope.row.doctorName : '-' }} | 
			
		
	
		
			
				
					|  |  |  |               </template> | 
			
		
	
		
			
				
					|  |  |  |             </el-table-column> | 
			
		
	
		
			
				
					|  |  |  |             <el-table-column prop="patientName" label="患者姓名" header-align="center" align="center" width="100px" /> | 
			
		
	
		
			
				
					|  |  |  |             <el-table-column prop="patientId" label="登记号" header-align="center" align="center" width="120px" /> | 
			
		
	
		
			
				
					|  |  |  |             <el-table-column prop="patientPhone" label="电话" header-align="center" align="center" width="120px" /> | 
			
		
	
		
			
				
					|  |  |  |             <el-table-column label="眼别" prop="eyeType" header-align="center" align="center" width="80px" /> | 
			
		
	
		
			
				
					|  |  |  |             <el-table-column v-if="!dataForm.itemId" label="医疗项目" prop="itemName" header-align="center" align="center" width="100px" /> | 
			
		
	
		
			
				
					|  |  |  |             <el-table-column label="准备工作" header-align="center" align="center" width="140px"> | 
			
		
	
		
			
				
					|  |  |  |               <template slot-scope="scope"> | 
			
		
	
		
			
				
					|  |  |  |                 <div> | 
			
		
	
		
			
				
					|  |  |  |                   <div v-if="scope.row.yzOpen==='Y'" :class="{active_check:scope.row.yzOpen==='Y'}"> | 
			
		
	
		
			
				
					|  |  |  |                     医嘱已开 | 
			
		
	
		
			
				
					|  |  |  |                   </div> | 
			
		
	
		
			
				
					|  |  |  |                   <div v-if="scope.row.pupilDilate==='Y'" :class="{active_check:scope.row.pupilDilate==='Y'}"> | 
			
		
	
		
			
				
					|  |  |  |                     散瞳 | 
			
		
	
		
			
				
					|  |  |  |                   </div> | 
			
		
	
		
			
				
					|  |  |  |                 </div> | 
			
		
	
		
			
				
					|  |  |  |               </div> | 
			
		
	
		
			
				
					|  |  |  |             </template> | 
			
		
	
		
			
				
					|  |  |  |           </el-table-column> | 
			
		
	
		
			
				
					|  |  |  |           <el-table-column label="是否到达" header-align="center" align="center" width="85px"> | 
			
		
	
		
			
				
					|  |  |  |             <template slot-scope="scope"> | 
			
		
	
		
			
				
					|  |  |  |               <el-select v-model="scope.row.arrival" :class="{'active_check':scope.row.arrival==='Y'}" class="arrivalSelect" placeholder="" size="small" @change="value=>changeEyeType(value,scope)"> | 
			
		
	
		
			
				
					|  |  |  |                 <el-option | 
			
		
	
		
			
				
					|  |  |  |                   v-for="item in arrivalList" | 
			
		
	
		
			
				
					|  |  |  |                   :key="item.value" | 
			
		
	
		
			
				
					|  |  |  |                   :label="item.label" | 
			
		
	
		
			
				
					|  |  |  |                   :value="item.value" | 
			
		
	
		
			
				
					|  |  |  |                 /> | 
			
		
	
		
			
				
					|  |  |  |               </el-select> | 
			
		
	
		
			
				
					|  |  |  |             </template> | 
			
		
	
		
			
				
					|  |  |  |           </el-table-column> | 
			
		
	
		
			
				
					|  |  |  |           <el-table-column prop="jzNumber" label="就诊号" header-align="center" align="center" /> | 
			
		
	
		
			
				
					|  |  |  |           <el-table-column label="操作" class-name="hidden" header-align="center" align="center" width="200px"> | 
			
		
	
		
			
				
					|  |  |  |             <template slot-scope="scope"> | 
			
		
	
		
			
				
					|  |  |  |               <span class="call" @click="editOpera(scope.row)">{{ scope.row.appointDate ? "改约":"预约" }}</span> | 
			
		
	
		
			
				
					|  |  |  |               <span class="cancel" @click="cancelClick(scope.row)">取消</span> | 
			
		
	
		
			
				
					|  |  |  |               <span class="call" @click="checkPatientDetail(scope.row)">患者360</span> | 
			
		
	
		
			
				
					|  |  |  |             </template> | 
			
		
	
		
			
				
					|  |  |  |           </el-table-column> | 
			
		
	
		
			
				
					|  |  |  |         </el-table> | 
			
		
	
		
			
				
					|  |  |  |               </template> | 
			
		
	
		
			
				
					|  |  |  |             </el-table-column> | 
			
		
	
		
			
				
					|  |  |  |             <el-table-column label="是否到达" header-align="center" align="center" width="85px"> | 
			
		
	
		
			
				
					|  |  |  |               <template slot-scope="scope"> | 
			
		
	
		
			
				
					|  |  |  |                 <el-select v-model="scope.row.arrival" :class="{'active_check':scope.row.arrival==='Y'}" class="arrivalSelect" placeholder="" size="small" @change="value=>changeEyeType(value,scope)"> | 
			
		
	
		
			
				
					|  |  |  |                   <el-option | 
			
		
	
		
			
				
					|  |  |  |                     v-for="item in arrivalList" | 
			
		
	
		
			
				
					|  |  |  |                     :key="item.value" | 
			
		
	
		
			
				
					|  |  |  |                     :label="item.label" | 
			
		
	
		
			
				
					|  |  |  |                     :value="item.value" | 
			
		
	
		
			
				
					|  |  |  |                   /> | 
			
		
	
		
			
				
					|  |  |  |                 </el-select> | 
			
		
	
		
			
				
					|  |  |  |               </template> | 
			
		
	
		
			
				
					|  |  |  |             </el-table-column> | 
			
		
	
		
			
				
					|  |  |  |             <el-table-column prop="jzNumber" label="就诊号" header-align="center" align="center" /> | 
			
		
	
		
			
				
					|  |  |  |             <el-table-column label="操作" class-name="hidden" header-align="center" align="center" width="200px"> | 
			
		
	
		
			
				
					|  |  |  |               <template slot-scope="scope"> | 
			
		
	
		
			
				
					|  |  |  |                 <span class="call" @click="editOpera(scope.row)">{{ scope.row.appointDate ? "改约":"预约" }}</span> | 
			
		
	
		
			
				
					|  |  |  |                 <span class="cancel" @click="cancelClick(scope.row)">取消</span> | 
			
		
	
		
			
				
					|  |  |  |                 <span class="call" @click="checkPatientDetail(scope.row)">患者360</span> | 
			
		
	
		
			
				
					|  |  |  |               </template> | 
			
		
	
		
			
				
					|  |  |  |             </el-table-column> | 
			
		
	
		
			
				
					|  |  |  |           </el-table> | 
			
		
	
		
			
				
					|  |  |  |         </div> | 
			
		
	
		
			
				
					|  |  |  |         <el-pagination background layout="total,prev, pager, next" :total="total" :current-page.sync="page" @current-change="pageCurrentChangeHandle" /> | 
			
		
	
		
			
				
					|  |  |  |       </div> | 
			
		
	
		
			
				
					|  |  |  |     </div> | 
			
		
	
	
		
			
				
					|  |  | @ -269,6 +271,7 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |       curIndex: 0, | 
			
		
	
		
			
				
					|  |  |  |       curIndex2: 0, | 
			
		
	
		
			
				
					|  |  |  |       projects: [], | 
			
		
	
		
			
				
					|  |  |  |       curProject: '', | 
			
		
	
		
			
				
					|  |  |  |       selectedProjects: [], | 
			
		
	
		
			
				
					|  |  |  |       patientList: [], | 
			
		
	
		
			
				
					|  |  |  |       // 用一个字符串来保存当前双击的是哪一个单元格 | 
			
		
	
	
		
			
				
					|  |  | @ -281,9 +284,11 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |         extraHead: '<style> .el-table .el-table__cell{padding:9px 0 !important;}</style>', | 
			
		
	
		
			
				
					|  |  |  |         closeCallback: () => { | 
			
		
	
		
			
				
					|  |  |  |           this.printHidden = true | 
			
		
	
		
			
				
					|  |  |  |           this.printHiddenProject = true | 
			
		
	
		
			
				
					|  |  |  |         } | 
			
		
	
		
			
				
					|  |  |  |       }, | 
			
		
	
		
			
				
					|  |  |  |       printHidden: true | 
			
		
	
		
			
				
					|  |  |  |       printHidden: true, | 
			
		
	
		
			
				
					|  |  |  |       printHiddenProject: true | 
			
		
	
		
			
				
					|  |  |  |     } | 
			
		
	
		
			
				
					|  |  |  |   }, | 
			
		
	
		
			
				
					|  |  |  |   created() { | 
			
		
	
	
		
			
				
					|  |  | @ -327,6 +332,10 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |         } | 
			
		
	
		
			
				
					|  |  |  |       }) | 
			
		
	
		
			
				
					|  |  |  |     }, | 
			
		
	
		
			
				
					|  |  |  |     projectChange(value) { | 
			
		
	
		
			
				
					|  |  |  |       this.curProject = this.projects.find(item => item.itemId === value) | 
			
		
	
		
			
				
					|  |  |  |       this.getDataListInitial() | 
			
		
	
		
			
				
					|  |  |  |     }, | 
			
		
	
		
			
				
					|  |  |  |     // 获取全部项目 | 
			
		
	
		
			
				
					|  |  |  |     queryProjects(value) { | 
			
		
	
		
			
				
					|  |  |  |       this.$http.get('/patient/getZlItemDict', { | 
			
		
	
	
		
			
				
					|  |  | @ -343,6 +352,7 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |     }, | 
			
		
	
		
			
				
					|  |  |  |     printTable() { | 
			
		
	
		
			
				
					|  |  |  |       this.printHidden = false | 
			
		
	
		
			
				
					|  |  |  |       this.printHiddenProject = false | 
			
		
	
		
			
				
					|  |  |  |     }, | 
			
		
	
		
			
				
					|  |  |  |     // 改约 | 
			
		
	
		
			
				
					|  |  |  |     changeOrder() { | 
			
		
	
	
		
			
				
					|  |  | @ -507,4 +517,8 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |     padding: 0; | 
			
		
	
		
			
				
					|  |  |  |   } | 
			
		
	
		
			
				
					|  |  |  | } | 
			
		
	
		
			
				
					|  |  |  | .project_title{ | 
			
		
	
		
			
				
					|  |  |  |   font-weight: bold; | 
			
		
	
		
			
				
					|  |  |  |   font-size: 18px; | 
			
		
	
		
			
				
					|  |  |  | } | 
			
		
	
		
			
				
					|  |  |  | </style> | 
			
		
	
	
		
			
				
					|  |  | 
 |