fix(users): 应用标签适配 wxapp_companion 并修复材料弹窗破图

陪诊小程序应用名映射改为 wxapp_companion;材料弹窗健康证明照片 v-if 收紧到 data 字段,日期-only 补材料不再渲染 src=undefined。
This commit is contained in:
lik
2026-11-10 16:34:10 +08:00
parent 71cdbc57a1
commit 4936167f64
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -439,7 +439,7 @@
<div>
<p class="fw-semibold mb-2">健康证明照片</p>
<img
v-if="materials.healthCertificate"
v-if="materials.healthCertificate?.data"
:src="materials.healthCertificate.data"
class="img-fluid rounded border"
alt="健康证明"
+1 -1
View File
@@ -198,7 +198,7 @@ const auth = useAuthStore()
const APP_LABELS: Record<string, string> = {
'wxapp-escort': 'C端用户',
'wxapp-escort-admin': '陪诊小程序',
'wxapp_companion': '陪诊小程序',
'web-escort-admin': 'Web后台',
}
+1 -1
View File
@@ -242,7 +242,7 @@ const auth = useAuthStore()
const APP_LABELS: Record<string, string> = {
'wxapp-escort': 'C端用户',
'wxapp-escort-admin': '陪诊小程序',
'wxapp_companion': '陪诊小程序',
'web-escort-admin': 'Web后台',
}