|
@@ -7,6 +7,7 @@ require('./../resource/jquery-ui/jquery-ui.min.js');
|
|
|
require('./../resource/jquery-ui/jquery-ui.min.css');
|
|
|
const iconCheck = require("./../images/icon_check.png")
|
|
|
const iconUnCheck = require("./../images/icon_unchecked.png")
|
|
|
+const iconDisCheck = require("./../images/icon_dis.png")
|
|
|
const iconCalenBlue = require("./../images/icon_calen_blue.png")
|
|
|
const iconCalenGrey = require("./../images/icon_calen_grey.png")
|
|
|
const iconDown = require("./../images/arrow_down.png")
|
|
@@ -316,7 +317,7 @@ $(".abnormalClear").on("click", function (e) {
|
|
|
getTabData(1)
|
|
|
})
|
|
|
function renderTab(data, hisId) {
|
|
|
- let str = ``
|
|
|
+ let str = ``,icon = iconUnCheck;
|
|
|
let hasSelectAll = true;
|
|
|
if (data.length === 0) {
|
|
|
$('.tbody').html(emptyBox(null, showNum + 2))
|
|
@@ -326,15 +327,15 @@ function renderTab(data, hisId) {
|
|
|
for (let i = 0; i < data.length; i++) {
|
|
|
const item = data[i]
|
|
|
// item.hasSelect = false
|
|
|
- if (!item.hasSelect) {
|
|
|
+ if (item.checkStatus!==1&&!item.hasSelect) {
|
|
|
hasSelectAll = false
|
|
|
}
|
|
|
|
|
|
- // console.log(item)
|
|
|
// <td class="recordScoreOperaBtn textCenter" style="opacity:${hasData('FUNC000017')?'1':'0.5'}">评分</td>
|
|
|
+ icon=item.checkStatus===1?iconDisCheck:iconUnCheck; //已核查的不可评分显示禁用图标
|
|
|
str += `
|
|
|
<tr data-index=${i}>
|
|
|
- <td class="scoreOperaItem textCenter">${item.hasSelect ? `<img class="iconCheck" src=${iconCheck} />` : `<img class="iconCheck" src=${iconUnCheck} />`}</td>
|
|
|
+ <td class="scoreOperaItem ${item.checkStatus===1?'disabled':''} textCenter">${item.hasSelect ? `<img class="iconCheck" src=${iconCheck} />` : `<img class="iconCheck" src=${icon} />`}</td>
|
|
|
`
|
|
|
// console.log(item.hasSelect)
|
|
|
for (let j = 0; j < pageSet.length; j++) {
|
|
@@ -348,23 +349,6 @@ function renderTab(data, hisId) {
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
- // <td >${item.behospitalCode || "-"}</td>
|
|
|
- // <td>${item.fileCode || "-"}</td>
|
|
|
- // <td class="textCenter"><span data-index=${i} class="patientNameSpan">${item.name || "-"}<span></td>
|
|
|
- // <td class="textCenter">${item.sex || "-"}</td>
|
|
|
- // <td class="textCenter">${item.age || "-"}</td>
|
|
|
- // <td class="textCenter">${item.bedCode || "-"}</td>
|
|
|
- // <td class="textCenter">${item.behospitalDate&&item.behospitalDate.slice(0,10) || "-"}</td>
|
|
|
- // <td class="textCenter">${item.leaveHospitalDate&&item.leaveHospitalDate.slice(0,10)|| "-"}</td>
|
|
|
- // <td class="textCenter">${item.diagnose|| "-"}</td>
|
|
|
- // <td class="textCenter">${item.behDoctorName || "-"}</td>
|
|
|
- // <td class="textCenter">${item.doctorName || "-"}</td>
|
|
|
- // <td class="textCenter">${item.directorDoctorName || "-"}</td>
|
|
|
- // <td class="textCenter">${item.behDeptName || "-"}</td>
|
|
|
- // <td class="textCenter">${item.level || "-"}</td>
|
|
|
- // <td class="textCenter">${item.scoreRes || "-"}</td>
|
|
|
- // <td class="textCenter">${item.gradeTime&&item.gradeTime.slice(0,10) || "-"}</td>
|
|
|
-
|
|
|
str += "</tr>"
|
|
|
}
|
|
|
if (data.length === 0) {
|