更新
This commit is contained in:
@@ -129,7 +129,7 @@
|
||||
@current-change="handleCurrentChange"/>
|
||||
</div>
|
||||
</el-card>
|
||||
<el-card>
|
||||
<el-card v-show="groupName!=='MX'">
|
||||
<el-table
|
||||
:data="tableData10"
|
||||
:cell-class-name="cell"
|
||||
@@ -472,13 +472,13 @@ export default {
|
||||
methods: {
|
||||
cell({ row, column, rowIndex, columnIndex }) {
|
||||
if (row.对比类型 === 1 && columnIndex === 2) {
|
||||
return 'rgb196'
|
||||
return 'ContrastMaterial1'
|
||||
}
|
||||
if (row.对比类型 === 3 && columnIndex === 1) {
|
||||
return 'rgb196'
|
||||
return 'ContrastMaterial1'
|
||||
}
|
||||
if (row.对比类型 === 4 && columnIndex === 3) {
|
||||
return 'rgb196'
|
||||
return 'ContrastMaterial1'
|
||||
}
|
||||
},
|
||||
async fetchData() {
|
||||
@@ -784,9 +784,9 @@ export default {
|
||||
.el-table .warning-row {
|
||||
background: red;
|
||||
}
|
||||
/*.rgb196{*/
|
||||
/* background: palevioletred !important;*/
|
||||
/*}*/
|
||||
.ContrastMaterial1{
|
||||
background: palevioletred !important;
|
||||
}
|
||||
</style>
|
||||
|
||||
<style scoped>
|
||||
|
||||
Reference in New Issue
Block a user