检测结果为-或者/的鼠标移动无需黑框
This commit is contained in:
@@ -21,7 +21,11 @@
|
|||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column prop="isDataA" label="检测结果">
|
<el-table-column prop="isDataA" label="检测结果">
|
||||||
<template #default="{ row }">
|
<template #default="{ row }">
|
||||||
<el-tooltip effect="dark" placement="bottom">
|
<template v-if="row.dataA.isData === 4 || row.dataA.isData === 5">
|
||||||
|
<el-tag type="warning" v-if="row.dataA.isData === 4">/</el-tag>
|
||||||
|
<el-tag type="info" v-if="row.dataA.isData === 5">-</el-tag>
|
||||||
|
</template>
|
||||||
|
<el-tooltip v-else effect="dark" placement="bottom">
|
||||||
<template #content>
|
<template #content>
|
||||||
误差范围:{{ addPercentSigns(row.dataA.radius, row.dataA.unit) }}
|
误差范围:{{ addPercentSigns(row.dataA.radius, row.dataA.unit) }}
|
||||||
<br/>
|
<br/>
|
||||||
@@ -29,8 +33,7 @@
|
|||||||
</template>
|
</template>
|
||||||
<el-tag type="success" v-if="row.dataA.isData === 1">符合</el-tag>
|
<el-tag type="success" v-if="row.dataA.isData === 1">符合</el-tag>
|
||||||
<el-tag type="danger" v-if="row.dataA.isData === 2">不符合</el-tag>
|
<el-tag type="danger" v-if="row.dataA.isData === 2">不符合</el-tag>
|
||||||
<el-tag type="warning" v-if="row.dataA.isData === 4">/</el-tag>
|
|
||||||
<el-tag type="info" v-if="row.dataA.isData === 5">-</el-tag>
|
|
||||||
</el-tooltip>
|
</el-tooltip>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
@@ -49,7 +52,11 @@
|
|||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column prop="isDataB" label="检测结果">
|
<el-table-column prop="isDataB" label="检测结果">
|
||||||
<template #default="{ row }">
|
<template #default="{ row }">
|
||||||
<el-tooltip effect="dark" placement="bottom">
|
<template v-if="row.dataB.isData === 4 || row.dataB.isData === 5">
|
||||||
|
<el-tag type="warning" v-if="row.dataB.isData === 4">/</el-tag>
|
||||||
|
<el-tag type="info" v-if="row.dataB.isData === 5">-</el-tag>
|
||||||
|
</template>
|
||||||
|
<el-tooltip v-else effect="dark" placement="bottom">
|
||||||
<template #content>
|
<template #content>
|
||||||
误差范围:{{ addPercentSigns(row.dataB.radius, row.dataB.unit) }}
|
误差范围:{{ addPercentSigns(row.dataB.radius, row.dataB.unit) }}
|
||||||
<br/>
|
<br/>
|
||||||
@@ -57,8 +64,6 @@
|
|||||||
</template>
|
</template>
|
||||||
<el-tag type="success" v-if="row.dataB.isData === 1">符合</el-tag>
|
<el-tag type="success" v-if="row.dataB.isData === 1">符合</el-tag>
|
||||||
<el-tag type="danger" v-if="row.dataB.isData === 2">不符合</el-tag>
|
<el-tag type="danger" v-if="row.dataB.isData === 2">不符合</el-tag>
|
||||||
<el-tag type="warning" v-if="row.dataB.isData === 4">/</el-tag>
|
|
||||||
<el-tag type="info" v-if="row.dataB.isData === 5">-</el-tag>
|
|
||||||
</el-tooltip>
|
</el-tooltip>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
@@ -77,7 +82,11 @@
|
|||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column prop="isDataC" label="检测结果">
|
<el-table-column prop="isDataC" label="检测结果">
|
||||||
<template #default="{ row }">
|
<template #default="{ row }">
|
||||||
<el-tooltip effect="dark" placement="bottom">
|
<template v-if="row.dataC.isData === 4 || row.dataC.isData === 5">
|
||||||
|
<el-tag type="warning" v-if="row.dataC.isData === 4">/</el-tag>
|
||||||
|
<el-tag type="info" v-if="row.dataC.isData === 5">-</el-tag>
|
||||||
|
</template>
|
||||||
|
<el-tooltip v-else effect="dark" placement="bottom">
|
||||||
<template #content>
|
<template #content>
|
||||||
误差范围:{{ addPercentSigns(row.dataC.radius, row.dataC.unit) }}
|
误差范围:{{ addPercentSigns(row.dataC.radius, row.dataC.unit) }}
|
||||||
<br/>
|
<br/>
|
||||||
@@ -85,8 +94,6 @@
|
|||||||
</template>
|
</template>
|
||||||
<el-tag type="success" v-if="row.dataC.isData === 1">符合</el-tag>
|
<el-tag type="success" v-if="row.dataC.isData === 1">符合</el-tag>
|
||||||
<el-tag type="danger" v-if="row.dataC.isData === 2">不符合</el-tag>
|
<el-tag type="danger" v-if="row.dataC.isData === 2">不符合</el-tag>
|
||||||
<el-tag type="warning" v-if="row.dataC.isData === 4">/</el-tag>
|
|
||||||
<el-tag type="info" v-if="row.dataC.isData === 5">-</el-tag>
|
|
||||||
</el-tooltip>
|
</el-tooltip>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
@@ -105,7 +112,11 @@
|
|||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column prop="isDataT" label="检测结果">
|
<el-table-column prop="isDataT" label="检测结果">
|
||||||
<template #default="{ row }">
|
<template #default="{ row }">
|
||||||
<el-tooltip effect="dark" placement="bottom">
|
<template v-if="row.dataT.isData === 4 || row.dataT.isData === 5">
|
||||||
|
<el-tag type="warning" v-if="row.dataT.isData === 4">/</el-tag>
|
||||||
|
<el-tag type="info" v-if="row.dataT.isData === 5">-</el-tag>
|
||||||
|
</template>
|
||||||
|
<el-tooltip v-else effect="dark" placement="bottom">
|
||||||
<template #content>
|
<template #content>
|
||||||
误差范围:{{ addPercentSigns(row.dataT.radius, row.dataT.unit) }}
|
误差范围:{{ addPercentSigns(row.dataT.radius, row.dataT.unit) }}
|
||||||
<br/>
|
<br/>
|
||||||
@@ -113,8 +124,7 @@
|
|||||||
</template>
|
</template>
|
||||||
<el-tag type="success" v-if="row.dataT.isData === 1">符合</el-tag>
|
<el-tag type="success" v-if="row.dataT.isData === 1">符合</el-tag>
|
||||||
<el-tag type="danger" v-if="row.dataT.isData === 2">不符合</el-tag>
|
<el-tag type="danger" v-if="row.dataT.isData === 2">不符合</el-tag>
|
||||||
<el-tag type="warning" v-if="row.dataT.isData === 4">/</el-tag>
|
|
||||||
<el-tag type="info" v-if="row.dataT.isData === 5">-</el-tag>
|
|
||||||
</el-tooltip>
|
</el-tooltip>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
|||||||
@@ -17,7 +17,11 @@
|
|||||||
<el-table-column prop="dataA" :label="'被检值' + (outerUnit == '' ? '' : '(' + outerUnit + ')')" />
|
<el-table-column prop="dataA" :label="'被检值' + (outerUnit == '' ? '' : '(' + outerUnit + ')')" />
|
||||||
<el-table-column prop="isDataA" label="检测结果">
|
<el-table-column prop="isDataA" label="检测结果">
|
||||||
<template #default="scope">
|
<template #default="scope">
|
||||||
<el-tooltip effect="dark" placement="bottom">
|
<template v-if="scope.row.isDataA === 4 || scope.row.isDataA === 5">
|
||||||
|
<el-tag type="warning" v-if="scope.row.isDataA === 4">/</el-tag>
|
||||||
|
<el-tag type="info" v-if="scope.row.isDataA === 5">-</el-tag>
|
||||||
|
</template>
|
||||||
|
<el-tooltip v-else effect="dark" placement="bottom">
|
||||||
<template #content>
|
<template #content>
|
||||||
误差范围:{{ scope.row.maxErrorA }}
|
误差范围:{{ scope.row.maxErrorA }}
|
||||||
<br />
|
<br />
|
||||||
@@ -25,8 +29,6 @@
|
|||||||
</template>
|
</template>
|
||||||
<el-tag type="success" v-if="scope.row.isDataA === 1">符合</el-tag>
|
<el-tag type="success" v-if="scope.row.isDataA === 1">符合</el-tag>
|
||||||
<el-tag type="danger" v-if="scope.row.isDataA === 2">不符合</el-tag>
|
<el-tag type="danger" v-if="scope.row.isDataA === 2">不符合</el-tag>
|
||||||
<el-tag type="warning" v-if="scope.row.isDataA === 4">/</el-tag>
|
|
||||||
<el-tag type="info" v-if="scope.row.isDataA === 5">-</el-tag>
|
|
||||||
</el-tooltip>
|
</el-tooltip>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
@@ -36,7 +38,11 @@
|
|||||||
<el-table-column prop="dataB" :label="'被检值' + (outerUnit == '' ? '' : '(' + outerUnit + ')')" />
|
<el-table-column prop="dataB" :label="'被检值' + (outerUnit == '' ? '' : '(' + outerUnit + ')')" />
|
||||||
<el-table-column prop="isDataB" label="检测结果">
|
<el-table-column prop="isDataB" label="检测结果">
|
||||||
<template #default="scope">
|
<template #default="scope">
|
||||||
<el-tooltip effect="dark" placement="bottom">
|
<template v-if="scope.row.isDataB === 4 || scope.row.isDataB === 5">
|
||||||
|
<el-tag type="warning" v-if="scope.row.isDataB === 4">/</el-tag>
|
||||||
|
<el-tag type="info" v-if="scope.row.isDataA === 5">-</el-tag>
|
||||||
|
</template>
|
||||||
|
<el-tooltip v-else effect="dark" placement="bottom">
|
||||||
<template #content>
|
<template #content>
|
||||||
误差范围:{{ scope.row.maxErrorB }}
|
误差范围:{{ scope.row.maxErrorB }}
|
||||||
<br />
|
<br />
|
||||||
@@ -44,8 +50,7 @@
|
|||||||
</template>
|
</template>
|
||||||
<el-tag type="success" v-if="scope.row.isDataB === 1">符合</el-tag>
|
<el-tag type="success" v-if="scope.row.isDataB === 1">符合</el-tag>
|
||||||
<el-tag type="danger" v-if="scope.row.isDataB === 2">不符合</el-tag>
|
<el-tag type="danger" v-if="scope.row.isDataB === 2">不符合</el-tag>
|
||||||
<el-tag type="warning" v-if="scope.row.isDataB === 4">/</el-tag>
|
|
||||||
<el-tag type="info" v-if="scope.row.isDataA === 5">-</el-tag>
|
|
||||||
</el-tooltip>
|
</el-tooltip>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
@@ -55,7 +60,11 @@
|
|||||||
<el-table-column prop="dataC" :label="'被检值' + (outerUnit == '' ? '' : '(' + outerUnit + ')')" />
|
<el-table-column prop="dataC" :label="'被检值' + (outerUnit == '' ? '' : '(' + outerUnit + ')')" />
|
||||||
<el-table-column prop="isDataC" label="检测结果">
|
<el-table-column prop="isDataC" label="检测结果">
|
||||||
<template #default="scope">
|
<template #default="scope">
|
||||||
<el-tooltip effect="dark" placement="bottom">
|
<template v-if="scope.row.isDataC === 4 || scope.row.isDataC === 5">
|
||||||
|
<el-tag type="warning" v-if="scope.row.isDataC === 4">/</el-tag>
|
||||||
|
<el-tag type="info" v-if="scope.row.isDataA === 5">-</el-tag>
|
||||||
|
</template>
|
||||||
|
<el-tooltip v-else effect="dark" placement="bottom">
|
||||||
<template #content>
|
<template #content>
|
||||||
误差范围: {{ scope.row.maxErrorC }}
|
误差范围: {{ scope.row.maxErrorC }}
|
||||||
<br />
|
<br />
|
||||||
@@ -63,8 +72,7 @@
|
|||||||
</template>
|
</template>
|
||||||
<el-tag type="success" v-if="scope.row.isDataC === 1">符合</el-tag>
|
<el-tag type="success" v-if="scope.row.isDataC === 1">符合</el-tag>
|
||||||
<el-tag type="danger" v-if="scope.row.isDataC === 2">不符合</el-tag>
|
<el-tag type="danger" v-if="scope.row.isDataC === 2">不符合</el-tag>
|
||||||
<el-tag type="warning" v-if="scope.row.isDataC === 4">/</el-tag>
|
|
||||||
<el-tag type="info" v-if="scope.row.isDataA === 5">-</el-tag>
|
|
||||||
</el-tooltip>
|
</el-tooltip>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
@@ -75,7 +83,11 @@
|
|||||||
<el-table-column prop="dataT" :label="'被检值' + (outerUnit == '' ? '' : '(' + outerUnit + ')')" />
|
<el-table-column prop="dataT" :label="'被检值' + (outerUnit == '' ? '' : '(' + outerUnit + ')')" />
|
||||||
<el-table-column prop="isDataT" label="检测结果">
|
<el-table-column prop="isDataT" label="检测结果">
|
||||||
<template #default="scope">
|
<template #default="scope">
|
||||||
<el-tooltip effect="dark" placement="bottom">
|
<template v-if="scope.row.isDataT === 4 || scope.row.isDataT === 5">
|
||||||
|
<el-tag type="warning" v-if="scope.row.isDataT === 4">/</el-tag>
|
||||||
|
<el-tag type="info" v-if="scope.row.isDataA === 5">-</el-tag>
|
||||||
|
</template>
|
||||||
|
<el-tooltip v-else effect="dark" placement="bottom">
|
||||||
<template #content>
|
<template #content>
|
||||||
误差范围: {{ scope.row.maxErrorT }}
|
误差范围: {{ scope.row.maxErrorT }}
|
||||||
<br />
|
<br />
|
||||||
@@ -83,8 +95,6 @@
|
|||||||
</template>
|
</template>
|
||||||
<el-tag type="success" v-if="scope.row.isDataT === 1">符合</el-tag>
|
<el-tag type="success" v-if="scope.row.isDataT === 1">符合</el-tag>
|
||||||
<el-tag type="danger" v-if="scope.row.isDataT === 2">不符合</el-tag>
|
<el-tag type="danger" v-if="scope.row.isDataT === 2">不符合</el-tag>
|
||||||
<el-tag type="warning" v-if="scope.row.isDataT === 4">/</el-tag>
|
|
||||||
<el-tag type="info" v-if="scope.row.isDataA === 5">-</el-tag>
|
|
||||||
</el-tooltip>
|
</el-tooltip>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
|||||||
Reference in New Issue
Block a user