浏览代码

默认排序bug

zhouna 3 年之前
父节点
当前提交
bcc8a8b61b

+ 1 - 1
src/html/dataAnalysis/improveStatistics.html

@@ -54,7 +54,7 @@
                         <th class="beHospitalId textCenter">科室</th>
                         <th class="beHospitalId textCenter">模块名称</th>
                         <th class="beHospitalId textCenter">缺陷名称</th>
-                        <th class="beHospitalId textCenter" code="totalNum">总数量</th>
+                        <th class="beHospitalId textCenter desc" code="totalNum">总数量</th>
                         <th class="beHospitalId textCenter">已改善数量</th>
                         <th class="beHospitalId textCenter" code="improveleNum">待改善数量</th>
                         <th class="beHospitalId textCenter">改善率</th>

+ 1 - 1
src/html/dataAnalysis/statisticsDetail.html

@@ -67,7 +67,7 @@
                     <th class="beHospitalId textCenter" code="name">病人姓名</th>
                     <th class="beHospitalId textCenter" code="age">年龄</th>
                     <th class="beHospitalId textCenter" code="behospitalDate">入院日期</th>
-                    <th class="beHospitalId textCenter" code="leaveHospitalDate">出院日期</th>
+                    <th class="beHospitalId textCenter desc" code="leaveHospitalDate">出院日期</th>
                     <th class="beHospitalId textCenter" code="behDoctorName">主管医生</th>
                     <th class="beHospitalId textCenter" code="behDeptName">科室</th>
                     <th class="beHospitalId textCenter" code="gradeTime">评分时间</th>

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

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

+ 1 - 1
src/html/dept/improveStatisticsDept.html

@@ -64,7 +64,7 @@
                         <th class="beHospitalId textCenter">缺陷名称</th>
                         <th class="beHospitalId textCenter">主管医生</th>
                         <th class="beHospitalId textCenter">医生工号</th>
-                        <th class="beHospitalId textCenter" code="totalNum">总数量</th>
+                        <th class="beHospitalId textCenter desc" code="totalNum">总数量</th>
                         <th class="beHospitalId textCenter">已改善数量</th>
                         <th class="beHospitalId textCenter" code="improveleNum">待改善数量</th>
                         <th class="beHospitalId textCenter">改善率</th>

+ 1 - 1
src/html/dept/useStatisticsDept.html

@@ -54,7 +54,7 @@
                         <th class="beHospitalId textCenter">医师工号</th>
                         <th class="beHospitalId textCenter">医师姓名</th>
                         <th class="beHospitalId textCenter" code="singleModeNum">模块质控按钮点击数</th>
-                        <th class="beHospitalId textCenter" code="totalModeNum">全病历质控按钮点击数</th>
+                        <th class="beHospitalId textCenter desc" code="totalModeNum">全病历质控按钮点击数</th>
 
                     </thead>
                     <tbody class="tbody">

+ 3 - 3
src/js/dataAnalysis/improveStatistics.js

@@ -18,7 +18,7 @@ listenScroll()
 let isPlacefile = getCookie('isPlacefile')||1
 
 let deptName="",deptNameTemp="",caseName="",caseNameTemp="", behospitalCode="", behospitalCodeTemp="",deptId="",deptIdTemp="",caseId="",caseIdTemp="",entryName='',entryNameTemp='',
-  data_desc="improveleNum",data_asc="";
+  data_desc="totalNum",data_asc="";
   let startDateParam = ""
   let endDateParam = ""
 
@@ -78,7 +78,7 @@ $(function() {
   });
   //重置
   $(".abnormalClear").click(function(){
-	data_desc=""
+	data_desc="totalNum"
 	data_asc=""
 	setDatePicker($("#datepicker"),$("#datepicker2"),"default");
 	$("#entryName").val("");
@@ -116,7 +116,7 @@ $(function() {
 function getFilterParam(current){
   const param = {
 	"isPlacefile":isPlacefile,
-	"deptId": deptName=="全部"?"":deptId||"", //科室id
+	//"deptId": deptName=="全部"?"":deptId||"", //科室id
 	"casesName": caseName,
 	"entryName":entryName,
 	"deptName": deptName=="全部"?"":deptName||"",

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

@@ -73,7 +73,7 @@ $(function() {
   });
   //重置
   $(".abnormalClear").click(function(){
-	data_desc=""
+	data_desc="totalModeNum"
 	data_asc=""
 	setDatePicker($("#datepicker"),$("#datepicker2"),"default");
 	$("#casesName,#entryName").val("");
@@ -104,7 +104,7 @@ $(function() {
 function getFilterParam(){
   const param = {
 	"isPlacefile":isPlacefile,
-	"deptId": deptName=="全部"?"":deptId||"", //科室id
+	//"deptId": deptName=="全部"?"":deptId||"", //科室id
 	"deptName": deptName=="全部"?"":deptName||"",
 	"asc":data_asc,     //升序
 	"desc":data_desc,       //降序

+ 2 - 2
src/js/dept/improveStatisticsDept.js

@@ -18,7 +18,7 @@ listenScroll()
 let isPlacefile = getCookie('isPlacefile')||1
 
 let deptName="",deptNameTemp="", behospitalCode="", behospitalCodeTemp="",deptId="",deptIdTemp="",caseName="",caseNameTemp="",caseId="",caseIdTemp="",entryName='',entryNameTemp='',
-	data_desc="improveleNum",data_asc="",doctorId="",doctorIdTemp="",doctorName="",doctorNameTemp="";
+	data_desc="totalNum",data_asc="",doctorId="",doctorIdTemp="",doctorName="",doctorNameTemp="";
 let startDateParam = "";
 let endDateParam = "";
 let _deptList=[];		//科室列表
@@ -85,7 +85,7 @@ $(function() {
   });
   //重置
   $(".abnormalClear").click(function(){
-	data_desc=""
+	data_desc="totalNum"
 	data_asc=""
 	setDatePicker($("#datepicker"),$("#datepicker2"),2);
 	$("#entryName,#doctorId,#doctorName").val("");

+ 1 - 1
src/js/dept/useStatisticsDept.js

@@ -83,7 +83,7 @@ $(function() {
   });
   //重置
   $(".abnormalClear").click(function(){
-	data_desc=[]
+	data_desc=['totalModeNum']
 	data_asc=[]
 	setDatePicker($("#datepicker"),$("#datepicker2"),"",startDateParam,endDateParam);
 	$("#doctorNum,#doctorName").val("");