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 />
</div>
<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="flex: 1">科室名称</div>
<div style="flex: 1">项目名称</div>
@@ -17,79 +17,77 @@
<div style="flex: 1">是否异常</div>
<div style="flex: 1">异常结果</div>
</div>
<div style="flex: 1; overflow: auto">
<div class="list-item-d" v-for="(item, index) in listData" :key="`list-data-${index}`">
<div style="width: 70px">{{ index + 1 }}</div>
<div style="flex: 1">
<a-tooltip placement="top">
<template #title>
<span> {{ item?.departName || '-' }}</span>
</template>
<div>
{{ item?.departName || '-' }}
</div>
</a-tooltip>
</div>
<div style="flex: 1">
<a-tooltip placement="top">
<template #title>
<span> {{ item?.projectName || '-' }}</span>
</template>
<div>
{{ item?.projectName || '-' }}
</div>
</a-tooltip>
</div>
<div style="flex: 1">
<a-tooltip placement="top">
<template #title>
<span> {{ item?.abnormalResult && item?.abnormalResult !== 'null' ? item?.abnormalResult : '无' }}</span>
</template>
<div :style="{ color: item?.abnormal === '异常' ? 'red' : '' }">
{{ item?.abnormalResult && item?.abnormalResult !== 'null' ? item?.abnormalResult : '无' }}
</div>
</a-tooltip>
</div>
<div style="flex: 1">
<a-tooltip placement="top">
<template #title>
<span> {{ item?.unit || '-' }}</span>
</template>
<div>
{{ item?.unit || '-' }}
</div>
</a-tooltip>
</div>
<div style="flex: 1">
<a-tooltip placement="top">
<template #title>
<span> {{ item?.referenceValue || '-' }}</span>
</template>
<div>
{{ item?.referenceValue || '-' }}
</div>
</a-tooltip>
</div>
<div style="flex: 1">
<a-tooltip placement="top">
<template #title>
<span> {{ item?.abnormal || '-' }}</span>
</template>
<div>
{{ item?.abnormal || '-' }}
</div>
</a-tooltip>
</div>
<div style="flex: 1">
<a-tooltip placement="top">
<template #title>
<span> {{ item?.resultValue || '-' }}</span>
</template>
<div>
{{ item?.resultValue || '-' }}
</div>
</a-tooltip>
</div>
<div class="list-item-d" v-for="(item, index) in listData" :key="`list-data-${index}`">
<div style="width: 70px">{{ index + 1 }}</div>
<div style="flex: 1">
<a-tooltip placement="top">
<template #title>
<span> {{ item?.departName || '-' }}</span>
</template>
<div>
{{ item?.departName || '-' }}
</div>
</a-tooltip>
</div>
<div style="flex: 1">
<a-tooltip placement="top">
<template #title>
<span> {{ item?.projectName || '-' }}</span>
</template>
<div>
{{ item?.projectName || '-' }}
</div>
</a-tooltip>
</div>
<div style="flex: 1">
<a-tooltip placement="top">
<template #title>
<span> {{ item?.abnormalResult && item?.abnormalResult !== 'null' ? item?.abnormalResult : '无' }}</span>
</template>
<div :style="{ color: item?.abnormal === '异常' ? 'red' : '' }">
{{ item?.abnormalResult && item?.abnormalResult !== 'null' ? item?.abnormalResult : '无' }}
</div>
</a-tooltip>
</div>
<div style="flex: 1">
<a-tooltip placement="top">
<template #title>
<span> {{ item?.unit || '-' }}</span>
</template>
<div>
{{ item?.unit || '-' }}
</div>
</a-tooltip>
</div>
<div style="flex: 1">
<a-tooltip placement="top">
<template #title>
<span> {{ item?.referenceValue || '-' }}</span>
</template>
<div>
{{ item?.referenceValue || '-' }}
</div>
</a-tooltip>
</div>
<div style="flex: 1">
<a-tooltip placement="top">
<template #title>
<span> {{ item?.abnormal || '-' }}</span>
</template>
<div>
{{ item?.abnormal || '-' }}
</div>
</a-tooltip>
</div>
<div style="flex: 1">
<a-tooltip placement="top">
<template #title>
<span> {{ item?.resultValue || '-' }}</span>
</template>
<div>
{{ item?.resultValue || '-' }}
</div>
</a-tooltip>
</div>
</div>
</div>
@@ -79,7 +79,7 @@ export const fData = [
},
{
label: '性别',
field: 'sexCode',
field: 'sexCodeText',
span: 12,
},
{