This commit is contained in:
guanj
2025-09-01 08:36:18 +08:00
parent 25e7b754b7
commit 0f5e21a06c

View File

@@ -88,12 +88,11 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
</div> </div>
<div class="content-right-Tabs"> <div class="content-right-Tabs">
<el-tabs type="border-card" v-model="activeTab"> <el-tabs type="border-card" v-model="activeTab">
<el-tab-pane label="检测结果" name="resultTab"> <el-tab-pane label="检测结果" name="resultTab">
<CompareDataCheckResultTable <CompareDataCheckResultTable
:tableData="currentCheckResultData" :tableData="checkResultData.length == 0 ? [] : currentCheckResultData"
:currentCheckItem="currentCheckItem" :currentCheckItem="currentCheckItem"
:currentScriptTypeName="currentScriptTypeName" :currentScriptTypeName="currentScriptTypeName"
v-if="activeTab === 'resultTab'" v-if="activeTab === 'resultTab'"
@@ -102,7 +101,7 @@
<el-tab-pane label="原始数据" name="rawDataTab"> <el-tab-pane label="原始数据" name="rawDataTab">
<CompareDataCheckRawDataTable <CompareDataCheckRawDataTable
v-if="activeTab === 'rawDataTab'" v-if="activeTab === 'rawDataTab'"
:tableData="currentRawTableData" :tableData="rawTableData.length == 0 ? [] : currentRawTableData"
:currentCheckItem="currentCheckItem" :currentCheckItem="currentCheckItem"
:currentScriptTypeName="currentScriptTypeName" :currentScriptTypeName="currentScriptTypeName"
/> />
@@ -238,6 +237,8 @@ const initScriptData = async (row: any) => {
} }
//获取基本信息 //获取基本信息
const getBasicInformation = async () => { const getBasicInformation = async () => {
checkResultData.value = []
rawTableData.value = []
getContrastFormContent({ getContrastFormContent({
planId: checkStore.plan.id, planId: checkStore.plan.id,
scriptType: rowList.value.scriptType, scriptType: rowList.value.scriptType,
@@ -292,7 +293,7 @@ const getResults = async () => {
const close = () => { const close = () => {
visible.value = false visible.value = false
formContent.num='' formContent.num = ''
// 可以在这里添加其他清理逻辑 // 可以在这里添加其他清理逻辑
} }