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-form-item>
</div>
<div class="content-right-Tabs">
<el-tabs type="border-card" v-model="activeTab">
<el-tab-pane label="检测结果" name="resultTab">
<CompareDataCheckResultTable
:tableData="currentCheckResultData"
:tableData="checkResultData.length == 0 ? [] : currentCheckResultData"
:currentCheckItem="currentCheckItem"
:currentScriptTypeName="currentScriptTypeName"
v-if="activeTab === 'resultTab'"
@@ -102,7 +101,7 @@
<el-tab-pane label="原始数据" name="rawDataTab">
<CompareDataCheckRawDataTable
v-if="activeTab === 'rawDataTab'"
:tableData="currentRawTableData"
:tableData="rawTableData.length == 0 ? [] : currentRawTableData"
:currentCheckItem="currentCheckItem"
:currentScriptTypeName="currentScriptTypeName"
/>
@@ -238,6 +237,8 @@ const initScriptData = async (row: any) => {
}
//获取基本信息
const getBasicInformation = async () => {
checkResultData.value = []
rawTableData.value = []
getContrastFormContent({
planId: checkStore.plan.id,
scriptType: rowList.value.scriptType,