fix: 健康管理系统,文字描述完善。
This commit is contained in:
@@ -215,7 +215,7 @@
|
|||||||
<div class="title">用药统计</div>
|
<div class="title">用药统计</div>
|
||||||
<div class="operate-btn-con">
|
<div class="operate-btn-con">
|
||||||
<el-radio-group v-model="radioVal" @change="handleRadioChange">
|
<el-radio-group v-model="radioVal" @change="handleRadioChange">
|
||||||
<el-radio-button label="用药分类明细" />
|
<el-radio-button label="用药明细" />
|
||||||
<!-- <el-radio-button label="按天用药明细" /> -->
|
<!-- <el-radio-button label="按天用药明细" /> -->
|
||||||
<el-radio-button label="用药次数柱状图" />
|
<el-radio-button label="用药次数柱状图" />
|
||||||
<el-radio-button label="用药次数折线图" />
|
<el-radio-button label="用药次数折线图" />
|
||||||
@@ -239,7 +239,7 @@
|
|||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table> -->
|
</el-table> -->
|
||||||
|
|
||||||
<el-table v-show="radioVal === '用药分类明细'" v-loading="loading" :data="mar.marMapList" height="calc(100% - 245px)">
|
<el-table v-show="radioVal === '用药明细'" v-loading="loading" :data="mar.marMapList" height="calc(100% - 245px)">
|
||||||
<el-table-column label="序号" width="50" type="index" align="center">
|
<el-table-column label="序号" width="50" type="index" align="center">
|
||||||
<template #default="scope">
|
<template #default="scope">
|
||||||
<span>{{ scope.$index + 1 }}</span>
|
<span>{{ scope.$index + 1 }}</span>
|
||||||
@@ -283,7 +283,7 @@ const dates = [{ value: 1, label: '日' }]
|
|||||||
const accountsList = ref([])
|
const accountsList = ref([])
|
||||||
const loading = ref(true)
|
const loading = ref(true)
|
||||||
const total = ref(0)
|
const total = ref(0)
|
||||||
const radioVal = ref('用药分类明细')
|
const radioVal = ref('用药明细')
|
||||||
const dateValidate = (rules, value, callback) => {
|
const dateValidate = (rules, value, callback) => {
|
||||||
const dateType = rules.dateType || 'days'
|
const dateType = rules.dateType || 'days'
|
||||||
const num = rules.num || 31
|
const num = rules.num || 31
|
||||||
|
|||||||
@@ -166,7 +166,7 @@
|
|||||||
<div class="title">体温统计</div>
|
<div class="title">体温统计</div>
|
||||||
<div class="operate-btn-con">
|
<div class="operate-btn-con">
|
||||||
<el-radio-group v-model="radioVal" @change="handleRadioChange">
|
<el-radio-group v-model="radioVal" @change="handleRadioChange">
|
||||||
<el-radio-button label="表格" />
|
<el-radio-button label="体温明细" />
|
||||||
<el-radio-button label="柱状图" />
|
<el-radio-button label="柱状图" />
|
||||||
<el-radio-button label="折线图" />
|
<el-radio-button label="折线图" />
|
||||||
</el-radio-group>
|
</el-radio-group>
|
||||||
@@ -175,7 +175,7 @@
|
|||||||
<div class="content-con">
|
<div class="content-con">
|
||||||
<div v-show="radioVal === '柱状图'" class="chart" id="chartBar" style="height: calc(100% - 225px); margin-top: -10px"></div>
|
<div v-show="radioVal === '柱状图'" class="chart" id="chartBar" style="height: calc(100% - 225px); margin-top: -10px"></div>
|
||||||
<div v-show="radioVal === '折线图'" class="chart" id="chartLine" style="height: calc(100% - 225px); margin-top: -10px"></div>
|
<div v-show="radioVal === '折线图'" class="chart" id="chartLine" style="height: calc(100% - 225px); margin-top: -10px"></div>
|
||||||
<el-table v-show="radioVal === '表格'" v-loading="loading" :data="temp.tableList" height="calc(100% - 245px)">
|
<el-table v-show="radioVal === '体温明细'" v-loading="loading" :data="temp.tableList" height="calc(100% - 245px)">
|
||||||
<el-table-column label="序号" width="50" type="index" align="center">
|
<el-table-column label="序号" width="50" type="index" align="center">
|
||||||
<template #default="scope">
|
<template #default="scope">
|
||||||
<span>{{ scope.$index + 1 }}</span>
|
<span>{{ scope.$index + 1 }}</span>
|
||||||
@@ -224,7 +224,7 @@ const dates = [{ value: 1, label: '日' }]
|
|||||||
const accountsList = ref([])
|
const accountsList = ref([])
|
||||||
const loading = ref(true)
|
const loading = ref(true)
|
||||||
const total = ref(0)
|
const total = ref(0)
|
||||||
const radioVal = ref('表格')
|
const radioVal = ref('体温明细')
|
||||||
const dateValidate = (rules, value, callback) => {
|
const dateValidate = (rules, value, callback) => {
|
||||||
const dateType = rules.dateType || 'days'
|
const dateType = rules.dateType || 'days'
|
||||||
const num = rules.num || 31
|
const num = rules.num || 31
|
||||||
|
|||||||
Reference in New Issue
Block a user