|
@@ -25,7 +25,7 @@ let isPlacefile = getCookie('isPlacefile') || 1
|
|
$(function () {
|
|
$(function () {
|
|
let srcUrl = $("#contentIframe", parent.document).attr("src")
|
|
let srcUrl = $("#contentIframe", parent.document).attr("src")
|
|
statisticsType = getUrlArgObjectNew("dateType", srcUrl) || ""
|
|
statisticsType = getUrlArgObjectNew("dateType", srcUrl) || ""
|
|
- deptIdTemp = getUrlArgObjectNew("deptName", srcUrl) || ""
|
|
|
|
|
|
+ deptName = getUrlArgObjectNew("deptName", srcUrl) || ""
|
|
deptId = getUrlArgObjectNew("deptId", srcUrl) || ""
|
|
deptId = getUrlArgObjectNew("deptId", srcUrl) || ""
|
|
let startDateParam = getUrlArgObjectNew("startDateParam", srcUrl) || ""
|
|
let startDateParam = getUrlArgObjectNew("startDateParam", srcUrl) || ""
|
|
let endDateParam = getUrlArgObjectNew("endDateParam", srcUrl) || ""
|
|
let endDateParam = getUrlArgObjectNew("endDateParam", srcUrl) || ""
|
|
@@ -55,10 +55,10 @@ $(function () {
|
|
if (!statisticsType) {
|
|
if (!statisticsType) {
|
|
setDatePicker($("#datepicker"), $("#datepicker2"), "default")
|
|
setDatePicker($("#datepicker"), $("#datepicker2"), "default")
|
|
}
|
|
}
|
|
- if (deptId && deptIdTemp) {
|
|
|
|
- $(".selectDept").html(deptIdTemp).attr({
|
|
|
|
|
|
+ if (deptId && deptName) {
|
|
|
|
+ $(".selectDept").html(deptName).attr({
|
|
"data-id": deptId,
|
|
"data-id": deptId,
|
|
- "title": deptIdTemp
|
|
|
|
|
|
+ "title": deptName
|
|
}).append(`<img class="arrow" src=${iconDown} alt="下拉">`)
|
|
}).append(`<img class="arrow" src=${iconDown} alt="下拉">`)
|
|
getDeptList()
|
|
getDeptList()
|
|
} else {
|
|
} else {
|
|
@@ -67,15 +67,15 @@ $(function () {
|
|
})
|
|
})
|
|
|
|
|
|
$(".abnormalClear").click(function () {
|
|
$(".abnormalClear").click(function () {
|
|
- deptIdTemp = deptList[0] && deptList[0].deptName
|
|
|
|
|
|
+ deptName = deptList[0] && deptList[0].deptName
|
|
deptId = deptList[0] && deptList[0].deptId
|
|
deptId = deptList[0] && deptList[0].deptId
|
|
behospitalCode = behospitalCodeTemp = ""
|
|
behospitalCode = behospitalCodeTemp = ""
|
|
casesName = casesNameTemp = ''
|
|
casesName = casesNameTemp = ''
|
|
setDatePicker($("#datepicker"), $("#datepicker2"), "default")
|
|
setDatePicker($("#datepicker"), $("#datepicker2"), "default")
|
|
$(".patientNumInp").val("")
|
|
$(".patientNumInp").val("")
|
|
- $(".selectDept").html(deptIdTemp).attr({
|
|
|
|
|
|
+ $(".selectDept").html(deptName).attr({
|
|
"data-id": deptId,
|
|
"data-id": deptId,
|
|
- "title": deptIdTemp
|
|
|
|
|
|
+ "title": deptName
|
|
}).append(`<img class="arrow" src=${iconDown} alt="下拉">`)
|
|
}).append(`<img class="arrow" src=${iconDown} alt="下拉">`)
|
|
getmoduleTypeList()
|
|
getmoduleTypeList()
|
|
$(".selectModuleType").attr({ 'title': "全部", 'data-id': '' }).val("全部")
|
|
$(".selectModuleType").attr({ 'title': "全部", 'data-id': '' }).val("全部")
|
|
@@ -119,7 +119,7 @@ function getDeptList(flg) {
|
|
if (deptList.length <= 0) return
|
|
if (deptList.length <= 0) return
|
|
if (flg) {
|
|
if (flg) {
|
|
$(".partDetail .selectDept ").attr("data-id", deptList[0].deptId).find("i").html(deptList[0].deptName)
|
|
$(".partDetail .selectDept ").attr("data-id", deptList[0].deptId).find("i").html(deptList[0].deptName)
|
|
- deptIdTemp = deptList[0].deptName
|
|
|
|
|
|
+ deptName = deptList[0].deptName
|
|
deptId = deptList[0].deptId
|
|
deptId = deptList[0].deptId
|
|
}
|
|
}
|
|
for (let i = 0; i < deptList.length; i++) {
|
|
for (let i = 0; i < deptList.length; i++) {
|
|
@@ -306,7 +306,7 @@ function renderTab(data, hisId, activePage) {
|
|
let docId = $(this).parent().attr("data-docId")
|
|
let docId = $(this).parent().attr("data-docId")
|
|
let titleName = $(this).attr("data-title")
|
|
let titleName = $(this).attr("data-title")
|
|
let ruleType = $(this).attr("data-ruleType")
|
|
let ruleType = $(this).attr("data-ruleType")
|
|
- $(parent.document).find("#contentIframe").attr("src", "quexianDetailHome.html?from=10&casesId=243&deptName=" + deptIdTemp + "&deptId=" + deptId + "&docName=" + docName + "&shijian=3" + "&ruleType=" + ruleType + "&startDateParam=" + startDateParam + "&endDateParam=" + endDateParam + "&titleName=" + titleName + "&docId=" + docId)
|
|
|
|
|
|
+ $(parent.document).find("#contentIframe").attr("src", "quexianDetailHome.html?from=10&casesId=243&deptName=" + deptName + "&deptId=" + deptId + "&docName=" + docName + "&shijian=3" + "&ruleType=" + ruleType + "&startDateParam=" + startDateParam + "&endDateParam=" + endDateParam + "&titleName=" + titleName + "&docId=" + docId)
|
|
})
|
|
})
|
|
// initScroll("partDetail","YX",1)
|
|
// initScroll("partDetail","YX",1)
|
|
// 不合格数跳转至 病历列表详情页
|
|
// 不合格数跳转至 病历列表详情页
|
|
@@ -315,7 +315,7 @@ function renderTab(data, hisId, activePage) {
|
|
let docName = $(this).parent().attr("data-doc")
|
|
let docName = $(this).parent().attr("data-doc")
|
|
let docId = $(this).parent().attr("data-docId")
|
|
let docId = $(this).parent().attr("data-docId")
|
|
let titleName = $(this).attr("data-title")
|
|
let titleName = $(this).attr("data-title")
|
|
- $(parent.document).find("#contentIframe").attr("src", "qcListCopyUnqualifiedDept.html?from=2&casesId=243&deptName=" + deptIdTemp + "&deptId=" + deptId + "&docName=" + docName + "&shijian=3" + "&startDateParam=" + startDateParam + "&endDateParam=" + endDateParam + "&titleName=" + titleName + "&docId=" + docId)
|
|
|
|
|
|
+ $(parent.document).find("#contentIframe").attr("src", "qcListCopyUnqualifiedDept.html?from=2&casesId=243&deptName=" + deptName + "&deptId=" + deptId + "&docName=" + docName + "&shijian=3" + "&startDateParam=" + startDateParam + "&endDateParam=" + endDateParam + "&titleName=" + titleName + "&docId=" + docId)
|
|
// $(parent.document).find("#contentIframe").attr("src", "qcListCopy.html?deptName=" + deptName + "&deptId=" + deptId + "&from=4&casesId=243" + "&shijian=3" + "&ruleType=" + ruleType + "&startDate=" + startDateParam + "&endDate=" + endDateParam + "&defectName=" + defectName)
|
|
// $(parent.document).find("#contentIframe").attr("src", "qcListCopy.html?deptName=" + deptName + "&deptId=" + deptId + "&from=4&casesId=243" + "&shijian=3" + "&ruleType=" + ruleType + "&startDate=" + startDateParam + "&endDate=" + endDateParam + "&defectName=" + defectName)
|
|
// $(parent.document).find("#contentIframe").attr("src", "qcListCopyUnqualifiedDept.html?deptName=" + deptName + "&deptId=" + deptId + "&from=4&casesId=243" + "&shijian=3" + "&startDate=" + startDateParam + "&endDate=" + endDateParam+"&titleName="+titleName )
|
|
// $(parent.document).find("#contentIframe").attr("src", "qcListCopyUnqualifiedDept.html?deptName=" + deptName + "&deptId=" + deptId + "&from=4&casesId=243" + "&shijian=3" + "&startDate=" + startDateParam + "&endDate=" + endDateParam+"&titleName="+titleName )
|
|
|
|
|