luolei 5 лет назад
Родитель
Сommit
0384f2449a

+ 1 - 0
src/css/quexianDetailControlHome.less

@@ -43,6 +43,7 @@
         .selectDepts {
             border: 0 none;
             cursor: default;
+            width: auto;
         }
     }
     .filterItem{

+ 6 - 3
src/html/partDetail.html

@@ -42,12 +42,15 @@
                 <table>
                     <thead>
                     <th class="moduleName" style="width: 65px;">序号</th>
-                    <th class="beHospitalId textCenter">主管医生</th>
+                    <th class="beHospitalId textCenter">科室名称</th>
                     <th class="beHospitalId textCenter">缺陷总数</th>
+                    <th class="beHospitalId textCenter">合格率</th>
+                    <th class="beHospitalId textCenter">空项数</th>
+                    <th class="beHospitalId textCenter">完整率</th>
+                    <th class="beHospitalId textCenter">错误数</th>
+                    <th class="beHospitalId textCenter">完善率</th>
                     <th class="beHospitalId textCenter">质控平均分</th>
                     <th class="beHospitalId textCenter">质控病历数</th>
-                    <th class="beHospitalId textCenter">合格率</th>
-                    <th class="beHospitalId textCenter">不合格率</th>
                     </thead>
                     <tbody>
 

+ 5 - 2
src/html/partDetailControl.html

@@ -46,10 +46,13 @@
                         <th class="moduleName" style="width: 65px;">序号</th>
                         <th class="beHospitalId textCenter">科室名称</th>
                         <th class="beHospitalId textCenter">缺陷总数</th>
+                        <th class="beHospitalId textCenter">合格率</th>
+                        <th class="beHospitalId textCenter">空项数</th>
+                        <th class="beHospitalId textCenter">完整率</th>
+                        <th class="beHospitalId textCenter">错误数</th>
+                        <th class="beHospitalId textCenter">完善率</th>
                         <th class="beHospitalId textCenter">质控平均分</th>
                         <th class="beHospitalId textCenter">质控病历数</th>
-                        <th class="beHospitalId textCenter">合格率</th>
-                        <th class="beHospitalId textCenter">不合格率</th>
                     </thead>
                     <tbody>
 

+ 2 - 2
src/html/singleVeto.html

@@ -12,7 +12,7 @@
 <body>
     <div class="managerContainer tiaomu singleVeto">
         <div class="partTitle">
-          <p><a href="console.html">控制台 / </a>单项否决占比</p>
+          <p class="pices"><a href="console.html">控制台 / </a><span>单项否决占比</span></p>
           <div class="monthYear">
             <span class="mon">本月</span>
             <span class="year">本年</span>
@@ -52,8 +52,8 @@
             <table>
                 <thead>
                     <th class="moduleName" style="width: 65px;">序号</th>
-                    <th class="moduleItemName">缺陷名称</th>
                     <th class="moduleItemName">所属模块</th>
+                    <th class="moduleItemName">缺陷名称</th>
                     <th class="moduleItemName">分值</th>
                     <th class="moduleItemName">单项否决</th>
                     <th class="moduleItemName">数量</th>

+ 2 - 2
src/js/console.js

@@ -114,7 +114,7 @@ function getDetails(){
     })
     $(".part03 .circle .title").click(function(){
       focusMenuItem("YH-ZKK-DXFZZB_XQ");
-      $(parent.document).find("#contentIframe").attr("src","./singleVeto.html?shijian"+dateType+"&qxName="+dateType)
+      $(parent.document).find("#contentIframe").attr("src","./singleVeto.html?shijian"+dateType+"&qxName=")
     })
     $(".part02").on("click",".bingli li.sec",function(){
       focusMenuItem("YH-BLZK-ZKPF");
@@ -148,7 +148,7 @@ function getDetails(){
     })
     $(".circleB .title").click(function(){
         focusMenuItem("YH-ZKK-TMQXZB_XQ");
-        $(parent.document).find("#contentIframe").attr("src","./tiaomuControl.html?from=1&dateType="+dateType)
+        $(parent.document).find("#contentIframe").attr("src","./singleVeto.html?from=1&special=1&dateType="+dateType)
     })
 }
 

