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