|
@@ -10,13 +10,6 @@ import {
|
|
|
message,
|
|
|
Flex,
|
|
|
} from 'antd';
|
|
|
-import {
|
|
|
- DeleteOutlined,
|
|
|
- CopyOutlined,
|
|
|
- SaveOutlined,
|
|
|
- CameraOutlined,
|
|
|
- CloseOutlined,
|
|
|
-} from '@ant-design/icons';
|
|
|
import { patientSizes } from '../../states/patientSize';
|
|
|
import { WorkstationTypeLabels } from '../../states/workstation';
|
|
|
import { FormattedMessage } from 'react-intl';
|
|
@@ -39,6 +32,7 @@ import BodyPositionList from './components/BodyPositionList';
|
|
|
import BodyPositionDetail from './components/BodyPositionDetail';
|
|
|
import { AppDispatch } from '@/states/store';
|
|
|
import { useRef } from 'react';
|
|
|
+import Icon from '@/components/Icon';
|
|
|
|
|
|
const ContentAreaLarge = () => {
|
|
|
const dispatch = useDispatch<AppDispatch>();
|
|
@@ -187,9 +181,17 @@ const ContentAreaLarge = () => {
|
|
|
/>
|
|
|
|
|
|
<Button
|
|
|
- type="primary"
|
|
|
style={{ width: '1.5rem', height: '1.5rem' }}
|
|
|
- icon={<DeleteOutlined />}
|
|
|
+ icon={
|
|
|
+ <Icon
|
|
|
+ module="module-exam"
|
|
|
+ name="btn_ResetGenerator"
|
|
|
+ userId="base"
|
|
|
+ theme="default"
|
|
|
+ size="2x"
|
|
|
+ state="normal"
|
|
|
+ />
|
|
|
+ }
|
|
|
title="重置参数"
|
|
|
/>
|
|
|
</Flex>
|
|
@@ -197,9 +199,17 @@ const ContentAreaLarge = () => {
|
|
|
<Flex wrap gap="small">
|
|
|
<Tooltip title="删除选择的体位">
|
|
|
<Button
|
|
|
- type="primary"
|
|
|
style={{ width: '1.5rem', height: '1.5rem' }}
|
|
|
- icon={<DeleteOutlined />}
|
|
|
+ icon={
|
|
|
+ <Icon
|
|
|
+ module="module-exam"
|
|
|
+ name="btn_DeleteView"
|
|
|
+ userId="base"
|
|
|
+ theme="default"
|
|
|
+ size="2x"
|
|
|
+ state="normal"
|
|
|
+ />
|
|
|
+ }
|
|
|
onClick={async () => {
|
|
|
const selectedBodyPosition =
|
|
|
store.getState().bodyPositionList.selectedBodyPosition;
|
|
@@ -231,9 +241,17 @@ const ContentAreaLarge = () => {
|
|
|
|
|
|
<Tooltip title="复制选择的体位">
|
|
|
<Button
|
|
|
- type="primary"
|
|
|
style={{ width: '1.5rem', height: '1.5rem' }}
|
|
|
- icon={<CopyOutlined />}
|
|
|
+ icon={
|
|
|
+ <Icon
|
|
|
+ module="module-exam"
|
|
|
+ name="btn_Copy"
|
|
|
+ userId="base"
|
|
|
+ theme="default"
|
|
|
+ size="2x"
|
|
|
+ state="normal"
|
|
|
+ />
|
|
|
+ }
|
|
|
onClick={() => {
|
|
|
const instanceUid =
|
|
|
store.getState().bodyPositionList.selectedBodyPosition
|
|
@@ -249,25 +267,49 @@ const ContentAreaLarge = () => {
|
|
|
|
|
|
<Tooltip title="保存参数">
|
|
|
<Button
|
|
|
- type="primary"
|
|
|
style={{ width: '1.5rem', height: '1.5rem' }}
|
|
|
- icon={<SaveOutlined />}
|
|
|
+ icon={
|
|
|
+ <Icon
|
|
|
+ module="module-exam"
|
|
|
+ name="btn_Save"
|
|
|
+ userId="base"
|
|
|
+ theme="default"
|
|
|
+ size="2x"
|
|
|
+ state="normal"
|
|
|
+ />
|
|
|
+ }
|
|
|
/>
|
|
|
</Tooltip>
|
|
|
|
|
|
<Tooltip title="打开/关闭摄像头">
|
|
|
<Button
|
|
|
- type="primary"
|
|
|
style={{ width: '1.5rem', height: '1.5rem' }}
|
|
|
- icon={<CameraOutlined />}
|
|
|
+ icon={
|
|
|
+ <Icon
|
|
|
+ module="module-exam"
|
|
|
+ name="btn_OpenCamera"
|
|
|
+ userId="base"
|
|
|
+ theme="default"
|
|
|
+ size="2x"
|
|
|
+ state="normal"
|
|
|
+ />
|
|
|
+ }
|
|
|
/>
|
|
|
</Tooltip>
|
|
|
|
|
|
<Tooltip title="拒绝">
|
|
|
<Button
|
|
|
- type="primary"
|
|
|
style={{ width: '1.5rem', height: '1.5rem' }}
|
|
|
- icon={<CloseOutlined />}
|
|
|
+ icon={
|
|
|
+ <Icon
|
|
|
+ module="module-exam"
|
|
|
+ name="btn_RejectImage"
|
|
|
+ userId="base"
|
|
|
+ theme="default"
|
|
|
+ size="2x"
|
|
|
+ state="normal"
|
|
|
+ />
|
|
|
+ }
|
|
|
/>
|
|
|
</Tooltip>
|
|
|
</Flex>
|