修改接口

master
夜笙歌 11 months ago
parent e63956dfd8
commit 440d476ce7

@ -8,6 +8,7 @@
:data="tableData"
header-cell-style="text-align:center;background-color:#57c9cd;color:#fff"
cell-style="text-align:center"
:row-style="tableRowStyle"
style="width: 100%">
<el-table-column
prop="ROWSEQ"
@ -342,7 +343,18 @@ export default {
}
})
},
methods: {}
methods: {
tableRowStyle({row, rowIndex}) {
console.log(row)
if (row.STATUS === 1) {
console.log(123)
return {'background-color': 'red',color:'#fff'};
} else {
console.log(456)
return {}
}
}
}
}
</script>

Loading…
Cancel
Save