|
|
|
@ -6,7 +6,7 @@
|
|
|
|
<!DOCTYPE html>
|
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8" />
|
|
|
|
<meta charset="utf-8"/>
|
|
|
|
<title>打印用途管理</title>
|
|
|
|
<title>打印用途管理</title>
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
|
|
@ -20,168 +20,189 @@
|
|
|
|
var path = "${path}";
|
|
|
|
var path = "${path}";
|
|
|
|
</script>
|
|
|
|
</script>
|
|
|
|
<style type="text/css">
|
|
|
|
<style type="text/css">
|
|
|
|
.leftDiv{
|
|
|
|
.leftDiv {
|
|
|
|
width:25%;
|
|
|
|
border-right: 10px solid #c1d7e3;
|
|
|
|
height: 100%;
|
|
|
|
background-color: #fff
|
|
|
|
background-color:#fff
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.rightDiv{
|
|
|
|
|
|
|
|
width:74%;
|
|
|
|
.rightDiv {
|
|
|
|
height:100%;
|
|
|
|
background-color: #fff
|
|
|
|
margin-left:1%;
|
|
|
|
|
|
|
|
background-color:#fff
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.addbtn{
|
|
|
|
|
|
|
|
width:100%;
|
|
|
|
.addbtn {
|
|
|
|
|
|
|
|
width: 100%;
|
|
|
|
text-align: center;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.insertbtn{
|
|
|
|
|
|
|
|
width:60%;
|
|
|
|
.insertbtn {
|
|
|
|
|
|
|
|
width: 60%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.searcDiv{
|
|
|
|
|
|
|
|
height: 36px;
|
|
|
|
.searcDiv {
|
|
|
|
margin-left: 2%;
|
|
|
|
margin: 10px 20px;
|
|
|
|
margin-top:2%;
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.form-control{
|
|
|
|
|
|
|
|
|
|
|
|
.form-control {
|
|
|
|
margin: 0 auto;
|
|
|
|
margin: 0 auto;
|
|
|
|
width:80%;
|
|
|
|
width: 80%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.input{
|
|
|
|
|
|
|
|
width:90%;
|
|
|
|
.input {
|
|
|
|
|
|
|
|
width: 90%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.control-label{
|
|
|
|
|
|
|
|
padding-left:12%!important;
|
|
|
|
.control-label {
|
|
|
|
padding-top:1%;
|
|
|
|
padding-left: 12% !important;
|
|
|
|
|
|
|
|
padding-top: 1%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.btn{
|
|
|
|
|
|
|
|
margin-left:8%;
|
|
|
|
.btn {
|
|
|
|
|
|
|
|
margin-left: 8%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.btns{
|
|
|
|
|
|
|
|
height:2%!important;
|
|
|
|
.btns {
|
|
|
|
|
|
|
|
height: 2% !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
th td{
|
|
|
|
|
|
|
|
text-align: center!important;
|
|
|
|
th td {
|
|
|
|
|
|
|
|
text-align: center !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
table{
|
|
|
|
|
|
|
|
|
|
|
|
table {
|
|
|
|
margin-left: 1%;
|
|
|
|
margin-left: 1%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/*模态框头*/
|
|
|
|
/*模态框头*/
|
|
|
|
.modal-header{
|
|
|
|
.modal-header {
|
|
|
|
background-color: #199ED8;
|
|
|
|
background-color: #199ED8;
|
|
|
|
text-align: center;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.zTreeDemo {
|
|
|
|
|
|
|
|
height: calc(100% - 80px) !important;
|
|
|
|
|
|
|
|
min-height: 394px !important;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
.main-content {
|
|
|
|
|
|
|
|
height: calc(100vh - 43px);
|
|
|
|
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
</style>
|
|
|
|
</head>
|
|
|
|
</head>
|
|
|
|
<body style="background-color:#c1d7e3">
|
|
|
|
<body style="background-color:#c1d7e3">
|
|
|
|
<input type="hidden" id="currentId">
|
|
|
|
<input type="hidden" id="currentId">
|
|
|
|
<div class="main">
|
|
|
|
<div class="main">
|
|
|
|
<div class="headDiv">
|
|
|
|
<div class="headDiv">
|
|
|
|
<div class="headSpanDiv">
|
|
|
|
<div class="headSpanDiv">
|
|
|
|
<span class="headspan">
|
|
|
|
<span class="headspan">
|
|
|
|
打印用途管理
|
|
|
|
打印用途管理
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="leftDiv left">
|
|
|
|
</div>
|
|
|
|
<!--树-->
|
|
|
|
<div class="row main-content">
|
|
|
|
|
|
|
|
<!--树-->
|
|
|
|
|
|
|
|
<div class="col-md-3 leftDiv">
|
|
|
|
<div class="searcDiv">
|
|
|
|
<div class="searcDiv">
|
|
|
|
<input type="text" id="key" value="" class="form-control input-sm"
|
|
|
|
<input type="text" id="key" value="" class="form-control input-sm"
|
|
|
|
placeholder="类别名称" maxlength="25"/><br/>
|
|
|
|
placeholder="类别名称" maxlength="25"/>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<shiro:hasPermission name="/printing/addEmrType">
|
|
|
|
<shiro:hasPermission name="/printing/addEmrType">
|
|
|
|
<div class="row addbtn">
|
|
|
|
<div class="row addbtn">
|
|
|
|
<button type="button" class="btn btn-sm btn-info insertbtn" id="addModle" onclick="addEmrType()">添加</button>
|
|
|
|
<button type="button" class="btn btn-sm btn-info insertbtn" id="addModle" onclick="addEmrType()">
|
|
|
|
|
|
|
|
添加
|
|
|
|
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</shiro:hasPermission>
|
|
|
|
</shiro:hasPermission>
|
|
|
|
<div class="zTreeDemo">
|
|
|
|
<div class="zTreeDemo">
|
|
|
|
<ul id="ztree" class="ztree"></ul>
|
|
|
|
<ul id="ztree" class="ztree"></ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- 模态框1(Modal)添加 -->
|
|
|
|
</div>
|
|
|
|
<div class="modal fade" id="myModal1" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
|
|
|
|
<!--明细选项-->
|
|
|
|
<div class="modal-dialog">
|
|
|
|
<div class="col-md-9 rightDiv">
|
|
|
|
<div class="modal-content">
|
|
|
|
<iframe style="width:100%;height:100%" frameborder="no" border="0" name="iframe" id="iframe" scrolling="yes"
|
|
|
|
<div class="modal-header">
|
|
|
|
src="${path}/printing/printManageIframe?id=${emrType.id}"></iframe>
|
|
|
|
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">
|
|
|
|
</div>
|
|
|
|
<font size="30">×</font>
|
|
|
|
</div>
|
|
|
|
</button>
|
|
|
|
<!-- 模态框1(Modal)添加 -->
|
|
|
|
<h4 class="modal-title" style="font-weight: bold">
|
|
|
|
<div class="modal fade" id="myModal1" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
|
|
|
|
打印用途管理
|
|
|
|
<div class="modal-dialog">
|
|
|
|
</h4>
|
|
|
|
<div class="modal-content">
|
|
|
|
</div>
|
|
|
|
<div class="modal-header">
|
|
|
|
<div class="modal-body">
|
|
|
|
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">
|
|
|
|
<form class="form-horizontal" role="form" id="addForm">
|
|
|
|
<font size="30">×</font>
|
|
|
|
<input type="hidden" name="formToken" id="formToken" value="${formToken}">
|
|
|
|
</button>
|
|
|
|
<div class="row">
|
|
|
|
<h4 class="modal-title" style="font-weight: bold">
|
|
|
|
<div class="form-group">
|
|
|
|
打印用途管理
|
|
|
|
<label class="col-sm-4 control-label">类别标志:</label>
|
|
|
|
</h4>
|
|
|
|
<div class="col-sm-7">
|
|
|
|
</div>
|
|
|
|
<input type="text" class="form-control input-sm input" name="typeFlag" id="typeFlag" maxlength="25">
|
|
|
|
<div class="modal-body">
|
|
|
|
</div>
|
|
|
|
<form class="form-horizontal" role="form" id="addForm">
|
|
|
|
<div class="col-sm-1"></div>
|
|
|
|
<input type="hidden" name="formToken" id="formToken" value="${formToken}">
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<div class="row">
|
|
|
|
<label class="col-sm-4 control-label">类别标志:</label>
|
|
|
|
<div class="form-group">
|
|
|
|
<div class="col-sm-7">
|
|
|
|
<label class="col-sm-4 control-label">类别名称:</label>
|
|
|
|
<input type="text" class="form-control input-sm input" name="typeFlag" id="typeFlag"
|
|
|
|
<div class="col-sm-7">
|
|
|
|
maxlength="25">
|
|
|
|
<input type="text" class="form-control input-sm input" name="typeName" id="typeName2" maxlength="25">
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="col-sm-1"></div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-sm-1"></div>
|
|
|
|
<div class="form-group">
|
|
|
|
</div>
|
|
|
|
<label class="col-sm-4 control-label">排序:</label>
|
|
|
|
</div>
|
|
|
|
<div class="col-sm-7">
|
|
|
|
<div class="row">
|
|
|
|
<input type="number" class="form-control input-sm input" name="typeSort" oninput="if(value.length>4)value=value.slice(0,4)">
|
|
|
|
<div class="form-group">
|
|
|
|
</div>
|
|
|
|
<label class="col-sm-4 control-label">类别名称:</label>
|
|
|
|
<div class="col-sm-1"></div>
|
|
|
|
<div class="col-sm-7">
|
|
|
|
</div>
|
|
|
|
<input type="text" class="form-control input-sm input" name="typeName"
|
|
|
|
|
|
|
|
id="typeName2" maxlength="25">
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-sm-1"></div>
|
|
|
|
<div class="form-group">
|
|
|
|
</div>
|
|
|
|
<label class="col-sm-4 control-label">有效否:</label>
|
|
|
|
</div>
|
|
|
|
<div class="col-sm-7">
|
|
|
|
<div class="row">
|
|
|
|
<select class="form-control input-sm input" name="effective">
|
|
|
|
<div class="form-group">
|
|
|
|
<option value="1">是</option>
|
|
|
|
<label class="col-sm-4 control-label">排序:</label>
|
|
|
|
<option value="0">否</option>
|
|
|
|
<div class="col-sm-7">
|
|
|
|
</select>
|
|
|
|
<input type="number" class="form-control input-sm input" name="typeSort"
|
|
|
|
</div>
|
|
|
|
oninput="if(value.length>4)value=value.slice(0,4)">
|
|
|
|
<div class="col-sm-1"></div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-sm-1"></div>
|
|
|
|
<div class="form-group">
|
|
|
|
</div>
|
|
|
|
<div class="col-sm-4"></div>
|
|
|
|
</div>
|
|
|
|
<div class="col-sm-8">
|
|
|
|
<div class="row">
|
|
|
|
<input type="radio" value="1" name="selectFlag">选中类别为当前使用
|
|
|
|
<div class="form-group">
|
|
|
|
</div>
|
|
|
|
<label class="col-sm-4 control-label">有效否:</label>
|
|
|
|
</div>
|
|
|
|
<div class="col-sm-7">
|
|
|
|
|
|
|
|
<select class="form-control input-sm input" name="effective">
|
|
|
|
|
|
|
|
<option value="1">是</option>
|
|
|
|
|
|
|
|
<option value="0">否</option>
|
|
|
|
|
|
|
|
</select>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
<div class="col-sm-1"></div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="modal-footer">
|
|
|
|
<div class="row">
|
|
|
|
<button type="button" class="btn btn-sm btn-default" data-dismiss="modal">关闭
|
|
|
|
<div class="form-group">
|
|
|
|
</button>
|
|
|
|
<div class="col-sm-4"></div>
|
|
|
|
<button type="button" class="btn btn-sm btn-primary" onclick="add()">
|
|
|
|
<div class="col-sm-8">
|
|
|
|
提交更改
|
|
|
|
<input type="radio" value="1" name="selectFlag">选中类别为当前使用
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="modal-footer">
|
|
|
|
|
|
|
|
<button type="button" class="btn btn-sm btn-default" data-dismiss="modal">关闭
|
|
|
|
|
|
|
|
</button>
|
|
|
|
|
|
|
|
<button type="button" class="btn btn-sm btn-primary" onclick="add()">
|
|
|
|
|
|
|
|
提交更改
|
|
|
|
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!--明细选项-->
|
|
|
|
|
|
|
|
<div class="rightDiv left">
|
|
|
|
|
|
|
|
<iframe style="width:100%;height:100%" frameborder="no" border="0" name="iframe" id="iframe" scrolling="yes" src="${path}/printing/printManageIframe?id=${emrType.id}"></iframe>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<script>
|
|
|
|
</div>
|
|
|
|
$(function () {
|
|
|
|
<script>
|
|
|
|
$(".modal-dialog").draggable();//为模态对话框添加拖拽
|
|
|
|
$(function () {
|
|
|
|
})
|
|
|
|
$(".modal-dialog").draggable();//为模态对话框添加拖拽
|
|
|
|
</script>
|
|
|
|
})
|
|
|
|
<script type="text/javascript" src="${path}/static/js/recordManage/printing/printManage.js"></script>
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<script type="text/javascript" src="${path}/static/js/recordManage/printing/printManage.js"></script>
|
|
|
|
</body>
|
|
|
|
</body>
|
|
|
|
</html>
|
|
|
|
</html>
|
|
|
|
|