第二篇

MyHospital02

健康科普.html

<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<style type="text/css">
			body{
				margin: 0px;
				padding: 0px;
			}
			
			#yuan{
				margin-left: 150px;
				margin-top: 30px;
				position: absolute;
			}
			
			#body{	
				height:860px;			
				 /* Safari 5.1 - 6.0 */
				  background: -webkit-linear-gradient(#BBF5E9, white);
				  background: -moz-linear-gradient(#BBF5E9, white);
				  background: -o-linear-gradient(#BBF5E9, white);
				  background: -webkit-gradient(linear, 0 0, 0 100%, from(#BBF5E9), to(white));
				  background: linear-gradient(#BBF5E9, white); /* Opera 11.1 - 12.0 */
				 /* Firefox 3.6 - 15 */
			}
			
			#div1{
				display: flex;
				justify-content: center;
				align-items: center;
				font-size: 50px;
				font-family: "楷体";
			}
			
			
			}
			#sub{
				margin: 0 auto;
				width: 0px;
			}
			span{
				font-size: 24px;
			}	
			.m{
				text-align: center;
				color: cadetblue;
			}				
		</style>		
	</head>
	<body>
		<div id="yuan">
		<div id="body">
			
				<img src="img/123.bmp" style="width:100%"/>
				<h1 class="m">咳痰总不好,是结核了么?协和医生给你全面解析肺结核的防治</h1>
				<hr style="border: 1px dashed #blue;" align="left"width="1800px" />
				<a class="m">时间:2019.08.02&nbsp;&nbsp;&nbsp;&nbsp;点击数367次&nbsp;&nbsp;&nbsp;&nbsp;字体:小&nbsp;&nbsp;&nbsp;&nbsp;发布来源:本站原创</a><br />
				<span>虽然结核病在我国的发病率总体呈下降趋势,但我国仍是结核病高流行的国家,世界卫生组织<br/>《世界卫生组织2018年全球结核病报告》,估计我国新发结核患者约 89万左右,在世界上排在第二位,<br/>而且耐多药结核病、结核与HIV共感染等的出现都给结核病控制带来了很大的挑战。    </span>
				<h2 class="m">肺结核是怎么传染的 </h2><br />
				<span>结核病是由结核分枝杆菌感染人体所致,结核病中最高发的是肺结核,肺结核通过呼吸道传播。<br/>当病人咳嗽、打喷嚏、大声说话时,可产生大量含结核菌的飞沫微粒,而这些微粒可较长时间悬浮在空气中,<br/>在空气不流通的室内可长达4-5小时。肺结核病人的密切接触者可因吸入这些微粒而被传染。例如人在说话的时候,<br/>每分钟带出约200个飞沫微粒;而打喷嚏的时候一次喷出多达100万个飞沫微粒。吸入结核菌的数量越多,越容易被传染,<br/>而接触者只要大约吸入含5条结核菌的飞沫微粒就有可能会被传染。
 



下面六种情况的肺结核病人可排出更多的结核菌,更具<br/>传染性: <br/>




1、反复咳嗽的结核病人,他们咳出的飞沫更多; <br />




2、胸片发现有空洞的病人,肺空洞里通常聚集着大量结核菌,更容易通过咳嗽播散到空气中;<br /> 




3、开放性肺结核病人,也就是痰中可以查到结核菌的病人(痰结核菌培养阳性或痰结核菌核酸检测阳性); <br /> 




4、结核病灶在肺内、气管、咽喉部的病人; <br /> 




5、没有得到规范诊治的结核病人。肺结核治疗疗程长,因此需由医务人员或家属进行督导服药管理,降低他们的传染性。 <br /> 




6、进行气道相关操作的病人,例如支气管镜、诱导排痰、雾化等操作都会更容易让病人肺里的结核菌跑到空气中来。 <br /> 




肺外结核的病人不通过呼吸道排出结核菌,则基本没有传染性,如淋巴结核、结核性腹膜炎等。此外,<br/>由于小孩子通常咳嗽小,通常排出的菌量比成人少,传染性弱于成人。
 </span>
<h3>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2019年7月</h3>
			</div>			
			
			</div>			
		</div>
		
	</body>
</html>

员工页.jsp

<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <!-- JSTL 
    core  核心标签库
    
    -->
<%@ taglib uri="http://java.sun.com/jsp/jstl/core"  prefix="c"%>  <!-- 标签库 -->  
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
		<meta charset="UTF-8">
		<title></title>
		<style type="text/css">
			body{
				margin: 0px;
				padding: 0px;
			}
			
			#yuan{
				margin-left: 150px;
				margin-top: 30px;
				position: absolute;
			}
			
			#body{	
				height:860px;			
				 /* Safari 5.1 - 6.0 */
				  background: -webkit-linear-gradient(#BBF5E9, white);
				  background: -moz-linear-gradient(#BBF5E9, white);
				  background: -o-linear-gradient(#BBF5E9, white);
				  background: -webkit-gradient(linear, 0 0, 0 100%, from(#BBF5E9), to(white));
				  background: linear-gradient(#BBF5E9, white); /* Opera 11.1 - 12.0 */
				 /* Firefox 3.6 - 15 */
			}
			
			#dakuang{
				width: 1700px;
				height: 700px;	
				/*border: 1px solid darkgreen;*/			
			}
			
			#div1{
				margin-left: 150px;
				width: 220px;
				height: 480px;							
			}
			
			.div1_1{
				height: 100px;
				width: 100%;
				text-align: center;
				line-height: 100px;
				font-family: "楷体";
				font-size: 30px;
				font-weight:bold;
			}
			
			.div1_1:hover{
				background-color: #008000;
				color: white;
				opacity: 0.65;
			}
			
			#div2 {
				/*border: 1px solid darkgreen;*/
				height: 700px;
				width: 1200px;
				/*background-color: yellow;*/
				display: none;
				float: right;
				margin-top: -480px;
			}
			#xiabiao {
				background: url(img/下标图.png) no-repeat;
				background-size: 700px, 0px;
				background-position: right bottom;
				margin-right: -419px;
			}
			
			#div3 {
				/*border: 1px solid darkgreen;*/
				height: 700px;
				width: 1200px;
				display: none;
				float: right;
				margin-top: -480px;
			}
			#xiabiao2 {
				background: url(img/下标图.png) no-repeat;
				background-size: 700px, 0px;
				background-position: right bottom;
				margin-right: -419px;
			}
			
			#div4 {
				/*border: 1px solid darkgreen;*/
				height: 700px;
				width: 1200px;
				/*background-color: yellow;*/
				display: none;
				float: right;
				margin-top: -480px;
			}
			#xiabiao3 {
				background: url(img/下标图.png) no-repeat;
				background-size: 700px, 0px;
				background-position: right bottom;
				/* padding: 330px; */
				margin-right: -419px;
			}
			/* table{
				border:1px,
				width:400px;
				height:600px;
				cellspacing:center;
				cellpadding:center;
			}  */
			#text_div{
				margin-left: 150px;
			}
			#text{
				width: 600px;
				height: 50px;
				/*border: 1px solid;*/
				align-content: center;
				text-align: center;
				font-family: "楷体";
				font-size: 30px;
			}
			
			#textarea_div{
				height: 450px;
				width: 1500px;
				/*border: 1px solid darkgray;*/
				margin-top: 30px;
			}
			
			#textarea{
				height: 550px;
				width: 950px;
			}
			
			#submit{
				margin-left: 400px;
			}
			a {
				text-decoration: none;
				color:black;
			}
			td{
				text-align: center;
				vertical-align: middle;
			}
		</style>		
	</head>
	<body>
		<div id="body">
			<div id="yuan">
				<img src="img/院标.png"/>
			</div>			
			<br />
			<br />
			<br />
			<br />
			<br />
			<br />
			<br />
			<br />			
			<br />
			<hr>	
			<br />
			<br />			
			<br />
			<div id="dakuang">
				<div id="div1">
					<div id="d1" class="div1_1">挂 号 信 息</div>
					<div id="d2" class="div1_1">内 部 公 告</div>
					<div id="d3" class="div1_1">医 师 信 息</div>				
					<div id="d4" class="div1_1"><a href="index.html">退 出 登 录</a></div>
				</div>			
				<div id="div2">
					<div id="xiabiao">
						<%-- ${requestScope.list }  EL表达式  忽略null
							request.getAttribute("list")
							var  n  遍历的当前对象
							${n.gId} --%>
					<%request.getAttribute("list1"); %>
					<c:forEach items="${list1 }" var="n">
			
						<table border="1px" cellspacing="0" cellpadding="10px" width="300px" height="50px">
							
							<tr>
								<th>编号:</th>
								<td>${n.GUAHAO_ID}</td>
							</tr>
							<tr>
								<th>病人姓名:</th>
								<td>${n.PATIENT_NAME}</td>
							</tr>
							<tr>
								<th>时间:</th>
								<td>${n.WORK_TIME}</td>
							</tr>
							<tr>
								<th>性别:</th>
								<td>${n.SEX}</td>
							</tr>
							<tr>
								<th>金额:</th>
								<td>${n.MONEY}</td>
							</tr>
						</table>
						</c:forEach>
					</div>
				</div>
				
				<div id="div3">
					<div id="xiabiao2">
					<%request.getAttribute("list2");%>
					<c:forEach items="${list2}" var="n2"> 
			
						<form action="#" method="get">
						<div id="text_div">
						<input type="text" name="noticeHead" id="text" value="${n2.NOTICE_HEAD}" disabled="true"/>						
						</div>
						<div id="textarea_div">
						<textarea id="textarea" name="noticeContent"  disabled="true">${n2.NOTICE_CONTENT}</textarea>						
						</div>
						<br />
					</form>	<br /><br /><br />	
						</c:forEach> 
					</div>
				</div>
				
				<div id="div4">
					<div id="xiabiao3">
					<%request.getAttribute("list"); %>
					<c:forEach items="${list}" var="n3">
			
						<table border="1px" cellspacing="0" cellpadding="10px" width="700px" height="600px">
							<tr>
								<th>ID:</th>
								<td>${n3.DOCTOR_ID}</td>
							</tr>
							<tr>
								<th>姓名:</th>
								<td>${n3.DOCTOR_NAME}</td>
							</tr>
							<tr>
								<th>密码:</th>
								<td>${n3.PASSWORD}</td>
							</tr>
							<tr>
								<th>职称:</th>
								<td>${n3.JOB_TITLE}</td>
							</tr>
							<tr>
								<th>擅长:</th>
								<td>${n3.GOOD_JOB}</td>
							</tr>
						</table>
						</c:forEach>
					</div>
				</div>
				
							
			</div>
		</div>
	</body>
	<script type="text/javascript">
		document.getElementById("d1").onclick = function() {
			document.getElementById("div2").style.display = "block";
			document.getElementById("div3").style.display="none";
			document.getElementById("div4").style.display="none";
		}
		document.getElementById("d2").onclick=function(){
			document.getElementById("div2").style.display="none";
			document.getElementById("div3").style.display="block";
			document.getElementById("div4").style.display="none";
		}
		document.getElementById("d3").onclick=function(){
			document.getElementById("div2").style.display="none";
			document.getElementById("div3").style.display="none";
			document.getElementById("div4").style.display="block";
		}
	</script>
