|
|
|
@ -20,6 +20,9 @@
|
|
|
|
|
<script type="text/javascript"
|
|
|
|
|
src="${path}/static/bootstrap-3.3.7/bootstrap-table-fixed-columns.js?time=2019-12-25"></script>
|
|
|
|
|
<link rel="stylesheet" href="${path}/static/bootstrap-3.3.7/bootstrap-table-fixed-columns.css" type="text/css">
|
|
|
|
|
<script>
|
|
|
|
|
var path = "${path}";
|
|
|
|
|
</script>
|
|
|
|
|
<style>
|
|
|
|
|
.modal-header2 {
|
|
|
|
|
height: 30px;
|
|
|
|
@ -424,117 +427,197 @@
|
|
|
|
|
<body>
|
|
|
|
|
<input type="text" value="" id="collectionID" hidden>
|
|
|
|
|
<input type="text" value="" id="pid" hidden>
|
|
|
|
|
<input type="text" id="tableId" hidden/>
|
|
|
|
|
<input type="text" id="inpatientNo" hidden/>
|
|
|
|
|
<div id="mb"></div>
|
|
|
|
|
<div style="margin-left:30px;margin-right:10px;height:auto">
|
|
|
|
|
<!--搜索-->
|
|
|
|
|
<form style="margin-top:20px;" >
|
|
|
|
|
<div class="form-inline">
|
|
|
|
|
<%--<div class="form-group divCss8" hidden="hidden">--%>
|
|
|
|
|
<%--<label for="id">病案号:</label>--%>
|
|
|
|
|
<%--<input type="text" class="input-sm form-control" hidden id="id" placeholder="请输入病案号">--%>
|
|
|
|
|
<%--</div>--%>
|
|
|
|
|
<div class="form-group divCss8">
|
|
|
|
|
<label for="inpNo">住院号:</label>
|
|
|
|
|
<input type="text" class="input-sm form-control" id="inpNo" placeholder="请输入住院号">
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group divCss8">
|
|
|
|
|
<label for="visitId">住院次数:</label>
|
|
|
|
|
<input type="number" class="input-sm form-control" id="visitId" placeholder="请输入次数">
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group divCss8">
|
|
|
|
|
<label for="name">姓名:</label>
|
|
|
|
|
<input type="text" class="input-sm form-control" id="name" placeholder="请输入姓名">
|
|
|
|
|
</div>
|
|
|
|
|
<%--<div class="form-group divCss8">--%>
|
|
|
|
|
<%--<label for="name">身份证号:</label>--%>
|
|
|
|
|
<%--<input type="text" class="input-sm form-control" id="idNo" placeholder="请输入身份证号">--%>
|
|
|
|
|
<%--</div>--%>
|
|
|
|
|
<div class="form-group divCss8" id="deptDiv" >
|
|
|
|
|
<label>出院科室:</label>
|
|
|
|
|
<select class="selectpicker bla bla bli" multiple data-live-search="true" name="deptName" id="deptName"
|
|
|
|
|
data-actions-box="true" data-deselect-all-text="取消全选" data-select-all-text="全选" title="请输入科室" data-none-results-text="没找到相应记录{0}">
|
|
|
|
|
<option value="">全部</option>
|
|
|
|
|
</select>
|
|
|
|
|
</div>
|
|
|
|
|
<ul class="nav nav-tabs" role="tablist">
|
|
|
|
|
<li role="presentation" class="active"><a href="#home" aria-controls="home" role="tab" data-toggle="tab">住院</a></li>
|
|
|
|
|
<li role="presentation"><a href="#profile" aria-controls="profile" role="tab" data-toggle="tab">留观</a></li>
|
|
|
|
|
</ul>
|
|
|
|
|
<div class="tab-content">
|
|
|
|
|
<div class="tab-pane active" id="home">
|
|
|
|
|
<!--搜索-->
|
|
|
|
|
<form style="margin-top:20px;" >
|
|
|
|
|
<div class="form-inline">
|
|
|
|
|
<%--<div class="form-group divCss8" hidden="hidden">--%>
|
|
|
|
|
<%--<label for="id">病案号:</label>--%>
|
|
|
|
|
<%--<input type="text" class="input-sm form-control" hidden id="id" placeholder="请输入病案号">--%>
|
|
|
|
|
<%--</div>--%>
|
|
|
|
|
<div class="form-group divCss8">
|
|
|
|
|
<label for="inpNo">住院号:</label>
|
|
|
|
|
<input type="text" class="input-sm form-control" id="inpNo" placeholder="请输入住院号">
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group divCss8">
|
|
|
|
|
<label for="visitId">住院次数:</label>
|
|
|
|
|
<input type="number" class="input-sm form-control" id="visitId" placeholder="请输入次数">
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group divCss8">
|
|
|
|
|
<label for="name">姓名:</label>
|
|
|
|
|
<input type="text" class="input-sm form-control" id="name" placeholder="请输入姓名">
|
|
|
|
|
</div>
|
|
|
|
|
<%--<div class="form-group divCss8">--%>
|
|
|
|
|
<%--<label for="name">身份证号:</label>--%>
|
|
|
|
|
<%--<input type="text" class="input-sm form-control" id="idNo" placeholder="请输入身份证号">--%>
|
|
|
|
|
<%--</div>--%>
|
|
|
|
|
<div class="form-group divCss8" id="deptDiv" >
|
|
|
|
|
<label>出院科室:</label>
|
|
|
|
|
<select class="selectpicker bla bla bli" multiple data-live-search="true" name="deptName" id="deptName"
|
|
|
|
|
data-actions-box="true" data-deselect-all-text="取消全选" data-select-all-text="全选" title="请输入科室" data-none-results-text="没找到相应记录{0}">
|
|
|
|
|
<option value="">全部</option>
|
|
|
|
|
</select>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="form-group divCss8">
|
|
|
|
|
<label>出院日期:</label>
|
|
|
|
|
<div class="input-daterange input-group" id="datepicker">
|
|
|
|
|
<input type="text" class="input-sm form-control" name="start" id="startDateTo"/>
|
|
|
|
|
<span class="input-group-addon">-</span>
|
|
|
|
|
<input type="text" class="input-sm form-control" name="end" id="endDateTo"/>
|
|
|
|
|
<div class="form-group divCss8">
|
|
|
|
|
<label>出院日期:</label>
|
|
|
|
|
<div class="input-daterange input-group" id="datepicker">
|
|
|
|
|
<input type="text" class="input-sm form-control" name="start" id="startDateTo"/>
|
|
|
|
|
<span class="input-group-addon">-</span>
|
|
|
|
|
<input type="text" class="input-sm form-control" name="end" id="endDateTo"/>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group divCss8" style="height: 18px;margin-top: -5px;">
|
|
|
|
|
<label>是否扫描:</label>
|
|
|
|
|
<select class="selectpicker bla bla bli" data-live-search="true" name="isScanning" id="isScanning"
|
|
|
|
|
title="是否扫描">
|
|
|
|
|
<option value="">全部</option>
|
|
|
|
|
<option value="1">是</option>
|
|
|
|
|
<option value="0">否</option>
|
|
|
|
|
</select>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group divCss8" >
|
|
|
|
|
<label>科室是否提交纸质病历:</label>
|
|
|
|
|
<select class="selectpicker bla bla bli" data-live-search="true" name="isscaned" id="isscaned" title="科室是否提交纸质病历">
|
|
|
|
|
<option value="">全部</option>
|
|
|
|
|
<option value="1">是</option>
|
|
|
|
|
<option value="0">否</option>
|
|
|
|
|
</select>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group divCss8" style="margin-top: 10px">
|
|
|
|
|
<label>是否签收:</label>
|
|
|
|
|
<select class="selectpicker bla bla bli" data-live-search="true" name="isSign" id="isSign" title="是否签收">
|
|
|
|
|
<option value="">全部</option>
|
|
|
|
|
<option value="1">是</option>
|
|
|
|
|
<option value="0">否</option>
|
|
|
|
|
</select>
|
|
|
|
|
</div>
|
|
|
|
|
<%--<div class="form-group divCss2">--%>
|
|
|
|
|
<%--<label for="archivestate">归档状态:</label>--%>
|
|
|
|
|
<%--<select class="input-sm form-control" id="archivestate">--%>
|
|
|
|
|
<%--<option value="">全部</option>--%>
|
|
|
|
|
<%--<%–<option value="未归档">未归档</option>–%>--%>
|
|
|
|
|
<%--<%–<option value="归档中">归档中</option>–%>--%>
|
|
|
|
|
<%--<%–<option value="初审">初审</option>–%>--%>
|
|
|
|
|
<%--<option value="已认证">已认证</option>--%>
|
|
|
|
|
<%--<option value="已归档">已归档</option>--%>
|
|
|
|
|
<%--</select>--%>
|
|
|
|
|
<%--</div>--%>
|
|
|
|
|
<button type="button" class="btn btn-primary btn-sm divCss" id="searchBtn">查询</button>
|
|
|
|
|
<button type="button" class="btn btn-info btn-sm divCss" id="excelBtn">条件导出</button>
|
|
|
|
|
<button type="button" class="btn btn-success btn-sm divCss" id="signBtn" style="visibility:hidden">签收</button>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group divCss8" style="height: 18px;margin-top: -5px;">
|
|
|
|
|
<label>是否扫描:</label>
|
|
|
|
|
<select class="selectpicker bla bla bli" data-live-search="true" name="isScanning" id="isScanning"
|
|
|
|
|
title="是否扫描">
|
|
|
|
|
<option value="">全部</option>
|
|
|
|
|
<option value="1">是</option>
|
|
|
|
|
<option value="0">否</option>
|
|
|
|
|
</select>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group divCss8" >
|
|
|
|
|
<label>科室是否提交纸质病历:</label>
|
|
|
|
|
<select class="selectpicker bla bla bli" data-live-search="true" name="isscaned" id="isscaned" title="科室是否提交纸质病历">
|
|
|
|
|
<option value="">全部</option>
|
|
|
|
|
<option value="1">是</option>
|
|
|
|
|
<option value="0">否</option>
|
|
|
|
|
</select>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group divCss8" style="margin-top: 10px">
|
|
|
|
|
<label>是否签收:</label>
|
|
|
|
|
<select class="selectpicker bla bla bli" data-live-search="true" name="isSign" id="isSign" title="是否签收">
|
|
|
|
|
<option value="">全部</option>
|
|
|
|
|
<option value="1">是</option>
|
|
|
|
|
<option value="0">否</option>
|
|
|
|
|
</select>
|
|
|
|
|
</form>
|
|
|
|
|
<!--数据表格-->
|
|
|
|
|
<table id="table" class="table text-nowrap table-striped"></table>
|
|
|
|
|
<div id="toolbar" class="btn-group pull-right" style="margin-right: 20px;">
|
|
|
|
|
<div class="columns columns-right btn-group pull-right" style="margin-top:0px;">
|
|
|
|
|
<div class="btn-group btn-info">
|
|
|
|
|
<select id="sel_exportoption" class="form-control">
|
|
|
|
|
<option value="">导出当前页面数据</option>
|
|
|
|
|
|
|
|
|
|
<option value="all">导出全部数据</option>
|
|
|
|
|
|
|
|
|
|
<option value="selected">导出选中数据</option>
|
|
|
|
|
</select>
|
|
|
|
|
</div>
|
|
|
|
|
<button class=" btn btn-success" style="height: 34px" type="button" id="refreshBtn" name="refresh"
|
|
|
|
|
aria-label="Refresh"
|
|
|
|
|
title="Refresh">
|
|
|
|
|
<i class="glyphicon glyphicon-refresh icon-refresh"></i>
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
|
<%--<div class="form-group divCss2">--%>
|
|
|
|
|
<%--<label for="archivestate">归档状态:</label>--%>
|
|
|
|
|
<%--<select class="input-sm form-control" id="archivestate">--%>
|
|
|
|
|
<%--<option value="">全部</option>--%>
|
|
|
|
|
<%--<%–<option value="未归档">未归档</option>–%>--%>
|
|
|
|
|
<%--<%–<option value="归档中">归档中</option>–%>--%>
|
|
|
|
|
<%--<%–<option value="初审">初审</option>–%>--%>
|
|
|
|
|
<%--<option value="已认证">已认证</option>--%>
|
|
|
|
|
<%--<option value="已归档">已归档</option>--%>
|
|
|
|
|
<%--</select>--%>
|
|
|
|
|
<%--</div>--%>
|
|
|
|
|
<button type="button" class="btn btn-primary btn-sm divCss" id="searchBtn">查询</button>
|
|
|
|
|
<button type="button" class="btn btn-info btn-sm divCss" id="excelBtn">条件导出</button>
|
|
|
|
|
<button type="button" class="btn btn-success btn-sm divCss" id="signBtn" style="visibility:hidden">签收</button>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</form>
|
|
|
|
|
<!--数据表格-->
|
|
|
|
|
<table id="table" class="table text-nowrap table-striped"></table>
|
|
|
|
|
<div id="toolbar" class="btn-group pull-right" style="margin-right: 20px;">
|
|
|
|
|
<div class="columns columns-right btn-group pull-right" style="margin-top:0px;">
|
|
|
|
|
<div class="btn-group btn-info">
|
|
|
|
|
<select id="sel_exportoption" class="form-control">
|
|
|
|
|
<option value="">导出当前页面数据</option>
|
|
|
|
|
|
|
|
|
|
<option value="all">导出全部数据</option>
|
|
|
|
|
|
|
|
|
|
<option value="selected">导出选中数据</option>
|
|
|
|
|
</select>
|
|
|
|
|
<div class="tab-pane" id="profile">
|
|
|
|
|
<!--搜索-->
|
|
|
|
|
<form style="margin-top:20px;">
|
|
|
|
|
<div class="form-inline">
|
|
|
|
|
<div class="form-group divCss8">
|
|
|
|
|
<label for="inpNo">患者ID:</label>
|
|
|
|
|
<input type="text" class="input-sm form-control" id="patientId1" placeholder="请输入患者ID">
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group divCss8">
|
|
|
|
|
<label for="inpNo">留观号:</label>
|
|
|
|
|
<input type="text" class="input-sm form-control" id="inpNo1" placeholder="请输入留观号">
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group divCss8">
|
|
|
|
|
<label for="visitId">留观次数:</label>
|
|
|
|
|
<input type="number" class="input-sm form-control" id="visitId1" placeholder="请输入留观次数" min="0">
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group divCss8">
|
|
|
|
|
<label for="name">姓名:</label>
|
|
|
|
|
<input type="text" class="input-sm form-control" id="name1" placeholder="请输入姓名">
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group divCss8">
|
|
|
|
|
<label>留观开始日期:</label>
|
|
|
|
|
<div class="input-daterange input-group" id="datepicker1">
|
|
|
|
|
<input type="text" class="input-sm form-control" name="start" id="startDateTo2"/>
|
|
|
|
|
<span class="input-group-addon">-</span>
|
|
|
|
|
<input type="text" class="input-sm form-control" name="end" id="endDateTo2"/>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group divCss8">
|
|
|
|
|
<label>留观结束日期:</label>
|
|
|
|
|
<div class="input-daterange input-group" id="datepicker2">
|
|
|
|
|
<input type="text" class="input-sm form-control" name="start" id="startDateTo1"/>
|
|
|
|
|
<span class="input-group-addon">-</span>
|
|
|
|
|
<input type="text" class="input-sm form-control" name="end" id="endDateTo1"/>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group divCss8">
|
|
|
|
|
<label for="archivestate">归档状态 :</label>
|
|
|
|
|
<select class="input-sm form-control" id="archivestate">
|
|
|
|
|
<option value="">全部</option>
|
|
|
|
|
<option value="初审">初审</option>
|
|
|
|
|
<option value="初审退回">初审退回</option>
|
|
|
|
|
</select>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group divCss">
|
|
|
|
|
<label for="deathFlag">是否死亡 :</label>
|
|
|
|
|
<select class="input-sm form-control" id="deathFlag">
|
|
|
|
|
<option value="">全部</option>
|
|
|
|
|
<option value="1">是</option>
|
|
|
|
|
<option value="0">否</option>
|
|
|
|
|
</select>
|
|
|
|
|
</div>
|
|
|
|
|
<button type="button" class="btn btn-primary btn-sm divCss"id="searchLgBtn">查询</button>
|
|
|
|
|
<button type="button" class="btn btn-info btn-sm divCss" id="excelLgBtn">条件导出</button>
|
|
|
|
|
</div>
|
|
|
|
|
</form>
|
|
|
|
|
<!--数据表格-->
|
|
|
|
|
<table id="tableLg" class="table text-nowrap table-striped"></table>
|
|
|
|
|
<div id="toolbarLg" class="btn-group pull-right toolbarCss">
|
|
|
|
|
<div class="columns columns-right btn-group pull-right" style="margin-top:0px;">
|
|
|
|
|
<div class="btn-group btn-info">
|
|
|
|
|
<select id="sel_exportoptionLg" class="form-control">
|
|
|
|
|
<option value="">导出当前页面数据</option>
|
|
|
|
|
|
|
|
|
|
<option value="all">导出全部数据</option>
|
|
|
|
|
|
|
|
|
|
<option value="selected">导出选中数据</option>
|
|
|
|
|
</select>
|
|
|
|
|
</div>
|
|
|
|
|
<button class=" btn btn-success" style="height: 34px" type="button" id="refreshLgBtn" name="refresh"
|
|
|
|
|
aria-label="Refresh"
|
|
|
|
|
title="Refresh">
|
|
|
|
|
<i class="glyphicon glyphicon-refresh icon-refresh"></i>
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<button class=" btn btn-success" style="height: 34px" type="button" id="refreshBtn" name="refresh"
|
|
|
|
|
aria-label="Refresh"
|
|
|
|
|
title="Refresh">
|
|
|
|
|
<i class="glyphicon glyphicon-refresh icon-refresh"></i>
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<%--<div id="modal">--%>
|
|
|
|
|
<%--<div class="mask"></div>--%>
|
|
|
|
|
<%--<!-- 这里开始才是真正的内容 -->--%>
|
|
|
|
|
<%--<div class="dialog"></div>--%>
|
|
|
|
|
<%--</div>--%>
|
|
|
|
|
|
|
|
|
|
<!-- 模态框3(Modal)查看档案 -->
|
|
|
|
|
<div class="modal fade" id="selModal" tabindex="1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
|
|
|
|
|
<div class="modal-dialog">
|
|
|
|
@ -552,49 +635,73 @@
|
|
|
|
|
<form class="form-horizontal" id="form1">
|
|
|
|
|
<div class="row">
|
|
|
|
|
<div class="row divCss3">病历信息</div>
|
|
|
|
|
<div class="row divCss2">
|
|
|
|
|
<div class="seal-result" style="display:none;" id="printTableFlag">已打印</div>
|
|
|
|
|
<div class="col-sm-5" hidden>
|
|
|
|
|
病案号:<label id="idLab" class="labCss"></label><label id="assortId" hidden></label>
|
|
|
|
|
</div>
|
|
|
|
|
<label id="patientId" hidden></label>
|
|
|
|
|
<div class="col-sm-5" hidden>
|
|
|
|
|
来源:<label id="idsource" class="labCss"></label><label id="source" hidden></label>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-sm-4">
|
|
|
|
|
住院号:<label id="inLab" class="labCss"></label>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-sm-4">
|
|
|
|
|
住院次数:<label id="inTimeLab" class="labCss"></label>
|
|
|
|
|
<div class="seal-result" style="display:none;" id="printTableFlag">已打印</div>
|
|
|
|
|
<label id="assortId" hidden></label>
|
|
|
|
|
<label id="source" hidden></label>
|
|
|
|
|
<input type="text" id="outDateLab" hidden/>
|
|
|
|
|
<label id="patientId" hidden></label>
|
|
|
|
|
<label id="idLab" class="labCss" hidden></label>
|
|
|
|
|
<div id="tableDiag">
|
|
|
|
|
<div class="row divCss2">
|
|
|
|
|
<div class="col-sm-4">
|
|
|
|
|
住院号:<label id="inLab" class="labCss"></label>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-sm-4">
|
|
|
|
|
住院次数:<label id="inTimeLab" class="labCss"></label>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-sm-3">
|
|
|
|
|
姓名:<label id="nameLab" class="labCss"></label>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-sm-3">
|
|
|
|
|
姓名:<label id="nameLab" class="labCss"></label>
|
|
|
|
|
<div class="row divCss2">
|
|
|
|
|
<div class="col-sm-4">
|
|
|
|
|
入院科室:<label id="deptToLab" class="labCss"></label>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-sm-4">
|
|
|
|
|
入院日期:<label id="inDateLab" class="labCss"></label>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-sm-3" id="firstDiv">
|
|
|
|
|
初审管理:
|
|
|
|
|
<button type="button" class="btn btn-danger btn-sm" id="getFirstBtn">初审查看</button>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-sm-3" id="recallDiv">
|
|
|
|
|
缺陷管理:
|
|
|
|
|
<button type="button" class="btn btn-danger btn-sm" id="getRecallBtn">缺陷查看</button>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-sm-4"><input type="text" id="outDeptLab" hidden/>
|
|
|
|
|
出院科室:<label id="outDeptToLab" class="labCss"></label>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-sm-4">
|
|
|
|
|
出院日期:<label id="outDeptDateLab" class="labCss"></label>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-sm-3" id="timeLine">
|
|
|
|
|
跟踪管理:
|
|
|
|
|
<button type="button" class="btn btn-info btn-sm" id="getTimeline">跟踪查看</button>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="row divCss2">
|
|
|
|
|
<div class="col-sm-4"><input type="text" id="outDateLab" hidden/>
|
|
|
|
|
入院科室:<label id="deptToLab" class="labCss"></label>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-sm-4">
|
|
|
|
|
入院日期:<label id="inDateLab" class="labCss"></label>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-sm-3" id="firstDiv">
|
|
|
|
|
初审管理:
|
|
|
|
|
<button type="button" class="btn btn-danger btn-sm" id="getFirstBtn">初审查看</button>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-sm-3" id="recallDiv">
|
|
|
|
|
缺陷管理:
|
|
|
|
|
<button type="button" class="btn btn-danger btn-sm" id="getRecallBtn">缺陷查看</button>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-sm-4"><input type="text" id="outDeptLab" hidden/>
|
|
|
|
|
出院科室:<label id="outDeptToLab" class="labCss"></label>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-sm-4">
|
|
|
|
|
出院日期:<label id="outDeptDateLab" class="labCss"></label>
|
|
|
|
|
<div id="tableLgDiag">
|
|
|
|
|
<div class="row divCss2">
|
|
|
|
|
<div class="col-sm-4">
|
|
|
|
|
患者ID:<label id="patientIdLab" class="labCss"></label>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-sm-4">
|
|
|
|
|
留观号:<label id="inLab1" class="labCss"></label>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-sm-4">
|
|
|
|
|
留观次数:<label id="inTimeLab1" class="labCss"></label>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-sm-3" id="timeLine">
|
|
|
|
|
跟踪管理:
|
|
|
|
|
<button type="button" class="btn btn-info btn-sm" id="getTimeline">跟踪查看</button>
|
|
|
|
|
<div class="row divCss2">
|
|
|
|
|
<div class="col-sm-4">
|
|
|
|
|
姓名:<label id="nameLab1" class="labCss"></label>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-sm-4">
|
|
|
|
|
留观开始日期:<label id="deptToLab1" class="labCss"></label>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-sm-4">
|
|
|
|
|
留观结束日期:<label id="inDateLab1" class="labCss"></label>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="row divCss4">完整性审核:
|
|
|
|
@ -2284,11 +2391,16 @@
|
|
|
|
|
$.ajax({
|
|
|
|
|
url: "${path}/lastVerify/updateStateByArchivId",
|
|
|
|
|
type: "POST",
|
|
|
|
|
data: {archiveDetailId: archiveDetailId, firstTrial: firstTrial, state: state},
|
|
|
|
|
data: {archiveDetailId: archiveDetailId, firstTrial: firstTrial, state: state,content:$("#inpatientNo").val()},
|
|
|
|
|
success: function (result) {
|
|
|
|
|
$("#verifyModal").modal('hide');
|
|
|
|
|
$("#table").bootstrapTable("refresh");
|
|
|
|
|
toastr.success("终审操作成功!");
|
|
|
|
|
if(result == 1) {
|
|
|
|
|
$("#verifyModal").modal('hide');
|
|
|
|
|
var tableId = $("#tableId").val();
|
|
|
|
|
toastr.success("终审操作成功!");
|
|
|
|
|
$("#" + tableId).bootstrapTable("refresh");
|
|
|
|
|
}else{
|
|
|
|
|
toastr.error("出错了,或住院号为空!");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
@ -3742,80 +3854,11 @@
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
'click .verifyInfo': function (e, value, row, index) {
|
|
|
|
|
if (row.id != null && row.id != "") {
|
|
|
|
|
$.ajax({
|
|
|
|
|
url: "${path}/beHosp/getMaster",
|
|
|
|
|
type: "POST",
|
|
|
|
|
data: {"id": row.id},
|
|
|
|
|
success: function (result) {
|
|
|
|
|
if (result != null) {
|
|
|
|
|
if (result.id != null) {
|
|
|
|
|
if (result.archivestate == '初审') {
|
|
|
|
|
// console.log("====审核====");
|
|
|
|
|
$('#verifyModal').modal({
|
|
|
|
|
backdrop: 'static',//backdrop 为 static 时,点击模态对话框的外部区域不会将其关闭。
|
|
|
|
|
keyboard: false,//keyboard 为 false 时,按下 Esc 键不会关闭 Modal。
|
|
|
|
|
show: true//弹出对话框
|
|
|
|
|
});
|
|
|
|
|
$("#archiveId").val(row.id);
|
|
|
|
|
$("#isScaned2").val(row.isscaned);
|
|
|
|
|
$("#isSign2").val(row.isSign);
|
|
|
|
|
$("#verifyText").val("");
|
|
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
toastr.warning("病案室已经审核!");
|
|
|
|
|
//刷新
|
|
|
|
|
$('#table').bootstrapTable('refresh');
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
toastr.warning("病案号不存在!");
|
|
|
|
|
}
|
|
|
|
|
} else {
|
|
|
|
|
toastr.warning("病案不存在!");
|
|
|
|
|
}
|
|
|
|
|
}, error: function () {
|
|
|
|
|
toastr.error("操作失败!");
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
} else {
|
|
|
|
|
toastr.warning("病案号不存在!");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
lashVerifyApprove(row,'table');
|
|
|
|
|
},
|
|
|
|
|
'click .selInfo': function (e, value, row, index) {
|
|
|
|
|
$("#printTableFlag").hide();
|
|
|
|
|
//ID供按需采集使用
|
|
|
|
|
$("#collectionID").val(row.id);
|
|
|
|
|
$("#pid").val(row.patientId);
|
|
|
|
|
if(row.printNum!=0){
|
|
|
|
|
$("#printTableFlag").show();
|
|
|
|
|
}
|
|
|
|
|
//实时获取完整性
|
|
|
|
|
getWzxFun(row.id);
|
|
|
|
|
$('#selModal').modal({
|
|
|
|
|
backdrop: 'static',//backdrop 为 static 时,点击模态对话框的外部区域不会将其关闭。
|
|
|
|
|
keyboard: false,//keyboard 为 false 时,按下 Esc 键不会关闭 Modal。
|
|
|
|
|
show: true//弹出对话框
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (row.archivestate != '复审退回') {
|
|
|
|
|
$("#recallDiv").hide();
|
|
|
|
|
} else {
|
|
|
|
|
$("#recallDiv").show();
|
|
|
|
|
}
|
|
|
|
|
if (row.archivestate == '初审') {
|
|
|
|
|
$("#firstDiv").show();
|
|
|
|
|
} else {
|
|
|
|
|
$("#firstDiv").hide();
|
|
|
|
|
}
|
|
|
|
|
//同步
|
|
|
|
|
$("#idLab").html(row.id);
|
|
|
|
|
isscanedVal=row.isscaned;
|
|
|
|
|
isSignVal=row.isSign;
|
|
|
|
|
selIno(row,'table');
|
|
|
|
|
$("#nameLab").html(row.name);
|
|
|
|
|
// $("#inDateLab").html(row.admissionDateTime.substring(0, 10));
|
|
|
|
|
if (row.admissionDateTime != null && row.admissionDateTime != '') {
|
|
|
|
|
$("#inDateLab").html(row.admissionDateTime.substring(0, 10));
|
|
|
|
|
}
|
|
|
|
@ -3825,22 +3868,7 @@
|
|
|
|
|
$("#outDeptDateLab").html(row.dischargeDateTime);
|
|
|
|
|
$("#outHospLab").html(row.dischargeDisposition);
|
|
|
|
|
$("#inLab").html(row.inpNo);
|
|
|
|
|
$("#patientId").html(row.patientId);
|
|
|
|
|
$("#inTimeLab").html(row.visitId);
|
|
|
|
|
//$("#wzContent").html(row.lockinfo);
|
|
|
|
|
|
|
|
|
|
//入/出院年+出院月+住院号+住院次数
|
|
|
|
|
var outDate = "";
|
|
|
|
|
if (row.dischargeDateTime != null && row.dischargeDateTime != "") {
|
|
|
|
|
outDate = row.dischargeDateTime.split("-");
|
|
|
|
|
} else if (row.admissionDateTime != null && row.admissionDateTime != "") {
|
|
|
|
|
outDate = row.admissionDateTime.split("-");
|
|
|
|
|
}
|
|
|
|
|
$("#outDateLab").val(outDate[0] + "" + outDate[1] + "" + row.inpNo.trim() + "" + row.visitId + "");
|
|
|
|
|
|
|
|
|
|
initTree(row.id);
|
|
|
|
|
//获取来源下拉框
|
|
|
|
|
getSourceFun();
|
|
|
|
|
},
|
|
|
|
|
'click .getQXDoctorInfo': function (e, value, row, index) {
|
|
|
|
|
//查看缺陷列表
|
|
|
|
@ -3896,7 +3924,6 @@
|
|
|
|
|
},
|
|
|
|
|
cellStyle: function (value, row, index) {
|
|
|
|
|
return {classes: 'success'}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
@ -3938,6 +3965,111 @@
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//查看方法的清单显示方法
|
|
|
|
|
function showDiag(tableId){
|
|
|
|
|
$("#tableDiag").hide();
|
|
|
|
|
$("#tableLgDiag").hide();
|
|
|
|
|
if('table' == tableId){
|
|
|
|
|
$("#tableDiag").show();
|
|
|
|
|
}else if('tableLg' == tableId){
|
|
|
|
|
$("#tableLgDiag").show();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//查看方法
|
|
|
|
|
function selIno(row,tableId){
|
|
|
|
|
showDiag(tableId);
|
|
|
|
|
$("#printTableFlag").hide();
|
|
|
|
|
//ID供按需采集使用
|
|
|
|
|
$("#collectionID").val(row.id);
|
|
|
|
|
$("#pid").val(row.patientId);
|
|
|
|
|
if(row.printNum == '已打印'){
|
|
|
|
|
$("#printTableFlag").show();
|
|
|
|
|
}
|
|
|
|
|
//实时获取完整性
|
|
|
|
|
getWzxFun(row.id);
|
|
|
|
|
$('#selModal').modal({
|
|
|
|
|
backdrop: 'static',//backdrop 为 static 时,点击模态对话框的外部区域不会将其关闭。
|
|
|
|
|
keyboard: false,//keyboard 为 false 时,按下 Esc 键不会关闭 Modal。
|
|
|
|
|
show: true//弹出对话框
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (row.archivestate != '复审退回') {
|
|
|
|
|
$("#recallDiv").hide();
|
|
|
|
|
} else {
|
|
|
|
|
$("#recallDiv").show();
|
|
|
|
|
}
|
|
|
|
|
if (row.archivestate == '初审') {
|
|
|
|
|
$("#firstDiv").show();
|
|
|
|
|
} else {
|
|
|
|
|
$("#firstDiv").hide();
|
|
|
|
|
}
|
|
|
|
|
//同步
|
|
|
|
|
isscanedVal=row.isscaned;
|
|
|
|
|
isSignVal=row.isSign;
|
|
|
|
|
$("#patientId").html(row.patientId);
|
|
|
|
|
$("#idLab").html(row.id);
|
|
|
|
|
//入/出院年+出院月+住院号+住院次数
|
|
|
|
|
var outDate = "";
|
|
|
|
|
if (row.dischargeDateTime != null && row.dischargeDateTime != "") {
|
|
|
|
|
outDate = row.dischargeDateTime.split("-");
|
|
|
|
|
} else if (row.admissionDateTime != null && row.admissionDateTime != "") {
|
|
|
|
|
outDate = row.admissionDateTime.split("-");
|
|
|
|
|
}
|
|
|
|
|
$("#outDateLab").val(outDate[0] + "" + outDate[1] + "" + row.inpNo.trim() + "" + row.visitId + "");
|
|
|
|
|
|
|
|
|
|
initTree(row.id);
|
|
|
|
|
//获取来源下拉框
|
|
|
|
|
getSourceFun();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//审核方法
|
|
|
|
|
function lashVerifyApprove(row,tableId){
|
|
|
|
|
$("#inpatientNo").val(row.inpNo);
|
|
|
|
|
//赋值表id
|
|
|
|
|
$("#tableId").val(tableId);
|
|
|
|
|
if (row.id != null && row.id != "") {
|
|
|
|
|
$.ajax({
|
|
|
|
|
url: "${path}/beHosp/getMaster",
|
|
|
|
|
type: "POST",
|
|
|
|
|
data: {"id": row.id},
|
|
|
|
|
success: function (result) {
|
|
|
|
|
if (result != null) {
|
|
|
|
|
if (result.id != null) {
|
|
|
|
|
if (result.archivestate == '初审') {
|
|
|
|
|
// console.log("====审核====");
|
|
|
|
|
$('#verifyModal').modal({
|
|
|
|
|
backdrop: 'static',//backdrop 为 static 时,点击模态对话框的外部区域不会将其关闭。
|
|
|
|
|
keyboard: false,//keyboard 为 false 时,按下 Esc 键不会关闭 Modal。
|
|
|
|
|
show: true//弹出对话框
|
|
|
|
|
});
|
|
|
|
|
$("#archiveId").val(row.id);
|
|
|
|
|
$("#isScaned2").val(row.isscaned);
|
|
|
|
|
$("#isSign2").val(row.isSign);
|
|
|
|
|
$("#verifyText").val("");
|
|
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
toastr.warning("病案室已经审核!");
|
|
|
|
|
//刷新
|
|
|
|
|
$('#' + tableId).bootstrapTable('refresh');
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
toastr.warning("病案号不存在!");
|
|
|
|
|
}
|
|
|
|
|
} else {
|
|
|
|
|
toastr.warning("病案不存在!");
|
|
|
|
|
}
|
|
|
|
|
}, error: function () {
|
|
|
|
|
toastr.error("操作失败!");
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
} else {
|
|
|
|
|
toastr.warning("病案号不存在!");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
function rowStyle(row, index) {
|
|
|
|
|
var style = {};
|
|
|
|
|
if (row.followingType != null) {
|
|
|
|
@ -5179,7 +5311,6 @@
|
|
|
|
|
document.getElementById('searchBtn').click();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<script src="${path}/static/js/lastVerify/observationRecordList.js"></script>
|
|
|
|
|
</html>
|