From 8325fb056783adb369ebdb52d8a6c7c7a4c2e14e Mon Sep 17 00:00:00 2001 From: TermiNexus Date: Fri, 2 Oct 2026 16:05:27 +0800 Subject: [PATCH] =?UTF-8?q?chore(ehrm):=20Chndos=20=E6=94=B9=E5=90=8D=20Ch?= =?UTF-8?q?indows=EF=BC=88=E8=B4=A6=E5=8F=B7=20+=20=E6=A1=A3=E6=A1=88?= =?UTF-8?q?=E6=98=B5=E7=A7=B0=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 系统账号 UserName:Chndos -> Chindows(唯一登录名,后续须用 Chindows 登录) - 该员工档案(b2f7e978-90db-4d33-8ea4-74a897bd34b8)的网络常用昵称同步改为 Chindows - 导入脚本 ROW_USER 的第19行映射同步改为 Chindows(否则问卷行19 解析不到账号) --- _toast.ps1 | 4 ++-- tools/ImportEhrmProfiles.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/_toast.ps1 b/_toast.ps1 index dc2bcf68..a82e1bca 100644 --- a/_toast.ps1 +++ b/_toast.ps1 @@ -3,8 +3,8 @@ [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('Chndos 员工档案已补(王浩然/工程部)')) | Out-Null -$n.Item(1).AppendChild($t.CreateTextNode('问卷行19(MikuGan→Chndos)已导入,银河锋锐·工程部;库内档案 17 → 18;回执在桌面 eHRM导入回执.txt')) | Out-Null +$n.Item(0).AppendChild($t.CreateTextNode('Chndos 已改名为 Chindows')) | Out-Null +$n.Item(1).AppendChild($t.CreateTextNode('系统账号登录名 Chndos → Chindows,档案「网络常用昵称」同步改;导入脚本映射已同步;该账号后续请用 Chindows 登录')) | 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/tools/ImportEhrmProfiles.py b/tools/ImportEhrmProfiles.py index e62f4506..8e137c49 100644 --- a/tools/ImportEhrmProfiles.py +++ b/tools/ImportEhrmProfiles.py @@ -80,7 +80,7 @@ ROW_USER = { 16: '悠然自得', # 李铭宇 17: '羊村哲学家', # 羊村某 / 林子龙 18: 'Markstollr8651', # 裴雨辰(2026-10-02 提交) - 19: 'Chndos', # 王浩然 / MikuGan(2026-10-02 提交) + 19: 'Chindows', # 王浩然 / MikuGan(问卷昵称写 Chndos,2026-10-02 已改账号名为 Chindows) } # 联系方式:问卷列名 → ContactType