|
@@ -81,24 +81,30 @@ if(deptIdPram&&deptNamePram){
|
|
|
}
|
|
|
if(from==2){
|
|
|
$(".export").css('display','none')
|
|
|
- $(".partTitle .titlePic ").html(`<a class="consoleD" href="deptConsole.html">控制台(科室) / </a><a class="consoleP" href="singleVeto.html?from=1">条目缺陷占比 / </a>缺陷详情`)
|
|
|
+ $(".partTitle .titlePic ").html(`<a class="consoleD" href="deptConsole.html">控制台(科室) / </a><a class="consoleP" href="singleVeto.html?from=1">条目缺陷占比 / </a>缺陷列表`)
|
|
|
deptId=deptListDept[0]&&deptListDept[0].deptId;
|
|
|
deptName=deptListDept[0]&&deptListDept[0].deptName;
|
|
|
deptNameTemp=deptListDept[0]&&deptListDept[0].deptName;
|
|
|
deptIdTemp=deptListDept[0]&&deptListDept[0].deptId;
|
|
|
$('.selectDept').html(deptName)
|
|
|
}else if(from==3){
|
|
|
- $(".partTitle .titlePic ").html(`<a href="keyItemFlawControl.html">关键条目缺陷占比 / </a>缺陷详情`)
|
|
|
+ $(".partTitle .titlePic ").html(`<a href="keyItemFlawControl.html">关键条目缺陷占比 / </a>病历列表`)
|
|
|
}else if(from==4){
|
|
|
// $(".qcFiliterItem").css("display","none")
|
|
|
// 控制台 / 病案首页合格率占比 / 缺陷详情
|
|
|
// $(".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>病历详情`)
|
|
|
- $(".partTitle .titlePic ").html(`<a class="consoleD" href="console.html">控制台 / </a><a class="consoleP" href="partDetailControl.html?from=1">病案首页合格率占比 / </a><a class="defectDetail" href="quexianDetailControlHome.html">缺陷详情 / </a>病历详情`)
|
|
|
+ $(".partTitle .titlePic ").html(`<a class="consoleD" href="console.html">控制台 / </a><a class="consoleP" href="partDetailControl.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=="全部" ?"全院":deptNamePram}`+"&deptId="+deptIdPram+"&from=1&casesId=243"+"&shijian=3"+"&ruleType="+ruleType+"&startDateParam="+startDateParam+"&endDateParam="+endDateParam)
|
|
|
})
|
|
|
+}else if(from==9){
|
|
|
+ // 来自 各科室缺陷占比的跳转
|
|
|
+ $(".partTitle .titlePic ").html(`<a class="consoleD" href="console.html">控制台 / </a><a class="consoleP" href="deptScoreDetailControl.html?from=1">各科室缺陷占比 / </a><a class="defectDetail" href="quexianDetailControl.html">缺陷列表 / </a>病历列表`)
|
|
|
+ $(".defectDetail").on("click", function () {
|
|
|
+ $(parent.document).find("#contentIframe").attr("src", "quexianDetailControl.html?deptName=" + `${deptNamePram == "全部" ? "全院" : deptNamePram}` + "&deptId=" + deptIdPram + "&from=1&" + "&shijian=3" + "&startDateParam=" + startDateParam + "&endDateParam=" + endDateParam)
|
|
|
+ })
|
|
|
}else{
|
|
|
- $(".partTitle .titlePic ").html(`<a class="consoleD" href="console.html">控制台 / </a><a class="consoleP" href="singleVeto.html?from=1">条目缺陷占比 / </a>缺陷详情`)
|
|
|
+ $(".partTitle .titlePic ").html(`<a class="consoleD" href="console.html">控制台 / </a><a class="consoleP" href="singleVeto.html?from=1">条目缺陷占比 / </a>病历列表`)
|
|
|
}
|
|
|
$(".partTitle .consoleD").click(function(){
|
|
|
//初始菜单选中
|
|
@@ -143,7 +149,7 @@ function getTabData(activePage){
|
|
|
if (casesEntryId === 'undefined') {
|
|
|
casesEntryId = ""
|
|
|
}
|
|
|
- const param = {
|
|
|
+ let param = {
|
|
|
current:activePage,
|
|
|
behospitalCode: behospitalCode,
|
|
|
patName: name, //病人姓名
|
|
@@ -171,6 +177,9 @@ function getTabData(activePage){
|
|
|
mrTimeStart: fpCheckDateStart.replace(/\//g,'-'), //首页核查起始时间
|
|
|
mrTimeEnd: fpCheckDateEnd.replace(/\//g,'-'), //首页核查截止时间
|
|
|
}
|
|
|
+ if (from == 9) {
|
|
|
+ param = { ...param, behDeptName: deptNamePram}
|
|
|
+ }
|
|
|
return post(from==2?api.qcResultShortByDeptPage:api.qcResultDefectList,param).then(res =>{
|
|
|
if(res.data.code == '0'){
|
|
|
const data = res.data.data;
|
|
@@ -661,11 +670,14 @@ function renderTabTitle(data){
|
|
|
str += `<th class="textCenter ${item.val} ${item.val =='leaveHospitalDate' ? 'desc':''}" code="${item.val}">${item.name}</th>`
|
|
|
}
|
|
|
}
|
|
|
+ // <span class="setCol"><img class="iconSetting" src=${require('./../images/setting.png')} alt="关闭" />列设置</span>
|
|
|
let operStr=`<td colspan="${showNum+2}" style="background: #fff">
|
|
|
<div class="tabFoot">
|
|
|
<span class="scoreOpera" data-selectAll=false><img class="iconCheck" src="${iconUnCheck}" alt="checkbox">全选</span>
|
|
|
<span class="recordScoreBtn">评分</span>
|
|
|
- <span class="setCol"><img class="iconSetting" src=${require('./../images/setting.png')} alt="关闭" />列设置</span>
|
|
|
+ <span class="setCol">列设置</span>
|
|
|
+ <span class="tipIcon"><img class="toolTipIcon" src=${require('./../images/toolTip.png')} alt="关闭" /></span>
|
|
|
+ <span class="tooltip">可设置列的隐藏、显示及排序</span>
|
|
|
</div>
|
|
|
</td>`
|
|
|
$(".tabOpera").html(operStr)
|
|
@@ -675,14 +687,27 @@ function renderTabTitle(data){
|
|
|
bindRecordScoreBtn()
|
|
|
bindSetCol()
|
|
|
bindOrder()
|
|
|
+ bindToolTip()
|
|
|
+}
|
|
|
+function bindToolTip() {
|
|
|
+ $('.tipIcon').off("hover").hover(function () {
|
|
|
+ $('.tooltip').css('visibility', "visible")
|
|
|
+ }, function () {
|
|
|
+ $('.tooltip').css('visibility', "hidden")
|
|
|
+ })
|
|
|
}
|
|
|
-
|
|
|
function bindSetCol(){
|
|
|
$(".setCol").off("click").on("click", function(){
|
|
|
renderColSet(pageSetCopy)
|
|
|
})
|
|
|
+ $('.setCol').off("hover").hover(function () {
|
|
|
+ $('.setCol').css('color', '#00A1FF')
|
|
|
+ }, function () {
|
|
|
+ $('.setCol').css('color', '#777777')
|
|
|
+ })
|
|
|
}
|
|
|
|
|
|
+
|
|
|
function rendeDeptList(deptList){
|
|
|
let str = `<li class="deptItem ellipsis" data-id=" " data-name="全部">全部</li>`;
|
|
|
if(from == 2){
|