|
@@ -151,11 +151,6 @@ function getTabData(activePage){
|
|
|
const totalNum = data.total;
|
|
|
renderTab(detail,detail.hospitalId,activePage);
|
|
|
renderPagination(totalPage,Number(activePage),totalNum)
|
|
|
- if(totalPage > 1){
|
|
|
- renderPagination(totalPage,Number(activePage),totalNum)
|
|
|
- } else{
|
|
|
- $('.pagination').html("")
|
|
|
- }
|
|
|
}else{
|
|
|
$.alerModal({"message":res.data.msg,type:"tip",time:'1000',isFather: true, fatherWrapper: $("#mainBox", parent.document)});
|
|
|
}
|
|
@@ -193,7 +188,7 @@ function renderTab(data,hisId,activePage){
|
|
|
})
|
|
|
}
|
|
|
function getDeptList(val){
|
|
|
- post(api.getQcClickDeptList,{inputStr:val=="全部"?"":val||""}).then(res =>{
|
|
|
+ post(api.getDeptList,{inputStr:val=="全部"?"":val||""}).then(res =>{
|
|
|
if(res.data.code == '0'){
|
|
|
const deptList = res.data.data||[]
|
|
|
rendeDeptList(deptList)
|