25 Commits

Author SHA1 Message Date
TanWenyan f525707358 feat(rules): VLM 字段补齐多实体逐字段开关,对齐 LLM 字段行为
- 多实体总开关开启后,VLM 字段可点击单独切换 multi_entity(绿色=已开启)
- 新增 VLM 字段时默认写入 multi_entity: false
- 删除按钮 stopPropagation 避免触发多实体切换

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-31 15:12:17 +08:00
TanWenyan d226ada0fe fix(ui): use inline style for multi-entity green background to override ant-btn
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-24 20:25:03 +08:00
TanWenyan 623cf8c427 fix(ui): match extraction field chips with review settings style, green only for multi-entity
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-24 20:20:32 +08:00
TanWenyan 9d6a5364bb fix(ui): use inline tailwind for field chips instead of scoped CSS class
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-24 20:16:59 +08:00
TanWenyan 95351893c6 fix(ui): compact multi-entity field chips to match tag-button size
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-24 20:04:21 +08:00
TanWenyan bc3e26c93e feat(frontend): field-level multi_entity toggle in extraction settings
- evaluation_points.ts: LLMFieldConfig type, LLMFieldType union,
  VLMField.multi_entity
- ExtractionSettings.tsx:
  - LLM fields render as colored buttons (green=multi_entity, gray=normal)
  - Click to toggle individual field multi_entity when switch is on
  - Toggle switch on: converts all string fields to {name, multi_entity:true}
  - Toggle switch off: converts back to plain strings
  - New fields default to multi_entity:true when switch is on

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-24 19:34:45 +08:00
LiangShiyong e332d05e5d 评查点规则编辑中添加多实体开关控制。
修复文档类型删除失败的bug
2026-01-16 10:11:53 +08:00
LiangShiyong 66d2f7cef4 1.添加移动端用户的检测工具类,移动端用户只能访问对话页面。
2.评查点列表添加文档属性类型字段。
3.优化dify的对话侧边栏的显示效果。
4.评查点规则添加使用文档属性类型的输入框。添加多实体开关的操作开关。
2025-12-30 18:35:48 +08:00
LiangShiyong 2edde8a8ab feat: 1. 完善全局路由的访问权限的验证。 2. 完善接口返回的树形路由结构 3.优化评查点列表的查询,改用表连接的方式,废弃使用数据库的rpc函数,同时进行地区隔离和权限隔离。
4. 删除冗余的评查文件列表。      5.完善上传文档 页面初始化查询数据的时候 查询文件类型(改成动态指定)  6. 添加获取入口模块的查询接口。    7.完善服务端中判断token的有效性,失效则跳转到登录页。
8. 重构layout和sidebar的页面,改成由动态权限路由来渲染对应的菜单栏。       9.重构入口页面,通过动态查询根据不同地区的人返回不同的入口。
2025-11-20 01:35:30 +08:00
LiangShiyong 95381ddcc2 fix: 完善提示词管理页面的优化,数据库中添加相关字段来区分vlm和llm提示词。评查点设置中抽取设置的多模态抽取的类型通过查询数据库来返回数据。 2025-11-11 01:16:27 +08:00
LiangShiyong ddad57529d fix: 修改评查点设置中的多模态抽取设置的逻辑。 2025-11-10 20:40:08 +08:00
LiangShiyong 690d369f57 完成智慧法务前端调整20250522,还有登录和主页需要完善 2025-05-27 23:48:28 +08:00
HuangZhiwen f99a1f05d4 暂存 2025-04-10 02:06:56 +08:00
HuangZhiwen 90317d2b4b 抽取设置优化-未测试 2025-04-09 02:25:49 +08:00
HuangZhiwen ebdf97aebf 基础组件完善 2025-04-09 01:34:14 +08:00
HuangZhiwen c3cdff2354 暂存 2025-04-08 16:52:16 +08:00
HuangZhiwen 046dd109e0 分数,评查点分组数据对接上 2025-04-07 19:41:22 +08:00
HuangZhiwen 8885aec931 评查点,增改逻辑完善 2025-04-07 01:49:24 +08:00
HuangZhiwen e0f1725c23 修复了浏览器控制台一直报错,无法新增字段问题 2025-04-03 18:36:02 +08:00
HuangZhiwen d84df0e8a3 新增数据,编辑数据初步完善 2025-04-03 16:25:55 +08:00
HuangZhiwen de5ff38c60 完善字段与数据库对应 2025-04-03 14:25:24 +08:00
HuangZhiwen a7626d2f90 修复好前段逻辑, 2025-04-02 18:13:12 +08:00
HuangZhiwen cbf5c967ff 评查点新增修改逻辑完善 2025-04-02 10:06:09 +08:00
HuangZhiwen aae2bc10b2 第一版完成 2025-03-28 15:15:05 +08:00
HuangZhiwen 0079786b25 暂存 2025-03-28 14:45:54 +08:00