|
@@ -27,7 +27,7 @@ function useItems(btnAvailability: Record<string, boolean>, productName: 'DROS'
|
|
|
defaultMessage={'语言包中没有定义patient的翻译文本'}
|
|
defaultMessage={'语言包中没有定义patient的翻译文本'}
|
|
|
/>
|
|
/>
|
|
|
),
|
|
),
|
|
|
- icon: 'Registration',
|
|
|
|
|
|
|
+ // icon: 'Registration',
|
|
|
disabled: !btnAvailability['patient_management'],
|
|
disabled: !btnAvailability['patient_management'],
|
|
|
children: [
|
|
children: [
|
|
|
{
|
|
{
|
|
@@ -39,7 +39,7 @@ function useItems(btnAvailability: Record<string, boolean>, productName: 'DROS'
|
|
|
defaultMessage={'语言包中没有定义patient的翻译文本'}
|
|
defaultMessage={'语言包中没有定义patient的翻译文本'}
|
|
|
/>
|
|
/>
|
|
|
),
|
|
),
|
|
|
- icon: 'Registration',
|
|
|
|
|
|
|
+ //icon: 'Registration',
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
key: 'worklist',
|
|
key: 'worklist',
|
|
@@ -50,7 +50,7 @@ function useItems(btnAvailability: Record<string, boolean>, productName: 'DROS'
|
|
|
defaultMessage={'语言包中没有定义patient的翻译文本'}
|
|
defaultMessage={'语言包中没有定义patient的翻译文本'}
|
|
|
/>
|
|
/>
|
|
|
),
|
|
),
|
|
|
- icon: 'Worklist',
|
|
|
|
|
|
|
+ //icon: 'Worklist',
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
key: 'historylist',
|
|
key: 'historylist',
|
|
@@ -61,7 +61,7 @@ function useItems(btnAvailability: Record<string, boolean>, productName: 'DROS'
|
|
|
defaultMessage={'语言包中没有定义patient的翻译文本'}
|
|
defaultMessage={'语言包中没有定义patient的翻译文本'}
|
|
|
/>
|
|
/>
|
|
|
),
|
|
),
|
|
|
- icon: 'Registration',
|
|
|
|
|
|
|
+ //icon: 'Registration',
|
|
|
},
|
|
},
|
|
|
...(isAnimalProduct ? [] : [{
|
|
...(isAnimalProduct ? [] : [{
|
|
|
key: 'archivelist',
|
|
key: 'archivelist',
|
|
@@ -72,7 +72,7 @@ function useItems(btnAvailability: Record<string, boolean>, productName: 'DROS'
|
|
|
defaultMessage={'语言包中没有定义patient的翻译文本'}
|
|
defaultMessage={'语言包中没有定义patient的翻译文本'}
|
|
|
/>
|
|
/>
|
|
|
),
|
|
),
|
|
|
- icon: 'Registration',
|
|
|
|
|
|
|
+ //icon: 'Registration',
|
|
|
}]),
|
|
}]),
|
|
|
...(isAnimalProduct ? [] : [{
|
|
...(isAnimalProduct ? [] : [{
|
|
|
key: 'bin',
|
|
key: 'bin',
|
|
@@ -93,13 +93,13 @@ function useItems(btnAvailability: Record<string, boolean>, productName: 'DROS'
|
|
|
defaultMessage={'语言包中没有定义patient的翻译文本'}
|
|
defaultMessage={'语言包中没有定义patient的翻译文本'}
|
|
|
/>
|
|
/>
|
|
|
),
|
|
),
|
|
|
- icon: 'Registration',
|
|
|
|
|
|
|
+ //icon: 'Registration',
|
|
|
},
|
|
},
|
|
|
],
|
|
],
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
key: 'emergency',
|
|
key: 'emergency',
|
|
|
- icon: 'Emergency',
|
|
|
|
|
|
|
+ //icon: 'Emergency',
|
|
|
label: '急诊',
|
|
label: '急诊',
|
|
|
disabled: !btnAvailability['emergency'],
|
|
disabled: !btnAvailability['emergency'],
|
|
|
},
|
|
},
|
|
@@ -114,7 +114,7 @@ function useItems(btnAvailability: Record<string, boolean>, productName: 'DROS'
|
|
|
defaultMessage={'语言包中没有定义patient的翻译文本'}
|
|
defaultMessage={'语言包中没有定义patient的翻译文本'}
|
|
|
/>
|
|
/>
|
|
|
),
|
|
),
|
|
|
- icon: 'Exam',
|
|
|
|
|
|
|
+ //icon: 'Exam',
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
type: 'divider',
|
|
type: 'divider',
|
|
@@ -132,7 +132,7 @@ function useItems(btnAvailability: Record<string, boolean>, productName: 'DROS'
|
|
|
defaultMessage={'语言包中没有定义patient的翻译文本'}
|
|
defaultMessage={'语言包中没有定义patient的翻译文本'}
|
|
|
/>
|
|
/>
|
|
|
),
|
|
),
|
|
|
- icon: 'Process',
|
|
|
|
|
|
|
+ //icon: 'Process',
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
key: 'print',
|
|
key: 'print',
|
|
@@ -143,7 +143,7 @@ function useItems(btnAvailability: Record<string, boolean>, productName: 'DROS'
|
|
|
defaultMessage={'语言包中没有定义patient的翻译文本'}
|
|
defaultMessage={'语言包中没有定义patient的翻译文本'}
|
|
|
/>
|
|
/>
|
|
|
),
|
|
),
|
|
|
- icon: 'Output',
|
|
|
|
|
|
|
+ //icon: 'Output',
|
|
|
},
|
|
},
|
|
|
];
|
|
];
|
|
|
}
|
|
}
|
|
@@ -263,7 +263,7 @@ const BusinessZone: React.FC<BusinessZoneProps> = ({ onMenuClick }) => {
|
|
|
: () => onMenuClick?.(item.key ?? 'error')
|
|
: () => onMenuClick?.(item.key ?? 'error')
|
|
|
}
|
|
}
|
|
|
iconSize={56}
|
|
iconSize={56}
|
|
|
- iconPlace="left"
|
|
|
|
|
|
|
+ iconPlace="right"
|
|
|
icon={
|
|
icon={
|
|
|
<Icon
|
|
<Icon
|
|
|
module="module-common"
|
|
module="module-common"
|
|
@@ -307,6 +307,7 @@ const BusinessZone: React.FC<BusinessZoneProps> = ({ onMenuClick }) => {
|
|
|
<Flex vertical className="px-1">
|
|
<Flex vertical className="px-1">
|
|
|
{item.children?.map((child) => (
|
|
{item.children?.map((child) => (
|
|
|
<IconButton
|
|
<IconButton
|
|
|
|
|
+ iconPlace="right"
|
|
|
data-testid={child.key}
|
|
data-testid={child.key}
|
|
|
iconSize={56}
|
|
iconSize={56}
|
|
|
icon={
|
|
icon={
|