Procházet zdrojové kódy

refactor: 移除患者管理操作面板中的未使用按钮

- 删除本地保存按钮(btn_SaveLocally)
- 删除导入XLS按钮(btn_Import)
- 删除云分享按钮(CloudShare)
- 简化ActionPanel组件,移除三个未实现的功能入口

改动文件:
- src/pages/patient/components/ActionPanel.tsx
sw před 3 dny
rodič
revize
004ebd6611
1 změnil soubory, kde provedl 3 přidání a 57 odebrání
  1. 3 57
      src/pages/patient/components/ActionPanel.tsx

+ 3 - 57
src/pages/patient/components/ActionPanel.tsx

@@ -267,44 +267,8 @@ const ActionPanel: React.FC = () => {
         }
         onClick={() => showNotImplemented('')}
       />
-      <ActionButton
-        icon={
-          <Icon
-            module="module-patient"
-            name="btn_SaveLocally"
-            userId="base"
-            theme="default"
-            size="2x"
-            state="normal"
-          />
-        }
-        tooltip={
-          <FormattedMessage
-            id="actionPanel.saveLocal"
-            defaultMessage="actionPanel.saveLocal"
-          />
-        }
-                onClick={() => showNotImplemented('')}
-      />
-      <ActionButton
-        icon={
-          <Icon
-            module="module-patient"
-            name="btn_Import"
-            userId="base"
-            theme="default"
-            size="2x"
-            state="normal"
-          />
-        }
-        tooltip={
-          <FormattedMessage
-            id="actionPanel.importXLS"
-            defaultMessage="actionPanel.importXLS"
-          />
-        }
-        onClick={() => showNotImplemented('')}
-      />
+      
+      
       <ActionButton
         icon={
           <Icon
@@ -324,25 +288,7 @@ const ActionPanel: React.FC = () => {
         }
         onClick={() => showNotImplemented('')}
       />
-      <ActionButton
-        icon={
-          <Icon
-            module="module-patient"
-            name="CloudShare"
-            userId="base"
-            theme="default"
-            size="2x"
-            state="normal"
-          />
-        }
-        tooltip={
-          <FormattedMessage
-            id="actionPanel.cloudShare"
-            defaultMessage="actionPanel.cloudShare"
-          />
-        }
-        onClick={() => showNotImplemented('')}
-      />
+      
       <ActionButton
         icon={
           <Icon