This commit is contained in:
sjl
2025-10-17 15:25:14 +08:00
parent 5de539f61c
commit 8a83bc5867
2 changed files with 7 additions and 7 deletions

View File

@@ -15,7 +15,7 @@
finish-status="success"> finish-status="success">
<el-step :status="step1" title="设备通讯校验"/> <el-step :status="step1" title="设备通讯校验"/>
<el-step :status="step2" title="模型一致性校验"/> <el-step :status="step2" title="模型一致性校验"/>
<el-step :status="step3" title="实时数据对齐验证" v-if="!props.onlyWave"/> <el-step :status="step3" title="数据对齐验证" v-if="!props.onlyWave"/>
<el-step :status="step4" title="相序校验"/> <el-step :status="step4" title="相序校验"/>
<!-- <el-step :status="step6" title="遥控录波功能验证"/> --> <!-- <el-step :status="step6" title="遥控录波功能验证"/> -->
<el-step :status="step5" :title="ts === 'error'? '检测失败':ts === 'process'? '检测中':ts === 'success'? '检测成功':'待检测'"/> <el-step :status="step5" :title="ts === 'error'? '检测失败':ts === 'process'? '检测中':ts === 'success'? '检测成功':'待检测'"/>
@@ -41,7 +41,7 @@
</el-collapse-item> </el-collapse-item>
<el-collapse-item name="3" v-if="!props.onlyWave"> <el-collapse-item name="3" v-if="!props.onlyWave">
<template #title> <template #title>
实时数据对齐验证 数据对齐验证
<el-icon class="title-icon" @click="openDialog" v-if="isShowDialog"><InfoFilled/></el-icon> <el-icon class="title-icon" @click="openDialog" v-if="isShowDialog"><InfoFilled/></el-icon>
</template> </template>
<div class="div-log"> <div class="div-log">
@@ -124,7 +124,7 @@ const activeIndex = ref(0)
const activeTotalNum = computed(() => { const activeTotalNum = computed(() => {
let count = 4; // 基础步骤数:设备通讯校验、模型一致性校验、相序校验、最终状态 let count = 4; // 基础步骤数:设备通讯校验、模型一致性校验、相序校验、最终状态
if (props.onlyWave) { if (props.onlyWave) {
count++; // 添加实时数据对齐验证步骤 count++; // 添加数据对齐验证步骤
} }
return count; return count;
}); });
@@ -149,7 +149,7 @@ const detectionOptions = ref([
}, },
{ {
id: 2, id: 2,
name: "实时数据对齐验证", name: "数据对齐验证",
selected: true, selected: true,
}, },
{ {
@@ -354,7 +354,7 @@ watch(webMsgSend, function (newValue, oldValue) {
if(newValue.code == 10550){ if(newValue.code == 10550){
step3InitLog.value.push({ step3InitLog.value.push({
type: 'error', type: 'error',
log: '实时数据对齐时,设备连接异常!', log: '数据对齐时,设备连接异常!',
}); });
step3.value = 'error' step3.value = 'error'
ts.value = 'error' ts.value = 'error'
@@ -592,7 +592,7 @@ function initializeParameters() {
}, },
] ]
// 清空实时数据对齐验证的数据 // 清空数据对齐验证的数据
testDataStructure.value = {} testDataStructure.value = {}
isShowDialog.value = false isShowDialog.value = false

View File

@@ -127,7 +127,7 @@
<!-- 表格行操作列根据不同模式显示不同的操作按钮 --> <!-- 表格行操作列根据不同模式显示不同的操作按钮 -->
<template #operation="scope"> <template #operation="scope">
<div v-if="form.activeTabs === 3" <div v-if="form.activeTabs === 3"
style="overflow-x: auto; display: flex;justify-content: center; align-items: center" style=" display: flex;justify-content: center; align-items: center"
> >
<!-- 报告下载仅在报告已生成或已上传时显示 --> <!-- 报告下载仅在报告已生成或已上传时显示 -->
<el-button <el-button