</html>

adminLogin.html

<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
	<form action="LoginServlet" method="get">
			<div>
				管理员名:<input type="text" name="adminName" id="adminName"/>	
			</div>
			<div>
				密码:<input type="password" name="adminPwd" id="adminPwd"/>
			</div>
			<input/ type="submit" value="登录"">
		</form>
</body>
</html>

departmentShow.html

<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>科室导航</title>
<style type="text/css">
		body{	
				height:1000px;			
				 /* Safari 5.1 - 6.0 */
				  background: -webkit-linear-gradient(#BBF5E9, white);
				  background: -moz-linear-gradient(#BBF5E9, white);
				  background: -o-linear-gradient(#BBF5E9, white);
				  background: -webkit-gradient(linear, 0 0, 0 100%, from(#BBF5E9), to(white));
				  background: linear-gradient(#BBF5E9, white); /* Opera 11.1 - 12.0 */
				 /* Firefox 3.6 - 15 */
			}
			#yuan{
				margin-left: 150px;
				margin-top: 30px;
				margin-bottom: 30px;
			}
			
		ul {
		height: 30px;
		width: 25%;
		display: table;
		padding: 10px;
		}

ul li {
	display: table-cell;
	vertical-align: middle;
	text-align: center;
	border-left: 1px green solid;
	border-top: 1px green solid;
	border-bottom: 1px green solid;
	cursor: pointer;
}

ul li:last-child {
	border-right: 1px green solid;
	
}

ul li a {
	text-decoration: none;
}
.td1{
width:200px;
}
.td2{
}
.td3{
width:100px;
}
		a {
			text-decoration: none;
			color:green;
			}
		td{
			text-align: center;
			vertical-align: middle;
			}
			
</style>
</head>
<body>
	<div id="yuan">
		<img src="img/院标.png" />
	</div>
	<div id="content1">
		
	</div>
	<div id="content2">
		<ul id="msg_ul">
			
		</ul>
	</div>

</body>
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript">
	$(function(){
		$.ajax({
			url:"DepartmentShowServlet",
			type:"get",
			data:{
				page:1
			},
			dataType:"json",
			success:function(data){
				getPage(data.helper);
				getMsg(data.list);
			}
		})
		//jqery 动态绑定事件 
		$("#msg_ul").on("click","li",function(){
			$.ajax({
				url:"DepartmentShowServlet",
				type:"get",
				data:{
					page:$(this).html()
				},
				dataType:"json",
				success:function(data){
					getPage(data.helper);
					getMsg(data.list);
				}
			})
		})
	})
	
	function getPage(data){
		var line = "";
		//获取页码  data
		for(var i = 1; i<= data ; i++){
			line += "<li>"+i+"</li>"
		}
		/* line += "<li>跳转:<span></span></li>" */
		$("#msg_ul").html(line);
	}
	
	function getMsg(data){
		//获取信息 
		var line = "<table border='1px' cellspacing='0px'><tr><th>名称</th><th>简介</th><th>入口</th></tr>"
		for(var i = 0;i<data.length;i++){
			line+= "<tr>";
			line+="<td class='td1'>"+data[i].DEPARTMENT_NAME+"</td>";
			line+="<td class='td2'>"+data[i].DEPARTMENT_SYNOPSIS+"</td>";
			line+="<td class='td3'><a href='ReadDepartmentServlet?DEPARTMENT_NAME="+data[i].DEPARTMENT_NAME+"'>进入</a></td>";
			line+="</tr>";
		}
		line+="</table>";
		$("#content1").html(line);
		
	}
</script>
</html>

doctorLogin.html

<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
	<form action="LoginServlet" method="get">
			<div>
				医生名:<input type="text" name="doctorName" id="doctorName"/>	
			</div>
			<div>
				密码:<input type="password" name="doctorPwd" id="doctorPwd"/>
			</div>
			<input/ type="submit" value="登录"">
		</form>
</body>
</html>
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值