|
|
@ -8,6 +8,7 @@
|
|
|
|
:data="tableData"
|
|
|
|
:data="tableData"
|
|
|
|
header-cell-style="text-align:center;background-color:#57c9cd;color:#fff"
|
|
|
|
header-cell-style="text-align:center;background-color:#57c9cd;color:#fff"
|
|
|
|
cell-style="text-align:center"
|
|
|
|
cell-style="text-align:center"
|
|
|
|
|
|
|
|
:row-style="tableRowStyle"
|
|
|
|
style="width: 100%">
|
|
|
|
style="width: 100%">
|
|
|
|
<el-table-column
|
|
|
|
<el-table-column
|
|
|
|
prop="ROWSEQ"
|
|
|
|
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>
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
|
|