DepartmentUserModal:
- 修复同一个人同时出现在父部门和子部门成员列表里时,勾选状态互相串、
取消不同步的问题(node-key 改成带部门前缀保证全树唯一)
- 新增 max 限制,超出直接在弹窗内提示,不接受这次勾选
- 树行高、行间分割线、hover 光标等样式调整(改用 scoped style,
之前链式 UnoCSS 工具类在这种组合下没有正确生效)
DeptUserPicker:
- v-model 拆成 dept-value/user-value 两个,只存 id,支持 array 或
逗号字符串(value-type)两种格式,跟后端字段直接对齐
- 内部缓存选中详情(含头像),重新打开弹窗/编辑回显不会丢失
- 部门缺名字时自动用 getAllDept({ deptIdList }) 反查,不需要调用方
额外传初始详情;人员没有等价的批量查询接口,保留 initial-selected
作为可选的回显种子
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
| Name |
Last commit
|
Last update |
|---|---|---|
| .agents/skills | Loading commit data... | |
| .claude/skills | Loading commit data... | |
| .cursor/rules | Loading commit data... | |
| .vscode | Loading commit data... | |
| deploy | Loading commit data... | |
| public/downloads | Loading commit data... | |
| skills | Loading commit data... | |
| src | Loading commit data... | |
| .editorconfig | Loading commit data... | |
| .gitattributes | Loading commit data... | |
| .gitignore | Loading commit data... | |
| .oxfmtrc.json | Loading commit data... | |
| .oxlintrc.json | Loading commit data... | |
| README.md | Loading commit data... | |
| env.d.ts | Loading commit data... | |
| eslint.config.oxlint.mjs | Loading commit data... | |
| eslint.config.ts | Loading commit data... | |
| index.html | Loading commit data... | |
| package.json | Loading commit data... | |
| pnpm-lock.yaml | Loading commit data... | |
| skills-lock.json | Loading commit data... | |
| tsconfig.app.json | Loading commit data... | |
| tsconfig.json | Loading commit data... | |
| tsconfig.node.json | Loading commit data... | |
| uno.config.ts | Loading commit data... | |
| vite.config.ts | Loading commit data... |