Commit Graph

135 Commits (22ba329ad3ce907cdbef35d0fcc1655fed0ecaa9)

Author SHA1 Message Date
XuZhiqiang 22ba329ad3 fix(@vben/web-antdv-next): sync BPM designer typecheck fixes
- type BPMN listener helpers and modal grid rows

- remove stale BPMN form field editor code

- normalize simple process indexes and input refs

- clean unused process create timeline ref
2026-06-20 23:55:33 +08:00
XuZhiqiang 0f85d0b5ac fix(@vben/web-antdv-next): normalize IM table slots and map select values
- use bodyCell text for IM table fallback rendering

- handle object payloads from map Select selection
2026-06-20 23:55:19 +08:00
XuZhiqiang 3c146eb925 fix(@vben/web-antdv-next): align CRM receivable query types
- add contract number to receivable type

- add receivable page params for customer and contract filters
2026-06-20 23:55:12 +08:00
XuZhiqiang 29d943ae03 feat(@vben/web-antdv-next): add MES SN detail view
- add SN detail API and row type

- add SN detail modal with barcode action

- add clickable SN count and detail action in SN list
2026-06-20 23:55:07 +08:00
芋道源码 342ea23ca0
!367 feat(im): 同步 im 的迁移
Merge pull request !367 from 芋道源码/migration
2026-06-20 01:36:10 +00:00
YunaiV 210443c833 feat(im): 优化免打扰会话未读展示
- 免打扰会话保留头像小红点提示
- 会话预览行展示免打扰未读条数
- 总未读统计继续排除免打扰会话
- 同步 Vue3 + Vben 三端会话项展示
2026-06-19 18:29:16 -07:00
芋道源码 50a5800158
!366 Merge remote-tracking branch 'yudao/master'
Merge pull request !366 from Jason/master
2026-06-20 01:16:16 +00:00
YunaiV 1d1b0a1d0f fix(im): 修复 vben 三端 IM 组件库属性适配
- 修复 web-ele Element Plus 属性误用
  - Switch 使用 model-value 展示开关状态
  - Badge 使用 value 展示未读角标
  - Image 使用 preview-src-list 恢复图片预览
  - TabPane 使用 label/name 恢复已读状态切换
  - Select 改用 ElOption 渲染频道和素材选项
  - Popover 使用 v-model:visible 控制显示
  - Input 使用 show-word-limit 展示字数统计
  - Descriptions/Table 使用 border 展示边框
- 清理 web-ele 无效 closable 和误用 content 属性
- 清理 web-antdv-next 直接组件的 deprecated prop
  - destroy-on-close 改为 destroy-on-hidden
  - mask-closable 改为 mask.closable
  - body-style 改为 styles.body
