aa
This commit is contained in:
@@ -27,6 +27,7 @@
|
||||
<el-card>
|
||||
<el-table
|
||||
:data="tableData1"
|
||||
:row-class-name="tableRowClassName"
|
||||
loading="loading"
|
||||
class="table"
|
||||
style="max-height: 830px"
|
||||
@@ -321,11 +322,12 @@ export default {
|
||||
// this.isShow = true
|
||||
// }
|
||||
// },
|
||||
// 完成日期变色
|
||||
tableRowClassName({ row, rowIndex }) {
|
||||
// row.index = rowIndex
|
||||
// if (row.完成日期 === '') {
|
||||
return 'CJPClingjianjinxing'
|
||||
// }
|
||||
row.index = rowIndex
|
||||
if (row.完成日期 !== '') {
|
||||
return 'CompleteColor'
|
||||
}
|
||||
},
|
||||
handleSizeChange(val) {
|
||||
this.pageSize = val
|
||||
@@ -340,7 +342,7 @@ export default {
|
||||
</script>
|
||||
|
||||
<style>
|
||||
.CJPClingjianjinxing{
|
||||
.CompleteColor{
|
||||
background: #9bd7fc !important;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user