Selaa lähdekoodia

Merge remote-tracking branch 'origin/test' into qc_zn

# Conflicts:
#	src/js/console.js
#	src/js/deptConsole.js
zhouna 5 vuotta sitten
vanhempi
commit
37c6f527c6
52 muutettua tiedostoa jossa 312 lisäystä ja 153 poistoa
  1. 21 2
      src/css/console.less
  2. 1 1
      src/css/dayDetail.less
  3. 50 30
      src/css/deptConsole.less
  4. 1 1
      src/css/deptScoreDetail.less
  5. 2 2
      src/css/deptScoreDetailControl.less
  6. 5 2
      src/css/index.less
  7. 1 0
      src/css/itemManager.less
  8. 1 1
      src/css/jiaji.less
  9. 1 0
      src/css/moduleManager.less
  10. 1 0
      src/css/mukuai.less
  11. 1 1
      src/css/partDetail.less
  12. 1 1
      src/css/partDetailControl.less
  13. 1 1
      src/css/payDetail.less
  14. 2 2
      src/css/qcList.less
  15. 2 2
      src/css/qcListDept.less
  16. 1 1
      src/css/qcListPerson.less
  17. 1 0
      src/css/quexianDetail.less
  18. 1 0
      src/css/quexianDetailControl.less
  19. 1 1
      src/css/quexianXQ.less
  20. 4 0
      src/css/reset.less
  21. 1 0
      src/css/tiaomu.less
  22. 8 7
      src/html/console.html
  23. 6 6
      src/html/deptConsole.html
  24. 1 1
      src/html/mukuai.html
  25. 1 1
      src/html/partDetail.html
  26. 1 1
      src/html/qcList.html
  27. 1 1
      src/html/tiaomu.html
  28. BIN
      src/images/details.png
  29. BIN
      src/images/empty.png
  30. 1 1
      src/js/abnormal.js
  31. 6 6
      src/js/console.js
  32. 1 1
      src/js/dayDetail.js
  33. 27 23
      src/js/deptConsole.js
  34. 5 3
      src/js/deptScoreDetail.js
  35. 4 1
      src/js/deptScoreDetailControl.js
  36. 5 6
      src/js/index.js
  37. 1 0
      src/js/itemManager.js
  38. 1 0
      src/js/jiaji.js
  39. 18 3
      src/js/mukuai.js
  40. 14 2
      src/js/mukuaiControl.js
  41. 18 10
      src/js/partDetail.js
  42. 7 7
      src/js/partDetailControl.js
  43. 6 6
      src/js/payDetail.js
  44. 4 1
      src/js/qcList.js
  45. 4 1
      src/js/qcListDept.js
  46. 4 1
      src/js/qcListPerson.js
  47. 28 6
      src/js/quexianDetail.js
  48. 7 2
      src/js/quexianDetailControl.js
  49. 4 1
      src/js/quexianXQ.js
  50. 21 5
      src/js/tiaomu.js
  51. 4 1
      src/js/tiaomuControl.js
  52. 4 1
      src/js/userManager.js

+ 21 - 2
src/css/console.less

