update
This commit is contained in:
@@ -97,7 +97,6 @@
|
||||
const [registerDrawer, {}] = useDrawerInner(async (data) => {
|
||||
listData.value = [];
|
||||
fForm.value = {};
|
||||
data.id = '1994381754169057282';
|
||||
try {
|
||||
loading.value = true;
|
||||
const res = await queryCheckNewByIdApi({ id: data?.id });
|
||||
|
||||
@@ -17,77 +17,79 @@
|
||||
<div style="flex: 1">是否异常</div>
|
||||
<div style="flex: 1">异常结果</div>
|
||||
</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 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>
|
||||
</div>
|
||||
</div>
|
||||
@@ -142,6 +144,10 @@
|
||||
.modal-inner-d {
|
||||
width: 100%;
|
||||
position: relative;
|
||||
height: 60vh;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
overflow-y: auto;
|
||||
|
||||
> div {
|
||||
width: 100%;
|
||||
|
||||
Reference in New Issue
Block a user