docs(gerp): 补充实体选择器浏览面板标题与尺寸约定

新增第 7 条约定:浏览面板标题用 browseTitle 去重前缀,面板统一 680px 宽、列表 420-560px 高。
This commit is contained in:
TermiNexus committed 2026-10-01 14:10:10 +08:00
1 parent f1673c09e2
commit 4669a7c53c
2 files changed
+6 -3

No files matched your search

+3 -3
View File
@@ -1,10 +1,10 @@
$ErrorActionPreference = 'SilentlyContinue'
$ErrorActionPreference = 'SilentlyContinue'
[Windows.UI.Notifications.ToastNotificationManager, Windows.UI.Notifications, ContentType = WindowsRuntime] | Out-Null
[Windows.Data.Xml.Dom.XmlDocument, Windows.Data.Xml.Dom.XmlDocument, ContentType = WindowsRuntime] | Out-Null
$t = [Windows.UI.Notifications.ToastNotificationManager]::GetTemplateContent([Windows.UI.Notifications.ToastTemplateType]::ToastText02)
$n = $t.GetElementsByTagName('text')
$n.Item(0).AppendChild($t.CreateTextNode('部门/工作组列表页批量调职完成')) | Out-Null
$n.Item(1).AppendChild($t.CreateTextNode('弹窗改为部门树/工作组树形选择目标,可勾选多个并批量新增/删除职务,已部署')) | Out-Null
$n.Item(0).AppendChild($t.CreateTextNode('实体选择器浏览面板修正完成')) | Out-Null
$n.Item(1).AppendChild($t.CreateTextNode('EntityPicker / MultiEntityPicker:标题不再重复"选择"前缀,面板加宽加高')) | Out-Null
$toast = [Windows.UI.Notifications.ToastNotification]::new($t)
[Windows.UI.Notifications.ToastNotificationManager]::CreateToastNotifier('TraeCode Agent').Show($toast)
Write-Output 'toast-ok'
+3
View File
@@ -153,6 +153,9 @@
列驱动场景一律由后端下发配置。
6. 改动任何一处共享配置后,**先 grep 使用点做回归**,再以 `GERP\deploy.ps1`
(`vue-tsc -b` + `vite build`)与 `python manage.py check` 作为验收。
7. **浏览面板标题用 `browseTitle`**(`EntityPicker` / `MultiEntityPicker` 各有一份):占位文案
已以「请选择 / 选择」开头时不再加前缀,避免出现"选择选择部门员工关联…"。面板统一
`width="680px"`、列表 `min-height: 420px / max-height: 560px`,两组件保持一致。
---