This commit is contained in:
2025-12-05 16:01:45 +08:00
parent bb41ae6afa
commit be61c536b3
2 changed files with 73 additions and 75 deletions
@@ -7,7 +7,7 @@
<a-spin /> <a-spin />
</div> </div>
<div class="modal-inner-d"> <div class="modal-inner-d">
<div class="list-item-d" style="background: #f3f3f3"> <div class="list-item-d" style="background: #f3f3f3; position: sticky; top: 0; z-index: 100">
<div style="width: 70px">序号</div> <div style="width: 70px">序号</div>
<div style="flex: 1">科室名称</div> <div style="flex: 1">科室名称</div>
<div style="flex: 1">项目名称</div> <div style="flex: 1">项目名称</div>
@@ -17,79 +17,77 @@
<div style="flex: 1">是否异常</div> <div style="flex: 1">是否异常</div>
<div style="flex: 1">异常结果</div> <div style="flex: 1">异常结果</div>
</div> </div>
<div style="flex: 1; overflow: auto"> <div class="list-item-d" v-for="(item, index) in listData" :key="`list-data-${index}`">
<div class="list-item-d" v-for="(item, index) in listData" :key="`list-data-${index}`"> <div style="width: 70px">{{ index + 1 }}</div>
<div style="width: 70px">{{ index + 1 }}</div> <div style="flex: 1">
<div style="flex: 1"> <a-tooltip placement="top">
<a-tooltip placement="top"> <template #title>
<template #title> <span> {{ item?.departName || '-' }}</span>
<span> {{ item?.departName || '-' }}</span> </template>
</template> <div>
<div> {{ item?.departName || '-' }}
{{ item?.departName || '-' }} </div>
</div> </a-tooltip>
</a-tooltip> </div>
</div> <div style="flex: 1">
<div style="flex: 1"> <a-tooltip placement="top">
<a-tooltip placement="top"> <template #title>
<template #title> <span> {{ item?.projectName || '-' }}</span>
<span> {{ item?.projectName || '-' }}</span> </template>
</template> <div>
<div> {{ item?.projectName || '-' }}
{{ item?.projectName || '-' }} </div>
</div> </a-tooltip>
</a-tooltip> </div>
</div> <div style="flex: 1">
<div style="flex: 1"> <a-tooltip placement="top">
<a-tooltip placement="top"> <template #title>
<template #title> <span> {{ item?.abnormalResult && item?.abnormalResult !== 'null' ? item?.abnormalResult : '无' }}</span>
<span> {{ item?.abnormalResult && item?.abnormalResult !== 'null' ? item?.abnormalResult : '无' }}</span> </template>
</template> <div :style="{ color: item?.abnormal === '异常' ? 'red' : '' }">
<div :style="{ color: item?.abnormal === '异常' ? 'red' : '' }"> {{ item?.abnormalResult && item?.abnormalResult !== 'null' ? item?.abnormalResult : '无' }}
{{ item?.abnormalResult && item?.abnormalResult !== 'null' ? item?.abnormalResult : '无' }} </div>
</div> </a-tooltip>
</a-tooltip> </div>
</div> <div style="flex: 1">
<div style="flex: 1"> <a-tooltip placement="top">
<a-tooltip placement="top"> <template #title>
<template #title> <span> {{ item?.unit || '-' }}</span>
<span> {{ item?.unit || '-' }}</span> </template>
</template> <div>
<div> {{ item?.unit || '-' }}
{{ item?.unit || '-' }} </div>
</div> </a-tooltip>
</a-tooltip> </div>
</div> <div style="flex: 1">
<div style="flex: 1"> <a-tooltip placement="top">
<a-tooltip placement="top"> <template #title>
<template #title> <span> {{ item?.referenceValue || '-' }}</span>
<span> {{ item?.referenceValue || '-' }}</span> </template>
</template> <div>
<div> {{ item?.referenceValue || '-' }}
{{ item?.referenceValue || '-' }} </div>
</div> </a-tooltip>
</a-tooltip> </div>
</div> <div style="flex: 1">
<div style="flex: 1"> <a-tooltip placement="top">
<a-tooltip placement="top"> <template #title>
<template #title> <span> {{ item?.abnormal || '-' }}</span>
<span> {{ item?.abnormal || '-' }}</span> </template>
</template> <div>
<div> {{ item?.abnormal || '-' }}
{{ item?.abnormal || '-' }} </div>
</div> </a-tooltip>
</a-tooltip> </div>
</div> <div style="flex: 1">
<div style="flex: 1"> <a-tooltip placement="top">
<a-tooltip placement="top"> <template #title>
<template #title> <span> {{ item?.resultValue || '-' }}</span>
<span> {{ item?.resultValue || '-' }}</span> </template>
</template> <div>
<div> {{ item?.resultValue || '-' }}
{{ item?.resultValue || '-' }} </div>
</div> </a-tooltip>
</a-tooltip>
</div>
</div> </div>
</div> </div>
</div> </div>
@@ -79,7 +79,7 @@ export const fData = [
}, },
{ {
label: '性别', label: '性别',
field: 'sexCode', field: 'sexCodeText',
span: 12, span: 12,
}, },
{ {