|
@@ -113,6 +113,16 @@
|
|
<!-- <el-checkbox v-model="scope.row.isUsed" :value ="scope.row.isUsed" :disabled="getIsUsed(scope.row)" true-label="1" false-label="0">{{scope.row.isUsed}}</el-checkbox> -->
|
|
<!-- <el-checkbox v-model="scope.row.isUsed" :value ="scope.row.isUsed" :disabled="getIsUsed(scope.row)" true-label="1" false-label="0">{{scope.row.isUsed}}</el-checkbox> -->
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
|
+ <el-table-column
|
|
|
|
+ prop="address"
|
|
|
|
+ label="单项否决"
|
|
|
|
+ width="120"
|
|
|
|
+ show-overflow-tooltip>
|
|
|
|
+ <template slot-scope="scope">
|
|
|
|
+ <span class="checkUsed" :class="{'active': scope.row.isReject == 1,'disabled': getDisabled(scope.row,item.remark)}" @click="checkReject(scope.row,index,scope.$index,item.remark)"></span>
|
|
|
|
+ <!-- <el-checkbox v-model="scope.row.isUsed" :value ="scope.row.isUsed" :disabled="getIsUsed(scope.row)" true-label="1" false-label="0">{{scope.row.isUsed}}</el-checkbox> -->
|
|
|
|
+ </template>
|
|
|
|
+ </el-table-column>
|
|
</el-table>
|
|
</el-table>
|
|
</el-collapse-item>
|
|
</el-collapse-item>
|
|
</el-collapse>
|
|
</el-collapse>
|
|
@@ -216,6 +226,21 @@
|
|
const values = Object.values(this.checkAllMap)
|
|
const values = Object.values(this.checkAllMap)
|
|
this.toggleSelection(values)
|
|
this.toggleSelection(values)
|
|
},
|
|
},
|
|
|
|
+ checkReject(row,index,ii,remark){
|
|
|
|
+ if(this.getDisabled(row,remark)){
|
|
|
|
+ return
|
|
|
|
+ }
|
|
|
|
+ let isReject = this.caseLIst[index].qcCasesEntry[ii].isReject
|
|
|
|
+ const caseLIstCopy = JSON.parse(JSON.stringify(this.caseLIst))
|
|
|
|
+ if(isReject == 1){
|
|
|
|
+ caseLIstCopy[index].qcCasesEntry[ii].isReject = 0
|
|
|
|
+ }else{
|
|
|
|
+ caseLIstCopy[index].qcCasesEntry[ii].isReject = 1
|
|
|
|
+ }
|
|
|
|
+ this.caseLIst = caseLIstCopy
|
|
|
|
+ const values = Object.values(this.checkAllMap)
|
|
|
|
+ this.toggleSelection(values)
|
|
|
|
+ },
|
|
handleSelectionChange(val,remark) {
|
|
handleSelectionChange(val,remark) {
|
|
this.checkAllMap[remark] = val;
|
|
this.checkAllMap[remark] = val;
|
|
},
|
|
},
|
|
@@ -248,6 +273,7 @@
|
|
for(let i = 0; i < caseLIstCopy.length; i++){
|
|
for(let i = 0; i < caseLIstCopy.length; i++){
|
|
for(let j = 0; j < caseLIstCopy[i].qcCasesEntry.length; j++){
|
|
for(let j = 0; j < caseLIstCopy[i].qcCasesEntry.length; j++){
|
|
caseLIstCopy[i].qcCasesEntry[j].isUsed = 0
|
|
caseLIstCopy[i].qcCasesEntry[j].isUsed = 0
|
|
|
|
+ caseLIstCopy[i].qcCasesEntry[j].isReject = 0
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
@@ -309,6 +335,7 @@
|
|
recordItem.score = checkedItem.score
|
|
recordItem.score = checkedItem.score
|
|
recordItem.msg = checkedItem.msg
|
|
recordItem.msg = checkedItem.msg
|
|
recordItem.isUsed = checkedItem.isUsed
|
|
recordItem.isUsed = checkedItem.isUsed
|
|
|
|
+ recordItem.isReject = checkedItem.isReject
|
|
recordItem.modeName = checkedItem.modeName
|
|
recordItem.modeName = checkedItem.modeName
|
|
this.checkAllMap[caseItem.remark].push(recordItem)
|
|
this.checkAllMap[caseItem.remark].push(recordItem)
|
|
}
|
|
}
|
|
@@ -364,7 +391,8 @@
|
|
"msg": value.msg||"",
|
|
"msg": value.msg||"",
|
|
"remark": value.remark,
|
|
"remark": value.remark,
|
|
"score": Number(value.score),
|
|
"score": Number(value.score),
|
|
- "isUsed":value.isUsed||0
|
|
|
|
|
|
+ "isUsed":value.isUsed||0,
|
|
|
|
+ "isReject":value.isReject||0
|
|
}
|
|
}
|
|
casesEntryHospitals.push(item)
|
|
casesEntryHospitals.push(item)
|
|
}
|
|
}
|
|
@@ -490,7 +518,7 @@
|
|
background: #fff;
|
|
background: #fff;
|
|
padding: 20px 20px 50px;
|
|
padding: 20px 20px 50px;
|
|
color: #545455;
|
|
color: #545455;
|
|
- min-width: 1200px;
|
|
|
|
|
|
+ min-width: 1300px;
|
|
position: relative;
|
|
position: relative;
|
|
.short-inp{
|
|
.short-inp{
|
|
width: 200px;
|
|
width: 200px;
|