Commit Graph

69 Commits

Author SHA1 Message Date
Administrator
1a777aad85 2026-04-19-01-03-37 - 自动插入帧间隔抽取[0,2,4,6,8,10]、导出文件名加时间戳、占位符删除恢复居中 v1.2.14 2026-04-19 01:05:36 +08:00
Administrator
e6cdfd84d4 2026-04-19-00-33-44 - Dashboard 30天图表稀疏化+Tooltip悬停交互 v1.2.12 2026-04-19 00:35:43 +08:00
Administrator
3eb1b489f3 2026-04-19-00-24-02 - Dashboard新增全部报告卡片、图表时间切换、X轴重叠修复 v1.2.11 2026-04-19 00:27:33 +08:00
Administrator
9ff2f5923a 2026-04-19-00-13-20 - 打印下划线紧贴文字(line-height: 1) v1.2.10 2026-04-19 00:14:27 +08:00
Administrator
8ccb234a62 2026-04-19-00-01-50 - 高亮样式柔化、点击空白取消、打印高亮隔离、下划线配置同步 v1.2.9 2026-04-19 00:07:14 +08:00
Administrator
cfb3cb91f8 2026-04-18-23-39-35 - 追加经验记录37:下划线修复与表单逆向联动 2026-04-18 23:44:57 +08:00
Administrator
d5529a4998 2026-04-18-23-39-35 - 四项修复:下划线默认、PDF文件名、间距缩紧、表单逆向联动 v1.2.8 2026-04-18 23:44:17 +08:00
Administrator
7ab8c919e3 2026-04-18-23-19-44 - 追加经验记录36:七项排版与功能优化 2026-04-18 23:24:56 +08:00
Administrator
89bf60b4e1 2026-04-18-23-19-44 - 七项优化:排版对齐、间距微调、PDF文件名、北京时间、模板批量操作 v1.2.7 2026-04-18 23:24:12 +08:00
Administrator
888255ae6f 2026-04-18-22-59-10 - 追加经验记录35:字段下划线默认与占位符居中 2026-04-18 23:02:44 +08:00
Administrator
48337c382c 2026-04-18-22-59-10 - 字段默认不下划线、占位符文字居中修复 v1.2.6 2026-04-18 23:02:11 +08:00
Administrator
726bbc5bac 2026-04-18-20-03-44 - 追加经验记录34:模板导入导出与Logo占位符 2026-04-18 20:09:04 +08:00
Administrator
c5648077e8 2026-04-18-20-03-44 - 模板导入导出迁移、Logo替换为可交互占位符 v1.2.5 2026-04-18 20:08:43 +08:00
Administrator
9c09e6cccc 2026-04-18-19-37-56 - 追加经验记录33:四项编辑器体验优化 2026-04-18 19:43:14 +08:00
Administrator
f98177938f 2026-04-18-19-37-56 - 四项编辑器体验优化:视频按钮位置、占位符文字居中、删除恢复尺寸、安全对齐 v1.2.4 2026-04-18 19:42:47 +08:00
Administrator
8ffb9162d3 2026-04-18-19-23-31 - 追加经验记录32:视频空白修复与占位符自适应 2026-04-18 19:27:30 +08:00
Administrator
32f8b2a7ec 2026-04-18-19-23-31 - 修复视频分析模块空白、图片占位符尺寸自适应优化 v1.2.3 2026-04-18 19:27:05 +08:00
Administrator
519cc6fc82 2026-04-18-19-08-43 - 追加经验记录31:六项UI优化实施记录 2026-04-18 19:15:00 +08:00
Administrator
4a7051b6db 2026-04-18-19-08-43 - 六项UI优化:基础字段无下划线、field-value联动高亮、视频按钮整合、视频间距紧凑、签名空行、图片占位符自适应高度 v1.2.2 2026-04-18 19:14:23 +08:00
Administrator
5f4ae1ff29 2026-04-18-18-36-43 - 报告管理列名修正、字段下划线控制、下载导出功能、右对齐排版修复、签名默认右对齐 2026-04-18 18:48:30 +08:00
Administrator
db1c11f7eb 2026-04-18-18-08-37 - 编辑器工具栏新增字号行距选择、修复字体选择、模板排版间距调整 2026-04-18 18:13:07 +08:00
Administrator
55ce78d898 2026-04-18-17-48-59 - 模板排版微调:字段间距、Flex居中抬头、打印隐藏删除按钮、统一1.5行距、下划线贴底 2026-04-18 17:52:05 +08:00
Administrator
e1dc961ecf 2026-04-18-17-27-51 - 修复TemplateManage静态占位符插入、重构默认模板排版、修复Logo删除按钮交互 2026-04-18 17:33:07 +08:00
Administrator
67fb2c9080 2026-04-18-16-55-47 - 报告编辑器field-value点击联动、字段动态排序、默认模板手术图片表格替换 2026-04-18 17:01:18 +08:00
Administrator
a46ecffadf 2026-04-18-16-45-02 - 建立代码编纂工作流规范(含需求分析、实现方案、测试方案) 2026-04-18 16:50:55 +08:00
Administrator
034575e0a8 Merge remote V1.2.0 and add local V1.2.1 v1.2.1 2026-04-18 16:31:38 +08:00
Administrator
4e24ee15a2 V1.2.1 2026-04-18 16:31:09 +08:00
0df27cbc73 2026-04-18-00-43-19 - 默认模板占位符补充data-mode属性与图片来源隔离对齐 2026-04-18 00:46:05 +08:00
1278f7282f 2026-04-18-00-23-14 - 补充自动帧插入时的占位符边框清除 2026-04-18 00:34:46 +08:00
8978b7a2de Merge remote: adopt upstream modal and placeholder isolation changes 2026-04-18 00:33:59 +08:00
6498ef6444 2026-04-18-00-23-14 - 修复拖拽关键帧边框残留、替换prompt为自定义弹窗、增加占位符图片来源隔离 2026-04-18 00:32:28 +08:00
b7a1ea457e 2026-04-18-00-02-08 - 拖拽关键帧样式修复、占位符分类隔离与Modal弹窗改造、表格插入Modal化 2026-04-18 00:09:33 +08:00
d05029838f 2026-04-17-23-38-34 - 时间格式自定义下拉组件、表格内图片占位符自适应、打印多页页边距修复 2026-04-17 23:44:03 +08:00
d45e973255 2026-04-17-23-12-52 - 修复时间字段24h脏数据、格式选项分类过滤、字段管理编辑面板滚动对齐 2026-04-17 23:18:59 +08:00
1a766edb90 2026-04-17-22-53-01 - 新建项目修改工作流Skill并创建统一经验记录 2026-04-17 23:10:57 +08:00
8e7079e6a9 [文档] 更新经验记录:时间字段联动修复 2026-04-17 22:51:42 +08:00
8ea0a9a69e [修复] 时间字段联动:默认中文日期格式、固定时间自动填充、12/24h动态切换 2026-04-17 22:47:18 +08:00
ac6b619549 [第五批] 手术图文病历报告系统 - 时间字段增强:自定义格式、固定时间默认值、系统锁定标签 2026-04-17 22:20:33 +08:00
8beb534abb 2026-04-17-21-32-27 - 时间日期字段格式配置与撰写时间动态字段 2026-04-17 21:42:51 +08:00
8f746c25f3 fix: 5项交互修复 - 删除图片恢复虚线框、prompt文案统一、移除overflow、多选输入解耦、label加可多选 2026-04-17 21:19:20 +08:00
28b913692c feat: 6项交互优化 - placeholder虚线框清除、删除按钮遮挡修复、*分隔输入、签名尺寸固定、移除isSigned、多选文本拼接重构 2026-04-17 20:46:58 +08:00
ee1ac0d637 feat: 5项UX优化 - 合并占位符prompt、默认200x200尺寸、系统默认设置、签名状态列、素材预加载前置 2026-04-17 19:59:19 +08:00
5fee3352c1 refactor: unify image-placeholder across editors and remove image field type
- Remove surgeonSignature and hospitalLogo from DEFAULT_FORM_FIELDS.
- Replace logo and signature in default template with inline image-placeholder spans.
- Enhance insertImage() in both editors with prompt for max-width/height (px).
- Abbreviate placeholder text to '插入图片' when width < 80px.
- Force inline insertion using display:inline-flex + vertical-align:middle.
- Port image-source picker modal from ReportEditor to TemplateManage.
- Remove legacy triggerPlaceholderUpload direct upload logic.
2026-04-17 19:34:03 +08:00
0c57409c59 feat: TemplateManage field system upgrade and bidirectional navigation
- Fix new field type linkage (remove text option under single/multi/image).
- Add system fields: pre/post-op diagnosis, pathology checks, etc.
- Replace placeholder text in default template with smart fields.
- Accordion grouping and inline option editing in field management.
- Add image field type, asset library with logo preloading.
- Image source picker modal in ReportEditor (local/signature/asset).
- Editor-to-sidebar highlight and scroll navigation on smart field click.
2026-04-17 18:54:10 +08:00
b155dd42d6 fix(TemplateManage): Ctrl+Z undo and smart-field insertion layout
- Intercept Ctrl+Z/Y keyboard shortcuts in keydown listener and route
to custom undoStack/redoStack to fix undo inconsistency.
- Replace execCommand('insertHTML') with precise Range.insertNode()
in insertSmartField to prevent <span> escaping out of <p> when
preceded by <br>.
2026-04-17 13:39:16 +08:00
b822bb1b47 fix: custom undo/redo stack and cursor positioning in TemplateManage
- Add undoStack/redoStack refs with pushHistory/handleUndo/handleRedo
- Replace execCmd('undo')/execCmd('redo') with custom stack handlers
- Call pushHistory before structural changes (delete, insert field/table/image, formatting)
- Add onMouseDown preventDefault to toolbar and field library buttons to stop focus loss
- Implement saveSelection/restoreSelection using savedRangeRef
- Bind onBlur/onMouseUp/onKeyUp on editor to persist cursor position
- Restore selection in insertSmartField and insertImage before insertHTML
- Update experience record (#20)
2026-04-17 13:18:54 +08:00
f7c7270053 fix: undo stack, field insertion wrap, backspace/delete precision; feat: signature size limit & isSigned control
- Replace direct DOM remove() with Range+execCommand('delete') in TemplateManage click and keydown handlers to restore undo stack
- Append &#8203; zero-width space to smart-field-wrapper HTML in insertSmartField and defaultContent.ts to prevent unwanted line breaks
- Refactor ReportEditor surgeonSignature rendering to depend on isSigned field
- Add isSigned to DEFAULT_FORM_FIELDS (single_select: 已签字/未签字)
- Change surgeonSignature to visibleInForm=true, isSystemLocked=false
- Constrain signature image with max-width:120px, max-height:40px, object-fit:contain in CSS and print.ts
- Add weak-blocking signature validation prompts in saveReport('completed')
- Update experience record (#19)
2026-04-17 12:41:07 +08:00
424407a17e feat: field hover highlight, e-signature upload, surgeon signature linkage
- Add signature?: string to User type and 'signature' to FieldType
- Add surgeonSignature field to DEFAULT_FORM_FIELDS (category: 图片)
- UserManage: add canvas-based image compression (max 500px) and signature upload UI
- TemplateManage: add hover highlight on field buttons via direct DOM style manipulation
- TemplateManage: add '图片' category to field library for surgeonSignature insertion
- ReportEditor: auto-fill surgeonSignature with currentUser.signature image or placeholder text
- index.css & print.ts: add .report-signature-img styling (height 2.4em, vertical-align middle)
- Update experience record (#18)
2026-04-17 12:04:23 +08:00
0ff1cbe5f0 feat: focus highlight, delete-btn visibility isolation, multi_select crash fix
- Move delete-btn to top-right of smart-field-wrapper via absolute positioning
- Add template-editor-mode class to TemplateManage editor for CSS isolation
- Show delete-btn only on hover/focus-within inside template-editor-mode
- Add .field-value:focus highlight with background darken and blue glow
- Sync defaultContent.ts smartField() HTML structure
- Fix ReportEditor multi_select .map crash with Array.isArray guard
2026-04-17 11:21:32 +08:00
db5df13a05 feat: smart field uniqueness, delete button, bulk export in report manage
- TemplateManage: add uniqueness check for smart fields to prevent duplicate inserts
- Add red circular delete button to smart-field-wrapper (visible on hover via CSS)
- Enhance keydown handler to delete smart fields at block-level boundaries
- Update defaultContent.ts smartField() to include delete-btn
- ReportManage: add per-row checkboxes, select-all, bulk delete
- Add single-report export modal (PDF via printDocument, JSON via Blob)
- Add bulk export actions for PDF and JSON
- Update experience record (#16)
2026-04-17 10:32:07 +08:00