遗传病风险字段修改

This commit is contained in:
liupengcheng
2024-09-23 17:31:50 +08:00
parent b0313a37c7
commit ed8bafd9d1

View File

@@ -174,7 +174,7 @@ export default {
// 当监测结果为 已携带 的状态,加上背景色,字体颜色
cellStyle({ row, column, rowIndex, columnIndex }) {
// 注意,这里返回的是一个对象
if (row.result == '携带' && column.label == '测结果') {
if (row.result == '携带' && column.label == '测结果') {
return 'background:#d9001b;textAlign: center;color:#fff;'
} else {
return 'textAlign: center'