@@ -2,6 +2,7 @@
 
 body.console {
   overflow: auto;
+  overflow-y: hidden;
   background: @activeBg;
 }
 .echarts {
@@ -31,6 +32,7 @@ body.console {
   background: @activeBg;
   min-width: 1185px;
   padding: 10px;
+  padding-bottom: 0px;
   box-sizing: border-box;
   ul {
     padding: 0 40px;
@@ -79,8 +81,20 @@ body.console {
     line-height: 40px;
     padding-left: 15px;
     cursor: pointer;
+    img {
+      width: 16px;
+      position: relative;
+      top: 3px;
+      left: 7px;
+    }
   }
 }
+.detailGo {
+  width: 16px;
+  position: relative;
+  top: 3px;
+  left: 7px;
+}
 .swiperWrap {
   width: 300px;
   border: 1px solid #ccc;
@@ -165,7 +179,6 @@ body.console {
 .pubEchartB {
   width: 55%;
   display: inline-block;
-  margin-bottom: 10px;
   background-color: #fff;
   border-top: 10px solid @activeBg;
   border-left: 10px solid @activeBg;
@@ -207,8 +220,9 @@ body.console {
   right: 0;
   padding-right: 30px;
   box-sizing: border-box;
-  max-height: 180px;
+  height: 180px;
   overflow: auto;
+  margin-top: -90px;
   table {
     width: 100%;
   }
@@ -374,6 +388,10 @@ body.console {
       font-weight: bold;
       font-size: 16px;
       padding-bottom: 5px;
+      cursor: pointer;
+      img {
+        top: 1px;
+      }
     }
   }
   .panPartPub {
@@ -415,6 +433,7 @@ body.console {
     // width: 100%;
     padding-left: 15px;
     background: @themeColor;
+    box-sizing: border-box;
   }
 }
 

+ 1 - 1
src/css/dayDetail.less

@@ -39,7 +39,7 @@
     }
     .main-body{
         margin: 20px 0;
-        padding: 0 35px;
+        padding: 0 35px 50px 35px;
         min-width: 1090px;
         /*width: 100%;*/
     }

+ 50 - 30
src/css/deptConsole.less

@@ -2,7 +2,7 @@
 
 body.console {
   overflow: auto;
-  background-color: #f5f5f5;
+  background-color: @themeColor;
 }
 .echarts {
   width: 100%;
@@ -28,7 +28,7 @@ body.console {
 .partWrap {
   // overflow: auto;
   height: auto;
-  background: #f5f5f5;
+  background: @themeBorderClr;
   min-width: 1080px;
   ul {
     padding: 0 40px;
@@ -71,7 +71,7 @@ body.console {
   .title {
     font-size: 16px;
     font-weight: bold;
-    border-bottom: 1px solid #E2E5EF;
+    border-bottom: 1px solid @themeBorderClr;
     height: 36px;
     line-height: 36px;
     padding-left: 15px;
@@ -83,7 +83,7 @@ body.console {
 }
 .grayLine {
   height: 10px;
-  background-color: #f5f5f5;
+  background-color: @themeBorderClr;
 }
 .partTitleT {
   height: 44px;
@@ -95,7 +95,7 @@ body.console {
   width: 100%;
   min-width: 1080px;
   box-sizing: border-box;
-  background-color: #fff;
+  background-color: @themeColor;
   z-index: 20;
   height: 44px;
   line-height: 44px;
@@ -106,13 +106,15 @@ body.console {
   p {
     display: inline-block;
     font-size: 16px;
+    color: #fff;
     span,i {
+      color: #fff;
       font-size: 16px;
     }
   }
   .dateDetail {
     font-size: 12px;
-    color: #777777;
+    color: #fff;
     margin-right: 30px;
     font-weight: normal;
   }
@@ -139,7 +141,7 @@ body.console {
       color: #fff;
     }
     .mon {
-      color: @activeColor;
+      color: #fff;
     }
   }
 }
@@ -154,15 +156,15 @@ body.console {
   display: inline-block;
   margin-bottom: 10px;
   background-color: #fff;
-  border-top: 10px solid #f5f5f5;
+  border-top: 10px solid @themeBorderClr;
 }
 .pubEchartB {
   width: 55%;
   display: inline-block;
   margin-bottom: 10px;
   background-color: #fff;
-  border-top: 10px solid #f5f5f5;
-  border-left: 10px solid #f5f5f5;
+  border-top: 10px solid @themeBorderClr;
+  border-left: 10px solid @themeBorderClr;
   box-sizing: border-box;
 }
 .paymoney {
@@ -176,7 +178,7 @@ body.console {
   height: 304px;
   width: 100%;
   display: inline-block;
-  background-color: #fff;
+  background-color: @themeColor;
   box-sizing: border-box;
   position: relative;
 }
@@ -184,12 +186,13 @@ body.console {
   height: 350px;
   width: 100%;
   display: inline-block;
-  background-color: #fff;
+  background-color: @themeColor;
   box-sizing: border-box;
-  border-top: 10px solid #f5f5f5;
+  border-top: 10px solid @themeBorderClr;
   position: relative;
   .title {
     cursor: pointer;
+    color: #fff;
   }
 }
 .btmWrap {
@@ -224,19 +227,20 @@ body.console {
       margin-right: 10px;
     }
     .deptName {
-      color: #777;
+      color: #fff;
       p {
         width: 110px;
         overflow: hidden;
         text-overflow: ellipsis;
         white-space: nowrap;
+        color: #fff;
       }
       .smp {
         width: 100px;
       }
     }
     .deptNum {
-      color: #333;
+      color: #fff;
       font-size: 16px;
       font-weight: bold;
       padding-right: 10px;
@@ -244,7 +248,7 @@ body.console {
       text-align: right;
     }
     .percent {
-      color: #777;
+      color: #fff;
       width: 40px;
     }
   }
@@ -253,17 +257,24 @@ body.console {
   width: 220px;
 }
 
+.detailGo {
+  width: 16px;
+  position: relative;
+  top: 3px;
+  left: 7px;
+}
 .part01 {
   width: 38%;
-  background-color: #fff;
-  border-right: 10px solid #f5f5f5;
+  background-color: @themeColor;
+  border-right: 10px solid @themeBorderClr;
   box-sizing: border-box;
   ul {
     padding: 40px 20px;
-    border-bottom: 10px solid #f5f5f5;
+    border-bottom: 10px solid @themeBorderClr;
     li {
       width: 50%;
       float: left;
+      color: #fff;
     }
     .lis {
       border-left: 3px solid #F2637B;
@@ -272,18 +283,16 @@ body.console {
       padding-left: 12px;
       margin-left: 60px;
       &.li02 {
-        border-left: 3px solid #37CBCB;
-      }
-      &.li03 {
         border-left: 3px solid #FAD336;
       }
     }
   }
   
   .defect {
-    background-color: #fff;
+    background-color: @themeColor;
     height: 452px;
     overflow: hidden;
+    border-bottom: 10px solid @themeBorderClr;
     .list {
       padding: 15px 5px;
       width: 100%;
@@ -293,7 +302,7 @@ body.console {
     }
     .thead {
       td {
-        color: #51649C;
+        color: #fff;
       }
     }
     .qtable {
@@ -302,6 +311,7 @@ body.console {
     }
     td {
       padding: 7px 10px;
+      color: #fff;
       i {
         width: 17px;
         height: 17px;
@@ -315,7 +325,7 @@ body.console {
       }
     }
     tr {
-      border-bottom: 1px solid #f5f5f5;
+      border-bottom: 1px solid @themeBorderClr;
       box-sizing: border-box;
     }
     .td01 {
@@ -336,14 +346,14 @@ body.console {
   // border-right: 10px solid #f5f5f5;
   box-sizing: border-box;
   width: 62%;
-  background-color: #fff;
+  background-color: @themeColor;
   .bingli {
     padding: 20px;
     li {
       float: left;
       width: 23%;
       text-align: center;
-      border-right: 1px solid #E2E5EF;
+      border-right: 1px solid @themeBorderClr;
     }
     .fst {
       // border-right: 1px solid #E2E5EF;
@@ -355,7 +365,7 @@ body.console {
     }
   }
   .bingliLis {
-    border-top: 1px solid #E2E5EF;
+    border-top: 1px solid @themeBorderClr;
     padding: 20px 30px;
     p {
       text-align: center;
@@ -363,6 +373,11 @@ body.console {
       font-size: 16px;
       padding-bottom: 2px;
       margin-bottom: 10px;
+      cursor: pointer;
+      color: #fff;
+      img {
+        top: 1px;
+      }
     }
   }
   .panPartPub {
@@ -395,17 +410,20 @@ body.console {
   line-height: 44px;
   padding: 0 15px;
   box-sizing: border-box;
-  border-bottom: 1px solid #E2E5EF;
+  border-bottom: 1px solid @themeBorderClr;
   font-weight: bold;
   font-size: 16px;
+  color: #fff;
   cursor: pointer;
   .name {
     float: left;
     font-size: 16px;
+    color: #fff;
   }
   .personNum {
     float: right;
     color: #51649C;
+    color: #fff;
   }
 }
 
@@ -415,9 +433,11 @@ body.console {
   height: 36px;
   line-height: 40px;
   font-weight: bold;
+  color: #fff;
 }
 .explainNum {
   margin-top: 8px;
+  color: #fff;
 }
 
 .toggleSlide {
@@ -481,7 +501,7 @@ body.console {
   position: relative;
   .homePage {
     width: 45%;
-    border-right: 10px solid #f5f5f5;
+    border-right: 10px solid @themeBorderClr;
     box-sizing: border-box;
   }
   .homePageNo {

+ 1 - 1
src/css/deptScoreDetail.less

@@ -38,7 +38,7 @@
     }
     .main-body{
         margin: 20px 0;
-        padding: 0 35px;
+        padding: 0 35px 50px 35px;
         min-width: 1090px;
         /*width: 100%;*/
     }

+ 2 - 2
src/css/deptScoreDetailControl.less

@@ -37,9 +37,9 @@
         letter-spacing: 1px;
     }
     .main-body{
-        margin: 20px 0;
-        padding: 0 35px;
+        padding: 20px 35px 50px 35px;
         min-width: 1090px;
+        box-sizing: border-box;
         /*width: 100%;*/
     }
     table{

+ 5 - 2
src/css/index.less

@@ -218,12 +218,13 @@
     .copy-right{
       position: fixed;
       bottom: 0px;
-      width: @menuWt;
+      width: @menuWt+(-1px);
       text-align: center;
       height: 50px;
       line-height: 50px;
       background: @themeColor;
       border-top: 1px @themeBorderClr solid;
+      border-right: 1px rgba(74, 93, 142, 0.5) solid;
       p{
         font-size:12px;
         opacity: .3;
@@ -279,10 +280,12 @@
   .main{
     margin-left:@menuWt;
     height: 100%;
+    // overflow: auto;
     /*border: 10px solid #f5f5f5;*/
     iframe {
       width: 100%;
       height: 100%;
+      overflow: auto;
     }
   }
   //修改密码
@@ -752,4 +755,4 @@
   .midifyMsgContentDel {
     height: 220px !important;
     width: 300px !important;
-  }
+  }

+ 1 - 0
src/css/itemManager.less

@@ -16,6 +16,7 @@
     }
     .main-body{
         margin: 10px 40px;
+        padding-bottom: 50px;
     }
     table{
         width: 100%;

+ 1 - 1
src/css/jiaji.less

@@ -41,7 +41,7 @@
     }
     .main-body{
         margin: 20px 0;
-        padding: 0 35px;
+        padding: 0 35px 50px 35px;
         min-width: 1090px;
         /*width: 100%;*/
     }

+ 1 - 0
src/css/moduleManager.less

@@ -7,6 +7,7 @@ h2{
 }
 .main-body{
     margin: 10px 40px;
+    padding-bottom: 40px;
 }
 .totalSumBox{
     margin: 0 0 10px 0;

+ 1 - 0
src/css/mukuai.less

@@ -89,6 +89,7 @@
     }
     .main-body {
         margin: 20px 40px;
+        padding-bottom: 40px;
     }
     table{
         width: 100%;

+ 1 - 1
src/css/partDetail.less

@@ -41,7 +41,7 @@
     }
     .main-body{
         margin: 20px 0;
-        padding: 0 35px;
+        padding: 0 35px 50px 35px;
         min-width: 1090px;
         /*width: 100%;*/
     }

+ 1 - 1
src/css/partDetailControl.less

@@ -41,7 +41,7 @@
     }
     .main-body{
         margin: 20px 0;
-        padding: 0 35px;
+        padding: 0 35px 50px 35px;
         min-width: 1090px;
         /*width: 100%;*/
     }

+ 1 - 1
src/css/payDetail.less

@@ -42,7 +42,7 @@
     }
     .main-body{
         margin: 20px 0;
-        padding: 0 35px;
+        padding: 0 35px 50px 35px;
         min-width: 1090px;
         /*width: 100%;*/
     }

+ 2 - 2
src/css/qcList.less

@@ -12,9 +12,9 @@ h2{
 }
 .main-body{
     margin: 10px 0;
-    padding: 0 35px;
     min-width: 1090px;
-    /*width: 100%;*/
+    padding: 0 35px 50px 35px;
+    // overflow: auto;
 }
 table{
     width: 100%;

+ 2 - 2
src/css/qcListDept.less

@@ -11,8 +11,8 @@ h2{
     .h2;
 }
 .main-body{
-    margin: 10px 0;
-    padding: 0 35px;
+    margin: 10px 0;    
+    padding: 0 35px 50px 35px;
     min-width: 1090px;
     /*width: 100%;*/
 }

+ 1 - 1
src/css/qcListPerson.less

@@ -12,7 +12,7 @@ h2{
 }
 .main-body{
     margin: 10px 0;
-    padding: 0 35px;
+    padding: 0 35px 50px 35px;
     min-width: 1090px;
     /*width: 100%;*/
 }

+ 1 - 0
src/css/quexianDetail.less

@@ -91,6 +91,7 @@
     }
     .main-body{
         margin: 20px 40px;
+        padding-bottom: 50px;
     }
     table{
         width: 100%;

+ 1 - 0
src/css/quexianDetailControl.less

@@ -91,6 +91,7 @@
     }
     .main-body{
         margin: 20px 40px;
+        padding-bottom: 50px;
     }
     table{
         width: 100%;

+ 1 - 1
src/css/quexianXQ.less

@@ -42,7 +42,7 @@
     }
     .main-body{
         margin: 20px 0;
-        padding: 0 35px;
+        padding: 0 35px 50px 35px;
         min-width: 1090px;
         /*width: 100%;*/
     }

+ 4 - 0
src/css/reset.less

@@ -453,4 +453,8 @@ input:-ms-input-placeholder{  /* Internet Explorer 10-11 */
 }
 .arrow{
   top: 13px !important;
+}
+
+.filterDropList {
+  top: 31px !important;
 }

+ 1 - 0
src/css/tiaomu.less

@@ -91,6 +91,7 @@
     }
     .main-body{
         margin: 20px 40px;
+        padding-bottom: 50px;
     }
     table{
         width: 100%;

+ 8 - 7
src/html/console.html

@@ -40,7 +40,7 @@
           </li>
         </ul>
         <div class="defect">
-          <p class="partTitlePub">各模块缺陷占比排名</p>
+          <p class="partTitlePub">各模块缺陷占比排名 <img class="detailGo" src="../images/details.png" alt=""></p>
           <div class="list">
             <table class="qtable">
   
@@ -68,7 +68,7 @@
           </li>
         </ul>
         <div class="bingliLis clearfix">
-          <p>病历评分等级占比</p>
+          <p>病历评分等级占比 <img class="detailGo" src="../images/details.png" alt=""></p>
           <div class="panPartPub panPart02">
             <div class="fen" id="fen01"></div>
             <p>甲级占比</p>
@@ -83,7 +83,7 @@
           </div>
         </div>
         <div class="pubEchart paymoney">
-          <p class="title">科室平均住院天数柱状图</p>
+          <p class="title">科室平均住院天数柱状图 <img src="../images/details.png" alt=""></p>
           <div class="toggleSlide">
             <p><span>平均住院天数</span><img src="../images/arrow_down.png" alt=""> </p>
             <ul>
@@ -96,13 +96,13 @@
       </div>
       <div class="part03 fl">
         <p class="partTitlePub clearfix">
-          <span class="name">各科室甲级病历占比</span>
+          <span class="name">各科室甲级病历占比</span> <img class="detailGo" src="../images/details.png" alt="">
         </p>
         <div class="barChartLineBox">
           <div id="lineChart" class="barChartLine"></div>
         </div>
         <div class="circle clearfix">
-          <p class="title">各科室缺陷占比</p>
+          <p class="title">各科室缺陷占比 <img class="detailGo" src="../images/details.png" alt=""></p>
           <div id="emptyCircle" class="emptyCircle"></div>
           <div class="explainPan explainPanT">
             <table>
@@ -111,9 +111,10 @@
           </div>
         </div>
       </div>
+      <p class="clearfix"></p>
       <div class="part04 clearfix">
         <div class="circleB clearfix">
-          <p class="title">条目缺陷占比</p>
+          <p class="title">条目缺陷占比 <img src="../images/details.png" alt=""></p>
           <div id="emptyCircleB" class="emptyCircle"></div>
           <div class="explainPan explainPanB">
             <table>
@@ -123,7 +124,7 @@
         </div>
         
         <div class="pubEchartB paymoney">
-          <p class="title">各科室质控平均分柱状图</p>
+          <p class="title">各科室质控平均分柱状图 <img src="../images/details.png" alt=""></p>
           <div id="barChartPay" class="barChartPay" style="height: 217px;"></div>
         </div>
       </div>

+ 6 - 6
src/html/deptConsole.html

@@ -44,14 +44,14 @@
             </div>
           </li>
           <li class="li03">
-            <div class="lis">
+            <div class="lis li02">
               <p class="numShow patientNum"></p>
               <p class="explainNum">手术病人数</p>
             </div>
           </li>
         </ul>
         <div class="defect">
-          <p class="partTitlePub">各模块缺陷占比排名</p>
+          <p class="partTitlePub">各模块缺陷占比排名 <img class="detailGo" src="../images/details.png" alt=""></p>
           <div class="list">
             <table class="qtable">
   
@@ -79,7 +79,7 @@
           </li>
         </ul>
         <div class="bingliLis clearfix">
-          <p>病历评分等级占比</p>
+          <p>病历评分等级占比 <img class="detailGo" src="../images/details.png" alt=""></p>
           <div class="panPartPub panPart02">
             <div class="fen" id="fen01"></div>
             <p>甲级占比</p>
@@ -94,7 +94,7 @@
           </div>
         </div>
         <div class="circleB circleBSingle clearfix">
-          <p class="title">条目缺陷占比</p>
+          <p class="title">条目缺陷占比 <img class="detailGo" src="../images/details.png" alt=""></p>
           <div id="emptyCircleB" class="emptyCircle"></div>
           <div class="explainPan explainPanB">
             <table>
@@ -104,11 +104,11 @@
         </div>
         <div class="circleBLis">
           <div class="circleB homePage clearfix">
-            <p class="title">病案首页合格率占比</p>
+            <p class="title">病案首页合格率占比 <img class="detailGo" src="../images/details.png" alt=""></p>
             <div id="lineChart" class="emptyCircle emptyLineCircle"></div>
           </div>
           <div class="circleB homePageNo clearfix">
-            <p class="title">条目缺陷占比</p>
+            <p class="title">条目缺陷占比 <img class="detailGo" src="../images/details.png" alt=""></p>
             <div id="emptyCircleBc" class="emptyCircle"></div>
             <div class="explainPan explainPanc explainPanBc">
               <table>

+ 1 - 1
src/html/mukuai.html

@@ -12,7 +12,7 @@
 <body>
     <div class="managerContainer mukuai">
         <div class="partTitle">
-          <p><a href="console.html">控制台 / </a>各模块缺陷占比</p>
+          <p><a href="deptConsole.html">控制台(科室) / </a>各模块缺陷占比</p>
           <div class="monthYear">
             <span class="mon">本月</span>
             <span class="year">本年</span>

+ 1 - 1
src/html/partDetail.html

@@ -11,7 +11,7 @@
 <body>
     <div class="container partDetail">
         <div class="partTitle">
-          <p><a href="console.html">控制台 / </a>病案首页合格率占比</p>
+          <p><a href="deptConsole.html">控制台(科室) / </a>病案首页合格率占比</p>
           <div class="monthYear">
             <span class="mon">本月</span>
             <span class="year">本年</span>

+ 1 - 1
src/html/qcList.html

@@ -60,7 +60,7 @@
                 <!-- <span class="reset">重置</span> -->
                 <span class="filterclear abnormalClear filterclearT">重置</span>
             </div>
-            <div>
+            <div class="overAuto">
                 <table>
                     <thead>
                     <tr>

+ 1 - 1
src/html/tiaomu.html

@@ -12,7 +12,7 @@
 <body>
     <div class="managerContainer tiaomu">
         <div class="partTitle">
-          <p><a href="console.html">控制台 / </a>条目缺陷占比</p>
+          <p><a href="deptConsole.html">控制台(科室) / </a>条目缺陷占比</p>
           <div class="monthYear">
             <span class="mon">本月</span>
             <span class="year">本年</span>

BIN
src/images/details.png


BIN
src/images/empty.png


+ 1 - 1
src/js/abnormal.js

@@ -523,7 +523,7 @@ $(document).on("click", function(){
     $(".levelList ").css("display", "none")
     $(".deptList").css("display", "none")
     $(".selectLevel .arrow").attr("src",iconDown)
-    
+    $(".selectDept .arrow").attr("src",iconDown)
 })
 
 $((function($){

+ 6 - 6
src/js/console.js

@@ -90,7 +90,7 @@ function hasData(data){
   }
 function resizeBox(){
     $(".partWrap").css({
-        height:$(window).height()-84+'px'
+        height:$(window).height()-44+'px'
     })
 }
 //所有数据切换日期筛选
@@ -554,7 +554,7 @@ function lineChartSpecial(dataX,dataY){
         myCharts.resize()
     });
     option = {
-        color: ['#3398DB'],
+        color: ['#37C4FC'],
         tooltip: {
             trigger: 'axis',
             position: 'right',
@@ -646,7 +646,7 @@ function barChartPay(dataX,dataY){
         myCharts.resize()
     });
     option = {
-        color: ['#3398DB'],
+        color: ['#37C4FC'],
         tooltip: {
             trigger: 'axis',
             position: 'right',
@@ -1179,9 +1179,9 @@ function panDetail(data){
         `
     }
     $(".explainPanT table").html(strAll);
-    $(".explainPan").css({
-        marginTop:-($(".explainPan").height()/2-20)+'px'
-    })
+    // $(".explainPan").css({
+    //     marginTop:-($(".explainPan").height()/2-20)+'px'
+    // })
 }
 function panDetailB(data){
     let color = ['#F2637B','#975FE4', '#399FFF', '#37CBCB', '#4CCB73','#FAD336','#F2637B','#975FE4', '#399FFF', '#37CBCB', '#4CCB73','#FAD336'];

+ 1 - 1
src/js/dayDetail.js

@@ -124,8 +124,8 @@ function renderTab(data,hisId,activePage){
             <tr  data-index=${i}>
                 <td  class="textCenter">${(activePage-1)*15 + i+1}</td>
                 <td>${item.name || "-"}</td>
-                <td >${item.totleValue}</td>
                 <td >${item.lastAverageValue}</td>
+                <td >${item.averageValue}</td>
                 <td style="display:${statisticsType==1?'block':'none'}">${item.lastYearAverageValue}</td>
             </tr>
         `

+ 27 - 23
src/js/deptConsole.js

@@ -77,8 +77,8 @@ function dateChange(){
             backgroundColor:'#00A1FF',
             color:'#fff'
         }).siblings().css({
-            color:'#00A1FF',
-            backgroundColor:'#fff'
+            color:'#fff',
+            backgroundColor:'#203463'
         })
         dateType = 1
         getBarData(1)
@@ -88,8 +88,8 @@ function dateChange(){
             backgroundColor:'#00A1FF',
             color:'#fff'
         }).siblings().css({
-            color:'#00A1FF',
-            backgroundColor:'#fff'
+            color:'#fff',
+            backgroundColor:'#203463'
         })
         dateType = 2
         getBarData(2)
@@ -146,7 +146,11 @@ function getOwnDept(){
                 curDept = result[0].deptName
                 $(".partTitle p i,.toggleSlide p span").html(curDept).attr("title",curDept)
                 getBarData(2)//图标数据获取
+            }else {
+                $(".partTitle p i,.toggleSlide p span").html('--')
             }
+        }).catch(()=>{
+            $(".partTitle p i,.toggleSlide p span").html('--')
         })
     // }
 }
@@ -292,7 +296,7 @@ function lineChartSpecial(dataX,dataY){
                 },
                 axisLabel: {//x轴刻度
                     textStyle: {
-                        color: '#333'
+                        color: '#fff'
                     },
                     rotate:45,
                     formatter: function (value) {
@@ -305,7 +309,7 @@ function lineChartSpecial(dataX,dataY){
                 },
                 axisLine: {//x轴
                     lineStyle:{
-                        color:'#AAAAAA'
+                        color:'#4A5D8E'
                     }
                 }
             }
@@ -321,12 +325,12 @@ function lineChartSpecial(dataX,dataY){
                 },
                 axisLabel: {//y轴刻度
                     textStyle: {
-                        color: '#333333'
+                        color: '#fff'
                     }
                 },
                 splitLine:{//分割线
                     lineStyle:{
-                        color:'#EFF3FC'
+                        color:'#4A5D8E'
                     }
                 }
             }
@@ -338,7 +342,7 @@ function lineChartSpecial(dataX,dataY){
             left: 10,
             textStyle: {
                 fontSize: 14,
-                color:'#666666',
+                color:'#fff',
                 fontWeight: 400
             }
         }],
@@ -443,7 +447,7 @@ function part02pan(data,dom){
     let color = ['#37CBCB','#dedede'];
     let echartData = data;
     option = {
-        backgroundColor: bgColor,
+        // backgroundColor: bgColor,
         color: color,
         title: [{
             text:'{val|' + echartData[0].percentStr + '}',
@@ -453,14 +457,14 @@ function part02pan(data,dom){
                 rich: {
                     val: {
                         fontSize: 14,
-                        color: '#333',
+                        color: '#fff',
                         fontWeight: 'bold',
                         padding: [10, 0]
                     },
                     name: {
                         fontSize: 12,
                         fontWeight: 'normal',
-                        color: '#777',
+                        color: '#fff',
                     }
                 }
             }
@@ -495,7 +499,7 @@ function emptyCircleB(data){
         total += echartData[i].num
     }
     option = {
-        backgroundColor: bgColor,
+        // backgroundColor: bgColor,
         color: color,
         title: [{
             text: data.length>0?'{val|' + total + '}\n{name|' + title + '}':'',
@@ -505,14 +509,14 @@ function emptyCircleB(data){
                 rich: {
                     val: {
                         fontSize: 24,
-                        color: '#333',
+                        color: '#fff',
                         fontWeight: 'bold',
                         padding: [10, 0]
                     },
                     name: {
                         fontSize: 12,
                         fontWeight: 'normal',
-                        color: '#777',
+                        color: '#fff',
                     }
                 }
             }
@@ -535,7 +539,7 @@ function emptyCircleB(data){
             hoverOffset:5,
             itemStyle: {
                 normal: {
-                    borderColor: bgColor,
+                    // borderColor: bgColor,
                     borderWidth: 2
                 }
             },
@@ -590,7 +594,7 @@ function emptyCircleBc(data){
         total += echartData[i].num
     }
     option = {
-        backgroundColor: bgColor,
+        // backgroundColor: bgColor,
         color: color,
         title: [{
             text: data.length>0?'{val|' + total + '}\n{name|' + title + '}':'',
@@ -600,14 +604,14 @@ function emptyCircleBc(data){
                 rich: {
                     val: {
                         fontSize: 24,
-                        color: '#333',
+                        color: '#fff',
                         fontWeight: 'bold',
                         padding: [10, 0]
                     },
                     name: {
                         fontSize: 12,
                         fontWeight: 'normal',
-                        color: '#777',
+                        color: '#fff',
                     }
                 }
             }
@@ -630,7 +634,7 @@ function emptyCircleBc(data){
             hoverOffset:5,
             itemStyle: {
                 normal: {
-                    borderColor: bgColor,
+                    // borderColor: bgColor,
                     borderWidth: 2
                 }
             },
@@ -639,7 +643,7 @@ function emptyCircleBc(data){
                     length: 20,
                     length2: 120,
                     lineStyle: {
-                        color: '#e6e6e6'
+                        color: '#fff'
                     }
                 }
             },
@@ -657,12 +661,12 @@ function emptyCircleBc(data){
                         name: {
                             fontSize: 14,
                             padding: [0, 10, 0, 4],
-                            color: '#666666'
+                            color: '#fff'
                         },
                         value: {
                             fontSize: 18,
                             fontWeight: 'bold',
-                            color: '#333333'
+                            color: '#fff'
                         }
                     }
                 }

+ 5 - 3
src/js/deptScoreDetail.js

@@ -157,7 +157,10 @@ function renderTab(data,hisId,activePage){
             </tr>
         `
     }
-    $('tbody').html(str?str:'<tr><td colspan="17" style="text-align: center;color: #aaa">暂无数据~</td></tr>')
+    $('tbody').html(str?str:`<tr><td colspan="17" style="text-align: center;color: #aaa">
+        <img style="margin-top:50px;width:100px;" src="${require('../images/empty.png')}" />
+        <p style="margin-top:20px;margin-bottom:30px;color:#ccc;position:relative;left:5px;">暂无数据~</p>
+    </td></tr>`)
     bindScoreDetail(hisId)
     $(".goHomeDetail").click(function(){
         let docName = $(this).attr("data-doc")
@@ -552,8 +555,7 @@ function renderPagination(totalPage,activePage,totalNum){
 $(document).on("click", function(){
     $(".levelList ").css("display", "none")
     $(".deptList").css("display", "none")
-    $(".selectLevel .arrow").attr("src",iconDown)
-    
+    $(".selectDept .arrow").attr("src",iconDown)    
 })
 
 $((function($){

+ 4 - 1
src/js/deptScoreDetailControl.js

@@ -141,7 +141,10 @@ function renderTab(data,hisId,activePage){
             </tr>
         `
     }
-    $('tbody').html(str?str:'<tr><td colspan="17" style="text-align: center;color: #aaa">暂无数据~</td></tr>')
+    $('tbody').html(str?str:`<tr><td colspan="17" style="text-align: center;color: #aaa">
+        <img style="margin-top:50px;width:100px;" src="${require('../images/empty.png')}" />
+        <p style="margin-top:20px;margin-bottom:30px;color:#ccc;position:relative;left:5px;">暂无数据~</p>
+    </td></tr>`)
     bindScoreDetail(hisId)
     $(".goHomeDetail").click(function(){
         let deptName = $(this).attr("data-dept")

+ 5 - 6
src/js/index.js

@@ -12,7 +12,7 @@ $(function(){
   //菜单展开收起
   sureChangeWord()
   $(".main").css({
-    height:$(window).height()+'px'
+    height:$(window).height()-52+'px'
   })
   $("body").on('focus',".modalAction input",function(){
     $(this).attr("type","password")
@@ -46,8 +46,8 @@ function initMenu(data,userInfo){
   $("#userName").text(userInfo.linkman);
   //初始菜单选中
   $(".menu .page").eq(0).addClass("active");
-  // if($(".menu .page").eq(0).is(".YH-KZT")||$(".menu .page").eq(0).is(".YH-KZTKS")||$(".menu .page").eq(1).is(".YH-KZTKS")){
-  if($(".menu .page").eq(0).is(".YH-KZT")){
+  if($(".menu .page").eq(0).is(".YH-KZT")||$(".menu .page").eq(0).is(".YH-KZTKS")){
+  // if($(".menu .page").eq(0).is(".YH-KZT")){
     $(".container").addClass("console-cont");
   }
   //菜单收起展开
@@ -95,8 +95,8 @@ function initMenu(data,userInfo){
     if(code === 'YH-BLZK-ZKPFGR'){
       url += `?doctorName=${userInfo.linkman}`
     }
-    // if(code === 'YH-KZT'||code === 'YH-KZTKS'){
-    if(code === 'YH-KZT'){
+    if(code === 'YH-KZT'||code === 'YH-KZTKS'){
+    // if(code === 'YH-KZT'){
       $(".container").addClass("console-cont");
     }else{
       $(".container").removeClass("console-cont");
@@ -113,7 +113,6 @@ function getOwnDept(){
           let data = res.data;
           if(data.code == 0){
               let result = data.data
-              curDept = result[0].deptName
               setCookie("deptList",JSON.stringify(result))
           }
       })

+ 1 - 0
src/js/itemManager.js

@@ -19,6 +19,7 @@ $(".selectUsed").append(`<img class="arrow" src=${iconDown} alt="下拉">`)
 $(".abnormalClear").click(function(){
     window.location.reload()
 })
+
 //判断有无某一权限
 function hasData(data){
     let lis = JSON.parse(getCookie("codeLis"))||[]

+ 1 - 0
src/js/jiaji.js

@@ -23,6 +23,7 @@ let tabList = [], name = "", behospitalCode="", behosDateStart="", level="",beho
 $(".abnormalClear").click(function(){
     window.location.reload()
 })
+
 $(".partTitle a").click(function(){
     //初始菜单选中
     $(".menu .page",parent.document).removeClass("active").eq(0).addClass("active");

+ 18 - 3
src/js/mukuai.js

@@ -28,13 +28,23 @@ $(function(){
     
     $(".partTitle a").click(function(){
         //初始菜单选中
-        $(".menu .page",parent.document).removeClass("active").eq(0).addClass("active");
+        focusMenuItem('YH-KZTKS')
         $(".container",parent.document).addClass("console-cont");
     })
     $(".abnormalClear").click(function(){
         window.location.reload()
     })
 })
+
+function focusMenuItem(code){
+    const ele = $(parent.document).find(".menu .page[code="+code+"]");
+    const parEle = ele.parents(".list-1");
+    if(!parEle.is(".list-1-show")){
+      parEle.click();
+    }
+    //console.log($(parent.document).find(".menu .page[code='YH-ZKK-GMKQXZB_XQ']"))
+    ele.click();
+  }
 bindDeptSelect()
 //科室选择
 function bindDeptSelect(){
@@ -122,7 +132,7 @@ function getTabData(activePage){
         current:activePage,
         type: isReject,
         name: name, //条目名
-        deptName: deptId||deptList.length>0&&deptList[0].deptName, //科室名
+        deptName: deptId||(deptList.length>0?deptList[0].deptName:''), //科室名
         size: 15
     }
     post(from == 1?api.entryCountGroupByCasePage:api.entryCountGroupByCaseAndDeptPage,param).then(res =>{
@@ -213,7 +223,10 @@ function renderTab(data,activePage){
             </tr>
         `
     }
-    $('tbody').html(str?str:'<tr><td colspan="17" style="text-align: center;color: #aaa">暂无数据~</td></tr>')
+    $('tbody').html(str?str:`<tr><td colspan="17" style="text-align: center;color: #aaa">
+        <img style="margin-top:50px;width:100px;" src="${require('../images/empty.png')}" />
+        <p style="margin-top:20px;margin-bottom:30px;color:#ccc;position:relative;left:5px;">暂无数据~</p>
+    </td></tr>`)
     bindEdit(data,activePage)
 }
 
@@ -457,4 +470,6 @@ $(document).on("click", function(){
     $(".selectModuleType .arrow").attr("src",iconDown)
     $(".selectReject .arrow").attr("src",iconDown)
     $(".selectUsed .arrow").attr("src",iconDown)
+    $(".deptList").css("display", "none")
+    $(".selectDept .arrow").attr("src",iconDown)
 })

+ 14 - 2
src/js/mukuaiControl.js

@@ -27,13 +27,22 @@ $(function(){
     
     $(".partTitle a").click(function(){
         //初始菜单选中
-        $(".menu .page",parent.document).removeClass("active").eq(0).addClass("active");
         $(".container",parent.document).addClass("console-cont");
+        focusMenuItem('YH-KZT')
     })
     $(".abnormalClear").click(function(){
         window.location.reload()
     })
 })
+function focusMenuItem(code){
+    const ele = $(parent.document).find(".menu .page[code="+code+"]");
+    const parEle = ele.parents(".list-1");
+    if(!parEle.is(".list-1-show")){
+      parEle.click();
+    }
+    //console.log($(parent.document).find(".menu .page[code='YH-ZKK-GMKQXZB_XQ']"))
+    ele.click();
+  }
 bindDeptSelect()
 //科室选择
 function bindDeptSelect(){
@@ -212,7 +221,10 @@ function renderTab(data,activePage){
             </tr>
         `
     }
-    $('tbody').html(str?str:'<tr><td colspan="17" style="text-align: center;color: #aaa">暂无数据~</td></tr>')
+    $('tbody').html(str?str:`<tr><td colspan="17" style="text-align: center;color: #aaa">
+        <img style="margin-top:50px;width:100px;" src="${require('../images/empty.png')}" />
+        <p style="margin-top:20px;margin-bottom:30px;color:#ccc;position:relative;left:5px;">暂无数据~</p>
+    </td></tr>`)
     bindEdit(data,activePage)
 }
 

+ 18 - 10
src/js/partDetail.js

@@ -25,10 +25,20 @@ $(".abnormalClear").click(function(){
     window.location.reload()
 })
 $(".partTitle a").click(function(){
-    //初始菜单选中
-    $(".menu .page",parent.document).removeClass("active").eq(0).addClass("active");
+    //初始菜单选中        
+    focusMenuItem('YH-KZTKS')
     $(".container",parent.document).addClass("console-cont");
 })
+
+function focusMenuItem(code){
+    const ele = $(parent.document).find(".menu .page[code="+code+"]");
+    const parEle = ele.parents(".list-1");
+    if(!parEle.is(".list-1-show")){
+      parEle.click();
+    }
+    //console.log($(parent.document).find(".menu .page[code='YH-ZKK-GMKQXZB_XQ']"))
+    ele.click();
+  }
 $('.datapickerBox').append(`<img class="iconCalen" src=${iconCalenGrey} />`)
 $('.iconCalen').on("mouseenter", function(e){
     $(this).attr("src", iconCalenBlue)
@@ -56,7 +66,6 @@ function getDeptList(){
     $(".partDetail .filterDropList").html(str)
 }
 
-
 dateChange()
 //所有数据切换日期筛选
 function dateChange(){
@@ -109,10 +118,7 @@ function getTabData(activePage){
     }
     post(api.homePageLevelByDeptLimit,param).then(res =>{
         if(res.data.code == '0'){
-            const data = res.data.data;
-            tabList = data.records;
-            const totalPage = data.pages;
-            const totalNum = data.total;
+            const data = res.data.data||[];
             renderTab(data,data.hospitalId,activePage);
             renderPagination(totalPage,Number(activePage),totalNum)
             if(totalPage > 1){
@@ -153,7 +159,10 @@ function renderTab(data,hisId,activePage){
             </tr>
         `
     }
-    $('tbody').html(str?str:'<tr><td colspan="17" style="text-align: center;color: #aaa">暂无数据~</td></tr>')
+    $('tbody').html(str?str:`<tr><td colspan="17" style="text-align: center;color: #aaa">
+        <img style="margin-top:50px;width:100px;" src="${require('../images/empty.png')}" />
+        <p style="margin-top:20px;margin-bottom:30px;color:#ccc;position:relative;left:5px;">暂无数据~</p>
+    </td></tr>`)
     bindScoreDetail(hisId)
     $(".goHomeDetail").click(function(){
         let docName = $(this).attr("data-doc")
@@ -541,8 +550,7 @@ function renderPagination(totalPage,activePage,totalNum){
 $(document).on("click", function(){
     $(".levelList ").css("display", "none")
     $(".deptList").css("display", "none")
-    $(".selectLevel .arrow").attr("src",iconDown)
-    
+    $(".selectDept .arrow").attr("src",iconDown)
 })
 
 $((function($){

+ 7 - 7
src/js/partDetailControl.js

@@ -91,10 +91,7 @@ function getTabData(activePage){
     }
     post(api.homePageLevelStatistics,param).then(res =>{
         if(res.data.code == '0'){
-            const data = res.data.data;
-            tabList = data.records;
-            const totalPage = data.pages;
-            const totalNum = data.total;
+            const data = res.data.data||[];
             renderTab(data,data.hospitalId,activePage);
             renderPagination(totalPage,Number(activePage),totalNum)
             if(totalPage > 1){
@@ -136,7 +133,11 @@ function renderTab(data,hisId,activePage){
             </tr>
         `
     }
-    $('tbody').html(str?str:'<tr><td colspan="17" style="text-align: center;color: #aaa">暂无数据~</td></tr>')
+    // console.log(str)
+    $('tbody').html(str?str:`<tr><td colspan="17" style="text-align: center;color: #aaa">
+        <img style="margin-top:50px;width:100px;" src="${require('../images/empty.png')}" />
+        <p style="margin-top:20px;margin-bottom:30px;color:#ccc;position:relative;left:5px;">暂无数据~</p>
+    </td></tr>`)
     bindScoreDetail(hisId)
     $(".goHomeDetail").click(function(){
         let deptName = $(this).attr("data-dept")
@@ -531,8 +532,7 @@ function renderPagination(totalPage,activePage,totalNum){
 $(document).on("click", function(){
     $(".levelList ").css("display", "none")
     $(".deptList").css("display", "none")
-    $(".selectLevel .arrow").attr("src",iconDown)
-    
+    $(".selectDept .arrow").attr("src",iconDown)
 })
 
 $((function($){

+ 6 - 6
src/js/payDetail.js

@@ -128,7 +128,7 @@ function renderTab(data,hisId,activePage){
             <tr  data-index=${i}>
                 <td  class="textCenter">${(activePage-1)*15 + i+1}</td>
                 <td>${item.name || "-"}</td>
-                <td >${item.totleValue}</td>
+                <td >${item.averageValue}</td>
                 <td >${item.lastAverageValue}</td>
                 <td style="display:${statisticsType==1?'block':'none'}">${item.lastYearAverageValue}</td>
             </tr>
@@ -138,15 +138,15 @@ function renderTab(data,hisId,activePage){
         ${statisticsType==1?`<thead class="monType">
             <th class="moduleName" style="width: 65px;">序号</th>
             <th class="beHospitalId textCenter">科室名称</th>
-            <th class="patientNo textCenter" >上月平均住院天数(天)</th>
-            <th class="patientNo textCenter" >本月平均住院天数(天)</th>
-            <th class="patientNo textCenter" >去年本月平均住院天数(天)</th>
+            <th class="patientNo textCenter" >上月平均住院花费(元)</th>
+            <th class="patientNo textCenter" >本月平均住院花费(元)</th>
+            <th class="patientNo textCenter" >去年本月平均住院花费(元)</th>
         </thead>`:`
         <thead class="yearType">
             <th class="moduleName" style="width: 65px;">序号</th>
             <th class="beHospitalId textCenter">科室名称</th>
-            <th class="patientNo textCenter" >本年平均住院花费()</th>
-            <th class="patientNo textCenter" >去年平均住院花费()</th>
+            <th class="patientNo textCenter" >本年平均住院花费()</th>
+            <th class="patientNo textCenter" >去年平均住院花费()</th>
         </thead>
         `}
         <tbody>

+ 4 - 1
src/js/qcList.js

@@ -149,7 +149,10 @@ function renderTab(data,hisId){
     let str = ``
     let hasSelectAll = true;
     if(data.length===0){
-      $('tbody').html(`<tr><td colspan='17' style="text-align: center;color: #aaa">暂无数据~</td></tr>`);
+      $('tbody').html(`<tr><td colspan="17" style="text-align: center;color: #aaa">
+          <img style="margin-top:50px;width:100px;" src="${require('../images/empty.png')}" />
+          <p style="margin-top:20px;margin-bottom:30px;color:#ccc;position:relative;left:5px;">暂无数据~</p>
+      </td></tr>`)
       return;
     }
     for(let i = 0; i < data.length; i++){

+ 4 - 1
src/js/qcListDept.js

@@ -164,7 +164,10 @@ function renderTab(data){
     let str = ``
     let hasSelectAll = true;
     if(data.length===0){
-      $('tbody').html(`<tr><td colspan='17' style="text-align: center;color: #aaa">暂无数据~</td></tr>`);
+      $('tbody').html(str?str:`<tr><td colspan="17" style="text-align: center;color: #aaa">
+          <img style="margin-top:50px;width:100px;" src="${require('../images/empty.png')}" />
+          <p style="margin-top:20px;margin-bottom:30px;color:#ccc;position:relative;left:5px;">暂无数据~</p>
+      </td></tr>`)
       return;
     }
     for(let i = 0; i < data.length; i++){

+ 4 - 1
src/js/qcListPerson.js

@@ -164,7 +164,10 @@ function renderTab(data){
     let str = ``
     let hasSelectAll = true;
     if(data.length===0){
-        $('tbody').html(`<tr><td colspan='17' style="text-align: center;color: #aaa">暂无数据~</td></tr>`);
+        $('tbody').html(str?str:`<tr><td colspan="17" style="text-align: center;color: #aaa">
+            <img style="margin-top:50px;width:100px;" src="${require('../images/empty.png')}" />
+            <p style="margin-top:20px;margin-bottom:30px;color:#ccc;position:relative;left:5px;">暂无数据~</p>
+        </td></tr>`)
         return;
     }
     for(let i = 0; i < data.length; i++){

+ 28 - 6
src/js/quexianDetail.js

@@ -24,7 +24,7 @@ $(function(){
     deptName = getUrlArgObjectNew("deptName",srcUrl)||""
     docName = getUrlArgObjectNew("docName",srcUrl)||""
     casesIds = getUrlArgObjectNew("casesId",srcUrl)||""
-    isReject = getUrlArgObjectNew("shijian",srcUrl)||""
+    isReject= isRejectTemp= getUrlArgObjectNew("shijian",srcUrl)||""
     if(isReject == 1){
         $(".monthYear .mon").css({
             backgroundColor:'#00A1FF',
@@ -46,19 +46,36 @@ $(function(){
     getTabData(1)//条目缺陷    
     from = getUrlArgObjectNew("from",srcUrl)||""
     if(from == 1){
-        $(".partTitle .titlePic ").html(`<a class="consoleD" href="console.html">控制台 / </a><a class="consoleP" href="partDetail.html">病案首页合格率占比 / </a>缺陷详情`)
+        $(".partTitle .titlePic ").html(`<a class="consoleD" href="deptConsole.html">控制台(科室) / </a><a class="consoleP" href="partDetail.html">病案首页合格率占比 / </a>缺陷详情`)
         $(".partTitle .consoleD").click(function(){
-            $(".menu .page",parent.document).removeClass("active").eq(0).addClass("active");
+            focusMenuItem('YH-KZTKS')
             $(".container",parent.document).addClass("console-cont");
         })
+        $(".partTitle .consoleP").click(function(){
+            focusMenuItem('YH-KSZR-BASYHGLZB_XQ')
+            console.log(999)
+        })
     }else{
-        $(".partTitle .titlePic ").html(`<a class="consoleD" href="console.html">控制台 / </a><a class="consoleP" href="deptScoreDetail.html">各科室缺陷占比 / </a>缺陷详情`)
+        $(".partTitle .titlePic ").html(`<a class="consoleD" href="console.html">控制台(科室) / </a><a class="consoleP" href="deptScoreDetail.html">各科室缺陷占比 / </a>缺陷详情`)
         $(".partTitle .consoleD").click(function(){
-            $(".menu .page",parent.document).removeClass("active").eq(0).addClass("active");
+            focusMenuItem('YH-KZT')
             $(".container",parent.document).addClass("console-cont");
         })
+        $(".partTitle .consoleP").click(function(){
+            focusMenuItem('YH-KSZR-KSQXZB_XQ')
+            console.log(999)
+        })
     }
 })
+function focusMenuItem(code){
+    const ele = $(parent.document).find(".menu .page[code="+code+"]");
+    const parEle = ele.parents(".list-1");
+    if(!parEle.is(".list-1-show")){
+      parEle.click();
+    }
+    //console.log($(parent.document).find(".menu .page[code='YH-ZKK-GMKQXZB_XQ']"))
+    ele.click();
+  }
 bindDeptSelect()
 //科室选择
 function bindDeptSelect(){
@@ -142,6 +159,7 @@ function dateChange(){
             backgroundColor:'#fff'
         })
         isReject = 1
+        isRejectTemp = 1
         getTabData(1)
     })
     $(".monthYear .year").click(function(){
@@ -153,6 +171,7 @@ function dateChange(){
             backgroundColor:'#fff'
         })
         isReject = 2
+        isRejectTemp = 2
         getTabData(1)
     })
 }
@@ -240,7 +259,10 @@ function renderTab(data,activePage){
             </tr>
         `
     }
-    $('tbody').html(str?str:'<tr><td colspan="17" style="text-align: center;color: #aaa">暂无数据~</td></tr>')
+    $('tbody').html(str?str:`<tr><td colspan="17" style="text-align: center;color: #aaa">
+        <img style="margin-top:50px;width:100px;" src="${require('../images/empty.png')}" />
+        <p style="margin-top:20px;margin-bottom:30px;color:#ccc;position:relative;left:5px;">暂无数据~</p>
+    </td></tr>`)
     bindEdit(data,activePage)
 }
 

+ 7 - 2
src/js/quexianDetailControl.js

@@ -23,7 +23,7 @@ $(function(){
     let srcUrl = $("#contentIframe",parent.document).attr("src")
     deptName = getUrlArgObjectNew("deptName",srcUrl)||""
     from = getUrlArgObjectNew("from",srcUrl)||""
-    isReject = getUrlArgObjectNew("shijian",srcUrl)||""
+    isReject = isRejectTemp = getUrlArgObjectNew("shijian",srcUrl)||""
     casesIds = getUrlArgObjectNew("casesId",srcUrl)||""
     if(isReject == 1){
         $(".monthYear .mon").css({
@@ -142,6 +142,7 @@ function dateChange(){
             backgroundColor:'#fff'
         })
         isReject = 1
+        isRejectTemp = 1
         getTabData(1)
     })
     $(".monthYear .year").click(function(){
@@ -153,6 +154,7 @@ function dateChange(){
             backgroundColor:'#fff'
         })
         isReject = 2
+        isRejectTemp = 2
         getTabData(1)
     })
 }
@@ -240,7 +242,10 @@ function renderTab(data,activePage){
             </tr>
         `
     }
-    $('tbody').html(str?str:'<tr><td colspan="17" style="text-align: center;color: #aaa">暂无数据~</td></tr>')
+    $('tbody').html(str?str:`<tr><td colspan="17" style="text-align: center;color: #aaa">
+        <img style="margin-top:50px;width:100px;" src="${require('../images/empty.png')}" />
+        <p style="margin-top:20px;margin-bottom:30px;color:#ccc;position:relative;left:5px;">暂无数据~</p>
+    </td></tr>`)
     bindEdit(data,activePage)
 }
 

+ 4 - 1
src/js/quexianXQ.js

@@ -126,7 +126,10 @@ function renderTab(data,hisId,activePage){
             </tr>
         `
     }
-    $('tbody').html(str?str:'<tr><td colspan="17" style="text-align: center;color: #aaa">暂无数据~</td></tr>')
+    $('tbody').html(str?str:`<tr><td colspan="17" style="text-align: center;color: #aaa">
+        <img style="margin-top:50px;width:100px;" src="${require('../images/empty.png')}" />
+        <p style="margin-top:20px;margin-bottom:30px;color:#ccc;position:relative;left:5px;">暂无数据~</p>
+    </td></tr>`)
     bindScoreDetail(hisId)
 }
 

+ 21 - 5
src/js/tiaomu.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="", isUsed ="",casesIdTemp="", nameTemp="", isRejectTemp ="", isUsedTemp ="",from="",deptIdTemp="",deptItemId="",deptId=""
+let casesId="", name="", isReject ="2",deptName="", isUsed ="",casesIdTemp="", 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="下拉">`)
@@ -27,20 +27,31 @@ $(function(){
     
     $(".partTitle a").click(function(){
         //初始菜单选中
-        $(".menu .page",parent.document).removeClass("active").eq(0).addClass("active");
+        focusMenuItem('YH-KZTKS')
         $(".container",parent.document).addClass("console-cont");
     })
     $(".abnormalClear").click(function(){
         window.location.reload()
     })
 })
+function focusMenuItem(code){
+    const ele = $(parent.document).find(".menu .page[code="+code+"]");
+    const parEle = ele.parents(".list-1");
+    if(!parEle.is(".list-1-show")){
+      parEle.click();
+    }
+    //console.log($(parent.document).find(".menu .page[code='YH-ZKK-GMKQXZB_XQ']"))
+    ele.click();
+  }
 bindDeptSelect()
 //科室选择
 function bindDeptSelect(){
     $(document).on("click",'.deptItem',function(){
+        console.log(isReject,'opopopo')
         const deptItemName = $(this).attr("data-name")
         const deptItemId = $(this).attr("data-id")
         deptIdTemp =deptItemId
+        deptId =deptItemId
         if(deptItemName.length > 10){
             $('.selectDept').html(deptItemName.substring(0,8)+'...')
         }else{
@@ -85,7 +96,7 @@ function getTabData(activePage){
         current:activePage,
         type: isReject,
         name: name, //条目名
-        deptName: deptId||deptList.length>0&&deptList[0].deptName, //科室名
+        deptName: deptId||(deptList.length>0?deptList[0].deptName:''), //科室名
         size: 15
     }
     // console.log(isReject)
@@ -241,7 +252,10 @@ function renderTab(data,activePage){
             </tr>
         `
     }
-    $('tbody').html(str?str:'<tr><td colspan="17" style="text-align: center;color: #aaa">暂无数据~</td></tr>')
+    $('tbody').html(str?str:`<tr><td colspan="17" style="text-align: center;color: #aaa">
+        <img style="margin-top:50px;width:100px;" src="${require('../images/empty.png')}" />
+        <p style="margin-top:20px;margin-bottom:30px;color:#ccc;position:relative;left:5px;">暂无数据~</p>
+    </td></tr>`)
     bindEdit(data,activePage)
 }
 
@@ -485,4 +499,6 @@ $(document).on("click", function(){
     $(".selectModuleType .arrow").attr("src",iconDown)
     $(".selectReject .arrow").attr("src",iconDown)
     $(".selectUsed .arrow").attr("src",iconDown)
-})
+    $(".deptList").css("display", "none")
+    $(".selectDept .arrow").attr("src",iconDown)
+})

+ 4 - 1
src/js/tiaomuControl.js

@@ -241,7 +241,10 @@ function renderTab(data,activePage){
             </tr>
         `
     }
-    $('tbody').html(str?str:'<tr><td colspan="17" style="text-align: center;color: #aaa">暂无数据~</td></tr>')
+    $('tbody').html(str?str:`<tr><td colspan="17" style="text-align: center;color: #aaa">
+        <img style="margin-top:50px;width:100px;" src="${require('../images/empty.png')}" />
+        <p style="margin-top:20px;margin-bottom:30px;color:#ccc;position:relative;left:5px;">暂无数据~</p>
+    </td></tr>`)
     bindEdit(data,activePage)
 }
 

+ 4 - 1
src/js/userManager.js

@@ -122,7 +122,10 @@ function renderTab(data,activePage){
             </tr>
         `
     }
-    $('tbody').html(str?str:'<tr><td colspan="17" style="text-align: center;color: #aaa">暂无数据~</td></tr>')
+    $('tbody').html(str?str:`<tr><td colspan="17" style="text-align: center;color: #aaa">
+        <img style="margin-top:50px;width:100px;" src="${require('../images/empty.png')}" />
+        <p style="margin-top:20px;margin-bottom:30px;color:#ccc;position:relative;left:5px;">暂无数据~</p>
+    </td></tr>`)
     bindEdit(data,activePage)
 }