|
@@ -1,9 +1,13 @@
|
|
|
import { Flex, Layout } from 'antd';
|
|
import { Flex, Layout } from 'antd';
|
|
|
-import { useAppSelector } from '@/states/store';
|
|
|
|
|
|
|
+import { RootState, useAppSelector } from '@/states/store';
|
|
|
import ImageControl from './components/ImageControl';
|
|
import ImageControl from './components/ImageControl';
|
|
|
import OperationPanel from './components/OperationPanel';
|
|
import OperationPanel from './components/OperationPanel';
|
|
|
import BodyPositionList from '../exam/components/BodyPositionList';
|
|
import BodyPositionList from '../exam/components/BodyPositionList';
|
|
|
import InvertContrastModal from './components/InvertContrastModal';
|
|
import InvertContrastModal from './components/InvertContrastModal';
|
|
|
|
|
+import ExamExitFeedback from '../exam/components/ExamExitFeedback';
|
|
|
|
|
+import { useDispatch } from 'react-redux';
|
|
|
|
|
+import { setFeedbackOpen } from '@/states/exam/largeScreenSlice';
|
|
|
|
|
+import { setBusinessFlow } from '@/states/BusinessFlowSlice';
|
|
|
|
|
|
|
|
const { Content, Sider } = Layout;
|
|
const { Content, Sider } = Layout;
|
|
|
|
|
|
|
@@ -11,7 +15,10 @@ const ImageProcessingPageLarge = () => {
|
|
|
const selectedBodyPosition = useAppSelector(
|
|
const selectedBodyPosition = useAppSelector(
|
|
|
(state) => state.bodyPositionList.selectedBodyPosition
|
|
(state) => state.bodyPositionList.selectedBodyPosition
|
|
|
);
|
|
);
|
|
|
-
|
|
|
|
|
|
|
+ const dispatch = useDispatch();
|
|
|
|
|
+ const isFeedbackOpen = useAppSelector(
|
|
|
|
|
+ (state: RootState) => state.largeScreen.isFeedbackOpen
|
|
|
|
|
+ );
|
|
|
const patientId = selectedBodyPosition?.work?.PatientID || '';
|
|
const patientId = selectedBodyPosition?.work?.PatientID || '';
|
|
|
const patientName = selectedBodyPosition?.work?.PatientName || '';
|
|
const patientName = selectedBodyPosition?.work?.PatientName || '';
|
|
|
const patientSex = selectedBodyPosition?.work?.PatientSex || '';
|
|
const patientSex = selectedBodyPosition?.work?.PatientSex || '';
|
|
@@ -52,6 +59,18 @@ const ImageProcessingPageLarge = () => {
|
|
|
|
|
|
|
|
{/* 反色对比Modal */}
|
|
{/* 反色对比Modal */}
|
|
|
<InvertContrastModal />
|
|
<InvertContrastModal />
|
|
|
|
|
+ <ExamExitFeedback
|
|
|
|
|
+ open={isFeedbackOpen}
|
|
|
|
|
+ onContinue={() => {
|
|
|
|
|
+ dispatch(setFeedbackOpen(false));
|
|
|
|
|
+ dispatch(setBusinessFlow('exitExamSuspended'));
|
|
|
|
|
+ }}
|
|
|
|
|
+ onSave={() => {
|
|
|
|
|
+ dispatch(setFeedbackOpen(false));
|
|
|
|
|
+ dispatch(setBusinessFlow('exitExamCompleted'));
|
|
|
|
|
+ }}
|
|
|
|
|
+ onAbort={() => dispatch(setFeedbackOpen(false))}
|
|
|
|
|
+ />
|
|
|
</Layout>
|
|
</Layout>
|
|
|
</Flex>
|
|
</Flex>
|
|
|
);
|
|
);
|