Browse Source

分值筛选修改为病历类型bug1637

zhouna 3 years ago
parent
commit
c00f2be695
2 changed files with 4 additions and 2 deletions
  1. 1 1
      src/html/allotCheckTask.html
  2. 3 1
      src/js/allotCheckTask.js

+ 1 - 1
src/html/allotCheckTask.html

@@ -164,7 +164,7 @@
                                 <th class="deptName textCenter" valCode="behospitalDept">科室</th>
                                 <th class="doctorName textCenter" valCode="attendingDoctor">主管医生</th>
                                 <th class="outHospitalDate textCenter desc" valCode="leaveHospitalDate" code="leaveHospitalDate">出院日期</th>
-                                <th class="recordScore textCenter" valCode="value" code="value">筛选分值</th>
+                                <th class="recordScore textCenter" valCode="value" code="value">病历类型</th>
                                 <th class="recordScore textCenter" valCode="jobDistributorName" code="jobDistributorName">分配人</th>
                                 <th class="recordScoreOpera textCenter" style="width: 65px;">操作</th>
                             </tr>

+ 3 - 1
src/js/allotCheckTask.js

@@ -669,7 +669,9 @@ function renderTaskTable(data) {
 
             }else if(code === 'leaveHospitalDate'){
                 str += `<td class="textCenter"><span class="dot-long-hide" data-index=${i} title="${ item[code]}">${ item[code] || "-"}</span></td>`
-            }else{
+            }else if(code === 'value'){
+			  str += `<td class="textCenter"><span data-index=${i}>${global_scoreMap[+item[code]] || "-"}<span></td>`
+			}else{
                 str += `<td class="textCenter"><span data-index=${i} title="${ item[code]}">${ item[code] || "-"}</span></td>`
             }
         }