+ 5 - 2
src/js/partDetail.js

@@ -191,10 +191,13 @@ function renderTab(data,hisId,activePage){
                 <td  class="textCenter">${(activePage-1)*15 + i+1}</td>
                 <td >${item.doctorName || "-"}</td>
                 <td data-doc="${item.doctorName || ""}" class="goHomeDetail">${item.entryNum || "-"}</td>
+                <td >${item.firstLevelPercentStr || "-"}</td>
+                <td  class="goHomeDetail" data-dept="${item.deptName || ""}">${item.emptyNum+'' || "-"}</td>
+                <td >${item.emptyPercentStr+'' || "-"}</td>
+                <td  class="goHomeDetail" data-dept="${item.deptName || ""}">${item.errorNum || "-"}</td>
+                <td >${item.errorPercentStr+'' || "-"}</td>
                 <td >${item.averageValue || "-"}</td>
                 <td >${item.mrNum || "-"}</td>
-                <td >${item.firstLevelPercentStr || "-"}</td>
-                <td >${item.secondLevelPercentStr || "-"}</td>
             </tr>
         `
     }

+ 8 - 4
src/js/partDetailControl.js

@@ -148,11 +148,14 @@ function renderTab(data,hisId,activePage){
             <tr  data-index=${i}>
                 <td  class="textCenter">${(activePage-1)*15 + i+1}</td>
                 <td >${item.deptName || "-"}</td>
-                <td class="goHomeDetail" data-dept="${item.deptName || ""}">${item.entryNum || "-"}</td>
+                <td class="goHomeDetail" data-ruleType="0" data-dept="${item.deptName || ""}">${item.entryNum || "-"}</td>
+                <td >${item.firstLevelPercentStr || "-"}</td>
+                <td class="goHomeDetail" data-ruleType="1" data-dept="${item.deptName || ""}">${item.emptyNum+'' || "-"}</td>
+                <td >${item.emptyPercentStr+'' || "-"}</td>
+                <td class="goHomeDetail" data-ruleType="2" data-dept="${item.deptName || ""}">${item.errorNum || "-"}</td>
+                <td >${item.errorPercentStr+'' || "-"}</td>
                 <td >${item.averageValue || "-"}</td>
                 <td >${item.mrNum || "-"}</td>
-                <td >${item.firstLevelPercentStr || "-"}</td>
-                <td >${item.secondLevelPercentStr || "-"}</td>
             </tr>
         `
     }
@@ -161,7 +164,8 @@ function renderTab(data,hisId,activePage){
     bindScoreDetail(hisId)
     $(".goHomeDetail").click(function(){
         let deptName = $(this).attr("data-dept")
-        $(parent.document).find("#contentIframe").attr("src","quexianDetailControlHome.html?deptName="+deptName+"&from=1&casesId=243"+"&shijian="+statisticsType)
+        let ruleType = $(this).attr("data-ruleType")
+        $(parent.document).find("#contentIframe").attr("src","quexianDetailControlHome.html?deptName="+deptName+"&from=1&casesId=243"+"&shijian="+statisticsType+"&ruleType="+ruleType)
     })
 }
 

+ 5 - 2
src/js/quexianDetailControlHome.js

@@ -12,7 +12,7 @@ const arrowLeft= require("./../images/arrow_left.png")
 const arrowRight = require("./../images/arrow_right.png")
 
 
-let casesId="", name="", isReject ="2",deptName="",data_asc=[],data_desc=["casesName"], isUsed ="",casesIdTemp="",casesIds="", nameTemp="", isRejectTemp ="2", isUsedTemp ="",from="",deptIdTemp="",deptItemId="",deptId=""
+let casesId="", name="", isReject ="2",deptName="",data_asc=[],data_desc=["casesName"], isUsed ="",casesIdTemp="",casesIds="",ruleType="", nameTemp="", isRejectTemp ="2", isUsedTemp ="",from="",deptIdTemp="",deptItemId="",deptId=""
 $(".selectModuleType").append(`<img class="arrow" src=${iconDown} alt="下拉">`)
 $(".selectReject").append(`<img class="arrow" src=${iconDown} alt="下拉">`)
 $(".selectUsed").append(`<img class="arrow" src=${iconDown} alt="下拉">`)
