[update] 变更扩展
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
:data-source="dataSource"
|
||||
:loading="loading"
|
||||
:columns="columns"
|
||||
:rowClassName="rowClassName"
|
||||
:components="components"
|
||||
@change="tableOnChange"
|
||||
@onHeaderRow='onHeaderRow'
|
||||
@@ -231,6 +232,9 @@
|
||||
mounted() {
|
||||
},
|
||||
methods: {
|
||||
rowClassName(row,index) {
|
||||
return row.changeFlag == '1'? 'yellow' : 'red'
|
||||
},
|
||||
// 查看配置详细信息
|
||||
onClickSee(val) {
|
||||
let _this = this
|
||||
@@ -574,5 +578,10 @@
|
||||
.resize-table-th {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
/deep/.ant-table-tbody .yellow {
|
||||
background-color: #ffff001f !important;
|
||||
height: 40px !important;
|
||||
border: none !important;
|
||||
padding: 0 !important;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user