微调
This commit is contained in:
@@ -224,7 +224,7 @@ const column: any = ref([
|
||||
field: 'inpactloadhighScale'
|
||||
},
|
||||
{
|
||||
title: '有无隔离变',
|
||||
title: '是否隔离变',
|
||||
field: 'isIsolationtrans'
|
||||
},
|
||||
{
|
||||
@@ -398,7 +398,6 @@ watch(() => props.nodeId, async (newId) => {
|
||||
// 处理冲击负荷类型名称
|
||||
form.value.impact = form.value.impact.map((impactItem: any) => {
|
||||
const found = loadRes.data.find((item: any) => item.inpactloadtypeId == impactItem.inpactloadtypeId)
|
||||
|
||||
if (found) {
|
||||
return {
|
||||
...impactItem,
|
||||
@@ -417,7 +416,8 @@ watch(() => props.nodeId, async (newId) => {
|
||||
return {
|
||||
...loadItem,
|
||||
inpactloadhighScale: HeightVoltage?.name || loadItem.inpactloadhighScale,
|
||||
inpactloadlowScale: LowVoltage?.name || loadItem.inpactloadlowScale
|
||||
inpactloadlowScale: LowVoltage?.name || loadItem.inpactloadlowScale,
|
||||
isIsolationtrans: loadItem.isIsolationtrans === '01' ? '是' : '否',
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
<vxe-column title="国标限值" field="limitData" />
|
||||
<vxe-column title="判断">
|
||||
<template #default="{ row }">
|
||||
<span v-if="!row.data || row.data === ''"></span>
|
||||
<span v-if="!row.limitData || row.limitData === ''"></span>
|
||||
<el-tag v-else-if="row.isQualified" type="success">合格</el-tag>
|
||||
<el-tag v-else type="warning">不合格</el-tag>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user