| 
					
					
						
							
						
					
					
				 | 
				@ -52,6 +52,9 @@ | 
			
		
		
	
		
			
				 | 
				 | 
				                    <el-button :icon="Search" @click="btnQuery" | 
				 | 
				 | 
				                    <el-button :icon="Search" @click="btnQuery" | 
			
		
		
	
		
			
				 | 
				 | 
				                        :style="`margin-left: 0px;min-width:40px;color:#67C23A;font-size: ${state.winForm.icon.size}px;`" /> | 
				 | 
				 | 
				                        :style="`margin-left: 0px;min-width:40px;color:#67C23A;font-size: ${state.winForm.icon.size}px;`" /> | 
			
		
		
	
		
			
				 | 
				 | 
				                </el-tooltip> | 
				 | 
				 | 
				                </el-tooltip> | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				                <div style="margin-left:15px"> | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				                    <el-button type="primary" @click="exportToExcel">导出Excel</el-button> | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				                </div> | 
			
		
		
	
		
			
				 | 
				 | 
				            </div> | 
				 | 
				 | 
				            </div> | 
			
		
		
	
		
			
				 | 
				 | 
				            <!-- 数据表格 --> | 
				 | 
				 | 
				            <!-- 数据表格 --> | 
			
		
		
	
		
			
				 | 
				 | 
				            <div :id="`el_${data.base.name}_table`"> | 
				 | 
				 | 
				            <div :id="`el_${data.base.name}_table`"> | 
			
		
		
	
	
		
			
				| 
					
						
							
						
					
					
						
							
						
					
					
				 | 
				@ -85,7 +88,8 @@ import { reactive, ref, getCurrentInstance, computed, onMounted, watch, nextTick | 
			
		
		
	
		
			
				 | 
				 | 
				import { ElTable, ElMessage, ElMessageBox } from 'element-plus' | 
				 | 
				 | 
				import { ElTable, ElMessage, ElMessageBox } from 'element-plus' | 
			
		
		
	
		
			
				 | 
				 | 
				import { Plus, Operation, Message, MoreFilled, Search, Setting, Edit, Delete } from '@element-plus/icons-vue' | 
				 | 
				 | 
				import { Plus, Operation, Message, MoreFilled, Search, Setting, Edit, Delete } from '@element-plus/icons-vue' | 
			
		
		
	
		
			
				 | 
				 | 
				import { useStore } from 'vuex' | 
				 | 
				 | 
				import { useStore } from 'vuex' | 
			
		
		
	
		
			
				 | 
				 | 
				
 | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				import { saveAs } from 'file-saver'; | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				import * as XLSX from 'xlsx'; | 
			
		
		
	
		
			
				 | 
				 | 
				
 | 
				 | 
				 | 
				
 | 
			
		
		
	
		
			
				 | 
				 | 
				// 项目封装的脚手架 | 
				 | 
				 | 
				// 项目封装的脚手架 | 
			
		
		
	
		
			
				 | 
				 | 
				import { abcfun } from 'abcfun' | 
				 | 
				 | 
				import { abcfun } from 'abcfun' | 
			
		
		
	
	
		
			
				| 
					
						
							
						
					
					
						
							
						
					
					
				 | 
				@ -166,6 +170,38 @@ const disabledWeeks = (rowIndex: number, weekId: number) => { | 
			
		
		
	
		
			
				 | 
				 | 
				const menuSelect = (key: string, keyPath: string[]) => { | 
				 | 
				 | 
				const menuSelect = (key: string, keyPath: string[]) => { | 
			
		
		
	
		
			
				 | 
				 | 
				    console.log(key, keyPath) | 
				 | 
				 | 
				    console.log(key, keyPath) | 
			
		
		
	
		
			
				 | 
				 | 
				} | 
				 | 
				 | 
				} | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				const exportToExcel=()=>{ | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				    var wb = XLSX.utils.table_to_book(document.querySelector('#tableId'),{ raw: true });//关联dom节点 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
					var wbout = XLSX.write(wb, { | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
						bookType: 'xlsx', | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
						bookSST: true, | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
						type: 'array' | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
					}) | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				    let fileName = formatDate(new Date()) | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
					try { | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
						saveAs(new Blob([wbout], { | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
							type: 'text/plain;charset=utf-8' | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
						}), fileName+'.xlsx')//自定义文件名 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
					} catch (e) { | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
						if (typeof console !== 'undefined') console.log(e, wbout); | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
					} | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
					return wbout | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				} | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				const formatDate=(date)=> { | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				  let year = date.getFullYear(); | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				//   year = year.toString().slice(2, 4); // 获取年份的后两位 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				  | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				  let month = date.getMonth() + 1; // 月份是从0开始的,所以需要+1 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				  month = month < 10 ? '0' + month : month; // 月份小于10前面补0 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				  | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				  let day = date.getDate(); | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				  day = day < 10 ? '0' + day : day; // 日期小于10前面补0 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				  let h = date.getHours(); //获取时 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				      let m = date.getMinutes(); //获取分 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				      let s = date.getSeconds(); //获取秒 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				  | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				  return `${year}${month}${day}${h}${m}${s}`; | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				} | 
			
		
		
	
		
			
				 | 
				 | 
				// 菜单--高级查询 | 
				 | 
				 | 
				// 菜单--高级查询 | 
			
		
		
	
		
			
				 | 
				 | 
				const btnQuery = () => { | 
				 | 
				 | 
				const btnQuery = () => { | 
			
		
		
	
		
			
				 | 
				 | 
				    axios.post(appConfig, '/api/app/AppointPatientRegister/GetAppointPatientRegisterList', { | 
				 | 
				 | 
				    axios.post(appConfig, '/api/app/AppointPatientRegister/GetAppointPatientRegisterList', { | 
			
		
		
	
	
		
			
				| 
					
						
							
						
					
					
					
				 | 
				
  |