diff --git a/src/pages/health/statistic/doctorStatistic/index.vue b/src/pages/health/statistic/doctorStatistic/index.vue index 9ca2a00..ee2cd57 100644 --- a/src/pages/health/statistic/doctorStatistic/index.vue +++ b/src/pages/health/statistic/doctorStatistic/index.vue @@ -264,7 +264,7 @@ onLoad(() => { function formatMultiLineData(data) { if (data != null) { - return data.replace(//g, '') + return data.replace(//g, '\n') } } function dictStr(val, arr) { diff --git a/src/pages/health/statistic/healthStatistic/index.vue b/src/pages/health/statistic/healthStatistic/index.vue index 8d8fed6..44af80c 100644 --- a/src/pages/health/statistic/healthStatistic/index.vue +++ b/src/pages/health/statistic/healthStatistic/index.vue @@ -278,7 +278,7 @@ onLoad(() => { function formatMultiLineData(data) { if (data != null) { - return data.replace(//g, '') + return data.replace(//g, '\n') } } function openOrCloseDate(data) { diff --git a/src/pages/health/statistic/marStatistic/index.vue b/src/pages/health/statistic/marStatistic/index.vue index 9dd9a09..7ff44b0 100644 --- a/src/pages/health/statistic/marStatistic/index.vue +++ b/src/pages/health/statistic/marStatistic/index.vue @@ -333,7 +333,7 @@ onLoad(() => { function formatMultiLineData(data) { if (data != null) { - return data.replace(//g, '') + return data.replace(//g, '\n') } } function openOrCloseDate(data) { diff --git a/src/pages/health/statistic/temperatureStatistic/index.vue b/src/pages/health/statistic/temperatureStatistic/index.vue index 08aa2f0..47869fe 100644 --- a/src/pages/health/statistic/temperatureStatistic/index.vue +++ b/src/pages/health/statistic/temperatureStatistic/index.vue @@ -106,7 +106,7 @@
-
正常次数(小于36.9℃)
+
正常( <36.9℃)
{{ temp.normalTempCount }}
@@ -129,7 +129,7 @@
-
高烧(大于38.5℃)
+
高烧(>38.5℃)
{{ temp.higherTempCount }}
@@ -141,7 +141,7 @@ + :text="item.name+' '+item.time+' 测量 '+item.count+' 次'" size="30rpx" color="#333333" > 最高体温: @@ -156,7 +156,7 @@ {{ item.average+" ℃"}} - 测量明细: + 测量明细:
{{ formatMultiLineData(item.detail)}}
@@ -240,7 +240,7 @@ onLoad(() => { function formatMultiLineData(data) { if (data != null) { - return data.replace(//g, '') + return data.replace(//g, '\n') } } function openOrCloseDate(data) {