admin
|
4c2b5deb00
|
feat(mobile): redesign today home and switch mentor persona to female
- today: immersive community hero + hold-to-talk voice card, numbered
schedule rows, common-functions grid (learning/report/question-board)
- login: female mentor bust; sop: female mentor chat avatars
- speech: raise browser-fallback mentor pitch to match female voice
|
2026-07-19 02:38:18 +08:00 |
|
 adminandClaude Fable 5
|
0ec0e585f7
|
fix(mobile): distinguish auth failure from HR mismatch on position sync page
问题:登录态失效(token 冻结/无效,后端返 401)时,同步岗位页把认证错误
误显示成「人力系统中未匹配到当前手机号的在职岗位,请联系 HR」,员工被
困在该页无路可退。
修复:
- api.ts: 新增 ApiError(statusCode/bizCode) 类型化错误与 isAuthApiError,
readPayload/parsePayloadText/XHR 路径统一抛出带状态码的错误,消息不变
- position.ts: fetchOrgPositionResult 返回四态判别结果
matched/unmatched/unauthorized/error;hydratePositionFromOrg 行为不变
- position/index.vue: 按四态分支处理——
· unauthorized -> 清除登录态并自动回登录页(保留 redirect)
· error -> 提示「网络异常…请重试」,保留重试按钮
· unmatched -> 才显示联系 HR 文案
并新增「退出重新登录」链接(确认弹窗后清登录态回登录页),
避免任何异常场景下用户被困无退出路径
验证(构建产物 + 生产 API,Playwright 五场景全过,截图见
.data/visual-audit-20260718/position-fix/):
S1 固定码真实登录->今日页(保洁岗匹配) S2 无效token->自动回登录
S3 断网->网络异常提示留在本页 S4 有效token->自动通过
S5 退出链接->确认->回登录且登录态已清
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
2026-07-18 03:39:20 +08:00 |
|
admin
|
6bdc86e3fc
|
feat: restore learning feedback and knowledge capabilities
|
2026-07-18 00:50:11 +08:00 |
|
admin
|
87360a25d3
|
feat(aihr): align figma pages for release
|
2026-07-14 02:04:36 +08:00 |
|
admin
|
c66fc4e4b0
|
feat(mobile): finish employee app page polish
|
2026-07-11 18:59:30 +08:00 |
|
admin
|
78859899f3
|
feat(mobile): 升级短信登录表单体验
将移动端短信登录页升级为基于 uni-ui 的表单输入与校验体验,并让登录卡片与当前员工端视觉语言保持一致。
|
2026-07-11 01:13:57 +08:00 |
|
admin
|
0307bb4c35
|
fix(mobile): clarify unmatched org position state
|
2026-07-09 22:13:47 +08:00 |
|
admin
|
8f73cb0c84
|
fix(mobile): require employee position before user flow
|
2026-07-09 17:09:26 +08:00 |
|
admin
|
04405b5e11
|
fix(mobile): reset page scroll on route entry
|
2026-07-09 13:34:24 +08:00 |
|
admin
|
678543e8a5
|
feat(aihr): complete uni-app role workflows
|
2026-07-09 10:42:20 +08:00 |
|