|
@@ -18,7 +18,7 @@ listenScroll()
|
|
let isPlacefile = getCookie('isPlacefile')||1
|
|
let isPlacefile = getCookie('isPlacefile')||1
|
|
|
|
|
|
let deptName="",deptNameTemp="", behospitalCode="", behospitalCodeTemp="",deptId="",deptIdTemp="",doctorName="",doctorId="",
|
|
let deptName="",deptNameTemp="", behospitalCode="", behospitalCodeTemp="",deptId="",deptIdTemp="",doctorName="",doctorId="",
|
|
- data_desc=["clickNum"],data_asc=[];
|
|
|
|
|
|
+ data_desc=["totalModeNum"],data_asc=[];
|
|
let srcUrl = $("#contentIframe",parent.document).attr("src")
|
|
let srcUrl = $("#contentIframe",parent.document).attr("src")
|
|
let deptIdParam = getUrlArgObjectNew("deptId",srcUrl)||""
|
|
let deptIdParam = getUrlArgObjectNew("deptId",srcUrl)||""
|
|
let deptNameParam = getUrlArgObjectNew("deptName",srcUrl)||""
|
|
let deptNameParam = getUrlArgObjectNew("deptName",srcUrl)||""
|
|
@@ -29,7 +29,7 @@ $(function() {
|
|
const iconCalenBlue= require("../../images/icon_calen_blue.png")
|
|
const iconCalenBlue= require("../../images/icon_calen_blue.png")
|
|
const iconCalenGrey= require("../../images/icon_calen_grey.png")
|
|
const iconCalenGrey= require("../../images/icon_calen_grey.png")
|
|
//获取科室列表
|
|
//获取科室列表
|
|
- getDeptList()
|
|
|
|
|
|
+ //getDeptList()
|
|
//日期控件事件绑定
|
|
//日期控件事件绑定
|
|
$('.datapickerBox').append(`<img class="iconCalen" src=${iconCalenGrey} />`)
|
|
$('.datapickerBox').append(`<img class="iconCalen" src=${iconCalenGrey} />`)
|
|
$('.iconCalen').on("mouseenter", function(e){
|
|
$('.iconCalen').on("mouseenter", function(e){
|
|
@@ -124,7 +124,7 @@ $(function() {
|
|
})
|
|
})
|
|
});
|
|
});
|
|
|
|
|
|
-function getFilterParam(){
|
|
|
|
|
|
+function getFilterParam(current){
|
|
const param = {
|
|
const param = {
|
|
"isPlacefile":isPlacefile,
|
|
"isPlacefile":isPlacefile,
|
|
"deptId": deptName=="全部"?"":deptId||"", //科室id
|
|
"deptId": deptName=="全部"?"":deptId||"", //科室id
|
|
@@ -134,7 +134,8 @@ function getFilterParam(){
|
|
"asc":data_asc, //升序
|
|
"asc":data_asc, //升序
|
|
"desc":data_desc, //降序
|
|
"desc":data_desc, //降序
|
|
"startDate":startDateParam,
|
|
"startDate":startDateParam,
|
|
- "endDate":endDateParam
|
|
|
|
|
|
+ "endDate":endDateParam,
|
|
|
|
+ current,
|
|
}
|
|
}
|
|
return param;
|
|
return param;
|
|
}
|
|
}
|
|
@@ -156,7 +157,7 @@ function getFilterParam(){
|
|
return false;
|
|
return false;
|
|
}*/
|
|
}*/
|
|
function getTabData(activePage){
|
|
function getTabData(activePage){
|
|
- const param = getFilterParam();
|
|
|
|
|
|
+ const param = getFilterParam(activePage);
|
|
$('.pagination').html("")
|
|
$('.pagination').html("")
|
|
$('.tbody').html(emptyBox('努力加载中...','',1))
|
|
$('.tbody').html(emptyBox('努力加载中...','',1))
|
|
post(api.getQcClickDept,param).then(res =>{
|
|
post(api.getQcClickDept,param).then(res =>{
|
|
@@ -167,11 +168,11 @@ function getTabData(activePage){
|
|
const totalNum = data.total;
|
|
const totalNum = data.total;
|
|
renderTab(detail,detail.hospitalId,activePage);
|
|
renderTab(detail,detail.hospitalId,activePage);
|
|
renderPagination(totalPage,Number(activePage),totalNum)
|
|
renderPagination(totalPage,Number(activePage),totalNum)
|
|
- if(totalPage > 1){
|
|
|
|
|
|
+ /*if(totalPage > 1){
|
|
renderPagination(totalPage,Number(activePage),totalNum)
|
|
renderPagination(totalPage,Number(activePage),totalNum)
|
|
} else{
|
|
} else{
|
|
$('.pagination').html("")
|
|
$('.pagination').html("")
|
|
- }
|
|
|
|
|
|
+ }*/
|
|
}else{
|
|
}else{
|
|
$.alerModal({"message":res.data.msg,type:"tip",time:'1000',isFather: true, fatherWrapper: $("#mainBox", parent.document)});
|
|
$.alerModal({"message":res.data.msg,type:"tip",time:'1000',isFather: true, fatherWrapper: $("#mainBox", parent.document)});
|
|
}
|
|
}
|
|
@@ -191,7 +192,8 @@ function renderTab(data,hisId,activePage){
|
|
<td >${item.deptName || "-"}</td>
|
|
<td >${item.deptName || "-"}</td>
|
|
<td >${item.doctorId || "-"}</td>
|
|
<td >${item.doctorId || "-"}</td>
|
|
<td >${item.doctorName || "-"}</td>
|
|
<td >${item.doctorName || "-"}</td>
|
|
- <td>${item.clickNum}</td>
|
|
|
|
|
|
+ <td>${item.singleModeNum}</td>
|
|
|
|
+ <td>${item.totalModeNum}</td>
|
|
</tr>
|
|
</tr>
|
|
`
|
|
`
|
|
}
|
|
}
|