修改指标检测
This commit is contained in:
parent
e22c1c606c
commit
3f86ff53e5
@ -1,8 +1,13 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="header">
|
<div class="header">
|
||||||
<div class="leftheader">
|
<div class="leftheader">
|
||||||
<div class="item" v-for="(item, index) in categorylist" :key="item.id" @click="clickcategory(item, index)"
|
<div
|
||||||
:class="index == categoryindex ? 'selectitem' : ''">
|
class="item"
|
||||||
|
v-for="(item, index) in categorylist"
|
||||||
|
:key="item.id"
|
||||||
|
@click="clickcategory(item, index)"
|
||||||
|
:class="index == categoryindex ? 'selectitem' : ''"
|
||||||
|
>
|
||||||
<div class="name">
|
<div class="name">
|
||||||
{{ item.title }}
|
{{ item.title }}
|
||||||
</div>
|
</div>
|
||||||
@ -10,11 +15,19 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="rightheader">
|
<div class="rightheader">
|
||||||
<div class="time">
|
<div class="time">
|
||||||
<el-date-picker v-model="measureTime" type="daterange" range-separator="至" start-placeholder="开始日期"
|
<el-date-picker
|
||||||
:clearable="false" value-format="yyyy-MM-dd" :picker-options="pickerOptions" end-placeholder="结束日期">
|
v-model="measureTime"
|
||||||
|
type="daterange"
|
||||||
|
range-separator="至"
|
||||||
|
start-placeholder="开始日期"
|
||||||
|
:clearable="false"
|
||||||
|
value-format="yyyy-MM-dd"
|
||||||
|
:picker-options="pickerOptions"
|
||||||
|
end-placeholder="结束日期"
|
||||||
|
>
|
||||||
</el-date-picker>
|
</el-date-picker>
|
||||||
</div>
|
</div>
|
||||||
<div id="main"></div>
|
<div id="main" style="height:50%"></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
@ -28,6 +41,7 @@ export default {
|
|||||||
name: "indicatorMonitoring",
|
name: "indicatorMonitoring",
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
Height:'',
|
||||||
pickerOptions: {
|
pickerOptions: {
|
||||||
disabledDate(time) {
|
disabledDate(time) {
|
||||||
return time.getTime() > Date.now(); //禁止选择今天以后的时间
|
return time.getTime() > Date.now(); //禁止选择今天以后的时间
|
||||||
@ -86,12 +100,14 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
info(row) {
|
info(row) {
|
||||||
|
console.log(row, 'row')
|
||||||
// 基于准备好的dom,初始化echarts实例
|
// 基于准备好的dom,初始化echarts实例
|
||||||
var chartDom = document.getElementById('main');
|
var chartDom = document.getElementById('main');
|
||||||
var myChart = echarts.init(chartDom);
|
var myChart = echarts.init(chartDom);
|
||||||
var option;
|
var option;
|
||||||
if (this.query.title == '运动检测') {
|
if (this.query.title == '运动检测') {
|
||||||
option = {
|
option = {
|
||||||
|
|
||||||
title: {
|
title: {
|
||||||
text: this.query.title
|
text: this.query.title
|
||||||
},
|
},
|
||||||
@ -103,7 +119,7 @@ export default {
|
|||||||
grid: {
|
grid: {
|
||||||
left: '3%',
|
left: '3%',
|
||||||
right: '4%',
|
right: '4%',
|
||||||
bottom: '0%',
|
bottom: '2%',
|
||||||
containLabel: true
|
containLabel: true
|
||||||
},
|
},
|
||||||
xAxis: {
|
xAxis: {
|
||||||
@ -112,7 +128,9 @@ export default {
|
|||||||
data: row.xlist
|
data: row.xlist
|
||||||
},
|
},
|
||||||
yAxis: {
|
yAxis: {
|
||||||
type: 'value'
|
type: 'value',
|
||||||
|
min: 0,
|
||||||
|
max: 100,
|
||||||
},
|
},
|
||||||
series: [
|
series: [
|
||||||
{
|
{
|
||||||
@ -140,7 +158,7 @@ export default {
|
|||||||
grid: {
|
grid: {
|
||||||
left: '3%',
|
left: '3%',
|
||||||
right: '4%',
|
right: '4%',
|
||||||
bottom: '0%',
|
bottom: '2%',
|
||||||
containLabel: true
|
containLabel: true
|
||||||
},
|
},
|
||||||
xAxis: {
|
xAxis: {
|
||||||
@ -149,7 +167,9 @@ export default {
|
|||||||
data: row.xlist
|
data: row.xlist
|
||||||
},
|
},
|
||||||
yAxis: {
|
yAxis: {
|
||||||
type: 'value'
|
type: 'value',
|
||||||
|
min: 0,
|
||||||
|
max: 100,
|
||||||
},
|
},
|
||||||
series: [
|
series: [
|
||||||
{
|
{
|
||||||
@ -177,7 +197,7 @@ export default {
|
|||||||
grid: {
|
grid: {
|
||||||
left: '3%',
|
left: '3%',
|
||||||
right: '4%',
|
right: '4%',
|
||||||
bottom: '0%',
|
bottom: '2%',
|
||||||
containLabel: true
|
containLabel: true
|
||||||
},
|
},
|
||||||
xAxis: {
|
xAxis: {
|
||||||
@ -186,7 +206,9 @@ export default {
|
|||||||
data: row.xlist
|
data: row.xlist
|
||||||
},
|
},
|
||||||
yAxis: {
|
yAxis: {
|
||||||
type: 'value'
|
type: 'value',
|
||||||
|
min: 0,
|
||||||
|
max: 100,
|
||||||
},
|
},
|
||||||
series: [
|
series: [
|
||||||
{
|
{
|
||||||
@ -210,11 +232,10 @@ export default {
|
|||||||
display: flex;
|
display: flex;
|
||||||
height: calc(100vh - 84px);
|
height: calc(100vh - 84px);
|
||||||
|
|
||||||
|
|
||||||
.rightheader {
|
.rightheader {
|
||||||
width: 75%;
|
width: 75%;
|
||||||
padding-top: 20px;
|
padding-top: 20px;
|
||||||
border-left: 3px solid #DFE4ED;
|
border-left: 3px solid #dfe4ed;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
.time {
|
.time {
|
||||||
@ -241,7 +262,7 @@ export default {
|
|||||||
overflow-x: hidden !important;
|
overflow-x: hidden !important;
|
||||||
|
|
||||||
.selectitem {
|
.selectitem {
|
||||||
background-color: #D2E9FC;
|
background-color: #d2e9fc;
|
||||||
border-left: 2px solid #1890ff !important;
|
border-left: 2px solid #1890ff !important;
|
||||||
border-bottom: 1px solid #fff !important;
|
border-bottom: 1px solid #fff !important;
|
||||||
}
|
}
|
||||||
@ -250,7 +271,7 @@ export default {
|
|||||||
padding: 25px 10px;
|
padding: 25px 10px;
|
||||||
position: relative;
|
position: relative;
|
||||||
border-left: 2px solid #fff;
|
border-left: 2px solid #fff;
|
||||||
border-bottom: 1px solid #E7E7E7;
|
border-bottom: 1px solid #e7e7e7;
|
||||||
|
|
||||||
.name {
|
.name {
|
||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
|
|||||||
@ -7,14 +7,17 @@
|
|||||||
src="../../../assets/manage/touxiang.png"
|
src="../../../assets/manage/touxiang.png"
|
||||||
alt=""
|
alt=""
|
||||||
v-if="$route.query.sex == 'MALE'"
|
v-if="$route.query.sex == 'MALE'"
|
||||||
|
@click="shiftCollapsiable"
|
||||||
/>
|
/>
|
||||||
<img
|
<img
|
||||||
class="headsculpture"
|
class="headsculpture"
|
||||||
src="../../../assets/manage/nvtouxiang.png"
|
src="../../../assets/manage/nvtouxiang.png"
|
||||||
alt=""
|
alt=""
|
||||||
v-if="$route.query.sex == 'FEMALE'"
|
v-if="$route.query.sex == 'FEMALE'"
|
||||||
|
@click="shiftCollapsiable"
|
||||||
|
|
||||||
/>
|
/>
|
||||||
<div class="name">
|
<div class="name" @click="shiftCollapsiable">
|
||||||
{{ $route.query.patientName }}
|
{{ $route.query.patientName }}
|
||||||
</div>
|
</div>
|
||||||
<div class="gender">
|
<div class="gender">
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user