修复兼容老版本心电图的方案
This commit is contained in:
parent
a0b1937da4
commit
c81abbb88f
|
|
@ -1,6 +1,6 @@
|
||||||
<template>
|
<template>
|
||||||
<view>
|
<view>
|
||||||
<view class="flx_sb flx flx_ac xxd-list">
|
<view class="flx_sb flx flx_ac xxd-list" v-if="datas.val != 0">
|
||||||
<view class="">
|
<view class="">
|
||||||
<view class="name">
|
<view class="name">
|
||||||
{{datas.name }}
|
{{datas.name }}
|
||||||
|
|
|
||||||
|
|
@ -53,7 +53,7 @@
|
||||||
{{ item.data_msg[4] ? item.data_msg[4] : ''}}
|
{{ item.data_msg[4] ? item.data_msg[4] : ''}}
|
||||||
</view>
|
</view>
|
||||||
<view v-if="type == 'bloodLiquid' && desc == 'uricAcidVal'">
|
<view v-if="type == 'bloodLiquid' && desc == 'uricAcidVal'">
|
||||||
{{item.data_msg.uricAcidVal / 10}} 微摩尔/升
|
{{(item.data_msg.uricAcidVal / 10).toFixed(2)}} 微摩尔/升
|
||||||
</view>
|
</view>
|
||||||
<view v-if="type == 'meiTuo'">
|
<view v-if="type == 'meiTuo'">
|
||||||
{{item.data_msg[0] / 10}} MET
|
{{item.data_msg[0] / 10}} MET
|
||||||
|
|
|
||||||
|
|
@ -202,7 +202,7 @@
|
||||||
max:0,
|
max:0,
|
||||||
unit:'向上,向下',
|
unit:'向上,向下',
|
||||||
min:0,
|
min:0,
|
||||||
val:'向上'
|
val:0
|
||||||
},
|
},
|
||||||
st:{
|
st:{
|
||||||
name:'ST 段振幅',
|
name:'ST 段振幅',
|
||||||
|
|
@ -326,8 +326,22 @@
|
||||||
this.xinlv.cankao[0].times = (heart_zc / heart_length).toFixed(2) * 100
|
this.xinlv.cankao[0].times = (heart_zc / heart_length).toFixed(2) * 100
|
||||||
this.xinlv.cankao[1].times = (heart_fast / heart_length).toFixed(2) * 100
|
this.xinlv.cankao[1].times = (heart_fast / heart_length).toFixed(2) * 100
|
||||||
this.xinlv.cankao[2].times = (heart_slow / heart_length).toFixed(2) * 100
|
this.xinlv.cankao[2].times = (heart_slow / heart_length).toFixed(2) * 100
|
||||||
this.ybx.hrv.val = data.data_msg.averageHRV
|
if(data.data_msg.hrv != undefined){
|
||||||
this.xdt.qtc.val = data.data_msg.averageTimeInterval
|
this.ybx.hrv.val = data.data_msg.hrv
|
||||||
|
this.ybx.sdnn.val = data.data_msg.diseaseSdnn
|
||||||
|
this.ybx.rmssd.val = data.data_msg.diseaseRmssd
|
||||||
|
this.xdt.pwv.val = (data.data_msg.pwvMeanVal/10).toFixed(2)
|
||||||
|
this.xdt.qtc.val = data.data_msg.QTC
|
||||||
|
this.xdt.qsrf.val = (data.data_msg.qrsAmp / 100).toFixed(2)
|
||||||
|
this.xdt.qsrx.val = data.data_msg.qrsTime
|
||||||
|
this.xdt.qsrfx.val = data.data_msg.leadOffType == 0?'向上':'向下'
|
||||||
|
this.xdt.st.val = (data.data_msg.stMeanVal / 100).toFixed(2)
|
||||||
|
}else{
|
||||||
|
console.log('is undefined')
|
||||||
|
this.ybx.hrv.val = data.data_msg.averageHRV
|
||||||
|
this.xdt.qtc.val = data.data_msg.averageTimeInterval
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -188,7 +188,7 @@
|
||||||
<view class="date">
|
<view class="date">
|
||||||
<view class="flex_data">
|
<view class="flex_data">
|
||||||
<view class="f_left">
|
<view class="f_left">
|
||||||
{{dataListsNew.ECGData.data_msg? (dataListsNew.ECGData.data_msg.meanHeartRate ) : '--'}}
|
{{dataListsNew.ECGData.data_msg? (dataListsNew.ECGData.data_msg.heartRate ) : '--'}}
|
||||||
</view>
|
</view>
|
||||||
<view class="f_right">
|
<view class="f_right">
|
||||||
<text class="icon">次/分</text>
|
<text class="icon">次/分</text>
|
||||||
|
|
|
||||||
|
|
@ -1,2 +1,2 @@
|
||||||
<!DOCTYPE html><html lang=zh-CN><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><title>智能终端</title><script>var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') || CSS.supports('top: constant(a)'))
|
<!DOCTYPE html><html lang=zh-CN><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><title>智能终端</title><script>var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') || CSS.supports('top: constant(a)'))
|
||||||
document.write('<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + (coverSupport ? ', viewport-fit=cover' : '') + '" />')</script><link rel=stylesheet href=/watchapp/static/index.2da1efab.css></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><div id=app></div><script src=/watchapp/static/js/chunk-vendors.48364482.js></script><script src=/watchapp/static/js/index.b2305018.js></script></body></html>
|
document.write('<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + (coverSupport ? ', viewport-fit=cover' : '') + '" />')</script><link rel=stylesheet href=/watchapp/static/index.2da1efab.css></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><div id=app></div><script src=/watchapp/static/js/chunk-vendors.48364482.js></script><script src=/watchapp/static/js/index.28b0c912.js></script></body></html>
|
||||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue