|
@@ -327,15 +327,15 @@ function renderTab(data, hisId) {
|
|
|
for (let i = 0; i < data.length; i++) {
|
|
|
const item = data[i]
|
|
|
// item.hasSelect = false
|
|
|
- if (item.checkStatus!==1&&!item.hasSelect) {
|
|
|
+ if (!item.hasSelect) {
|
|
|
hasSelectAll = false
|
|
|
}
|
|
|
|
|
|
// <td class="recordScoreOperaBtn textCenter" style="opacity:${hasData('FUNC000017')?'1':'0.5'}">评分</td>
|
|
|
- icon=item.checkStatus===1?iconDisCheck:iconUnCheck; //已核查的不可评分显示禁用图标
|
|
|
+ icon=iconUnCheck; //已核查的不可评分显示禁用图标
|
|
|
str += `
|
|
|
<tr data-index=${i}>
|
|
|
- <td class="scoreOperaItem ${item.checkStatus===1?'disabled':''} textCenter">${item.hasSelect ? `<img class="iconCheck" src=${iconCheck} />` : `<img class="iconCheck" src=${icon} />`}</td>
|
|
|
+ <td class="scoreOperaItem 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++) {
|
|
@@ -500,9 +500,9 @@ function bindCheckedSelectQc() {
|
|
|
function bindScoreOperaItem() {
|
|
|
$(".scoreOperaItem").off("click").on("click", function (e) {
|
|
|
const index = $(this).parent().attr("data-index")
|
|
|
- if (tabList[index].checkStatus == 1){
|
|
|
+ /*if (tabList[index].checkStatus == 1){
|
|
|
return
|
|
|
- }
|
|
|
+ }*/
|
|
|
tabList[index].hasSelect = tabList[index].hasSelect ? false : true
|
|
|
renderTab(tabList)
|
|
|
})
|
|
@@ -528,11 +528,9 @@ function bindOperaAll() {
|
|
|
}
|
|
|
} else {
|
|
|
for (let i = 0; i < tabList.length; i++) {
|
|
|
- if (tabList[i].checkStatus == 1){
|
|
|
- tabList[i].hasSelect = false
|
|
|
- }else{
|
|
|
+
|
|
|
tabList[i].hasSelect = true
|
|
|
- }
|
|
|
+
|
|
|
}
|
|
|
}
|
|
|
renderTab(tabList)
|