|
@@ -377,25 +377,27 @@ const ActionPanel: React.FC = () => {
|
|
|
}
|
|
|
onClick={() => showNotImplemented('')}
|
|
|
/>
|
|
|
- <ActionButton
|
|
|
- icon={
|
|
|
- <Icon
|
|
|
- module="module-patient"
|
|
|
- name="Send"
|
|
|
- userId="base"
|
|
|
- theme="default"
|
|
|
- size="2x"
|
|
|
- state="normal"
|
|
|
- />
|
|
|
- }
|
|
|
- tooltip={
|
|
|
- <FormattedMessage
|
|
|
- id="actionPanel.send"
|
|
|
- defaultMessage="actionPanel.send"
|
|
|
- />
|
|
|
- }
|
|
|
- onClick={handleSend}
|
|
|
- />
|
|
|
+ {currentKey === 'historylist' && (
|
|
|
+ <ActionButton
|
|
|
+ icon={
|
|
|
+ <Icon
|
|
|
+ module="module-patient"
|
|
|
+ name="Send"
|
|
|
+ userId="base"
|
|
|
+ theme="default"
|
|
|
+ size="2x"
|
|
|
+ state="normal"
|
|
|
+ />
|
|
|
+ }
|
|
|
+ tooltip={
|
|
|
+ <FormattedMessage
|
|
|
+ id="actionPanel.send"
|
|
|
+ defaultMessage="actionPanel.send"
|
|
|
+ />
|
|
|
+ }
|
|
|
+ onClick={handleSend}
|
|
|
+ />
|
|
|
+ )}
|
|
|
{/* 我们不需要导出功能 */}
|
|
|
{/* <ActionButton
|
|
|
icon={
|