Kaynağa Gözat

feat (1.33.2 -> 1.34.0): 在体位操作按钮中添加追加视图功能

- 在 BodyPositionActionButtons 组件中添加追加视图按钮
- 集成 AppendViewModal 组件,支持体位追加操作
- 添加 btn_AppendView 图标资源
- 优化按钮样式,设置 fontSize 为 48px 提升图标显示效果

改动文件:
- src/pages/exam/components/BodyPositionActionButtons.tsx
- src/assets/Icons/base/module-exam/theme-default/1x/btn_AppendView.svg
- package.json
- chanagelog.md
dengdx 2 hafta önce
ebeveyn
işleme
b43c52d3f5

+ 25 - 0
CHANGELOG.md

@@ -2,6 +2,31 @@
 
 本项目的所有重要变更都将记录在此文件中。
 
+## [1.34.0] - 2025-12-29 18:25
+
+### 新增 (Added)
+- **在体位操作按钮中添加追加视图功能** - 实现体位列表的追加视图按钮功能
+  - 在 BodyPositionActionButtons 组件中添加追加视图按钮
+  - 集成 AppendViewModal 组件,支持体位追加操作
+  - 添加 btn_AppendView.svg 图标资源
+  - 优化按钮样式,设置 fontSize 为 48px 提升图标显示效果
+
+**核心功能实现:**
+- 按钮添加:在 BodyPositionActionButtons 组件中添加追加视图按钮
+- 模态框集成:集成 AppendViewModal 组件,支持体位追加操作
+- 图标资源:添加 btn_AppendView.svg 图标资源
+- 样式优化:设置按钮字体大小为 48px,提升图标显示效果
+
+**技术实现:**
+- 在 BodyPositionActionButtons.tsx 中添加 Tooltip 和 Button 组件
+- 导入 AppendViewModal 并实现状态管理
+- 使用 Icon 组件渲染 btn_AppendView 图标
+- 添加 onClick 处理函数打开追加视图模态框
+
+**改动文件:**
+- src/pages/exam/components/BodyPositionActionButtons.tsx
+- src/assets/Icons/base/module-exam/theme-default/1x/btn_AppendView.svg
+
 ## [1.33.2] - 2025-12-29 15:59
 
 ### 修复 (Fixed)

+ 1 - 1
package.json

@@ -1,6 +1,6 @@
 {
   "name": "zsis",
-  "version": "1.33.2",
+  "version": "1.34.0",
   "private": true,
   "description": "医学成像系统",
   "main": "main.js",

+ 8 - 0
src/assets/Icons/base/module-exam/theme-default/1x/btn_AppendView.svg

@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<svg width="16"
+    height="16"
+    viewBox="0 0 16 16" version="1.1" xmlns="http://www.w3.org/2000/svg"
+    xmlns:xlink="http://www.w3.org/1999/xlink">
+    <title>appent_view</title>
+    <path d="M10 1H6V6L1 6V10H6V15H10V10H15V6L10 6V1Z" fill="currentColor" />
+</svg>

+ 1 - 0
src/pages/exam/components/BodyPositionActionButtons.tsx

@@ -99,6 +99,7 @@ const BodyPositionActionButtons: React.FC = () => {
                 theme="default"
                 size="2x"
                 state="normal"
+                style={{fontSize: '48px'}}
               />
             }
             onClick={addBodyPositionClick}