基于javaweb+jsp的毕业生离校管理系统
Posted qq_1742826239
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了基于javaweb+jsp的毕业生离校管理系统相关的知识,希望对你有一定的参考价值。
基于javaweb+jsp的毕业生离校管理系统
JavaWeb JavaBean JSP MVC mysql Tomcat javascript idea eclipse MyEclipse Servlet SSM Maven …
部分代码实现JSP
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-pill btn-grad btn-default" data-dismiss="modal">取消</button>
<button type="submit" class="btn btn-pill btn-grad btn-primary">提交</button>
</div>
</form>
</div>
</div>
</div>
<!-- info -->
<div class="modal fade" id="modal-info" tabindex="-1" role="dialog"
aria-labelledby="myModalLabel">
<div class="modal-dialog" role="document">
<div class="modal-content">
<form>
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
else
modal.find('#edit-studentSex_' + vo.studentSex).removeAttr("checked");
;
modal.find('#edit-studentNumber').val(vo.studentNumber);
modal.find('#edit-studentClass').val(vo.studentClass);
modal.find('#edit-studentPhone').val(vo.studentPhone);
for (let val of "已通过/待审核".split('/'))
if (val == vo.studentStatus)
modal.find('#edit-studentStatus_' + vo.studentStatus).prop("checked", true);
else
modal.find('#edit-studentStatus_' + vo.studentStatus).removeAttr("checked");
modal.find('#info-studentStatus').text(vo.studentStatus);
modal.find('#info-studentDate').text(vo.studentDate);
modal.find('#info-studentText').text(vo.studentText);
)
)
function searchList()
window.location.href = "studentList?searchColumn="+document.getElementById("searchColumn").value+"&keyword=" + document.getElementById("search_keyword").value;
//增加表单提交之前进行检查,如果return false,则不允许提交
function addCheck()
//根据ID获取值
if (document.getElementById("add-studentName").value.trim().length == 0)
<div class="form-group hidden">
<label for="edit-createTime" class="control-label">创建时间:</label>
<input type="text" class="form-control" name="createTime" id="edit-createTime">
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-pill btn-grad btn-default" data-dismiss="modal">取消</button>
<button type="submit" class="btn btn-pill btn-grad btn-primary">提交</button>
</div>
</form>
</div>
</div>
</div>
</div>
<div class="modal-body">
<div class="form-group hidden">
<label class="control-label">(hidden)</label>
<input type="text" class="form-control" name="action" value="add">
</div>
<div class="form-group">
<label for="add-studentName" class="control-label">姓名:</label>
<input type="text" class="form-control" name="studentName" id="add-studentName">
</div>
<div class="form-group">
<label for="add-studentAge" class="control-label">年龄:</label>
<input type="text" class="form-control" name="studentAge" id="add-studentAge">
</div>
<div class="form-group">
<label class="control-label">性别:</label>
<input name="studentSex" id="add-studentSex_男" type="radio" value="男" checked="checked"/>男
<input name="studentSex" id="add-studentSex_女" type="radio" value="女"/>女
</div>
<div class="form-group">
<!-- delete -->
<div class="modal fade" id="modal-delete" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
<div class="modal-dialog" role="document">
<div class="modal-content">
<form action="studentDelete">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
<h4 class="modal-title">删除学生信息</h4>
</div>
<div class="modal-body">
确认要删除该学生信息记录吗?
<div class="form-group hidden">
<label class="control-label">(hidden)</label>
<input type="hidden" class="form-control" name="action" value="delete">
<input type="text" class="form-control" name="id" id="delete-id">
</div>
</div>
<input type="text" readonly class="form-control" name="id" id="edit-id">
</div>
<div class="form-group">
<label for="edit-studentName" class="control-label">姓名:</label>
<input type="text" class="form-control" name="studentName" id="edit-studentName">
</div>
<div class="form-group">
<label for="edit-studentAge" class="control-label">年龄:</label>
<input type="text" class="form-control" name="studentAge" id="edit-studentAge">
</div>
<div class="form-group">
<label class="control-label">性别:</label>
<input name="studentSex" id="edit-studentSex_男" type="radio" value="男"/>男
<input name="studentSex" id="edit-studentSex_女" type="radio" value="女"/>女
</div>
<div class="form-group">
<label for="edit-studentNumber" class="control-label">学号:</label>
<input type="text" class="form-control" name="studentNumber" id="edit-studentNumber">
</div>
<input type="text" class="form-control" name="studentNumber" id="add-studentNumber">
</div>
<div class="form-group">
<label for="add-studentClass" class="control-label">班级:</label>
<input type="text" class="form-control" name="studentClass" id="add-studentClass">
</div>
<div class="form-group">
<label for="add-studentPhone" class="control-label">联系方式:</label>
<input type="text" class="form-control" name="studentPhone" id="add-studentPhone">
</div>
<div class="form-group">
<label class="control-label">离校审核:</label>
<input name="studentStatus" id="add-studentStatus_已通过" type="radio" value="已通过" checked="checked"/>已通过
<input name="studentStatus" id="add-studentStatus_待审核" type="radio" value="待审核"/>待审核
</div>
<div class="form-group">
<label for="add-studentDate" class="control-label">离校日期:</label>
<input type="text" class="form-control" name="studentDate" id="add-studentDate">
</div>
<div class="form-group">
<label for="add-studentText" class="control-label">备注:</label>
if (document.getElementById("edit-studentNumber").value.trim().length == 0)
alert("学号不能为空");
return false;
if (document.getElementById("edit-studentClass").value.trim().length == 0)
alert("班级不能为空");
return false;
if (document.getElementById("edit-studentPhone").value.trim().length == 0)
alert("联系方式不能为空");
return false;
if (document.getElementById("edit-studentDate").value.trim().length == 0)
alert("离校日期不能为空");
return false;
<tr>
计算机毕业设计-基于javaweb的外卖点餐系统-基于jsp的外卖系统源代码-校园外卖点餐系统java-骑手送外卖商家统计项目代码