update 演示版本恢复
This commit is contained in:
@@ -162,34 +162,17 @@ const { RESULT_ACHIEVE_STATUS, TASK_ACHIEVE_STATUS, PERFORMANCE_TYPE, PERFORMANC
|
|||||||
'PERFORMANCE_TYPE'
|
'PERFORMANCE_TYPE'
|
||||||
);
|
);
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
// 演示使用 增加了modelValue
|
|
||||||
modelValue: {
|
|
||||||
type: Boolean,
|
|
||||||
default: false,
|
|
||||||
},
|
|
||||||
analysisData: {
|
analysisData: {
|
||||||
type: Object,
|
type: Object,
|
||||||
default: () => {},
|
default: () => {},
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
// 演示使用 增加了watch
|
|
||||||
watch(
|
|
||||||
() => props.modelValue,
|
|
||||||
(val: boolean) => {
|
|
||||||
if (val) {
|
|
||||||
diaVisible.value = true;
|
|
||||||
} else {
|
|
||||||
diaVisible.value = false;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
);
|
|
||||||
|
|
||||||
const cloumnWidth = ref('200');
|
const cloumnWidth = ref('200');
|
||||||
|
|
||||||
const checkTableRef = ref();
|
const checkTableRef = ref();
|
||||||
|
|
||||||
// 演示使用 true改为了false
|
const diaVisible = ref(true);
|
||||||
const diaVisible = ref(false);
|
|
||||||
|
|
||||||
const checkAnalysisList = ref<any>([]);
|
const checkAnalysisList = ref<any>([]);
|
||||||
const checktableData = ref<any>([]);
|
const checktableData = ref<any>([]);
|
||||||
|
|||||||
@@ -27,8 +27,7 @@
|
|||||||
</template>
|
</template>
|
||||||
</BaseTable>
|
</BaseTable>
|
||||||
<FilePreview v-model="previewVisible" :fileId="fileId"></FilePreview>
|
<FilePreview v-model="previewVisible" :fileId="fileId"></FilePreview>
|
||||||
<!-- 演示使用 v-if改为了v-model -->
|
<compareTextFile v-if="compareVisible" @close="compareVisible = false"></compareTextFile>
|
||||||
<compareTextFile v-model="compareVisible" @close="compareVisible = false"></compareTextFile>
|
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|||||||
@@ -27,8 +27,7 @@
|
|||||||
</template>
|
</template>
|
||||||
</BaseTable>
|
</BaseTable>
|
||||||
<FilePreview v-model="previewVisible" :fileId="fileId"></FilePreview>
|
<FilePreview v-model="previewVisible" :fileId="fileId"></FilePreview>
|
||||||
<!-- 演示使用 v-if改为了v-model -->
|
<compareTextFile v-if="compareVisible" @close="compareVisible = false"></compareTextFile>
|
||||||
<compareTextFile v-model="compareVisible" @close="compareVisible = false"></compareTextFile>
|
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|||||||
@@ -266,9 +266,8 @@
|
|||||||
:run-info="currentRunInfo"
|
:run-info="currentRunInfo"
|
||||||
@close="showRunDetailDialog = false"
|
@close="showRunDetailDialog = false"
|
||||||
/>
|
/>
|
||||||
<!-- 演示使用 v-if改为了v-model -->
|
|
||||||
<analysisDataDialog
|
<analysisDataDialog
|
||||||
v-model="loadcaseAnalysisVisable"
|
v-if="loadcaseAnalysisVisable"
|
||||||
@close="closeAnalysisFun"
|
@close="closeAnalysisFun"
|
||||||
:analysis-data="selectAnalysisData"
|
:analysis-data="selectAnalysisData"
|
||||||
/>
|
/>
|
||||||
|
|||||||
Reference in New Issue
Block a user