2026-06-19 17:39:37 -07:00
YunaiV fac0190ca8 fix(im):修复迁移评审发现的组件与目录问题
- 修复 antdv-next 群详情缺少 DescriptionsItem 导入的问题
- 对齐 antdv-next 群详情、RTC 详情的数据访问写法,移除多余辅助函数
- 修复 web-ele 弹窗、抽屉、原生元素、头像、图标的 title/content 误用
- 将三端表情 API 目录 useritem 统一为 userItem
- 同步更新普通表情和管理端表情相关 import 路径
2026-06-19 17:12:42 -07:00
YunaiV 010da63c7c fix(im):同步已读补上报字段与群通话竞态修复
- web-antd、web-antdv-next、web-ele 同步 reportedReadMessageId 字段
- 避免旧 readMessageId 本地缓存污染 read API 跳过判断
- RTC_CALL_END 按 room 移除群通话胶囊,避免旧房间结束事件误删新房间通话
- participantsLoaded 仅在同 room 下继承,避免新房间误跳过参与者补齐
2026-06-19 11:16:58 -07:00
YunaiV 09b97f1e04 feat(im):同步已读上报补偿与群通话探测优化
- web-antd、web-antdv-next、web-ele 同步会话 readMessageId 逻辑
- readActive 与 WebSocket 自动已读改为基于服务端已上报读位置判断是否跳过接口
- read 接口成功后同步 readMessageId,失败时保留本端已读体验并允许后续重新进入补上报
- 拉取服务端 read 进度时同步更新会话 readMessageId,同时保持本地读位置单调合并
- 三端同步 activeCallLoaded / activeCallExpired 群通话探测状态
- 首登与重连时失效群通话探测缓存,本地无通话且探测过期时懒加载 getActiveCall
- 群通话写入或移除时标记探测已加载,并避免通话探测状态写入 IndexedDB
- 为 IndexedDB DO 类型补充存储结构注释,并修复 conversationStore lint 写法
2026-06-19 11:05:19 -07:00
YunaiV c0ead15bc3 feat(im):优化已读上报、群详情缓存与 RTC 通话状态
- 已读上报增加本地读位置覆盖判断,避免切换会话和当前会话自动已读时重复调用 read 接口
- 标记会话已读时同步推进本地 read 游标并写入 IndexedDB,接口失败仅记录日志
- 缓存私聊对方 maxReadMessageId,并在状态补拉、回执更新和退出 IM 时维护缓存
- 增加群详情 infoLoaded 内存标记,减少切群时重复拉取群详情,手动刷新和关键通知仍强制刷新
- 同步 GROUP_INFO_UPDATE 的 joinApproval,避免群审批配置在前端缓存中陈旧
- 优化群通话胶囊条状态,记录 participantsLoaded,按需补齐参与者并在通话无人时移除胶囊
- RTC_CALL_START 生成群通话最小胶囊条,后续由参与者事件和 getActiveCall 补齐
- 退出 IM 时清理 RTC 状态和群通话缓存
- Vben antd/antd-next 调整媒体元素为函数 ref,修复 MediaStream 与元素挂载时序问题
- 修复 Vben 消息历史弹窗回调类型标注
2026-06-19 10:05:22 -07:00
jason d78476ed84 Merge remote-tracking branch 'yudao/master' 2026-06-19 22:01:57 +08:00
jason d923a70cb4 fix: [bpm] simple 设计器导入问题修复 2026-06-19 21:30:27 +08:00
YunaiV efc75e2608 fix(im): 修复 antd next 一些样式问题 2026-06-19 02:11:26 -07:00
YunaiV c71e250b79 fix(im): 修复 antd next 一些样式问题 2026-06-19 01:46:54 -07:00
YunaiV 8279089eb9 fix(im): 将频道消息的 pull 改成 pullChannelMessageList 2026-06-18 21:59:42 -07:00
XuZhiqiang 15e274f812 fix(@vben/web-antdv-next): 适配 MES 组件 antdv-next 类型约束 2026-06-19 10:55:21 +08:00
XuZhiqiang 860a12a7e7 fix(workspace): 统一 MES 选择组件 id 判空处理 2026-06-19 10:54:26 +08:00
XuZhiqiang 1e4436561c fix(workspace): 收敛 MP、ERP 和 demo 类型兼容问题 2026-06-19 10:52:59 +08:00
YunaiV 3f13f62e40 feat(im):初始化 antd-next 的 im 迁移 2026-06-18 19:24:29 -07:00
YunaiV 0c8218ecfc Merge remote-tracking branch 'origin/master' into migration
# Conflicts:
#	apps/web-antdv-next/src/views/bpm/processInstance/detail/modules/operation-button.vue
#	apps/web-antdv-next/src/views/bpm/processInstance/detail/modules/time-line.vue

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-18 17:12:09 -07:00
XuZhiqiang e1731f5394 fix(workspace): 修复 ERP 明细草稿和收付款金额类型 2026-06-19 00:18:56 +08:00
XuZhiqiang 2e397a2c64 fix(workspace): 统一 ERP 金额更新事件 emit 命名 2026-06-19 00:07:20 +08:00
XuZhiqiang 019473e9bc chore: merge master into feat-antdv-next 2026-06-18 23:28:17 +08:00
XuZhiqiang c20eb8e1f4 refactor(@vben/web-antdv-next): migrate SelectOption usages to options and optionRender
Replace remaining SelectOption children with Select options across form-create, BPM, IoT, MES, WMS, Mall, and infra pages.

Use optionRender for custom option content and update the sync skill with Select slot migration guidance.
2026-06-18 23:17:32 +08:00
XuZhiqiang 456a91dfc2 refactor(@vben/web-antdv-next): migrate plain SelectOption usages to options API
Replace simple label/value SelectOption children with Select options across BPM, IoT, AI, MP, Mall, codegen, and demo pages.

