update
This commit is contained in:
@@ -97,7 +97,6 @@
|
|||||||
const [registerDrawer, {}] = useDrawerInner(async (data) => {
|
const [registerDrawer, {}] = useDrawerInner(async (data) => {
|
||||||
listData.value = [];
|
listData.value = [];
|
||||||
fForm.value = {};
|
fForm.value = {};
|
||||||
data.id = '1994381754169057282';
|
|
||||||
try {
|
try {
|
||||||
loading.value = true;
|
loading.value = true;
|
||||||
const res = await queryCheckNewByIdApi({ id: data?.id });
|
const res = await queryCheckNewByIdApi({ id: data?.id });
|
||||||
|
|||||||
@@ -17,6 +17,7 @@
|
|||||||
<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">
|
||||||
@@ -44,7 +45,7 @@
|
|||||||
<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>
|
||||||
@@ -91,6 +92,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
</BasicModal>
|
</BasicModal>
|
||||||
</template>
|
</template>
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
@@ -142,6 +144,10 @@
|
|||||||
.modal-inner-d {
|
.modal-inner-d {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
height: 60vh;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
overflow-y: auto;
|
||||||
|
|
||||||
> div {
|
> div {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|||||||
Reference in New Issue
Block a user