ecg窗体样式修改

This commit is contained in:
lichuanyang 2024-12-31 09:20:45 +08:00
parent caeaeaaf66
commit 41007a5040
2 changed files with 292 additions and 266 deletions

View File

@ -1,5 +1,4 @@
<template> <template>
<!-- <div class="myArea"> -->
<el-dialog <el-dialog
:title="dialogTitle" :title="dialogTitle"
v-model="dialogVisible" v-model="dialogVisible"
@ -14,7 +13,7 @@
} }
" "
> >
<div class="mycontainer"> <div id="ECGForm_main" class="mycontainer">
<div class="myleft-box"> <div class="myleft-box">
<el-container> <el-container>
<!--头部 患者信息--> <!--头部 患者信息-->
@ -205,145 +204,146 @@
</div> </div>
<div class="myright-box"> <div class="myright-box">
<el-form <el-form
:model="queryParams"
label-width="auto"
id="elform" id="elform"
:model="queryParams"
label-width="63.4px"
style="max-width: 600px; margin-top: 10px; margin-left: 10px; height: 89vh" style="max-width: 600px; margin-top: 10px; margin-left: 10px; height: 89vh"
> >
<!-- 第一行 --> <!-- 第一行 -->
<el-row :gutter="24" style="margin-right: 1px; height: 35px"> <el-row style="margin-right: 1px; height: 35px">
<el-col :span="12" style="padding: 1px"> <el-col :span="12" class="-ml-1px pr-9px">
<el-form-item label="心率"> <el-form-item label="心率">
<el-input v-model="queryParams.hr" suffix-icon="el-icon-date" style="width: 150px"> <el-input v-model="queryParams.hr" class="w-100%">
<template #append>bpm</template> <template #append>
<div class="-ml-20px -mr-20px">bpm</div>
</template>
</el-input> </el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12" style="padding: 1px"> <el-col :span="12">
<el-form-item label="P电轴"> <el-form-item label="P电轴">
<el-input <el-input v-model="queryParams.paxle" class="w-100%">
v-model="queryParams.paxle" <template #append>
suffix-icon="el-icon-date" <div class="-ml-20px -mr-20px">°</div>
style="width: 150px" </template>
>
<template #append>°</template>
</el-input> </el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
<!-- 第二行 --> <!-- 第二行 -->
<el-row :gutter="24" style="margin-right: 1px; height: 35px"> <el-row style="margin-right: 1px; height: 35px">
<el-col :span="12" style="padding: 1px"> <el-col :span="12" class="-ml-1px pr-9px">
<el-form-item label="QRS电轴"> <el-form-item label="QRS电轴">
<el-input <el-input v-model="queryParams.qrsAxle" class="w-100%">
v-model="queryParams.qrsAxle" <template #append>
suffix-icon="el-icon-date" <div class="-ml-20px -mr-20px">°</div>
style="width: 150px" </template>
>
<template #append>°</template>
</el-input> </el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12" style="padding: 1px"> <el-col :span="12">
<el-form-item label="T电轴" s> <el-form-item label="T电轴">
<el-input <el-input v-model="queryParams.taxle" class="w-100%">
v-model="queryParams.taxle" <template #append>
suffix-icon="el-icon-date" <div class="-ml-20px -mr-20px">°</div>
style="width: 150px" </template>
>
<template #append>°</template>
</el-input> </el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
<!-- 第三行 --> <!-- 第三行 -->
<el-row :gutter="24" style="margin-right: 1px; height: 35px"> <el-row style="margin-right: 1px; height: 35px">
<el-col :span="12" style="padding: 1px"> <el-col :span="12" class="-ml-1px pr-9px">
<el-form-item label="P波时限"> <el-form-item label="P波时限">
<el-input <el-input v-model="queryParams.ptimeLimit" class="w-100%">
v-model="queryParams.ptimeLimit" <template #append>
suffix-icon="el-icon-date" <div class="-ml-20px -mr-20px">ms</div>
style="width: 150px" </template>
>
<template #append>ms</template>
</el-input> </el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12" style="padding: 1px"> <el-col :span="12">
<el-form-item label="PR间期"> <el-form-item label="PR间期">
<el-input v-model="queryParams.pr" suffix-icon="el-icon-date" style="width: 150px"> <el-input v-model="queryParams.pr" class="w-100%">
<template #append>ms</template> <template #append>
<div class="-ml-20px -mr-20px">ms</div>
</template>
</el-input> </el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
<!-- 第四行 --> <!-- 第四行 -->
<el-row :gutter="24" style="margin-right: 1px; height: 35px"> <el-row style="margin-right: 1px; height: 35px">
<el-col :span="12" style="padding: 1px"> <el-col :span="12" class="-ml-1px pr-9px">
<el-form-item label="QRS时限"> <el-form-item label="QRS时限">
<el-input <el-input v-model="queryParams.qrsTimeLimit" class="w-100%">
v-model="queryParams.qrsTimeLimit" <template #append>
suffix-icon="el-icon-date" <div class="-ml-20px -mr-20px">ms</div>
style="width: 150px" </template>
>
<template #append>ms</template>
</el-input> </el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12" style="padding: 1px"> <el-col :span="12">
<el-form-item label="QT间期"> <el-form-item label="QT间期">
<el-input v-model="queryParams.qt" suffix-icon="el-icon-date" style="width: 150px"> <el-input v-model="queryParams.qt" class="w-100%">
<template #append>ms</template> <template #append>
<div class="-ml-20px -mr-20px">ms</div>
</template>
</el-input> </el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
<!-- 第五行 --> <!-- 第五行 -->
<el-row :gutter="24" style="margin-right: 1px; height: 35px"> <el-row style="margin-right: 1px; height: 35px">
<el-col :span="12" style="padding: 1px"> <el-col :span="12" class="-ml-1px pr-9px">
<el-form-item label="QTc"> <el-form-item label="QTc">
<el-input v-model="queryParams.qtc" suffix-icon="el-icon-date" style="width: 150px"> <el-input v-model="queryParams.qtc" class="w-100%">
<template #append>ms</template> <template #append>
<div class="-ml-20px -mr-20px">ms</div>
</template>
</el-input> </el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12" style="padding: 1px"> <el-col :span="12">
<el-form-item label="RV5"> <el-form-item label="RV5">
<el-input v-model="queryParams.rv5" suffix-icon="el-icon-date" style="width: 150px"> <el-input v-model="queryParams.rv5" class="w-100%">
<template #append>mV</template> <template #append>
<div class="-ml-20px -mr-20px">mV</div>
</template>
</el-input> </el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
<!-- 第六行 --> <!-- 第六行 -->
<el-row :gutter="24" style="margin-right: 1px; height: 35px"> <el-row style="margin-right: 1px; height: 35px">
<el-col :span="12" style="padding: 1px"> <el-col :span="12" class="-ml-1px pr-9px">
<el-form-item label="SV1"> <el-form-item label="SV1">
<el-input v-model="queryParams.sv1" suffix-icon="el-icon-date" style="width: 150px"> <el-input v-model="queryParams.sv1" class="w-100%">
<template #append>mV</template> <template #append>
<div class="-ml-20px -mr-20px">mV</div>
</template>
</el-input> </el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12" style="padding: 1px"> <el-col :span="12">
<el-form-item label="RV5+SV1"> <el-form-item label="RV5+SV1">
<el-input <el-input v-model="queryParams.rv5Sv1" class="w-100%">
v-model="queryParams.rv5Sv1" <template #append>
suffix-icon="el-icon-date" <div class="-ml-20px -mr-20px">mV</div>
style="width: 150px" </template>
>
<template #append>mV</template>
</el-input> </el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
<el-tag type="info" style="font-size: 16px; width: 100%; color: black"
>心电事件快照</el-tag <el-tag type="info" style="font-size: 16px; width: 100%; color: black">
> 心电事件快照
</el-tag>
<el-input <el-input
v-model="snapshotTime" v-model="snapshotTime"
style="width: 100%" style="width: 100%"
@ -359,8 +359,9 @@
type="textarea" type="textarea"
placeholder="" placeholder=""
/> />
<el-tag type="info" style="font-size: 16px; width: 100%; color: black" <el-tag type="info" style="font-size: 16px; width: 100%; color: black">
>医生诊断结论 <el-button @click="zdmodle" type="primary" text>诊断模版</el-button> 医生诊断结论
<el-button @click="zdmodle" type="primary" text> 诊断模版 </el-button>
</el-tag> </el-tag>
<el-input <el-input
class="your-component" class="your-component"
@ -371,33 +372,34 @@
ref="inputRef" ref="inputRef"
:rows="eltextrow" :rows="eltextrow"
/> />
<div class="mybtnsty"> <div class="mybtnsty">
<div> <div>
<el-button class="mybutwidth" type="warning" @click="insertValue('I')">I</el-button> <el-button class="mybutwidth" type="warning" @click="insertValue('I')">I</el-button>
<el-button class="mybutwidth" type="warning" @click="insertValue('II')">II</el-button> <el-button class="mybutwidth" type="warning" @click="insertValue('II')">II</el-button>
<el-button class="mybutwidth" type="warning" @click="insertValue('III')" <el-button class="mybutwidth" type="warning" @click="insertValue('III')">
>III</el-button III
> </el-button>
<el-button class="mybutwidth" type="warning" @click="insertValue('aVR')" <el-button class="mybutwidth" type="warning" @click="insertValue('aVR')">
>aVR</el-button aVR
> </el-button>
<el-button class="mybutwidth" type="warning" @click="insertValue('aVL')" <el-button class="mybutwidth" type="warning" @click="insertValue('aVL')">
>aVL</el-button aVL
> </el-button>
<el-button class="mybutwidth" type="warning" @click="insertValue('aVF')" <el-button class="mybutwidth" type="warning" @click="insertValue('aVF')">
>aVF</el-button aVF
> </el-button>
</div> </div>
<div> <div>
<el-button class="mybutwidth" type="warning" @click="insertValue('V3R')" <el-button class="mybutwidth" type="warning" @click="insertValue('V3R')">
>V3R</el-button V3R
> </el-button>
<el-button class="mybutwidth" type="warning" @click="insertValue('V4R')" <el-button class="mybutwidth" type="warning" @click="insertValue('V4R')">
>V4R</el-button V4R
> </el-button>
<el-button class="mybutwidth" type="warning" @click="insertValue('V5R')" <el-button class="mybutwidth" type="warning" @click="insertValue('V5R')">
>V5R</el-button V5R
> </el-button>
<el-button class="mybutwidth" type="warning" @click="insertValue('V1')">V1</el-button> <el-button class="mybutwidth" type="warning" @click="insertValue('V1')">V1</el-button>
<el-button class="mybutwidth" type="warning" @click="insertValue('V2')">V2</el-button> <el-button class="mybutwidth" type="warning" @click="insertValue('V2')">V2</el-button>
<el-button class="mybutwidth" type="warning" @click="insertValue('V3')">V3</el-button> <el-button class="mybutwidth" type="warning" @click="insertValue('V3')">V3</el-button>
@ -416,18 +418,18 @@
style="width: 200px" style="width: 200px"
type="primary" type="primary"
@click="getuporghiorgid(Primarykey, orgid)" @click="getuporghiorgid(Primarykey, orgid)"
>申请诊断</el-button
>
<el-button style="width: 200px" type="primary" @click="save" :disabled="savedisabled"
>保存</el-button
> >
申请诊断
</el-button>
<el-button style="width: 200px" type="primary" @click="save" :disabled="savedisabled">
保存
</el-button>
</div> </div>
</el-form> </el-form>
</div> </div>
</div> </div>
</el-dialog> </el-dialog>
<!-- </div> -->
<!--抽屉 用于展示诊断模版-->
<el-drawer v-model="drawer" :with-header="false" :modal="true" size="20%"> <el-drawer v-model="drawer" :with-header="false" :modal="true" size="20%">
<span>诊断数据模版</span> <span>诊断数据模版</span>
<el-tree <el-tree
@ -446,7 +448,7 @@
:expand-on-click-node="false" :expand-on-click-node="false"
/> />
</el-drawer> </el-drawer>
<!--打印弹窗()-->
<el-dialog <el-dialog
title="" title=""
v-if="false" v-if="false"
@ -458,7 +460,7 @@
:destroy-on-close="true" :destroy-on-close="true"
@close="printclose" @close="printclose"
> >
<!--width: 1000px; height: 700px;--> <!--打印弹窗()-->
<ECGprint :imagebase64="imagebase64" /> <ECGprint :imagebase64="imagebase64" />
</el-dialog> </el-dialog>
<div style="position: fixed; top: 0; left: 0; z-index: -100"> <div style="position: fixed; top: 0; left: 0; z-index: -100">
@ -487,7 +489,6 @@
/> />
</div> </div>
</div> </div>
<!--打印弹窗()-->
<el-dialog <el-dialog
v-model="isdiagshow" v-model="isdiagshow"
:fullscreen="true" :fullscreen="true"
@ -496,6 +497,7 @@
:destroy-on-close="true" :destroy-on-close="true"
@closed="printclose" @closed="printclose"
> >
<!--打印弹窗()-->
<template #title> <template #title>
<div <div
style=" style="
@ -594,6 +596,7 @@
/> />
</div> </div>
</div> </div>
<ECGWarningDialog ref="ECGDialog" /> <ECGWarningDialog ref="ECGDialog" />
<ECGReport ref="ECGReportDialog" /> <ECGReport ref="ECGReportDialog" />
<ECGCopmareDialog ref="ECGCompare" /> <ECGCopmareDialog ref="ECGCompare" />
@ -620,9 +623,9 @@ import { WarningApi, WarningVO } from '@/api/system/warning'
import ECGCopmareDialog from '@/views/ECG/ECGCompare.vue' import ECGCopmareDialog from '@/views/ECG/ECGCompare.vue'
import ECGApplyforRepair from '@/views/ECG/ECGModify/ECGApplyforRepair.vue' import ECGApplyforRepair from '@/views/ECG/ECGModify/ECGApplyforRepair.vue'
import useClipboard from 'vue-clipboard3' // import useClipboard from 'vue-clipboard3' //
const { toClipboard } = useClipboard()
import ECGSB from '@/views/ECG/ECGSB.vue' import ECGSB from '@/views/ECG/ECGSB.vue'
/** 提交表单 */
const { toClipboard } = useClipboard()
const emit = defineEmits(['success']) // success const emit = defineEmits(['success']) // success
const message = useMessage() // const message = useMessage() //
const dialogVisible = ref(false) // const dialogVisible = ref(false) //
@ -632,7 +635,6 @@ const orgid = ref() //机构编码
const Primarykey = ref() //ID const Primarykey = ref() //ID
const rowinfo = ref<any>({}) // const rowinfo = ref<any>({}) //
const snapshotTime = ref() // const snapshotTime = ref() //
//
const isChildVisible = ref(false) const isChildVisible = ref(false)
const inputRef = ref() // el-inputDOM const inputRef = ref() // el-inputDOM
const saveFormVO = ref<EcganalysisparasVO>({} as EcganalysisparasVO) const saveFormVO = ref<EcganalysisparasVO>({} as EcganalysisparasVO)
@ -778,8 +780,14 @@ const queryParams = ref({
ecgJsonDataFilePath: '', ecgJsonDataFilePath: '',
createDate: undefined createDate: undefined
}) })
//
async function save() { const save = async () => {
const loading = ElLoading.service({
target: 'ECGForm_main',
lock: true,
text: '数据保存中...'
})
try {
saveFormVO.value.id = queryParams.value.id saveFormVO.value.id = queryParams.value.id
saveFormVO.value.hr = queryParams.value.hr saveFormVO.value.hr = queryParams.value.hr
saveFormVO.value.paxle = queryParams.value.paxle saveFormVO.value.paxle = queryParams.value.paxle
@ -811,7 +819,6 @@ async function save() {
const data = await EcganalysisparasApi.getexamIDdata(rowinfo.value.examId, orgid.value) const data = await EcganalysisparasApi.getexamIDdata(rowinfo.value.examId, orgid.value)
queryParams.value = data queryParams.value = data
//pdf //pdf
saveFormVO.value.regId = id.value saveFormVO.value.regId = id.value
saveFormVO.value.examId = rowinfo.value.examId saveFormVO.value.examId = rowinfo.value.examId
@ -824,6 +831,7 @@ async function save() {
await EcganalysisparasApi.SaveEcgPdf(saveFormVO.value) await EcganalysisparasApi.SaveEcgPdf(saveFormVO.value)
// //
await getPatientexamlist(keyid.value) await getPatientexamlist(keyid.value)
loading.close()
message.alertSuccess('保存成功') message.alertSuccess('保存成功')
emit('success') emit('success')
@ -832,6 +840,10 @@ async function save() {
// isprintimage.value = true // isprintimage.value = true
// }, 900) // }, 900)
} }
} catch {
} finally {
loading.close()
}
} }
// //
@ -1137,6 +1149,10 @@ defineExpose({ open }) // 提供 open 方法,用于打开弹窗
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
#elform :deep(.el-form-item__label) {
padding-right: 5px;
}
.mycontainer { .mycontainer {
display: flex; display: flex;
width: 100%; width: 100%;

View File

@ -1,48 +1,43 @@
<template> <template>
<ContentWrap style="height: 145px"> <ContentWrap>
<!-- 搜索工作栏 超声工作站-->
<el-form <el-form
class="-mb-15px"
:model="queryParams"
ref="queryFormRef" ref="queryFormRef"
:inline="true" :model="queryParams"
label-width="100px" size="default"
label-width="74px"
label-position="right"
class="-mb-15px"
> >
<el-row :gutter="8"> <el-row>
<!-- 检查ID和患者姓名共一行 --> <el-col :span="6">
<el-col :span="24"> <el-form-item label="检查单号" prop="examId" class="item-style">
<el-row :gutter="8">
<el-col :span="4">
<el-form-item label="检查单号" prop="examId">
<el-input <el-input
v-model="queryParams.examId" v-model="queryParams.examId"
placeholder="检查单号" placeholder="请输入检查单号"
clearable clearable
@keyup.enter="handleQuery" @keyup.enter="handleQuery"
class="!w-160px" class="item-width"
/> />
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="4"> <el-col :span="6">
<el-form-item label="患者姓名" prop="pName"> <el-form-item label="患者姓名" prop="pName" class="item-style">
<el-input <el-input
v-model="queryParams.pname" v-model="queryParams.pname"
placeholder="请输入患者姓名" placeholder="请输入患者姓名"
clearable clearable
@keyup.enter="handleQuery" @keyup.enter="handleQuery"
class="!w-160px" class="item-width"
/> />
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="6">
<!-- 报告状态 --> <el-form-item label="报告状态" prop="reportstatus" class="item-style">
<el-col :span="4">
<el-form-item label="报告状态" prop="reportstatus">
<el-select <el-select
v-model="queryParams.reportstatus" v-model="queryParams.reportstatus"
placeholder="请选择报告状态" placeholder="请选择报告状态"
clearable clearable
class="!w-160px" class="item-width"
> >
<el-option label="已分检" value="已分检" /> <el-option label="已分检" value="已分检" />
<el-option label="已分析" value="已分析" /> <el-option label="已分析" value="已分析" />
@ -51,25 +46,21 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
</el-col> </el-col>
<!-- 检查项目 --> <el-col :span="6">
<el-col :span="4"> <el-form-item label="检查项目" prop="examItemName" class="item-style">
<el-form-item label="检查项目" prop="examItemName">
<el-input <el-input
v-model="queryParams.examItemName" v-model="queryParams.examItemName"
placeholder="请输入检查项" placeholder="请输入检查项"
clearable clearable
@keyup.enter="handleQuery" @keyup.enter="handleQuery"
class="!w-160px" class="item-width"
/> />
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
</el-col> <el-row>
<el-col :span="20">
<!-- 检查日期独占一行 --> <el-form-item label="检查日期" prop="examDate" class="item-style">
<el-col :span="24">
<el-form-item label="检查日期" prop="examDate">
<!-- aaaaa -->
<el-radio-group <el-radio-group
ref="examDate_radio" ref="examDate_radio"
v-model="examDate_radio_value" v-model="examDate_radio_value"
@ -90,15 +81,13 @@
start-placeholder="开始日期" start-placeholder="开始日期"
end-placeholder="结束日期" end-placeholder="结束日期"
:default-time="[new Date('1 00:00:00'), new Date('1 23:59:59')]" :default-time="[new Date('1 00:00:00'), new Date('1 23:59:59')]"
class="!w-240px" class="!w-260px"
/> />
</el-radio> </el-radio>
</el-radio-group> </el-radio-group>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> <el-col :span="4" style="text-align: right">
</el-form>
<el-form-item>
<el-button <el-button
@click="handleQuery" @click="handleQuery"
style=" style="
@ -108,14 +97,20 @@
font-size: 14px; font-size: 14px;
color: rgba(255, 255, 255, 1); color: rgba(255, 255, 255, 1);
" "
><Icon icon="ep:search" class="mr-5px" /> 搜索</el-button
> >
<Icon icon="ep:search" class="mr-5px" />
搜索
</el-button>
<el-button @click="resetQuery"><Icon icon="ep:refresh" class="mr-5px" />重置</el-button> <el-button @click="resetQuery"><Icon icon="ep:refresh" class="mr-5px" />重置</el-button>
</el-form-item> </el-col>
</el-row>
</el-form>
</ContentWrap> </ContentWrap>
<ContentWrap style="height: 65px">
<el-form-item> <ContentWrap style="height: 64px">
<!-- <el-button <div style="text-align: right">
<!--
<el-button
type="primary" type="primary"
plain plain
@click="openForm('create')" @click="openForm('create')"
@ -123,7 +118,8 @@
v-if="false" v-if="false"
> >
<Icon icon="ep:plus" class="mr-5px" /> 新增 <Icon icon="ep:plus" class="mr-5px" /> 新增
</el-button> --> </el-button>
-->
<el-button <el-button
style=" style="
margin-right: 0px; margin-right: 0px;
@ -136,32 +132,39 @@
:loading="exportLoading" :loading="exportLoading"
v-hasPermi="['tblist:patientexamlist:export']" v-hasPermi="['tblist:patientexamlist:export']"
> >
<Icon icon="ep:download" class="mr-5px" /> 导出 <Icon icon="ep:download" class="mr-5px" />
导出
</el-button> </el-button>
<el-button <el-button
@click="dicomDataSync" @click="dicomDataSync"
style="background-color: rgb(28, 176, 117); font-size: 14; color: rgb(255, 255, 255)" style="background-color: rgb(28, 176, 117); font-size: 14; color: rgb(255, 255, 255)"
><Icon icon="ep:refresh" class="mr-5px" /> 同步</el-button
> >
<Icon icon="ep:refresh" class="mr-5px" />
同步
</el-button>
<el-button <el-button
@click="selectcollect" @click="selectcollect"
style="background-color: rgb(28, 176, 117); font-size: 14; color: rgb(255, 255, 255)" style="background-color: rgb(28, 176, 117); font-size: 14; color: rgb(255, 255, 255)"
><Icon icon="ep:search" class="mr-5px" /> 查询收藏</el-button
> >
</el-form-item> <Icon icon="ep:search" class="mr-5px" />
查询收藏
</el-button>
</div>
</ContentWrap> </ContentWrap>
<!-- 列表 -->
<ContentWrap> <ContentWrap>
<el-table <el-table
v-loading="loading" v-loading="loading"
:data="list" :data="list"
border
:stripe="true" :stripe="true"
:show-overflow-tooltip="true" :show-overflow-tooltip="true"
@row-dblclick="handleEdit" @row-dblclick="handleEdit"
:header-cell-style="{ background: 'rgb(235, 241, 250)', height: '56px', color: '#333333' }" :header-cell-style="{ background: 'rgb(235, 241, 250)', height: '56px', color: '#333333' }"
:row-style="{ height: '56px' }" :row-style="{ height: '40px' }"
height="max(calc(100vh - 474px),80px)"
> >
<el-table-column type="index" width="50px" /> <el-table-column type="index" label="序号" align="center" width="54px" />
<el-table-column label="" width="100px" v-if="false"> <el-table-column label="" width="100px" v-if="false">
<template #default="scope"> <template #default="scope">
<el-image :src="scope.row.thumbnailImgUrl" /> <el-image :src="scope.row.thumbnailImgUrl" />
@ -170,7 +173,7 @@
<el-table-column label="主键" align="center" prop="id" v-if="false" /> <el-table-column label="主键" align="center" prop="id" v-if="false" />
<el-table-column label="检查项目名称" align="center" prop="examItemName" width="160px" /> <el-table-column label="检查项目名称" align="center" prop="examItemName" width="160px" />
<el-table-column label="检查单号" align="center" prop="examId" width="140px" /> <el-table-column label="检查单号" align="center" prop="examId" width="140px" />
<el-table-column label="患者姓名" align="center" prop="pname" /> <el-table-column label="患者姓名" align="center" prop="pname" width="160px" />
<el-table-column label="性别" align="center" prop="gender" /> <el-table-column label="性别" align="center" prop="gender" />
<el-table-column label="出生日期" align="center" prop="birthday" v-if="false" /> <el-table-column label="出生日期" align="center" prop="birthday" v-if="false" />
<el-table-column <el-table-column
@ -180,9 +183,7 @@
:formatter="dateFormatter" :formatter="dateFormatter"
width="180px" width="180px"
/> />
<el-table-column label="设备类型" align="center" prop="deviceType" /> <el-table-column label="类型" align="center" prop="deviceType" />
<el-table-column label="序列/数量" align="center" prop="seDc" width="100px" />
<el-table-column label="报告状态" align="center" prop="reportstatus" width="100px"> <el-table-column label="报告状态" align="center" prop="reportstatus" width="100px">
<template #default="scope"> <template #default="scope">
<!-- 使用Flexbox布局将内容垂直排列 --> <!-- 使用Flexbox布局将内容垂直排列 -->
@ -207,7 +208,6 @@
</div> </div>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
label="申请日期" label="申请日期"
align="center" align="center"
@ -285,7 +285,6 @@
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<!-- 分页 -->
<Pagination <Pagination
:total="total" :total="total"
v-model:page="queryParams.pageNo" v-model:page="queryParams.pageNo"
@ -294,7 +293,6 @@
/> />
</ContentWrap> </ContentWrap>
<!-- 表单弹窗超声组件 -->
<ECGForm ref="ECG" @success="getList" /> <ECGForm ref="ECG" @success="getList" />
</template> </template>
@ -304,7 +302,7 @@ import download from '@/utils/download'
import { PatientexamlistApi, PatientexamlistVO } from '@/api/tblist/patientexamlist' import { PatientexamlistApi, PatientexamlistVO } from '@/api/tblist/patientexamlist'
import ECGForm from '/src/views/ECG/ECGForm.vue' import ECGForm from '/src/views/ECG/ECGForm.vue'
/** PACS检查列表 列表 */ /** PatientexamlistECG 列表 */
defineOptions({ name: 'PatientexamlistECG' }) defineOptions({ name: 'PatientexamlistECG' })
const message = useMessage() // const message = useMessage() //
@ -555,9 +553,21 @@ onMounted(() => {
}) })
</script> </script>
<style> <style scoped>
/* 为了防止 el-form-item 的标签文本换行可以添加以下CSS样式 */ /* 为了防止 el-form-item 的标签文本换行可以添加以下CSS样式 */
.el-form-item__label { .el-form-item__label {
white-space: nowrap; white-space: nowrap;
} }
.item-style {
margin-bottom: 8px;
}
.item-width {
width: 100%;
}
.date-picker :deep(.item-width) {
width: 100%;
}
</style> </style>