修改对比功能
This commit is contained in:
parent
86b167fdca
commit
97e9175c51
@ -2,8 +2,13 @@
|
|||||||
<el-dialog v-model="dialogVisible" title="历史对比" :fullscreen="true" @close="close">
|
<el-dialog v-model="dialogVisible" title="历史对比" :fullscreen="true" @close="close">
|
||||||
<div class="common-layout" style="height: 90vh">
|
<div class="common-layout" style="height: 90vh">
|
||||||
<el-container style="height: 99%">
|
<el-container style="height: 99%">
|
||||||
<el-header height="85px">
|
<el-header height="92px" style="margin-bottom: 10px">
|
||||||
<span>历史数据</span>
|
|
||||||
|
<span style="font-size: 20px"
|
||||||
|
>历史数据<span style="font-size: 15px; color: red"
|
||||||
|
>(红色的为当前数据,其余的则为历史数据)</span
|
||||||
|
></span
|
||||||
|
>
|
||||||
<div>
|
<div>
|
||||||
<el-checkbox-group v-model="transfer" :min="0" :max="2" class="mycheckbox-group">
|
<el-checkbox-group v-model="transfer" :min="0" :max="2" class="mycheckbox-group">
|
||||||
<el-checkbox
|
<el-checkbox
|
||||||
@ -12,6 +17,7 @@
|
|||||||
:label="city['snapshotTime']"
|
:label="city['snapshotTime']"
|
||||||
:value="city['snapshotTime'] + '|' + city['ecgJsonDataFilePath']"
|
:value="city['snapshotTime'] + '|' + city['ecgJsonDataFilePath']"
|
||||||
class="mycheckbox-item"
|
class="mycheckbox-item"
|
||||||
|
:class="{ highlight: city['snapshotTime'] === currenttime }"
|
||||||
@change="checkboxchage"
|
@change="checkboxchage"
|
||||||
>
|
>
|
||||||
{{ formattedDate(city['snapshotTime']) }}
|
{{ formattedDate(city['snapshotTime']) }}
|
||||||
@ -22,6 +28,9 @@
|
|||||||
<el-button type="primary" @click="contrast" :disabled="checkes"> 对比</el-button>
|
<el-button type="primary" @click="contrast" :disabled="checkes"> 对比</el-button>
|
||||||
<el-button type="primary" @click="eliminate"> 清除</el-button>
|
<el-button type="primary" @click="eliminate"> 清除</el-button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</el-header>
|
</el-header>
|
||||||
<el-container style="height: 99%">
|
<el-container style="height: 99%">
|
||||||
<el-aside width="48%">
|
<el-aside width="48%">
|
||||||
@ -53,7 +62,16 @@
|
|||||||
</el-tabs>
|
</el-tabs>
|
||||||
</el-aside>
|
</el-aside>
|
||||||
<!--左侧心电按钮区-->
|
<!--左侧心电按钮区-->
|
||||||
<div style="margin-top: 45px; margin-left: 5px; display: flex; flex-direction: column; align-items: center" v-if="isChildVisible">
|
<div
|
||||||
|
style="
|
||||||
|
margin-top: 45px;
|
||||||
|
margin-left: 5px;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
|
"
|
||||||
|
v-if="isChildVisible"
|
||||||
|
>
|
||||||
<el-dropdown placement="bottom" trigger="click" @command="handlezsCommand">
|
<el-dropdown placement="bottom" trigger="click" @command="handlezsCommand">
|
||||||
<el-button
|
<el-button
|
||||||
style="width: 30px; height: 30px; margin-bottom: 10px"
|
style="width: 30px; height: 30px; margin-bottom: 10px"
|
||||||
@ -104,9 +122,6 @@
|
|||||||
</el-button>
|
</el-button>
|
||||||
<span style="font-size: 15px; margin-bottom: 10px">测量</span>
|
<span style="font-size: 15px; margin-bottom: 10px">测量</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<el-button
|
<el-button
|
||||||
style="width: 30px; height: 30px; margin-bottom: 10px"
|
style="width: 30px; height: 30px; margin-bottom: 10px"
|
||||||
type="primary"
|
type="primary"
|
||||||
@ -146,7 +161,16 @@
|
|||||||
</el-tabs>
|
</el-tabs>
|
||||||
</el-aside>
|
</el-aside>
|
||||||
<!--右侧心电按钮区-->
|
<!--右侧心电按钮区-->
|
||||||
<div style="margin-top: 45px; margin-left: 5px; display: flex; flex-direction: column; align-items: center" v-if="isChildVisible1">
|
<div
|
||||||
|
style="
|
||||||
|
margin-top: 45px;
|
||||||
|
margin-left: 5px;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
|
"
|
||||||
|
v-if="isChildVisible1"
|
||||||
|
>
|
||||||
<el-dropdown placement="bottom" trigger="click" @command="handlezsCommandr">
|
<el-dropdown placement="bottom" trigger="click" @command="handlezsCommandr">
|
||||||
<el-button
|
<el-button
|
||||||
style="width: 30px; height: 30px; margin-bottom: 10px"
|
style="width: 30px; height: 30px; margin-bottom: 10px"
|
||||||
@ -197,9 +221,6 @@
|
|||||||
</el-button>
|
</el-button>
|
||||||
<span style="font-size: 15px; margin-bottom: 10px">测量</span>
|
<span style="font-size: 15px; margin-bottom: 10px">测量</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<el-button
|
<el-button
|
||||||
style="width: 30px; height: 30px; margin-bottom: 10px"
|
style="width: 30px; height: 30px; margin-bottom: 10px"
|
||||||
type="primary"
|
type="primary"
|
||||||
@ -238,21 +259,22 @@ const snapshotTime = ref()
|
|||||||
const snapshotTime1 = ref()
|
const snapshotTime1 = ref()
|
||||||
const doctorDiagResult = ref()
|
const doctorDiagResult = ref()
|
||||||
const doctorDiagResult1 = ref()
|
const doctorDiagResult1 = ref()
|
||||||
const suduratiol=ref(1)//走速
|
const suduratiol = ref(1) //走速
|
||||||
const suduratior=ref(1)//走速
|
const suduratior = ref(1) //走速
|
||||||
const lineratiol=ref(0.05)//振幅
|
const lineratiol = ref(0.05) //振幅
|
||||||
const lineratior=ref(0.05)
|
const lineratior = ref(0.05)
|
||||||
const Isgridl=ref(1)//网格
|
const Isgridl = ref(1) //网格
|
||||||
const Isgridr=ref(1)//网格
|
const Isgridr = ref(1) //网格
|
||||||
const Ismeasurel=ref(0)//测量
|
const Ismeasurel = ref(0) //测量
|
||||||
const Ismeasurer=ref(0)//测量
|
const Ismeasurer = ref(0) //测量
|
||||||
|
const currenttime = ref() //当前时间段
|
||||||
|
|
||||||
|
const opencomparediag = async (row, Time) => {
|
||||||
const opencomparediag = async (row) => {
|
|
||||||
transfer.value = []
|
transfer.value = []
|
||||||
snapshotTime.value = ''
|
snapshotTime.value = ''
|
||||||
snapshotTime1.value = ''
|
snapshotTime1.value = ''
|
||||||
ecganalysisinfo.value = await EcganalysisparasApi.getlist(row.regId,row.orgId)
|
currenttime.value = Time
|
||||||
|
ecganalysisinfo.value = await EcganalysisparasApi.getlist(row.regId, row.orgId)
|
||||||
dialogVisible.value = true
|
dialogVisible.value = true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -362,6 +384,7 @@ defineOptions({ name: 'ECGWarningDialog' })
|
|||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
justify-content: flex-start;
|
justify-content: flex-start;
|
||||||
|
margin-bottom: 2px;
|
||||||
}
|
}
|
||||||
.vertical-text {
|
.vertical-text {
|
||||||
writing-mode: vertical-rl;
|
writing-mode: vertical-rl;
|
||||||
@ -373,4 +396,9 @@ defineOptions({ name: 'ECGWarningDialog' })
|
|||||||
color: #79d3f5;
|
color: #79d3f5;
|
||||||
margin-top: -18px;
|
margin-top: -18px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.mycheckbox-item.highlight {
|
||||||
|
/* 当值等于 currenttime 时的样式 */
|
||||||
|
color: red; /* 例如,将文字颜色改为红色 */
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
@ -794,7 +794,7 @@ function openreprotdiag() {
|
|||||||
}
|
}
|
||||||
//对比弹窗
|
//对比弹窗
|
||||||
function opencomparediag() {
|
function opencomparediag() {
|
||||||
ECGCompare.value.opencomparediag(rowinfo.value)
|
ECGCompare.value.opencomparediag(rowinfo.value,queryParams.value.snapshotTime)
|
||||||
}
|
}
|
||||||
//纠错
|
//纠错
|
||||||
function iscorrect() {
|
function iscorrect() {
|
||||||
|
Loading…
Reference in New Issue
Block a user