摘要:基于的醫(yī)院信息管理系統(tǒng)部分代碼實(shí)現(xiàn)科室添加科室列表添加名稱科室列表編輯
基于javaweb+jsp的醫(yī)院信息管理系統(tǒng)
JavaWeb JavaBean JSP MVC MySQL Tomcat JavaScript idea eclipse MyEclipse Servlet SSM Maven …
部分代碼實(shí)現(xiàn)JSP
<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8" %><html><head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>科室 添加title> <%@ include file="include/head.jsp" %>head><body><div class="container-fluid"> <ul class="nav nav-tabs"> <li><a href="DeptServlet?action=list">科室 列表a>li> <li class="active"><a href="#">添加a>li> ul> <br/> <form class="form-horizontal" role="form" action="DeptServlet?action=add" method="post" onsubmit="return check()"> <div class="form-group"> <label class="col-sm-3 control-label">名稱:label>
<%@ include file="include/head.jsp" %>head><body><div class="container-fluid"> <ul class="nav nav-tabs"> <li><a href="DeptServlet?action=list">科室 列表a>li> <li class="active"><a href="#">編輯a>li> ul> <br/> <form class="form-horizontal" role="form" action="DeptServlet?action=edit" method="post" onsubmit="return check()"> <input type="hidden" class="form-control" id="id" name="id" value="${vo.id}"/> <div class="form-group"> <label class="col-sm-3 control-label">名稱:label> <div class="col-sm-5"> <input type="text" class="form-control" id="deptName" name="deptName" value="${vo.deptName}"> div> div> <div class="form-group"> <label class="col-sm-3 control-label">是否掛號(hào):label>
<tr> <th>名稱th> <th>是否掛號(hào)th> <th>操作th> tr> thead> <tbody> <c:forEach items="${list}" var="vo"> <tr> <td><a href="DeptServlet?action=get&id=${vo.id}">${vo.deptName}a>td> <td>${vo.deptGuahao}td> <td> <button onclick="window.location.href="DeptServlet?action=editPre&id=${vo.id}"" class="btn btn-pill btn-success btn-xs" if test="${loginUser.userType != "管理員"}">disabled="disabled" title="沒(méi)有權(quán)限?。?!"c:if> > <span class="glyphicon glyphicon-pencil" aria-hidden="true">span> 編輯 button>
是 否 div> div> <div class="form-group"> <label class="col-sm-3 control-label">描述:label> <div class="col-sm-5"> <textarea rows="3" class="form-control" id="deptText" name="deptText" placeholder="請(qǐng)輸入內(nèi)容......">${vo.deptText}textarea> div> div> <div class="form-group"> <label class="col-sm-3 control-label">label> <div class="col-sm-5"> <input type="submit" class="btn btn-pill btn-info btn-sm" value="保存"> <input type="button" class="btn btn-pill btn-info btn-sm" value="返回" onclick="javascript:history.back(-1);"> div> div>
<span class="glyphicon glyphicon-remove" aria-hidden="true">span> 刪除 button> td> tr> c:forEach> tbody> table> <div style="float: right;padding-right: 10px;color: #515151;"><jsp:include page="split.jsp"/>div>div>body>
<ul class="nav nav-tabs"> <li class="active"><a href="DeptServlet?action=list">科室 列表a>li> <c:if test="${loginUser.userType == "管理員"}"><li><a href="dept_add.jsp">添加a>li>c:if> ul> <br/> <form class="form-inline" id="searchForm" action="DeptServlet?action=list" method="post"> <div class="form-group"> <input type="text" class="form-control" name="keyword" id="keyword" placeholder="名稱"> <input type="hidden" id="searchColumn" name="searchColumn" value="dept_name"/> div> <button class="btn btn-pill btn-success btn-sm"><span class="glyphicon glyphicon-search" aria-hidden="true">span>查詢 button> form> <br/> <table class="table table-hover table-bordered">
div> div> form>div>body>html><%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8" %><html><head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>科室 管理title> <%@ include file="include/head.jsp" %>head><body>
div>body><script type="text/javascript"> //提交之前進(jìn)行檢查,如果return false,則不允許提交 function check() { //根據(jù)ID獲取值 if (document.getElementById("deptName").value.trim().length == 0) { alert("名稱不能為空!"); return false; } return true; }script>html><%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8" %><html><head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>科室 詳情title> <%@ include file="include/head.jsp" %>
function check() { //根據(jù)ID獲取值 if (document.getElementById("deptName").value.trim().length == 0) { alert("名稱不能為空!"); return false; } return true; }script>html><%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8" %><html><head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
div> div> <div class="form-group"> <label class="col-sm-3 control-label">label> <div class="col-sm-5"> <input type="submit" class="btn btn-pill btn-info btn-sm" value="保存"> <input type="button" class="btn btn-pill btn-info btn-sm" value="返回" onclick="javascript:history.back(-1);"> div> div> form>div>body><script type="text/javascript">
${vo.deptGuahao} div> div> <div class="form-group"> <label class="col-sm-3 control-label">描述:label> <div class="col-sm-5" style="padding-top: 7px;"> <textarea rows="3" class="form-control" id="deptText" name="deptText" disabled="disabled">${vo.deptText}textarea> div> div> <div class="form-group"> <label class="col-sm-3 control-label">label>
文章版權(quán)歸作者所有,未經(jīng)允許請(qǐng)勿轉(zhuǎn)載,若此文章存在違規(guī)行為,您可以聯(lián)系管理員刪除。
轉(zhuǎn)載請(qǐng)注明本文地址:http://systransis.cn/yun/124709.html
摘要:基于的醫(yī)院信息管理系統(tǒng)代碼實(shí)現(xiàn)提交取消是否掛號(hào)否否 基于javaweb+jsp的醫(yī)院信息管理系統(tǒng) 代碼實(shí)現(xiàn) }) ...
摘要:基于的健身房信息管理系統(tǒng)代碼實(shí)現(xiàn)性別創(chuàng)建時(shí)間詳情女女女年 基于javaweb+jsp的健身房信息管理系統(tǒng) 代碼實(shí)現(xiàn) ...
摘要:基于的手機(jī)店銷售信息管理系統(tǒng)代碼實(shí)現(xiàn)性別 基于javaweb+jsp的手機(jī)店銷售信息管理系統(tǒng) 代碼實(shí)現(xiàn) ...
摘要:基于的機(jī)房設(shè)備管理系統(tǒng)部分代碼實(shí)現(xiàn)機(jī)房號(hào)容納人數(shù)介紹狀態(tài) 基于javaweb+jsp的機(jī)房設(shè)備管理系統(tǒng) JavaWeb JavaBean JSP MVC MySQL...
摘要:基于的高??蒲许?xiàng)目管理系統(tǒng)部分代碼實(shí)現(xiàn)科研方向備注 基于javaweb+jsp的高??蒲许?xiàng)目管理系統(tǒng) JavaWeb JavaBean JSP MVC MySQL ...
閱讀 2390·2023-04-25 19:27
閱讀 3499·2021-11-24 09:39
閱讀 3917·2021-10-08 10:17
閱讀 3407·2019-08-30 13:48
閱讀 1939·2019-08-29 12:26
閱讀 3131·2019-08-28 17:52
閱讀 3545·2019-08-26 14:01
閱讀 3542·2019-08-26 12:19