luolei 5 tahun lalu
induk
melakukan
c08c8ef29a

+ 2 - 2
src/css/deptConsole.less

@@ -264,7 +264,7 @@ body.console {
   left: 7px;
 }
 .part01 {
-  width: 30%;
+  width: 38%;
   background-color: @themeColor;
   border-right: 10px solid @themeBorderClr;
   box-sizing: border-box;
@@ -345,7 +345,7 @@ body.console {
 .part02{
   // border-right: 10px solid #f5f5f5;
   box-sizing: border-box;
-  width: 70%;
+  width: 62%;
   background-color: @themeColor;
   .bingli {
     padding: 20px;

+ 1 - 1
src/css/qcList.less

@@ -155,7 +155,7 @@ table{
 }
 .levelList{
     width: 120px;
-    height: 200px;
+    // height: 200px;
     li:hover{
         background-color: #EEF4FF;
         cursor: pointer;

+ 1 - 1
src/css/qcListDept.less

@@ -155,7 +155,7 @@ table{
 }
 .levelList{
     width: 120px;
-    height: 200px;
+    // height: 200px;
     li:hover{
         background-color: #EEF4FF;
         cursor: pointer;

+ 1 - 1
src/css/qcListPerson.less

@@ -155,7 +155,7 @@ table{
 }
 .levelList{
     width: 120px;
-    height: 200px;
+    // height: 200px;
     li:hover{
         background-color: #EEF4FF;
         cursor: pointer;

+ 10 - 4
src/js/dayDetail.js

@@ -21,7 +21,10 @@ let tabList = [], name = "", behospitalCode="", behosDateStart="", level="",beho
   nameTemp = "", behospitalCodeTemp="",levelTemp="", deptId="",deptIdTemp="", doctorName="", doctorNum="",doctorNameTemp="",doctorNumTemp="",
   data_desc=[],data_asc=[];
 $(".abnormalClear").click(function(){
-    window.location.reload()
+    // window.location.reload()
+        behospitalCode = ""
+        $(".patientNumInp").val("")
+        getTabData(1)
 })
 $(".partTitle a").click(function(){
     //初始菜单选中
@@ -124,8 +127,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.lastAverageValue}</td>
                 <td >${item.averageValue}</td>
+                <td >${item.lastAverageValue}</td>
                 <td style="display:${statisticsType==1?'block':'none'}">${item.lastYearAverageValue}</td>
             </tr>
         `
@@ -134,8 +137,8 @@ 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>s
             <th class="patientNo textCenter" >去年本月平均住院天数(天)</th>
         </thead>`:`
         <thead class="yearType">
@@ -146,7 +149,10 @@ function renderTab(data,hisId,activePage){
         </thead>
         `}
         <tbody>
-            ${str?str:'<tr><td colspan="17" style="text-align: center;color: #aaa">暂无数据~</td></tr>'}
+            ${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>`}
         </tbody>
     `
     $('.tableDay').html(sts)

+ 10 - 2
src/js/deptScoreDetail.js

@@ -22,7 +22,15 @@ let tabList = [], name = "", behospitalCode="", behosDateStart="", level="",beho
   data_desc=[],data_asc=[];
 let deptList = JSON.parse(getCookie("deptList"))||[]
 $(".abnormalClear").click(function(){
-    window.location.reload()
+    // window.location.reload()
+    deptId = deptList[0].deptName
+    behospitalCode = ""
+    $(".patientNumInp").val("")
+    $(".selectDept").html(deptId).attr({
+        "data-id":deptId,
+        "title":deptId
+    }).append(`<img class="arrow" src=${iconDown} alt="下拉">`)
+    getTabData(1)
 })
 $(".partTitle a").click(function(){
     //初始菜单选中
@@ -356,7 +364,7 @@ function bindDeptSelect(){
         }else{
             $('.selectDept').html(deptItemName)
         }
-        $('.selectDept ').attr('title',deptItemName)
+        $('.selectDept ').attr({'title':deptItemName,'data-id':deptItemName})
         $(".selectDept").append(`<img class="arrow" src=${iconDown} alt="下拉">`)
 
         $(".deptList").css("display", "none")

+ 4 - 1
src/js/deptScoreDetailControl.js

@@ -21,7 +21,10 @@ let tabList = [], name = "", behospitalCode="", behosDateStart="", level="",beho
   nameTemp = "", behospitalCodeTemp="",levelTemp="", deptId="",deptIdTemp="", doctorName="", doctorNum="",doctorNameTemp="",doctorNumTemp="",
   data_desc=[],data_asc=[];
 $(".abnormalClear").click(function(){
-    window.location.reload()
+    // window.location.reload()
+    behospitalCode = ""
+    $(".patientNumInp").val("")
+    getTabData(1)
 })
 
 $(".partTitle a").click(function(){

+ 7 - 2
src/js/jiaji.js

@@ -21,7 +21,9 @@ let tabList = [], name = "", behospitalCode="", behosDateStart="", level="",beho
   nameTemp = "", behospitalCodeTemp="",levelTemp="", deptId="",deptIdTemp="", doctorName="", doctorNum="",doctorNameTemp="",doctorNumTemp="",
   data_desc=[],data_asc=[];
 $(".abnormalClear").click(function(){
-    window.location.reload()
+    behospitalCode = ""
+    $(".patientNumInp").val("")
+    getTabData(1)
 })
 
 $(".partTitle a").click(function(){
@@ -132,7 +134,10 @@ function renderTab(data,hisId,activePage){
             </tr>
         `
     }
-    $('tbody').html(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)
 }
 

+ 10 - 2
src/js/mukuai.js

@@ -32,7 +32,15 @@ $(function(){
         $(".container",parent.document).addClass("console-cont");
     })
     $(".abnormalClear").click(function(){
-        window.location.reload()
+        // window.location.reload()
+        deptId = deptList[0].deptName
+        name = ""
+        $(".patientNumInp").val("")
+        $(".selectDept").html(deptId).attr({
+            "data-id":deptId,
+            "title":deptId
+        }).append(`<img class="arrow" src=${iconDown} alt="下拉">`)
+        getTabData(1)
     })
 })
 
@@ -57,7 +65,7 @@ function bindDeptSelect(){
         }else{
             $('.selectDept').html(deptItemName)
         }
-        $('.selectDept ').attr('title',deptItemName)
+        $('.selectDept ').attr({'title':deptItemName,'data-id':deptItemName})
         $(".selectDept").append(`<img class="arrow" src=${iconDown} alt="下拉">`)
 
         $(".deptList").css("display", "none")

+ 4 - 1
src/js/mukuaiControl.js

@@ -31,7 +31,10 @@ $(function(){
         focusMenuItem('YH-KZT')
     })
     $(".abnormalClear").click(function(){
-        window.location.reload()
+        // window.location.reload()
+        name = ""
+        $(".patientNumInp").val("")
+        getTabData(1)
     })
 })
 function focusMenuItem(code){

+ 10 - 2
src/js/partDetail.js

@@ -22,7 +22,15 @@ let tabList = [], name = "", behospitalCode="", behosDateStart="", level="",beho
   data_desc=[],data_asc=[];
 let deptList = JSON.parse(getCookie("deptList"))||[]
 $(".abnormalClear").click(function(){
-    window.location.reload()
+    // window.location.reload()
+    deptId = deptList[0].deptName
+    behospitalCode = ""
+    $(".patientNumInp").val("")
+    $(".selectDept").html(deptId).attr({
+        "data-id":deptId,
+        "title":deptId
+    })
+    getTabData(1)
 })
 $(".partTitle a").click(function(){
     //初始菜单选中        
@@ -351,7 +359,7 @@ function bindDeptSelect(){
         }else{
             $('.selectDept').html(deptItemName)
         }
-        $('.selectDept ').attr('title',deptItemName)
+        $('.selectDept ').attr({'title':deptItemName,'data-id':deptItemName})
         $(".selectDept").append(`<img class="arrow" src=${iconDown} alt="下拉">`)
 
         $(".deptList").css("display", "none")

+ 4 - 1
src/js/partDetailControl.js

@@ -21,7 +21,10 @@ let tabList = [], name = "", behospitalCode="", behosDateStart="", level="",beho
   nameTemp = "", behospitalCodeTemp="",levelTemp="", deptId="",deptIdTemp="", doctorName="", doctorNum="",doctorNameTemp="",doctorNumTemp="",
   data_desc=[],data_asc=[];
 $(".abnormalClear").click(function(){
-    window.location.reload()
+    // window.location.reload()
+    $(".patientNumInp").val("")
+    behospitalCode = ""
+    getTabData(1)
 })
 $(".partTitle a").click(function(){
     //初始菜单选中

+ 8 - 3
src/js/payDetail.js

@@ -21,7 +21,9 @@ let tabList = [], name = "", behospitalCode="", behosDateStart="", level="",beho
   nameTemp = "", behospitalCodeTemp="",levelTemp="", deptId="",deptIdTemp="", doctorName="", doctorNum="",doctorNameTemp="",doctorNumTemp="",
   data_desc=[],data_asc=[];
 $(".abnormalClear").click(function(){
-    window.location.reload()
+    behospitalCode = ""
+    $(".patientNumInp").val("")
+    getTabData(1)
 })
 $(".partTitle a").click(function(){
     //初始菜单选中
@@ -138,8 +140,8 @@ 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>
         </thead>`:`
         <thead class="yearType">
@@ -150,7 +152,10 @@ function renderTab(data,hisId,activePage){
         </thead>
         `}
         <tbody>
-            ${str?str:'<tr><td colspan="17" style="text-align: center;color: #aaa">暂无数据~</td></tr>'}
+            ${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>`}
         </tbody>
     `
     $('.tableDay').html(sts)

+ 4 - 4
src/js/qcList.js

@@ -32,9 +32,9 @@ $('.iconCalen').on("click", function(e){
     $(this).parent().find("input").focus()
 })
 $('.recordScoreBtn').css("opacity",hasData('FUNC000017')?'1':'0.5')
-$(".abnormalClear").click(function(){
-    window.location.reload()
-})
+// $(".abnormalClear").click(function(){
+//     window.location.reload()
+// })
 //判断有无某一权限
   function hasData(data){
     let trdObj = JSON.parse(getCookie("trdObj"))
@@ -108,7 +108,7 @@ $(".filter").on("click", function(e){
     doctorNum = doctorNumTemp
     getTabData(1)
 })
-$(".reset").on("click", function(e){
+$(".abnormalClear").on("click", function(e){
     tabList = []; 
     name = ""; 
     behospitalCode="";  

+ 4 - 4
src/js/qcListDept.js

@@ -19,9 +19,9 @@ $(".selectLevel").append(`<img class="arrow" src=${iconDown} alt="下拉">`)
 $(".selectDept").append(`<img class="arrow" src=${iconDown} alt="下拉">`)
 let tabList = [], name = "", behospitalCode="", behosDateStart="", level="",behosDateEnd="", scoreSum = 0,nameTemp = "",
   behospitalCodeTemp="",levelTemp="", deptId="",deptIdTemp="", doctorName="", doctorNameTemp="", doctorNum="", doctorNumTemp="",data_desc=[],data_asc=[];
-  $(".abnormalClear").click(function(){
-    window.location.reload()
-})
+//   $(".abnormalClear").click(function(){
+//     window.location.reload()
+// })
 $('.datapickerBox').append(`<img class="iconCalen" src=${iconCalenGrey} />`)
 $('.iconCalen').on("mouseenter", function(e){
     $(this).attr("src", iconCalenBlue)
@@ -107,7 +107,7 @@ $(".filter").on("click", function(e){
     getTabData(1)
 })
 
-$(".reset").on("click", function(e){
+$(".abnormalClear").on("click", function(e){
     tabList = []; 
     name = ""; 
     behospitalCode="";  

+ 4 - 4
src/js/qcListPerson.js

@@ -18,9 +18,9 @@ let doctorName_global = getUrlArgObject("doctorName")
 
 // console.log('doctorName_global',doctorName_global)
 $('.selectDoctor').html(doctorName_global)
-$(".abnormalClear").click(function(){
-    window.location.reload()
-})
+// $(".abnormalClear").click(function(){
+//     window.location.reload()
+// })
 $(".selectLevel").append(`<img class="arrow" src=${iconDown} alt="下拉">`)
 $(".selectDept").append(`<img class="arrow" src=${iconDown} alt="下拉">`)
 let tabList = [], name = "", behospitalCode="", behosDateStart="", level="",behosDateEnd="", scoreSum = 0,nameTemp = "",
@@ -107,7 +107,7 @@ $(".filter").on("click", function(e){
     doctorName = doctorNameTemp
     getTabData(1)
 })
-$(".reset").on("click", function(e){
+$(".abnormalClear").on("click", function(e){
     tabList = []; 
     name = ""; 
     behospitalCode="";  

+ 5 - 1
src/js/quexianDetail.js

@@ -63,9 +63,13 @@ $(function(){
         })
         $(".partTitle .consoleP").click(function(){
             focusMenuItem('YH-KSZR-KSQXZB_XQ')
-            console.log(999)
         })
     }
+    $(".abnormalClear").click(function(){
+        name = ""
+        $(".patientNumInp").val("")
+        getTabData(1)
+    })
 })
 function focusMenuItem(code){
     const ele = $(parent.document).find(".menu .page[code="+code+"]");

+ 6 - 0
src/js/quexianDetailControl.js

@@ -57,6 +57,12 @@ $(function(){
         })
     }
     getTabData(1)//条目缺陷
+    
+    $(".abnormalClear").click(function(){
+        name = ""
+        $(".patientNumInp").val("")
+        getTabData(1)
+    })
 })
 bindDeptSelect()
 //科室选择

+ 10 - 2
src/js/tiaomu.js

@@ -31,7 +31,15 @@ $(function(){
         $(".container",parent.document).addClass("console-cont");
     })
     $(".abnormalClear").click(function(){
-        window.location.reload()
+        // window.location.reload()
+        deptId = deptList[0].deptName
+        name = ""
+        $(".patientNumInp").val("")
+        $(".selectDept").html(deptId).attr({
+            "data-id":deptId,
+            "title":deptId
+        }).append(`<img class="arrow" src=${iconDown} alt="下拉">`)
+        getTabData(1)
     })
 })
 function focusMenuItem(code){
@@ -57,7 +65,7 @@ function bindDeptSelect(){
         }else{
             $('.selectDept').html(deptItemName)
         }
-        $('.selectDept ').attr('title',deptItemName)
+        $('.selectDept ').attr({'title':deptItemName,'data-id':deptItemName})
         $(".selectDept").append(`<img class="arrow" src=${iconDown} alt="下拉">`)
 
         $(".deptList").css("display", "none")

+ 4 - 1
src/js/tiaomuControl.js

@@ -31,7 +31,10 @@ $(function(){
         $(".container",parent.document).addClass("console-cont");
     })
     $(".abnormalClear").click(function(){
-        window.location.reload()
+        // window.location.reload()
+        name = ""
+        $(".patientNumInp").val("")
+        getTabData(1)
     })
 })
 bindDeptSelect()