@@ -26,7 +26,9 @@ $(function(){
     from = getUrlArgObjectNew("from",srcUrl)||""
     isReject = isRejectTemp = getUrlArgObjectNew("shijian",srcUrl)||"2"
     casesIds = getUrlArgObjectNew("casesId",srcUrl)||""
-    $('.selectDept').html(deptName.substring(0,11)+'...').attr("title",deptName)
+    ruleType = getUrlArgObjectNew("ruleType",srcUrl)||""
+    // $('.selectDept').html(deptName.length>11?(deptName.substring(0,11)+'...'):deptName).attr("title",deptName)
+    $('.selectDept').html(deptName).attr("title",deptName)
     if(isReject == 1){
         $(".monthYear .mon").css({
             backgroundColor:'#00A1FF',
@@ -152,6 +154,7 @@ function getTabData(activePage){
         globalType:1,
         ascs:data_asc,
         descs:data_desc,
+        ruleType:ruleType,// 规则类型 0:无,1:空项,2:错误
         size: 15
     }
     post(api.entryCountGroupByEntryPage,param).then(res =>{

+ 9 - 5
src/js/singleVeto.js

@@ -24,11 +24,15 @@ $(function(){
     deptName = getUrlArgObjectNew("deptName",srcUrl)||""
     isRejectTemp = isReject = getUrlArgObjectNew("dateType",srcUrl)||"2"
     from = getUrlArgObjectNew("from",srcUrl)||""
+    special = getUrlArgObjectNew("special",srcUrl)||""
     name = getUrlArgObjectNew("qxName",srcUrl)||""
     if(name){
         $(".moduleItemInp").attr("title",name)
         $(".moduleItemInp").val(name)
     }
+    if(special){
+        $(".singleVeto .partTitle .pices span").html("条目缺陷占比")
+    }
     getTabData(1)//条目缺陷
     
     $(".partTitle a").click(function(){
@@ -272,12 +276,12 @@ function renderTab(data,activePage){
         str += `
             <tr data-id=${item.id} data-index=${i}>
                 <td  class="textCenter">${(activePage-1)*15 + i+1}</td>
-                <td>${item.name}</td>
-                <td>${item.casesName}</td>
-                <td  class="textCenter">${item.score}</td>
+                <td class="textCenter">${item.casesName||'-'}</td>
+                <td>${item.name||'-'}</td>
+                <td  class="textCenter">${item.score||'-'}</td>
                 <td  class="textCenter">${item.isReject == '1'?'是':'否'}</td>
-                <td class="textCenter">${item.num}</td>
-                <td  class="textCenter">${item.percentStr}</td>
+                <td class="textCenter">${item.num+''||'-'}</td>
+                <td  class="textCenter">${item.percentStr||'-'}</td>
             </tr>
         `
     }

+ 3 - 2
src/js/utils.js

@@ -16,9 +16,9 @@ const pageMap={
   'YH-QXGL-YHGL':'userManager.html',
   'YH-QXGL-JSGL':'roleManager.html',
   'YH-KSZR-GMKQXZB_XQ':'mukuai.html?from=2',
-  'YH-KSZR-TMQXZB_XQ':'tiaomu.html?from=2',
+  'YH-KSZR-TMQXZB_XQ':'singleVeto.html?from=2',
   'YH-ZKK-GMKQXZB_XQ':'mukuaiControl.html?from=1',
-  'YH-ZKK-TMQXZB_XQ':'tiaomuControl.html?from=1',
+  'YH-ZKK-TMQXZB_XQ':'singleVeto.html?from=1&special=1',
   'YH-YCSJJK':'abnormal.html',
   'YH-ZKK-KSPJZYTS_XQ':'dayDetail.html',
   'YH-ZKK-KSPJZYHF_XQ':'payDetail.html',
@@ -35,6 +35,7 @@ const pageMap={
   "YH-KSZR-BASYHGLZB_XQ":'partDetail.html',
 
   "YH-JCSJWH-ZKLXWH":'assertType.html',
+  "YH-ZKK-DXFZZB_XQ":'singleVeto.html',
 };
 
 //重写assign方法