|
|
|
@ -6,84 +6,85 @@
|
|
|
|
|
<head>
|
|
|
|
|
<title>科室管理</title>
|
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
|
<meta charset=utf-8">
|
|
|
|
|
<!-- 引入 Bootstrap -->
|
|
|
|
|
<link rel="stylesheet" href="${path}/static/css/comm.css">
|
|
|
|
|
<link rel="stylesheet" href="${path}/static/zTree_v3-master/css/zTreeStyle/zTreeStyle.css">
|
|
|
|
|
<style type="text/css">
|
|
|
|
|
hr {
|
|
|
|
|
margin: 0;
|
|
|
|
|
}
|
|
|
|
|
/*页头*/
|
|
|
|
|
.panel-heading{
|
|
|
|
|
padding: 0 16px;
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
hr{
|
|
|
|
|
margin:0;
|
|
|
|
|
}
|
|
|
|
|
.form-group{
|
|
|
|
|
margin-left:15px;
|
|
|
|
|
}
|
|
|
|
|
/*模态框表单*/
|
|
|
|
|
.formDiv {
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 30px;
|
|
|
|
|
margin-top: 10px;
|
|
|
|
|
.formDiv{
|
|
|
|
|
width:100%;
|
|
|
|
|
height:30px;
|
|
|
|
|
margin-top:10px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.control-label {
|
|
|
|
|
width: 30%;
|
|
|
|
|
.control-label{
|
|
|
|
|
width:30%;
|
|
|
|
|
text-align: right;
|
|
|
|
|
padding-top: 2px;
|
|
|
|
|
padding-top:2px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.input {
|
|
|
|
|
width: 50%;
|
|
|
|
|
float: left;
|
|
|
|
|
.input{
|
|
|
|
|
width:50%;
|
|
|
|
|
float:left;
|
|
|
|
|
}
|
|
|
|
|
/*按钮组*/
|
|
|
|
|
.btns{
|
|
|
|
|
text-align: right;
|
|
|
|
|
margin-bottom: 5px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/*模态框*/
|
|
|
|
|
.modal-header {
|
|
|
|
|
.modal-header{
|
|
|
|
|
text-align: center;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.modal-title {
|
|
|
|
|
.modal-title{
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.modelBtns {
|
|
|
|
|
.modelBtns{
|
|
|
|
|
text-align: center;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.modelBtn {
|
|
|
|
|
.modelBtn{
|
|
|
|
|
width: 74px;
|
|
|
|
|
margin-left: 38px;
|
|
|
|
|
margin-bottom: 16px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.operBtns {
|
|
|
|
|
margin-left: 10px;
|
|
|
|
|
.operBtns{
|
|
|
|
|
margin-left:10px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.shortInput {
|
|
|
|
|
width: 80px;
|
|
|
|
|
.tableDiv{
|
|
|
|
|
margin-left:14px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.warningLabel {
|
|
|
|
|
margin-left: 102px;
|
|
|
|
|
.shortInput{
|
|
|
|
|
width:80px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.warningDiv {
|
|
|
|
|
.warningLabel{
|
|
|
|
|
margin-left:102px;
|
|
|
|
|
}
|
|
|
|
|
.warningDiv{
|
|
|
|
|
margin-left: 134px;
|
|
|
|
|
margin-top: -20px;
|
|
|
|
|
}
|
|
|
|
|
</style>
|
|
|
|
|
</head>
|
|
|
|
|
<body>
|
|
|
|
|
<div class="mainBody">
|
|
|
|
|
<div class="main">
|
|
|
|
|
<input type="hidden" id="roleId" value="${user.roleId}">
|
|
|
|
|
<input type="hidden" id="checks">
|
|
|
|
|
<input type="hidden" id="userNames">
|
|
|
|
|
<div class="row" style="margin-right: 0px;">
|
|
|
|
|
<div class="col-md-12">
|
|
|
|
|
<div class="panel-heading"><h4>基本管理/科室管理</h4>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
<hr>
|
|
|
|
|
</div>
|
|
|
|
|
<div style="width: 100%">
|
|
|
|
|
<input type="hidden" id="roleId" value="${user.roleId}">
|
|
|
|
|
<input type="hidden" id="checks">
|
|
|
|
|
<input type="hidden" id="userNames">
|
|
|
|
|
<div class="row">
|
|
|
|
|
<div class="col-md-12">
|
|
|
|
|
<div class="panel-heading"><h4>基本管理/科室管理</h4></div>
|
|
|
|
|
<hr>
|
|
|
|
|
<form class="form-inline" style="margin-top: 5px;" role="form">
|
|
|
|
|
<div class="col-md-12">
|
|
|
|
|
<div class="">
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label for="dept_name">科室名</label>
|
|
|
|
|
<input type="text" class="form-control input-sm" id="dept_name" maxlength="16"/>
|
|
|
|
@ -113,31 +114,29 @@
|
|
|
|
|
<input type="text" class="form-control input-sm" id="creater" maxlength="16"/>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<button type="button" style="margin-left:20px" id="queryBtn" class="btn btn-info btn-sm">查询
|
|
|
|
|
</button>
|
|
|
|
|
<button type="button" style="margin-left:20px" id="queryBtn" class="btn btn-info btn-sm">查询</button>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</form>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="btns">
|
|
|
|
|
<pm:myPermissions permissions="/dept/add">
|
|
|
|
|
<button type="button" onclick="add()" class="btn btn-warning btn-sm">增加</button>
|
|
|
|
|
</pm:myPermissions>
|
|
|
|
|
<pm:myPermissions permissions="/dept/importExcel">
|
|
|
|
|
<button type="button" class="btn btn-success btn-sm" onclick="importBtn()">导入Excel</button>
|
|
|
|
|
</pm:myPermissions>
|
|
|
|
|
<pm:myPermissions permissions="/dept/export">
|
|
|
|
|
<button type="button" class="btn btn-primary btn-sm" onclick="exportExcel()">导出Excel</button>
|
|
|
|
|
</pm:myPermissions>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="tableDiv">
|
|
|
|
|
<table id="bootstrapTable" class="table text-nowrap table-bordered"></table>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="btns">
|
|
|
|
|
<pm:myPermissions permissions="/dept/add">
|
|
|
|
|
<button type="button" onclick="add()" class="btn btn-warning btn-sm">增加</button>
|
|
|
|
|
</pm:myPermissions>
|
|
|
|
|
<pm:myPermissions permissions="/dept/importExcel">
|
|
|
|
|
<button type="button" class="btn btn-success btn-sm" onclick="importBtn()">导入Excel</button>
|
|
|
|
|
</pm:myPermissions>
|
|
|
|
|
<pm:myPermissions permissions="/dept/export">
|
|
|
|
|
<button type="button" class="btn btn-primary btn-sm" onclick="exportExcel()">导出Excel</button>
|
|
|
|
|
</pm:myPermissions>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="tableDiv">
|
|
|
|
|
<table id="bootstrapTable" class="table text-nowrap table-bordered"></table>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<!-- 模态框(Modal) -->
|
|
|
|
|
<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"
|
|
|
|
|
data-backdrop="static" data-keyboard="false">
|
|
|
|
|
<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true" data-backdrop="static" data-keyboard="false">
|
|
|
|
|
<div class="modal-dialog">
|
|
|
|
|
<div class="modal-content">
|
|
|
|
|
<div class="modal-header">
|
|
|
|
@ -149,8 +148,7 @@
|
|
|
|
|
<div class="formDiv">
|
|
|
|
|
<label class="control-label left">科室名:</label>
|
|
|
|
|
<input type="hidden" id="re_deptId" name="deptId">
|
|
|
|
|
<input type="text" class="form-control input input-sm" id="re_deptName" name="deptName"
|
|
|
|
|
maxlength="15">
|
|
|
|
|
<input type="text" class="form-control input input-sm" id="re_deptName" name="deptName" maxlength="15">
|
|
|
|
|
</div>
|
|
|
|
|
<div class="formDiv">
|
|
|
|
|
<label for="re_effective" class="control-label left">有效否:</label>
|
|
|
|
@ -165,8 +163,7 @@
|
|
|
|
|
</div>
|
|
|
|
|
<div class="formDiv">
|
|
|
|
|
<label for="re_remark" class="control-label left">备注:</label>
|
|
|
|
|
<textarea id="re_remark" class="form-control input input-sm" name="remark"
|
|
|
|
|
maxlength="50"></textarea>
|
|
|
|
|
<textarea id="re_remark" class="form-control input input-sm" name="remark" maxlength="50"></textarea>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</form>
|
|
|
|
@ -179,8 +176,7 @@
|
|
|
|
|
</div><!-- /.modal-dialog -->
|
|
|
|
|
</div>
|
|
|
|
|
<!-- 模态框(Modal1) 导入-->
|
|
|
|
|
<div class="modal fade" id="myModal1" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"
|
|
|
|
|
data-backdrop="static" data-keyboard="false">
|
|
|
|
|
<div class="modal fade" id="myModal1" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true" data-backdrop="static" data-keyboard="false">
|
|
|
|
|
<div class="modal-dialog">
|
|
|
|
|
<div class="modal-content">
|
|
|
|
|
<div class="modal-header">
|
|
|
|
@ -188,13 +184,11 @@
|
|
|
|
|
<h4 class="modal-title" id="myModalLabel1">导入信息</h4>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="modal-body" style="height:240px">
|
|
|
|
|
<form method="POST" enctype="multipart/form-data"
|
|
|
|
|
id="form1">
|
|
|
|
|
<form method="POST" enctype="multipart/form-data"
|
|
|
|
|
id="form1">
|
|
|
|
|
<div class="formDiv">
|
|
|
|
|
<label class="control-label left">下载模板:</label>
|
|
|
|
|
<input class="btn btn-primary btn-sm"
|
|
|
|
|
onclick="window.open('${path }/static/template/科室列表导入模板.xls');" type="button"
|
|
|
|
|
value="下载模板">
|
|
|
|
|
<input class="btn btn-primary btn-sm" onclick="window.open('${path }/static/template/科室列表导入模板.xls');" type="button" value="下载模板">
|
|
|
|
|
</div>
|
|
|
|
|
<div class="formDiv">
|
|
|
|
|
<label for="re_effective" class="control-label left">选择文件:</label>
|
|
|
|
@ -225,7 +219,7 @@
|
|
|
|
|
</script>
|
|
|
|
|
<script src="${path}/static/zTree_v3-master/js/jquery.ztree.core.js"></script>
|
|
|
|
|
<script src="${path}/static/zTree_v3-master/js/jquery.ztree.excheck.js"></script>
|
|
|
|
|
<script src="${path}/static/js/dept.js?t=2020-08-18"></script>
|
|
|
|
|
<script src="${path}/static/js/dept.js"></script>
|
|
|
|
|
<%@ include file="/WEB-INF/jspf/importExcelJsp.jspf" %>
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|