Fix Bug #441: 手术室护士角色进入门诊手术安排页面时,卫生机构列表接口无权限报错改为静默降级

原因:后端 getTenantPage API 对手术室护士角色无权限,前端 msgError 弹窗阻断用户体验。
修复:loadOrgList() 权限失败时静默降级(console.warn 替代 msgError),列表下拉框显示为空但不弹窗。
用户仍可查看已安排的手术数据,仅筛选条件中的卫生机构下拉框不可用。

Co-Authored-By: 赵云 <zhaoyun@gentronhealth.com>
This commit is contained in:
2026-05-08 15:27:44 +08:00
committed by 赵云
parent 1fc7116f19
commit 88ce63152c
3 changed files with 45 additions and 3 deletions

View File

@@ -0,0 +1,20 @@
{
"keep": {
"days": true,
"amount": 14
},
"auditLog": "/root/.openclaw/workspace/his-repo/logs/.9c2086cba7d24dcd050254bba93c4693957f894e-audit.json",
"files": [
{
"date": 1778128585256,
"name": "/root/.openclaw/workspace/his-repo/logs/error-2026-05-07.log",
"hash": "84a811bf9cf76799b49d36df79427471c8e0cfaa1bd359422d69091b06a64f87"
},
{
"date": 1778200962653,
"name": "/root/.openclaw/workspace/his-repo/logs/error-2026-05-08.log",
"hash": "83b015957301572a67ea6fb41a65dfe5aa357831ca361155629630c6e9ef68bd"
}
],
"hashType": "sha256"
}