Keep custom option markup cases unchanged.
2026-06-18 23:16:30 +08:00
XuZhiqiang 1f7d21d8e6 fix(@vben/web-antdv-next): 更新表单验证逻辑,使用 Promise 处理异步校验 2026-06-18 16:32:12 +08:00
XuZhiqiang d8c8775af2 fix(@vben/web-antdv-next): 修复FormItem rules为数组形式 2026-06-18 16:22:02 +08:00
XuZhiqiang af681338c7 fix(@vben/web-antdv-next): 添加 SelectOption、RadioButton、RadioGroup 和 FormItem 组件导入 2026-06-18 16:01:05 +08:00
XuZhiqiang 409af6b39c fix(@vben/web-antdv-next): 添加 CollapsePanel 组件导入 2026-06-18 15:05:08 +08:00
XuZhiqiang f152217c3c fix(web-antdv-next): normalize date picker timestamp handling
Add DatePicker and RangePicker adapter wrappers for numeric timestamp values, route direct value-format="x" usages through the adapter, and keep ShortcutDateRangePicker values as Dayjs.
2026-06-18 14:21:12 +08:00
jason 74f38e8622 fix: [bpm] 修复 timeline 显示问题,去掉 teleport 2026-06-18 07:52:52 +08:00
XuZhiqiang 2fc5575c30 fix(web-antdv-next): 修复 DateRangePicker 共享配置的二元组类型 2026-06-17 21:28:10 +08:00
XuZhiqiang e84607db70 fix(@vben/web-antdv-next): 修复table-actions中更多按钮布局不对齐问题 2026-06-17 17:19:19 +08:00
XuZhiqiang b0c151e6fd fix(@vben/web-antdv-next): 修复代码生成部分,预览时鼠标移入文件树,预览内容不显示的问题 2026-06-17 16:25:45 +08:00
XuZhiqiang 407d0bf25d fix(@vben/web-antdv-next): Description组件添加 DescriptionsItem 组件导入 2026-06-17 15:41:52 +08:00
XuZhiqiang e843b75e40 feat(@vben/web-antdv-next): 添加文件上传组件的下载按钮显示选项 2026-06-17 14:10:20 +08:00
XuZhiqiang cd66d2a1de feat(@vben/web-antdv-next): BPM增加审批意见和附件显示功能 2026-06-17 13:47:50 +08:00
XuZhiqiang 6951bd68a1 feat(@vben/web-antdv-next): BPM拒绝可以添加附件上传功能至审批表单 2026-06-17 13:24:57 +08:00
XuZhiqiang 041e3f6e2d fix(@vben/web-antdv-next): 修复 Tree 选中事件读取旧 dataRef 导致筛选失效 2026-06-17 11:25:07 +08:00
YunaiV 7222e320e2 feat(bpm): vben5 支持审批附件上传与展示
- web-antd、web-ele 审批通过和拒绝弹窗补齐附件上传约束
  - 限制支持常用文档和图片格式
  - 限制单文件最大 5MB、最多上传 10 个
  - 统一上传目录为 bpm/task-attachment
  - 开启上传说明展示
- web-antdv-next 补齐 BPM 审批附件完整能力
  - ApprovalTaskInfo 增加 attachments 字段
  - 审批通过、审批拒绝表单支持上传附件
  - 提交 approveTask/rejectTask 时携带 attachments
  - 弹窗关闭或提交成功后重置附件表单数据
  - 支持图片附件预览,非图片附件新窗口打开
- 三端时间线支持展示审批附件
  - 审批意见和附件统一展示在任务节点下
  - 图片附件展示缩略图并支持预览
  - 普通附件展示文件名并支持点击打开
  - 兼容带 query/hash 的附件 URL 文件名解析和图片类型识别
2026-06-14 02:48:33 +08:00
YunaiV c814d31cd3 feat(infra): 增加定时任务同步入口
- 为 vue3 同步任务按钮补充 infra:job:create 权限
- 为 vben antd、antdv-next、ele 增加 syncJob API
- 为 vben 定时任务列表增加同步任务按钮和确认/loading 流程
2026-06-14 01:21:37 +08:00
YunaiV bc6e7cf622 fix(mes): 修复选择器筛选和单选弹窗
- 将 MES 通知单/工作站选择器的单选场景改为 radio
- 保留多选场景的 checkbox 与跨页 reserve 行为
- 修复生产工单选择器固定 status/type 参数丢失问题
- 修复空值选择器悬停时误展示清空图标的问题
- 按页面/操作步骤补充 ZSXQ 反馈与验收记录

关联星球:https://t.zsxq.com/dtLd8
2026-06-13 11:00:30 +08:00
YunaiV fb80749156 fix: 修复 Vben 表单地区选择器只展示末级地区的问题
- 新增 antd、antdv-next、ele 三端 AreaCascader 组件
- 将表单值保持为末级 areaId,展示时回显完整省市区级联路径
- 替换会员、CRM、商城交易相关表单的地区选择字段
- 按组件库默认行为保留清空和搜索默认关闭,并在使用处显式开启
2026-06-08 22:17:52 +08:00
YunaiV 431cf8f268 Merge remote-tracking branch 'origin/master' into migration 2026-06-08 19:45:32 +08:00
YunaiV 8ed97335c9 fix(mall): 修复文章表单商品选择弹窗异常
- 初始化文章表单 formData,避免商品关联插槽渲染报错
- 禁用父级弹窗点击遮罩关闭,避免打开商品选择时关闭文章弹窗
- 修正文章新增默认值,热门/轮播默认 false,排序默认 0
- 同步修复 antd、antdv-next、ele 三端
2026-06-08 13:20:30 +08:00
xingyu4j b37657a92d Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin 2026-06-08 10:39:47 +08:00
YunaiV 21998d8044 fix(iot): 修复 IoT 场景联动最近触发时间不显示
- 对齐后端字段 lastTriggerTime
- 修复 web-antd、web-ele、web-antdv-next 的 API 类型、表格列和插槽读取
2026-06-07 14:55:30 +08:00
xingyu4j c376a60e83 fix: lint 2026-06-07 12:52:18 +08:00