|
@@ -30,17 +30,21 @@ let startDateParam = getUrlArgObjectNew("startDate",srcUrl)||""
|
|
|
let endDateParam = getUrlArgObjectNew("endDate",srcUrl)||""
|
|
|
let from = getUrlArgObjectNew("from",srcUrl)||""
|
|
|
let defectName = getUrlArgObjectNew("defectName",srcUrl)||"";
|
|
|
-let casesId = getUrlArgObjectNew("casesEntryId",srcUrl)||"";
|
|
|
+let casesEntryId = getUrlArgObjectNew("casesEntryId",srcUrl)|| "";
|
|
|
+let casesId = getUrlArgObjectNew("casesId",srcUrl)|| "";
|
|
|
+let ruleType = getUrlArgObjectNew("ruleType",srcUrl)||""
|
|
|
let isSingleReject = getUrlArgObjectNew("isSingleReject",srcUrl)||""
|
|
|
let deptListDept = JSON.parse(getCookie("deptList"))||[]
|
|
|
let currentPage;
|
|
|
-
|
|
|
$(".selectLevel").append(`<img class="arrow" src=${iconDown} alt="下拉">`)
|
|
|
$(".selectDept").append(`<img class="arrow" src=${iconDown} alt="下拉">`)
|
|
|
-$(".selectCheck").append(`<img class="arrow" src=${iconDown} alt="下拉">`)
|
|
|
+$(".fpSelectCheck").append(`<img class="arrow" src=${iconDown} alt="下拉">`)
|
|
|
+$(".qcSelectCheck").append(`<img class="arrow" src=${iconDown} alt="下拉">`)
|
|
|
let tabList = [], name = "", behospitalCode="", behosDateStart="", level="",behosDateEnd="", scoreSum = 0,
|
|
|
nameTemp = "", behospitalCodeTemp="",levelTemp="", deptId="",deptIdTemp="", doctorName="", deptName="", deptNameTemp="",doctorNum="",doctorNameTemp="",doctorNumTemp="",
|
|
|
- checkStatus="",checkStatusTemp="",data_desc=["leaveHospitalDate"],data_asc=[];
|
|
|
+ fpCheckStatus="",fpCheckStatusTemp="",fpCheckName="",fpCheckNameTemp="",qcCheckName="",qcCheckNameTemp="",qcCheckStatus="",qcCheckStatusTemp="",fpCheckDateStart="",fpCheckDateEnd="",
|
|
|
+ qcCheckDateStart="",qcCheckDateEnd="",
|
|
|
+ data_desc=["leaveHospitalDate"],data_asc=[];
|
|
|
if(chengdu){
|
|
|
levelTemp = chengdu
|
|
|
level = chengdu
|
|
@@ -58,6 +62,9 @@ if(docName){
|
|
|
$('.doctorInp').val(docName)
|
|
|
}
|
|
|
if(deptIdPram&&deptNamePram){
|
|
|
+ if(deptNamePram == "全院"){
|
|
|
+ deptNamePram = "全部"
|
|
|
+ }
|
|
|
deptIdTemp = deptIdPram = deptIdPram
|
|
|
deptName = deptNameTemp = deptNamePram
|
|
|
if(deptNamePram.length > 10){
|
|
@@ -79,6 +86,11 @@ if(from==2){
|
|
|
$('.selectDept').html(deptName)
|
|
|
}else if(from==3){
|
|
|
$(".partTitle .titlePic ").html(`<a href="keyItemFlawControl.html">关键条目缺陷占比 / </a>缺陷详情`)
|
|
|
+}else if(from==4){
|
|
|
+ $(".partTitle .titlePic ").html(`<a class="consoleD" href="console.html">控制台 / </a><a class="consoleP" href="singleVeto.html?from=1">条目缺陷占比 / </a><a class="defectDetail" href="quexianDetailControlHome.html">缺陷详情 / </a>病历详情`)
|
|
|
+ $(".defectDetail").on("click",function(){
|
|
|
+ $(parent.document).find("#contentIframe").attr("src","quexianDetailControlHome.html?deptName="+deptNamePram+"&deptId="+deptIdPram+"&from=1&casesId=243"+"&shijian=3"+"&ruleType="+ruleType+"&startDateParam="+startDateParam+"&endDateParam="+endDateParam)
|
|
|
+ })
|
|
|
}else{
|
|
|
$(".partTitle .titlePic ").html(`<a class="consoleD" href="console.html">控制台 / </a><a class="consoleP" href="singleVeto.html?from=1">条目缺陷占比 / </a>缺陷详情`)
|
|
|
}
|
|
@@ -128,12 +140,19 @@ function getTabData(activePage){
|
|
|
startDate: behosDateStart.replace(/\//g,'-'), //出院日期--开始时间
|
|
|
endDate: behosDateEnd.replace(/\//g,'-'), //出院日期--结束时间
|
|
|
casesEntryName: casesEntryName,
|
|
|
- casesEntryId:casesId,
|
|
|
+ casesEntryId:casesEntryId,
|
|
|
size: 15,
|
|
|
isReject: isSingleReject,
|
|
|
doctorName: doctorName,
|
|
|
doctorId: doctorNum,
|
|
|
- checkStatus: checkStatus?Number(checkStatus):checkStatus, //核查状态
|
|
|
+ checkStatus: qcCheckStatus?Number(qcCheckStatus):qcCheckStatus, //病历核查状态
|
|
|
+ mrStatus: fpCheckStatus?Number(fpCheckStatus):fpCheckStatus, //首页核查状态(1:已核查,0:未核查)
|
|
|
+ chName: qcCheckName, //病历核查人员
|
|
|
+ mrName: fpCheckName, //首页核查人员
|
|
|
+ chTimeStart: qcCheckDateStart.replace(/\//g,'-'), //病历核查起始时间
|
|
|
+ chTimeEnd: qcCheckDateEnd.replace(/\//g,'-'), //病历核查截止时间
|
|
|
+ mrTimeStart: fpCheckDateStart.replace(/\//g,'-'), //首页核查起始时间
|
|
|
+ mrTimeEnd: fpCheckDateEnd.replace(/\//g,'-'), //首页核查截止时间
|
|
|
}
|
|
|
return post(from==2?api.qcResultShortByDeptPage:api.qcResultDefectList,param).then(res =>{
|
|
|
if(res.data.code == '0'){
|
|
@@ -162,10 +181,26 @@ function getTabData(activePage){
|
|
|
$(".filter").on("click", function(e){
|
|
|
behosDateStart = $("#datepicker").val()
|
|
|
behosDateEnd = $("#datepicker2").val()
|
|
|
- const start = new Date(behosDateStart).getTime()
|
|
|
- const end = new Date(behosDateEnd).getTime()
|
|
|
- if(start > end){
|
|
|
- $.alerModal({"message":'开始时间不能大于结束时间~',type:"tip",time:'1000',isFather: true, fatherWrapper: $("#mainBox", parent.document)});
|
|
|
+ fpCheckDateStart = $("#datepickerFp1").val()
|
|
|
+ fpCheckDateEnd = $("#datepickerFp2").val()
|
|
|
+ qcCheckDateStart = $("#datepickerQc1").val()
|
|
|
+ qcCheckDateEnd = $("#datepickerQc2").val()
|
|
|
+ const behosDateStartTime = new Date(behosDateStart).getTime()
|
|
|
+ const behosDateEndTime = new Date(behosDateEnd).getTime()
|
|
|
+ const qcCheckDateStartTime = new Date(qcCheckDateStart).getTime()
|
|
|
+ const qcCheckDateEndTime = new Date(qcCheckDateEnd).getTime()
|
|
|
+ const fpCheckDateStartTime = new Date(fpCheckDateStart).getTime()
|
|
|
+ const fpCheckDateEndTime = new Date(fpCheckDateEnd).getTime()
|
|
|
+ if(behosDateStartTime > behosDateEndTime){
|
|
|
+ $.alerModal({"message":'出院日期开始时间不能大于结束时间~',type:"tip",time:'1000',isFather: true, fatherWrapper: $("#mainBox", parent.document)});
|
|
|
+ return
|
|
|
+ }
|
|
|
+ if(qcCheckDateStartTime > qcCheckDateEndTime){
|
|
|
+ $.alerModal({"message":'出院日期开始时间不能大于结束时间~',type:"tip",time:'1000',isFather: true, fatherWrapper: $("#mainBox", parent.document)});
|
|
|
+ return
|
|
|
+ }
|
|
|
+ if(fpCheckDateStartTime > fpCheckDateEndTime){
|
|
|
+ $.alerModal({"message":'出院日期开始时间不能大于结束时间~',type:"tip",time:'1000',isFather: true, fatherWrapper: $("#mainBox", parent.document)});
|
|
|
return
|
|
|
}
|
|
|
if(behosDateStart){
|
|
@@ -174,6 +209,18 @@ $(".filter").on("click", function(e){
|
|
|
if(behosDateEnd){
|
|
|
behosDateEnd = behosDateEnd + ' 23:59:59'
|
|
|
}
|
|
|
+ if(fpCheckDateStart){
|
|
|
+ fpCheckDateStart = fpCheckDateStart + ' 00:00:00'
|
|
|
+ }
|
|
|
+ if(fpCheckDateEnd){
|
|
|
+ fpCheckDateEnd = fpCheckDateEnd + ' 23:59:59'
|
|
|
+ }
|
|
|
+ if(qcCheckDateStart){
|
|
|
+ qcCheckDateStart = qcCheckDateStart + ' 00:00:00'
|
|
|
+ }
|
|
|
+ if(qcCheckDateEnd){
|
|
|
+ qcCheckDateEnd = qcCheckDateEnd + ' 23:59:59'
|
|
|
+ }
|
|
|
|
|
|
name = nameTemp
|
|
|
behospitalCode = behospitalCodeTemp
|
|
@@ -181,8 +228,11 @@ $(".filter").on("click", function(e){
|
|
|
deptId = deptIdTemp
|
|
|
deptName = deptNameTemp
|
|
|
doctorName = doctorNameTemp
|
|
|
+ fpCheckName = fpCheckNameTemp
|
|
|
+ qcCheckName = qcCheckNameTemp
|
|
|
doctorNum = doctorNumTemp
|
|
|
- checkStatus = checkStatusTemp
|
|
|
+ fpCheckStatus = fpCheckStatusTemp
|
|
|
+ qcCheckStatus = qcCheckStatusTemp
|
|
|
getTabData(1)
|
|
|
})
|
|
|
$(".abnormalClear").on("click", function(e){
|
|
@@ -198,12 +248,18 @@ $(".abnormalClear").on("click", function(e){
|
|
|
deptName="";
|
|
|
deptNameTemp="";
|
|
|
deptIdTemp="";
|
|
|
- doctorName="";
|
|
|
+ doctorName="";
|
|
|
+ fpCheckName="";
|
|
|
+ qcCheckName="" ;
|
|
|
doctorNum="";
|
|
|
doctorNameTemp="";
|
|
|
+ fpCheckNameTemp="";
|
|
|
+ qcCheckNameTemp="";
|
|
|
doctorNumTemp="";
|
|
|
- checkStatus="";
|
|
|
- checkStatusTemp="";
|
|
|
+ fpCheckStatus="";
|
|
|
+ fpCheckStatusTemp="";
|
|
|
+ qcCheckStatus="";
|
|
|
+ qcCheckStatusTemp=""
|
|
|
data_desc=["leaveHospitalDate"]
|
|
|
data_asc=[];
|
|
|
if(from == 2){
|
|
@@ -212,6 +268,10 @@ $(".abnormalClear").on("click", function(e){
|
|
|
deptNameTemp=deptListDept[0]&&deptListDept[0].deptName;
|
|
|
deptIdTemp=deptListDept[0]&&deptListDept[0].deptId;
|
|
|
}
|
|
|
+ if(from == 4){
|
|
|
+ deptIdTemp = deptIdPram = deptIdPram
|
|
|
+ deptName = deptNameTemp = deptNamePram
|
|
|
+ }
|
|
|
$('.patientNumInp').val('')
|
|
|
$('.patientNameInp').val('')
|
|
|
$('.doctorInp').val('')
|
|
@@ -232,9 +292,37 @@ $(".abnormalClear").on("click", function(e){
|
|
|
changeYear: true,
|
|
|
dateFormat:"yy/mm/dd"
|
|
|
}).datepicker( "setDate",new Date());
|
|
|
+ $( "#datepickerFp1" ).datepicker({
|
|
|
+ changeMonth: true,
|
|
|
+ changeYear: true,
|
|
|
+ dateFormat:"yy/mm/dd",
|
|
|
+ }).datepicker( "setDate", "");
|
|
|
+ $( "#datepickerFp2" ).datepicker({
|
|
|
+ changeMonth: true,
|
|
|
+ changeYear: true,
|
|
|
+ dateFormat:"yy/mm/dd"
|
|
|
+ }).datepicker( "setDate","");
|
|
|
+ $( "#datepickerQc1" ).datepicker({
|
|
|
+ changeMonth: true,
|
|
|
+ changeYear: true,
|
|
|
+ dateFormat:"yy/mm/dd",
|
|
|
+ }).datepicker( "setDate", "");
|
|
|
+ $( "#datepickerQc2" ).datepicker({
|
|
|
+ changeMonth: true,
|
|
|
+ changeYear: true,
|
|
|
+ dateFormat:"yy/mm/dd"
|
|
|
+ }).datepicker( "setDate","");
|
|
|
if(from == 2){
|
|
|
- console.log('deptListDept',deptListDept)
|
|
|
$('.selectDept ').html(deptListDept[0].deptName)
|
|
|
+ }else if(from == 4){
|
|
|
+ if(deptNamePram.length > 10){
|
|
|
+ $('.selectDept').html(deptNamePram.substring(0,8)+'...')
|
|
|
+ }else{
|
|
|
+ $('.selectDept').html(deptNamePram)
|
|
|
+ }
|
|
|
+ $('.selectDept ').attr('title',deptNamePram)
|
|
|
+ $(".deptList").css("display", "none")
|
|
|
+ $(".selectDept").append(`<img class="arrow" src=${iconDown} alt="下拉">`)
|
|
|
}else{
|
|
|
$('.selectDept ').html('全部')
|
|
|
}
|
|
@@ -245,9 +333,12 @@ $(".abnormalClear").on("click", function(e){
|
|
|
$(".levelList").css("display", "none")
|
|
|
$(".selectLevel").append(`<img class="arrow" src=${iconDown} alt="下拉">`)
|
|
|
// $('.selectLevel ').addClass('unSelect')
|
|
|
- $('.selectCheck').html('全部')
|
|
|
- $(".checkList").css("display", "none")
|
|
|
- $(".selectCheck").append(`<img class="arrow" src=${iconDown} alt="下拉">`)
|
|
|
+ $('.fpSelectCheck').html('全部')
|
|
|
+ $(".fpCheckList").css("display", "none")
|
|
|
+ $(".fpSelectCheck").append(`<img class="arrow" src=${iconDown} alt="下拉">`)
|
|
|
+ $('.qcSelectCheck').html('全部')
|
|
|
+ $(".qcCheckList").css("display", "none")
|
|
|
+ $(".qcSelectCheck").append(`<img class="arrow" src=${iconDown} alt="下拉">`)
|
|
|
$("th[code]").removeClass("asc desc")
|
|
|
$(".leaveHospitalDate").addClass(" desc")
|
|
|
behosDateStart = $("#datepicker").val()
|
|
@@ -258,7 +349,10 @@ $(".abnormalClear").on("click", function(e){
|
|
|
if(behosDateEnd){
|
|
|
behosDateEnd = behosDateEnd + ' 23:59:59'
|
|
|
}
|
|
|
-
|
|
|
+ fpCheckDateStart = ""
|
|
|
+ fpCheckDateEnd = ""
|
|
|
+ qcCheckDateStart = ""
|
|
|
+ qcCheckDateEnd = ""
|
|
|
getTabData(1)
|
|
|
})
|
|
|
function renderTab(data,hisId){
|
|
@@ -336,7 +430,6 @@ function bindScoreDetail(hisId){
|
|
|
const id = tabList[index].behospitalCode
|
|
|
const age = tabList[index].age;
|
|
|
const noScore = tabList[index].level == '未评分'
|
|
|
- const checkStatus = tabList[index].checkStatus
|
|
|
if(noScore){
|
|
|
$.alerModal({"message":'请先进行评分!',type:"tip",time:'1000',isFather: true, fatherWrapper: $("#mainBox", parent.document)});
|
|
|
return
|
|
@@ -352,8 +445,10 @@ $('.selectLevel').on("click", function(e){
|
|
|
e.stopPropagation()
|
|
|
$(".deptList ").css("display", "none")
|
|
|
$(".selectDept .arrow").attr("src",iconDown)
|
|
|
- $(".checkList ").css("display", "none")
|
|
|
- $(".selectCheck .arrow").attr("src",iconDown)
|
|
|
+ $(".fpCheckList ").css("display", "none")
|
|
|
+ $(".fpSelectCheck .arrow").attr("src",iconDown)
|
|
|
+ $(".qcSelectCheck .arrow").attr("src",iconDown)
|
|
|
+ $(".qcCheckList ").css("display", "none")
|
|
|
const showList = $(".levelList ").css("display")
|
|
|
if(showList == "none" ||!showList){
|
|
|
$(".levelList ").css("display","block")
|
|
@@ -364,20 +459,40 @@ $('.selectLevel').on("click", function(e){
|
|
|
}
|
|
|
})
|
|
|
|
|
|
-//选择核查状态
|
|
|
-$('.selectCheck').on("click", function(e){
|
|
|
+//选择病案首页核查状态
|
|
|
+$('.fpSelectCheck').on("click", function(e){
|
|
|
e.stopPropagation()
|
|
|
$(".deptList ").css("display", "none")
|
|
|
$(".selectDept .arrow").attr("src",iconDown)
|
|
|
$(".levelList ").css("display","none")
|
|
|
$(".selectLevel .arrow").attr("src",iconDown)
|
|
|
- const showList = $(".checkList ").css("display")
|
|
|
+ $(".qcSelectCheck .arrow").attr("src",iconDown)
|
|
|
+ $(".qcCheckList ").css("display", "none")
|
|
|
+ const showList = $(".fpCheckList ").css("display")
|
|
|
if(showList == "none" ||!showList){
|
|
|
- $(".checkList ").css("display","block")
|
|
|
- $(".selectCheck .arrow").attr("src",iconUp)
|
|
|
+ $(".fpCheckList ").css("display","block")
|
|
|
+ $(".fpSelectCheck .arrow").attr("src",iconUp)
|
|
|
}else{
|
|
|
- $(".checkList ").css("display", "none")
|
|
|
- $(".selectCheck .arrow").attr("src",iconDown)
|
|
|
+ $(".fpCheckList ").css("display", "none")
|
|
|
+ $(".fpSelectCheck .arrow").attr("src",iconDown)
|
|
|
+ }
|
|
|
+})
|
|
|
+//选择病历核查状态
|
|
|
+$('.qcSelectCheck').on("click", function(e){
|
|
|
+ e.stopPropagation()
|
|
|
+ $(".deptList ").css("display", "none")
|
|
|
+ $(".selectDept .arrow").attr("src",iconDown)
|
|
|
+ $(".levelList ").css("display","none")
|
|
|
+ $(".selectLevel .arrow").attr("src",iconDown)
|
|
|
+ $(".fpSelectCheck .arrow").attr("src",iconDown)
|
|
|
+ $(".fpCheckList ").css("display", "none")
|
|
|
+ const showList = $(".qcCheckList ").css("display")
|
|
|
+ if(showList == "none" ||!showList){
|
|
|
+ $(".qcCheckList ").css("display","block")
|
|
|
+ $(".qcSelectCheck .arrow").attr("src",iconUp)
|
|
|
+ }else{
|
|
|
+ $(".qcCheckList ").css("display", "none")
|
|
|
+ $(".qcSelectCheck .arrow").attr("src",iconDown)
|
|
|
}
|
|
|
})
|
|
|
|
|
@@ -396,17 +511,31 @@ function bindLeveldSelect(){
|
|
|
})
|
|
|
}
|
|
|
|
|
|
-bindCheckedSelect()
|
|
|
-//核查状态选择
|
|
|
-function bindCheckedSelect(){
|
|
|
- $('.checkItem').on("click",function(){
|
|
|
- const checkItemName = $(this).attr("data-name")
|
|
|
- const checkItemItemId = $(this).attr("data-id")
|
|
|
- checkStatusTemp =checkItemItemId
|
|
|
- $('.selectCheck').html(checkItemName)
|
|
|
- $(".checkList").css("display", "none")
|
|
|
- $(".selectCheck").append(`<img class="arrow" src=${iconDown} alt="下拉">`)
|
|
|
- $('.selectCheck').removeClass('unSelect')
|
|
|
+bindCheckedSelectFp()
|
|
|
+//病案首页核查状态选择
|
|
|
+function bindCheckedSelectFp(){
|
|
|
+ $('.fpCheckItem').on("click",function(){
|
|
|
+ const fpCheckItemName = $(this).attr("data-name")
|
|
|
+ const fpCheckItemItemId = $(this).attr("data-id")
|
|
|
+ fpCheckStatusTemp =fpCheckItemItemId
|
|
|
+ $('.fpSelectCheck').html(fpCheckItemName)
|
|
|
+ $(".fpCheckList").css("display", "none")
|
|
|
+ $(".fpSelectCheck").append(`<img class="arrow" src=${iconDown} alt="下拉">`)
|
|
|
+ $('.fpSelectCheck').removeClass('unSelect')
|
|
|
+ })
|
|
|
+}
|
|
|
+
|
|
|
+bindCheckedSelectQc()
|
|
|
+//病历核查状态选择
|
|
|
+function bindCheckedSelectQc(){
|
|
|
+ $('.qcCheckItem').on("click",function(){
|
|
|
+ const qcCheckItemName = $(this).attr("data-name")
|
|
|
+ const qcCheckItemItemId = $(this).attr("data-id")
|
|
|
+ qcCheckStatusTemp =qcCheckItemItemId
|
|
|
+ $('.qcSelectCheck').html(qcCheckItemName)
|
|
|
+ $(".qcCheckList").css("display", "none")
|
|
|
+ $(".qcSelectCheck").append(`<img class="arrow" src=${iconDown} alt="下拉">`)
|
|
|
+ $('.qcSelectCheck').removeClass('unSelect')
|
|
|
})
|
|
|
}
|
|
|
|
|
@@ -451,8 +580,10 @@ $('.selectDept').on("click", function(e){
|
|
|
e.stopPropagation()
|
|
|
$(".levelList ").css("display","none")
|
|
|
$(".selectLevel .arrow").attr("src",iconDown)
|
|
|
- $(".checkList ").css("display", "none")
|
|
|
- $(".selectCheck .arrow").attr("src",iconDown)
|
|
|
+ $(".fpCheckList ").css("display", "none")
|
|
|
+ $(".fpSelectCheck .arrow").attr("src",iconDown)
|
|
|
+ $(".qcCheckList ").css("display", "none")
|
|
|
+ $(".qcSelectCheck .arrow").attr("src",iconDown)
|
|
|
const showList = $(".deptList ").css("display")
|
|
|
if(showList == "none" ||!showList){
|
|
|
$(".deptList ").css("display","block")
|
|
@@ -826,6 +957,14 @@ $(".doctorInp").on("input", function(e){
|
|
|
const val = $(this).val().trim()
|
|
|
doctorNameTemp = val
|
|
|
})
|
|
|
+$(".fpCheckPeople").on("input", function(e){
|
|
|
+ const val = $(this).val().trim()
|
|
|
+ fpCheckNameTemp = val
|
|
|
+})
|
|
|
+$(".qcCheckPeople").on("input", function(e){
|
|
|
+ const val = $(this).val().trim()
|
|
|
+ qcCheckNameTemp = val
|
|
|
+})
|
|
|
$(".doctorNumInp").on("input", function(e){
|
|
|
const val = $(this).val().trim();
|
|
|
doctorNumTemp = val
|
|
@@ -886,6 +1025,26 @@ $(function() {
|
|
|
changeYear: true,
|
|
|
dateFormat:"yy/mm/dd"
|
|
|
}).datepicker( "setDate",endDate);
|
|
|
+ $( "#datepickerFp1" ).datepicker({
|
|
|
+ changeMonth: true,
|
|
|
+ changeYear: true,
|
|
|
+ dateFormat:"yy/mm/dd"
|
|
|
+ }).datepicker( "setDate","");
|
|
|
+ $( "#datepickerFp2" ).datepicker({
|
|
|
+ changeMonth: true,
|
|
|
+ changeYear: true,
|
|
|
+ dateFormat:"yy/mm/dd"
|
|
|
+ }).datepicker( "setDate","");
|
|
|
+ $( "#datepickerQc1" ).datepicker({
|
|
|
+ changeMonth: true,
|
|
|
+ changeYear: true,
|
|
|
+ dateFormat:"yy/mm/dd"
|
|
|
+ }).datepicker( "setDate","");
|
|
|
+ $( "#datepickerQc2" ).datepicker({
|
|
|
+ changeMonth: true,
|
|
|
+ changeYear: true,
|
|
|
+ dateFormat:"yy/mm/dd"
|
|
|
+ }).datepicker( "setDate","");
|
|
|
getPageSet().then(res =>{
|
|
|
$(".filter").click(); //初始查询
|
|
|
})
|
|
@@ -956,20 +1115,22 @@ function renderPagination(totalPage,activePage,totalNum){
|
|
|
$(document).on("click", function(){
|
|
|
$(".levelList ").css("display", "none")
|
|
|
$(".deptList").css("display", "none")
|
|
|
- $(".checkList").css("display", "none")
|
|
|
+ $(".fpCheckList").css("display", "none")
|
|
|
+ $(".qcCheckList").css("display", "none")
|
|
|
$(".selectDept .arrow").attr("src",iconDown)
|
|
|
$(".selectLevel .arrow").attr("src",iconDown)
|
|
|
- $(".selectCheck .arrow").attr("src",iconDown)
|
|
|
+ $(".fpSelectCheck .arrow").attr("src",iconDown)
|
|
|
+ $(".qcSelectCheck .arrow").attr("src",iconDown)
|
|
|
})
|
|
|
$(function($){
|
|
|
$('.export').click(function(){
|
|
|
- const start = new Date(behosDateStart).getTime()
|
|
|
- const end = new Date(behosDateEnd).getTime()
|
|
|
- if(start > end){
|
|
|
+ const behosDateStartTime = new Date(behosDateStart).getTime()
|
|
|
+ const behosDateEndTime = new Date(behosDateEnd).getTime()
|
|
|
+ if(behosDateStartTime > behosDateEndTime){
|
|
|
$.alerModal({"message":'开始时间不能大于结束时间~',type:"tip",time:'1000',isFather: true, fatherWrapper: $("#mainBox", parent.document)});
|
|
|
return
|
|
|
}
|
|
|
- if((end - start)/24/60/60/1000 > 7){
|
|
|
+ if((behosDateEndTime - behosDateStartTime)/24/60/60/1000 > 7){
|
|
|
$.alerModal({"message":"最多只能导出7天",type:"tip",time:'1000',isFather: true, fatherWrapper: $("#mainBox", parent.document)});
|
|
|
return
|
|
|
}
|
|
@@ -983,11 +1144,18 @@ $(function($){
|
|
|
startDate: behosDateStart.replace(/\//g,'-'), //出院日期--开始时间
|
|
|
endDate: behosDateEnd.replace(/\//g,'-'), //出院日期--结束时间
|
|
|
casesEntryName: casesEntryName,
|
|
|
- casesEntryId:casesId,
|
|
|
+ casesEntryId:casesEntryId,
|
|
|
isReject: isSingleReject,
|
|
|
doctorName: doctorName,
|
|
|
doctorId: doctorNum,
|
|
|
- checkStatus: checkStatus?Number(checkStatus):checkStatus, //核查状态
|
|
|
+ checkStatus: qcCheckStatus?Number(qcCheckStatus):qcCheckStatus, //病历核查状态
|
|
|
+ mrStatus: fpCheckStatus?Number(fpCheckStatus):fpCheckStatus, //首页核查状态(1:已核查,0:未核查)
|
|
|
+ chName: qcCheckName, //病历核查人员
|
|
|
+ mrName: fpCheckName, //首页核查人员
|
|
|
+ chTimeStart: qcCheckDateStart.replace(/\//g,'-'), //病历核查起始时间
|
|
|
+ chTimeEnd: qcCheckDateEnd.replace(/\//g,'-'), //病历核查截止时间
|
|
|
+ mrTimeStart: fpCheckDateStart.replace(/\//g,'-'), //首页核查起始时间
|
|
|
+ mrTimeEnd: fpCheckDateEnd.replace(/\//g,'-'), //首页核查截止时间
|
|
|
}
|
|
|
expJson(api.qcResultShortPageExport,param).then(res =>{
|
|
|
downloadExportedData(res.data, $(".partTitle").text()+".xls")
|