|
@@ -84,7 +84,8 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <el-table :data="monthQuarterYearData" style="width: 100%" ref="monthQuarterYearTT" :border="true" >
|
|
|
+ <el-table :data="monthQuarterYearData" style="width: 100%" ref="monthQuarterYearTT"
|
|
|
+ :row-class-name="tableRowClassName" :border="true" >
|
|
|
<el-table-column type="index" label="排名" align="center"></el-table-column>
|
|
|
<el-table-column label="考评单位" prop="organizationShortName" width="300">
|
|
|
<template #default="scope">
|
|
@@ -228,6 +229,11 @@ export default {
|
|
|
this.getModelData(type)
|
|
|
this.rowMsg = row
|
|
|
},
|
|
|
+ tableRowClassName(row, rowIndex) {
|
|
|
+ if (!row.row.valueFlag) {
|
|
|
+ return 'error-row'
|
|
|
+ }
|
|
|
+ },
|
|
|
sortMethods(a, b, it) {
|
|
|
if (a[it] < b[it]) {
|
|
|
return -1
|
|
@@ -637,7 +643,7 @@ export default {
|
|
|
}
|
|
|
span{
|
|
|
display: inline-block;
|
|
|
- width: 100%;
|
|
|
+ width: 50%;
|
|
|
font-size: 14px;
|
|
|
font-family: Microsoft YaHei;
|
|
|
font-weight: 400;
|
|
@@ -695,11 +701,17 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
.el-table__body{
|
|
|
- tr{
|
|
|
+ .error-row {
|
|
|
+ --el-table-tr-bg-color: #fdecec;
|
|
|
+ &:hover > td{
|
|
|
+ background: #fdecec !important;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .tr{
|
|
|
td{
|
|
|
padding: 0;
|
|
|
.cell{
|
|
|
- background: #F6F7FA;
|
|
|
+ // background: #F6F7FA;
|
|
|
line-height: 47px;
|
|
|
height: 47px;
|
|
|
}
|
|
@@ -709,15 +721,6 @@ export default {
|
|
|
height: 45px;
|
|
|
}
|
|
|
}
|
|
|
- // .el-select{
|
|
|
- // .el-input{
|
|
|
- // .el-input__wrapper{
|
|
|
- // .el-input__inner{
|
|
|
- // color: red;
|
|
|
- // }
|
|
|
- // }
|
|
|
- // }
|
|
|
- // }
|
|
|
}
|
|
|
}
|
|
|
}
|