|
|
@@ -783,7 +783,9 @@ const selectInspection = async (file: any) => {
|
|
|
console.error('按 inquestId 获取勘验笔录详情失败:', e);
|
|
|
}
|
|
|
}
|
|
|
- inquestData.value = file;
|
|
|
+ if(!inquestData.value.caseId){
|
|
|
+ inquestData.value = file;
|
|
|
+ }
|
|
|
};
|
|
|
// 勘验笔录:拉取并生成预览文本
|
|
|
const loadInspection = async (filesId?: number) => {
|
|
|
@@ -934,7 +936,9 @@ const selectExtraction = async (file: any) => {
|
|
|
console.error('获取提取清单详情失败:', e);
|
|
|
}
|
|
|
}
|
|
|
- extractionData.value = file;
|
|
|
+ if(!extractionData.value.caseId) {
|
|
|
+ extractionData.value = file;
|
|
|
+ }
|
|
|
};
|
|
|
|
|
|
// 切换多个提取清单项时,同步当前原始数据用于编辑预填
|