update: 大屏接口

This commit is contained in:
xf
2025-07-10 13:42:16 +08:00
parent b56efa9f7f
commit 8a386eba5b
+38 -10
View File
@@ -388,6 +388,13 @@ const towRcolumn1 = [
title: 'BMI是否异常', title: 'BMI是否异常',
dataIndex: 'bmiFlag', dataIndex: 'bmiFlag',
key: 'bmiFlag', key: 'bmiFlag',
customRender: ({ text }) => {
if (text == '1') {
return '是';
} else {
return '否';
}
},
}, },
{ {
title: '腰围(cm)', title: '腰围(cm)',
@@ -430,6 +437,13 @@ const towRcolumn2 = [
title: '血糖是否异常', title: '血糖是否异常',
dataIndex: 'bmiFlag', dataIndex: 'bmiFlag',
key: 'bmiFlag', key: 'bmiFlag',
customRender: ({ text }) => {
if (text == '1') {
return '是';
} else {
return '否';
}
},
}, },
{ {
title: '腰围(cm)', title: '腰围(cm)',
@@ -465,28 +479,42 @@ const towRcolumn3 = [
}, },
{ {
title: '收缩压(mmHg)', title: '收缩压(mmHg)',
dataIndex: 'height', dataIndex: 'sbp',
key: 'height', key: 'sbp',
}, },
{ {
title: '收缩压是否异常', title: '收缩压是否异常',
dataIndex: 'weight', dataIndex: 'sbpFlag',
key: 'weight', key: 'sbpFlag',
customRender: ({ text }) => {
if (text == '1') {
return '是';
} else {
return '否';
}
},
}, },
{ {
title: '舒张压(mmHg)', title: '舒张压(mmHg)',
dataIndex: 'bmi', dataIndex: 'dbp',
key: 'bmi', key: 'dbp',
}, },
{ {
title: '舒张压是否异常', title: '舒张压是否异常',
dataIndex: 'bmiException', dataIndex: 'dbpFlag',
key: 'bmiException', key: 'dbpFlag',
customRender: ({ text }) => {
if (text == '1') {
return '是';
} else {
return '否';
}
},
}, },
{ {
title: '填报日期', title: '填报日期',
dataIndex: 'createTime', dataIndex: 'inputDate',
key: 'createTime', key: 'inputDate',
}, },
]; ];
export function twoRform(type) { export function twoRform(type) {