update
This commit is contained in:
+4
-48
@@ -14,9 +14,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="body-d">
|
<div class="body-d">
|
||||||
<div class="body-d-left">
|
<div class="body-d-left">
|
||||||
<template v-for="(item, index) in dataList" :key="`list${index}`">
|
<screen-left/>
|
||||||
<item-d :title="item.title" :data="item.data" :tips="item.tips" :color="item.color" />
|
|
||||||
</template>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="body-d-middle">
|
<div class="body-d-middle">
|
||||||
<SecondMap :orgCode="orgCode" :type="type">
|
<SecondMap :orgCode="orgCode" :type="type">
|
||||||
@@ -28,7 +26,8 @@
|
|||||||
:options="option"
|
:options="option"
|
||||||
:field-names="fieldNames"
|
:field-names="fieldNames"
|
||||||
></a-select>
|
></a-select>
|
||||||
<a-select placeholder="选择时间范围" v-model:value="type" class="type-select" :options="timeRangeOption"></a-select>
|
<a-select placeholder="选择时间范围" v-model:value="type" class="type-select"
|
||||||
|
:options="timeRangeOption"></a-select>
|
||||||
</template>
|
</template>
|
||||||
</SecondMap>
|
</SecondMap>
|
||||||
</div>
|
</div>
|
||||||
@@ -48,55 +47,12 @@
|
|||||||
import TwoR from '/@/components/secondaryScreen/screen-right/twoR.vue';
|
import TwoR from '/@/components/secondaryScreen/screen-right/twoR.vue';
|
||||||
import ThreeR from '/@/components/secondaryScreen/screen-right/threeR.vue';
|
import ThreeR from '/@/components/secondaryScreen/screen-right/threeR.vue';
|
||||||
import SecondMap from '/@/components/secondaryScreen/secondMap/secondMap';
|
import SecondMap from '/@/components/secondaryScreen/secondMap/secondMap';
|
||||||
|
import screenLeft from '/@/components/secondaryScreen/screen-left/screenLeft.vue';
|
||||||
import router from '/@/router';
|
import router from '/@/router';
|
||||||
import ItemD from '/@/components/item-d/item-d.vue';
|
|
||||||
import {useDepart, useTimeType} from '/@/components/secondaryScreen/secondMap/secondMapHooks.ts';
|
import {useDepart, useTimeType} from '/@/components/secondaryScreen/secondMap/secondMapHooks.ts';
|
||||||
import {useTopTime} from '/@/utils/utils.ts';
|
import {useTopTime} from '/@/utils/utils.ts';
|
||||||
|
|
||||||
const dayTimeT = ref();
|
const dayTimeT = ref();
|
||||||
const dataList = ref([
|
|
||||||
{
|
|
||||||
title: '心率',
|
|
||||||
data: [
|
|
||||||
{ name: '正常', value: 234 },
|
|
||||||
{ name: '警戒', value: 204 },
|
|
||||||
{ name: '危险', value: 34 },
|
|
||||||
],
|
|
||||||
color: ['#0098FA', '#FF6648', '#FB466C'],
|
|
||||||
tips: '正常范围60~100次/分',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
title: '血氧',
|
|
||||||
data: [
|
|
||||||
{ name: '正常', value: 234 },
|
|
||||||
{ name: '警戒', value: 204 },
|
|
||||||
{ name: '危险', value: 34 },
|
|
||||||
],
|
|
||||||
color: ['#0098FA', '#FF6648', '#FB466C'],
|
|
||||||
tips: '血氧饱和度范围95%~100%',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
title: '压力',
|
|
||||||
data: [
|
|
||||||
{ name: '正常', value: 234 },
|
|
||||||
{ name: '放松', value: 204 },
|
|
||||||
{ name: '中等', value: 34 },
|
|
||||||
{ name: '偏高', value: 78 },
|
|
||||||
],
|
|
||||||
color: ['#1DCC79', '#0098FA', '#0CD9B5', '#6C63F0'],
|
|
||||||
tips: '',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
title: '体温',
|
|
||||||
data: [
|
|
||||||
{ name: '37.2', value: 234 },
|
|
||||||
{ name: '37.2-38', value: 204 },
|
|
||||||
{ name: '>38', value: 34 },
|
|
||||||
],
|
|
||||||
color: ['#0098FA', '#0CD9B5', '#3B72AD'],
|
|
||||||
tips: '',
|
|
||||||
},
|
|
||||||
]);
|
|
||||||
|
|
||||||
function init() {
|
function init() {
|
||||||
getTime();
|
getTime();
|
||||||
|
|||||||
Reference in New Issue
Block a user