|
@@ -21,7 +21,10 @@ let tabList = [], name = "", behospitalCode="", behosDateStart="", level="",beho
|
|
|
nameTemp = "", behospitalCodeTemp="",levelTemp="", deptId="",deptIdTemp="", doctorName="", doctorNum="",doctorNameTemp="",doctorNumTemp="",
|
|
|
data_desc=[],data_asc=[];
|
|
|
$(".abnormalClear").click(function(){
|
|
|
- window.location.reload()
|
|
|
+ // window.location.reload()
|
|
|
+ behospitalCode = ""
|
|
|
+ $(".patientNumInp").val("")
|
|
|
+ getTabData(1)
|
|
|
})
|
|
|
$(".partTitle a").click(function(){
|
|
|
//初始菜单选中
|
|
@@ -124,8 +127,8 @@ function renderTab(data,hisId,activePage){
|
|
|
<tr data-index=${i}>
|
|
|
<td class="textCenter">${(activePage-1)*15 + i+1}</td>
|
|
|
<td>${item.name || "-"}</td>
|
|
|
- <td >${item.lastAverageValue}</td>
|
|
|
<td >${item.averageValue}</td>
|
|
|
+ <td >${item.lastAverageValue}</td>
|
|
|
<td style="display:${statisticsType==1?'block':'none'}">${item.lastYearAverageValue}</td>
|
|
|
</tr>
|
|
|
`
|
|
@@ -134,8 +137,8 @@ function renderTab(data,hisId,activePage){
|
|
|
${statisticsType==1?`<thead class="monType">
|
|
|
<th class="moduleName" style="width: 65px;">序号</th>
|
|
|
<th class="beHospitalId textCenter">科室名称</th>
|
|
|
- <th class="patientNo textCenter" >上月平均住院天数(天)</th>
|
|
|
<th class="patientNo textCenter" >本月平均住院天数(天)</th>
|
|
|
+ <th class="patientNo textCenter" >上月平均住院天数(天)</th>s
|
|
|
<th class="patientNo textCenter" >去年本月平均住院天数(天)</th>
|
|
|
</thead>`:`
|
|
|
<thead class="yearType">
|
|
@@ -146,7 +149,10 @@ function renderTab(data,hisId,activePage){
|
|
|
</thead>
|
|
|
`}
|
|
|
<tbody>
|
|
|
- ${str?str:'<tr><td colspan="17" style="text-align: center;color: #aaa">暂无数据~</td></tr>'}
|
|
|
+ ${str?str:`<tr><td colspan="17" style="text-align: center;color: #aaa">
|
|
|
+ <img style="margin-top:50px;width:100px;" src="${require('../images/empty.png')}" />
|
|
|
+ <p style="margin-top:20px;margin-bottom:30px;color:#ccc;position:relative;left:5px;">暂无数据~</p>
|
|
|
+ </td></tr>`}
|
|
|
</tbody>
|
|
|
`
|
|
|
$('.tableDay').html(sts)
|