diff --git a/_toast.ps1 b/_toast.ps1 index 0ed59c42..100759f0 100644 --- a/_toast.ps1 +++ b/_toast.ps1 @@ -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' diff --git a/docs/entity_picker_standard.md b/docs/entity_picker_standard.md index f0d399f0..88ec9431 100644 --- a/docs/entity_picker_standard.md +++ b/docs/entity_picker_standard.md @@ -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`,两组件保持一致。 ---