|
|
@ -11,6 +11,7 @@ defineOptions({
|
|
|
|
name: "ConfirmInspect"
|
|
|
|
name: "ConfirmInspect"
|
|
|
|
});
|
|
|
|
});
|
|
|
|
const route = useRoute();
|
|
|
|
const route = useRoute();
|
|
|
|
|
|
|
|
const processId = ref();
|
|
|
|
const IdentificationBasisRef = ref();
|
|
|
|
const IdentificationBasisRef = ref();
|
|
|
|
const PreliminaryDiagnosisRef = ref();
|
|
|
|
const PreliminaryDiagnosisRef = ref();
|
|
|
|
const completed = () => {
|
|
|
|
const completed = () => {
|
|
|
@ -35,6 +36,7 @@ const saveOk = () => {
|
|
|
|
emit("saveOk");
|
|
|
|
emit("saveOk");
|
|
|
|
};
|
|
|
|
};
|
|
|
|
onMounted(() => {
|
|
|
|
onMounted(() => {
|
|
|
|
|
|
|
|
processId.value = route.query.processId;
|
|
|
|
useConsultationStoreHooks().getAskPrimaryList(route.query.processId);
|
|
|
|
useConsultationStoreHooks().getAskPrimaryList(route.query.processId);
|
|
|
|
});
|
|
|
|
});
|
|
|
|
// 离开时暂存
|
|
|
|
// 离开时暂存
|
|
|
@ -44,9 +46,10 @@ onBeforeUnmount(async () => {
|
|
|
|
if (list.length === 0) return;
|
|
|
|
if (list.length === 0) return;
|
|
|
|
const params = {
|
|
|
|
const params = {
|
|
|
|
primaryConfirmList: list,
|
|
|
|
primaryConfirmList: list,
|
|
|
|
processId: route.query.processId,
|
|
|
|
processId: route.query.processId ? route.query.processId : processId.value,
|
|
|
|
tempSaveFlag: 1
|
|
|
|
tempSaveFlag: 1
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
await confirmPrimaryByAskEnd(params);
|
|
|
|
await confirmPrimaryByAskEnd(params);
|
|
|
|
});
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
</script>
|
|
|
|