微调
This commit is contained in:
@@ -50,9 +50,9 @@ const outerUnit = computed(() => {
|
|||||||
|
|
||||||
const setB = computed(() => {
|
const setB = computed(() => {
|
||||||
return prop.currentCheckItem == '三相电流不平衡度'
|
return prop.currentCheckItem == '三相电流不平衡度'
|
||||||
? '三相电流不平衡度'
|
? '负序不平衡度'
|
||||||
: prop.currentCheckItem == '三相电压不平衡度'
|
: prop.currentCheckItem == '三相电压不平衡度'
|
||||||
? '三相电压不平衡度'
|
? '负序不平衡度'
|
||||||
: 'B相'
|
: 'B相'
|
||||||
})
|
})
|
||||||
const setT = computed(() => {
|
const setT = computed(() => {
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
:header-cell-style="{ textAlign: 'center' }"
|
:header-cell-style="{ textAlign: 'center' }"
|
||||||
:cell-style="{ textAlign: 'center' }"
|
:cell-style="{ textAlign: 'center' }"
|
||||||
>
|
>
|
||||||
<el-table-column type="index" label="序号" width="70" fixed="left" />
|
<!-- <el-table-column type="index" label="序号" width="70" fixed="left" />-->
|
||||||
<el-table-column label="A相" v-if="prop.tableData.length==0|| prop.tableData[0]?.dataA">
|
<el-table-column label="A相" v-if="prop.tableData.length==0|| prop.tableData[0]?.dataA">
|
||||||
<el-table-column prop="stdA" :label="'被检值'+(outerUnit==''?'':'('+outerUnit+')')">
|
<el-table-column prop="stdA" :label="'被检值'+(outerUnit==''?'':'('+outerUnit+')')">
|
||||||
<template #default="{ row }">
|
<template #default="{ row }">
|
||||||
|
|||||||
@@ -857,7 +857,7 @@ const handleTest = async (val: string) => {
|
|||||||
ElMessage.success('不合格项复检')
|
ElMessage.success('不合格项复检')
|
||||||
checkStore.setReCheckType(0)
|
checkStore.setReCheckType(0)
|
||||||
// 控制是否显示温度湿度输入框
|
// 控制是否显示温度湿度输入框
|
||||||
if (appSceneStore.currentScene === '0') {
|
if (appSceneStore.currentScene === '0' && modeStore.currentMode != '比对式') {
|
||||||
writeTHPopupRef.value?.open()
|
writeTHPopupRef.value?.open()
|
||||||
} else {
|
} else {
|
||||||
selectTestItemPopupRef.value?.open()
|
selectTestItemPopupRef.value?.open()
|
||||||
@@ -867,7 +867,7 @@ const handleTest = async (val: string) => {
|
|||||||
if (action === 'cancel') {
|
if (action === 'cancel') {
|
||||||
ElMessage.success('全部复检')
|
ElMessage.success('全部复检')
|
||||||
checkStore.setReCheckType(1)
|
checkStore.setReCheckType(1)
|
||||||
if (appSceneStore.currentScene === '0') {
|
if (appSceneStore.currentScene === '0'&& modeStore.currentMode != '比对式') {
|
||||||
writeTHPopupRef.value?.open()
|
writeTHPopupRef.value?.open()
|
||||||
} else {
|
} else {
|
||||||
selectTestItemPopupRef.value?.open()
|
selectTestItemPopupRef.value?.open()
|
||||||
@@ -895,7 +895,7 @@ const handleTest = async (val: string) => {
|
|||||||
.then(() => {
|
.then(() => {
|
||||||
ElMessage.success('不合格项复检')
|
ElMessage.success('不合格项复检')
|
||||||
checkStore.setReCheckType(0)
|
checkStore.setReCheckType(0)
|
||||||
if (appSceneStore.currentScene === '0') {
|
if (appSceneStore.currentScene === '0'&& modeStore.currentMode != '比对式') {
|
||||||
writeTHPopupRef.value?.open()
|
writeTHPopupRef.value?.open()
|
||||||
} else {
|
} else {
|
||||||
openTestDialog(true)
|
openTestDialog(true)
|
||||||
@@ -905,7 +905,7 @@ const handleTest = async (val: string) => {
|
|||||||
if (action === 'cancel') {
|
if (action === 'cancel') {
|
||||||
ElMessage.success('全部复检')
|
ElMessage.success('全部复检')
|
||||||
checkStore.setReCheckType(1)
|
checkStore.setReCheckType(1)
|
||||||
if (appSceneStore.currentScene === '0') {
|
if (appSceneStore.currentScene === '0'&& modeStore.currentMode != '比对式') {
|
||||||
writeTHPopupRef.value?.open()
|
writeTHPopupRef.value?.open()
|
||||||
} else {
|
} else {
|
||||||
openTestDialog(true)
|
openTestDialog(true)
|
||||||
@@ -950,7 +950,7 @@ const handleTest = async (val: string) => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const openTestDialog = (testData: any) => {
|
const openTestDialog = (testData: any) => {
|
||||||
if (appSceneStore.currentScene === '0') {
|
if (appSceneStore.currentScene === '0'&& modeStore.currentMode != '比对式') {
|
||||||
if (testData) {
|
if (testData) {
|
||||||
writeTHPopupRef.value?.open()
|
writeTHPopupRef.value?.open()
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@@ -569,6 +569,12 @@ watch(webMsgSend, function(newValue, oldValue) {
|
|||||||
case 'V_End':
|
case 'V_End':
|
||||||
handleEndItem('V', newValue.desc, newValue.data)
|
handleEndItem('V', newValue.desc, newValue.data)
|
||||||
break
|
break
|
||||||
|
case 'P_Start':
|
||||||
|
handleStartItem('P', newValue.desc)
|
||||||
|
break
|
||||||
|
case 'P_End':
|
||||||
|
handleEndItem('P', newValue.desc, newValue.data)
|
||||||
|
break
|
||||||
case 'HV_Start':
|
case 'HV_Start':
|
||||||
handleStartItem('HV', newValue.desc)
|
handleStartItem('HV', newValue.desc)
|
||||||
break
|
break
|
||||||
|
|||||||
@@ -226,6 +226,10 @@ const unit = [
|
|||||||
label: '相电压有效值',
|
label: '相电压有效值',
|
||||||
unit: 'V'
|
unit: 'V'
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
label: '功率',
|
||||||
|
unit: 'W'
|
||||||
|
},
|
||||||
{
|
{
|
||||||
label: '电压偏差',
|
label: '电压偏差',
|
||||||
unit: '%'
|
unit: '%'
|
||||||
@@ -264,7 +268,7 @@ const unit = [
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '谐波有功功率',
|
label: '谐波有功功率',
|
||||||
unit: 'W'
|
unit: '%Ph'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '间谐波电压',
|
label: '间谐波电压',
|
||||||
|
|||||||
Reference in New Issue
Block a user