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,6 +17,7 @@
|
||||
<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">
|
||||
@@ -44,7 +45,7 @@
|
||||
<template #title>
|
||||
<span> {{ item?.abnormalResult && item?.abnormalResult !== 'null' ? item?.abnormalResult : '无' }}</span>
|
||||
</template>
|
||||
<div :style="{ color: item?.abnormal === '正常' ? '' : 'red' }">
|
||||
<div :style="{ color: item?.abnormal === '异常' ? 'red' : '' }">
|
||||
{{ item?.abnormalResult && item?.abnormalResult !== 'null' ? item?.abnormalResult : '无' }}
|
||||
</div>
|
||||
</a-tooltip>
|
||||
@@ -91,6 +92,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</BasicModal>
|
||||
</template>
|
||||
<script setup lang="ts">
|
||||
@@ -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