zhouna 3 年 前
コミット
5fb515ae58

+ 2 - 11
src/css/dept/useStatisticsDept.less

@@ -22,15 +22,6 @@
             display: none;
         }
     }
-
-    .filterItem.deptListWrap {
-
-        .selectDept,
-        .deptList {
-            width: 180px;
-        }
-    }
-
     ul,
     li {
         list-style: none;
@@ -189,7 +180,7 @@
         }
     }
 
-    .selectLevel,
+    /*.selectLevel,
     .selectDept {
         display: inline-block;
         position: relative;
@@ -204,7 +195,7 @@
 
     .selectDept {
         width: 160px;
-    }
+    }*/
 
     .filter {
         display: inline-block;

+ 2 - 1
src/html/dataAnalysis/useStatistics.html

@@ -52,7 +52,8 @@
                     <thead>
                         <th class="moduleName" style="width: 65px;">序号</th>
                         <th class="beHospitalId textCenter">科室</th>
-                        <th class="beHospitalId textCenter" code="clickNum">使用AI质控次数</th>
+                        <th class="beHospitalId textCenter" code="singleModeNum">模块质控按钮点击数</th>
+                        <th class="beHospitalId textCenter" code="totalModeNum">全病历质控按钮点击数</th>
                     </thead>
                     <tbody class="tbody">
 

+ 4 - 3
src/html/dept/useStatisticsDept.html

@@ -25,8 +25,8 @@
             <div class="filterBox clearfix">
                 <span class="filterItem typeFilter">
                     <span>科室:</span>
-                    <input type="text" class="selectDept canEditDept" value="全部">
-                    <ul class="deptList filterDropList"></ul>
+                    <input type="text" class="selectDept canEditDept" style="background: #eff1f6;cursor: unset;" disabled value="全部">
+                    <!--<ul class="deptList filterDropList"></ul>-->
                 </span>
                 <span class="filterItem typeFilter">
                     <span>医师工号:</span>
@@ -53,7 +53,8 @@
                         <th class="beHospitalId textCenter">科室</th>
                         <th class="beHospitalId textCenter">医师工号</th>
                         <th class="beHospitalId textCenter">医师姓名</th>
-                        <th class="beHospitalId textCenter" code="clickNum">使用AI质控次数</th>
+                        <th class="beHospitalId textCenter" code="singleModeNum">模块质控按钮点击数</th>
+                        <th class="beHospitalId textCenter" code="totalModeNum">全病历质控按钮点击数</th>
 
                     </thead>
                     <tbody class="tbody">

+ 1 - 1
src/js/api.js

@@ -199,7 +199,7 @@ const api = {
   getEntryDefectImproveInner:'/qc/analysis/getEntryDefectImproveInner',//条目缺陷改善率统计内页列表
   getQcClick:'/qc/analysis/getQcClick', //临床质控使用统计
   getQcClickByExport:'/qc/analysis/getQcClickByExport',   //临床质控使用统计-导出
-  getQcClickDept:'/qc/analysisDept/getQcClickDept',   //临床质控使用统计(科室)
+  getQcClickDept:'/qc/analysis/getQcClickInnerPage',   //临床质控使用统计(科室)
   getQcClickByDeptExport:'/qc/analysisDept/getQcClickByDeptExport',////临床质控使用统计(科室)-导出
 
 }

+ 3 - 2
src/js/dataAnalysis/useStatistics.js

@@ -18,7 +18,7 @@ listenScroll()
 let isPlacefile = getCookie('isPlacefile')||1
 
 let deptName="",deptNameTemp="", behospitalCode="", behospitalCodeTemp="",deptId="",deptIdTemp="",
-	data_desc="clickNum",data_asc="";
+	data_desc="totalModeNum",data_asc="";
 let startDateParam = "";
 let endDateParam = "";
 
@@ -167,7 +167,8 @@ function renderTab(data,hisId,activePage){
             <tr data-index=${i} data-deptid="${item.deptId}" data-dept="${item.deptName}">
                 <td  class="textCenter">${(activePage-1)*15 + i+1}</td>
                 <td >${item.deptName || "-"}</td>
-                <td><a class="goHomeDetail">${item.clickNum}</a></td>
+                <td><a class="goHomeDetail">${item.singleModeNum}</a></td>
+                <td><a class="goHomeDetail">${item.totalModeNum}</a></td>
             </tr>
         `
   }

+ 10 - 8
src/js/dept/useStatisticsDept.js

@@ -18,7 +18,7 @@ listenScroll()
 let isPlacefile = getCookie('isPlacefile')||1
 
 let deptName="",deptNameTemp="", behospitalCode="", behospitalCodeTemp="",deptId="",deptIdTemp="",doctorName="",doctorId="",
-	data_desc=["clickNum"],data_asc=[];
+	data_desc=["totalModeNum"],data_asc=[];
 let srcUrl = $("#contentIframe",parent.document).attr("src")
 let deptIdParam = getUrlArgObjectNew("deptId",srcUrl)||""
 let deptNameParam = getUrlArgObjectNew("deptName",srcUrl)||""
@@ -29,7 +29,7 @@ $(function() {
   const  iconCalenBlue= require("../../images/icon_calen_blue.png")
   const  iconCalenGrey= require("../../images/icon_calen_grey.png")
   //获取科室列表
-  getDeptList()
+  //getDeptList()
   //日期控件事件绑定
   $('.datapickerBox').append(`<img class="iconCalen" src=${iconCalenGrey} />`)
   $('.iconCalen').on("mouseenter", function(e){
@@ -124,7 +124,7 @@ $(function() {
   })
 });
 
-function getFilterParam(){
+function getFilterParam(current){
   const param = {
 	"isPlacefile":isPlacefile,
 	"deptId": deptName=="全部"?"":deptId||"", //科室id
@@ -134,7 +134,8 @@ function getFilterParam(){
 	"asc":data_asc,     //升序
 	"desc":data_desc,       //降序
 	"startDate":startDateParam,
-	"endDate":endDateParam
+	"endDate":endDateParam,
+	current,
   }
   return param;
 }
@@ -156,7 +157,7 @@ function getFilterParam(){
     return false;
 }*/
 function getTabData(activePage){
-  const param = getFilterParam();
+  const param = getFilterParam(activePage);
   $('.pagination').html("")
   $('.tbody').html(emptyBox('努力加载中...','',1))
   post(api.getQcClickDept,param).then(res =>{
@@ -167,11 +168,11 @@ function getTabData(activePage){
 	  const totalNum = data.total;
 	  renderTab(detail,detail.hospitalId,activePage);
 	  renderPagination(totalPage,Number(activePage),totalNum)
-	  if(totalPage > 1){
+	  /*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)});
 	}
@@ -191,7 +192,8 @@ function renderTab(data,hisId,activePage){
                 <td >${item.deptName || "-"}</td>
                 <td >${item.doctorId || "-"}</td>
                 <td >${item.doctorName || "-"}</td>
-                <td>${item.clickNum}</td>
+                <td>${item.singleModeNum}</td>
+                <td>${item.totalModeNum}</td>
             </tr>
         `
   }

+ 2 - 2
src/js/index.js

@@ -583,8 +583,8 @@ function bindMenu() {
 }
 
 window.addEventListener('message', e => {
-  console.trace("token已清除index", e)
-  let data = e.data
+  //console.trace("token已清除index", e)
+  let data = e.data||'{}';
   if (typeof data == 'string') {
     data = JSON.parse(data)
   }

+ 7 - 1
src/js/utils.js

@@ -52,6 +52,8 @@ const pageMap = {
   'YH-JCSJWH-ZKLXWH': 'assertType.html',
   'YH-BLZK-ZKPFYLZ': 'qcListDocteam.html',
   'YH-ZKK-GJTMQXZB': 'keyItemFlawControl.html',
+  'YH-ZKK-BASYHGLYSZB_XQ': 'qualifiedPhysician.html',
+  'YH-KSZR-BASYHGLYSZB_XQ': 'deptQualifiedPhysician.html',
   'YH-ZKK-CYRSTJ': 'qcListOutHospital.html',
   'YH-ZKK-RYRSTJ': 'qcListOutHospital.html?inner=2',
   'YH-ZKK-WZGBLTJ': 'uncorrectedCasesStatistics.html',
@@ -68,7 +70,11 @@ const pageMap = {
   'YH-ZKHC-FPHCRW': 'allotCheckTask.html', //义乌-分配核查任务
   'YH-ZKHC-HCRWLB': 'checkTaskList.html', //义乌-核查任务列表
   'YH-ZKK-YLZLKZZB_XQ': 'qualityControl.html',
-  'YH-SJBJ': 'editableDetail.html' //数据编辑
+  'YH-SJBJ': 'editableDetail.html', //数据编辑
+  'YH-ZKK-TMQXGSTJ': 'improveStatistics.html', //条目缺陷改善统计
+  "YH-ZKK-LCZKSYTJ": 'useStatistics.html', //临床质控使用统计
+  'YH-KSZR-TMQXGSTJ': 'improveStatisticsDept.html', //条目缺陷改善统计(科室)
+  "YH-KSZR-LCZKSYTJ": 'useStatisticsDept.html', //临床质控使用统计(科室)
 };
 
 //导出时间天数