⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 patientlist.jsp

📁 这是一个针对医院管理的一个系统
💻 JSP
字号:
<%@ page language="java" pageEncoding="GBK"%>

<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>



<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html:html lang="true">
<head>
	<html:base />

	<title>patientList.jsp</title>
	<link rel="stylesheet" type="text/css" href="/HospitalManageSystem/css/share_css.css">
	<script charset="utf-8" language="javascript" type="text/javascript" src="../js/patient.js"></script>


</head>

<body>
	<center>
			
				查询方式
			<select name="selectType" id="selectType">
				<option value="patient_id">按病人编号查询</option>
				<option value="patient_name">按姓名查询</option>
				<option value="patient_sex">按性别查询</option>
				<option value="patient_jiguan">按籍贯查询</option>
			</select>
			<input type="text" name="selectMess" value="" id="selectMess">

			<input type="button" name="button" value="查询" onclick="getCostomerInfo();" >
		
			<table border="1" id="table1">
				<tr>
					<th>
						病人编号
					</th>
					<th>
						姓名
					</th>
					<th>
						性别
					</th>
					<th>
						出生年月
					</th>
					<th>
						地址
					</th>
					<th>
						籍贯
					</th>
					<th>
						住院状态
					</th>
					<th>
						删除
					</th>
					<th>
						修改
					</th>
				</tr>
				<logic:present name="listPatient">
				<logic:iterate id="patient" name="listPatient">
					<tr>
						<td>
							<bean:write name="patient" property="patient_id" />
						</td>
						<td>
							<bean:write name="patient" property="patient_name" />
						</td>
						<td>
							<bean:write name="patient" property="patient_sex" />
						</td>
						<td>
							<bean:write name="patient" property="patient_birth" />
						</td>
						<td>
							<bean:write name="patient" property="patient_address" />
						</td>
						<td>
							<bean:write name="patient" property="patient_jiguan" />
						</td>
						<td>
							<bean:write name="patient" property="patient_state" />
						</td>
						<td>
							<html:link href="/HospitalManageSystem/patient.do?methods=deletePatient&patient_id=${patient.patient_id}">删除</html:link>
						</td>
						<td><html:link href="/HospitalManageSystem/patient/updatePatient.jsp?
											patient_id=${patient.patient_id}
											&patient_name=${patient.patient_name}
											&patient_sex=${patient.patient_sex}
											&patient_birth=${patient.patient_birth}
											&patient_address=${patient.patient_address}
											&patient_jiguan=${patient.patient_jiguan}
											&patient_state=${patient.patient_state}
											&pay_money=${patient.pay_money}
											">修改</html:link>
						</td>
					</tr>
				</logic:iterate>
				</logic:present>
			</table>
		

	</center>
</body>
</html:html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -