fix(users): 应用标签适配 wxapp_companion 并修复材料弹窗破图
陪诊小程序应用名映射改为 wxapp_companion;材料弹窗健康证明照片 v-if 收紧到 data 字段,日期-only 补材料不再渲染 src=undefined。
This commit is contained in:
@@ -439,7 +439,7 @@
|
|||||||
<div>
|
<div>
|
||||||
<p class="fw-semibold mb-2">健康证明照片</p>
|
<p class="fw-semibold mb-2">健康证明照片</p>
|
||||||
<img
|
<img
|
||||||
v-if="materials.healthCertificate"
|
v-if="materials.healthCertificate?.data"
|
||||||
:src="materials.healthCertificate.data"
|
:src="materials.healthCertificate.data"
|
||||||
class="img-fluid rounded border"
|
class="img-fluid rounded border"
|
||||||
alt="健康证明"
|
alt="健康证明"
|
||||||
|
|||||||
@@ -198,7 +198,7 @@ const auth = useAuthStore()
|
|||||||
|
|
||||||
const APP_LABELS: Record<string, string> = {
|
const APP_LABELS: Record<string, string> = {
|
||||||
'wxapp-escort': 'C端用户',
|
'wxapp-escort': 'C端用户',
|
||||||
'wxapp-escort-admin': '陪诊小程序',
|
'wxapp_companion': '陪诊小程序',
|
||||||
'web-escort-admin': 'Web后台',
|
'web-escort-admin': 'Web后台',
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -242,7 +242,7 @@ const auth = useAuthStore()
|
|||||||
|
|
||||||
const APP_LABELS: Record<string, string> = {
|
const APP_LABELS: Record<string, string> = {
|
||||||
'wxapp-escort': 'C端用户',
|
'wxapp-escort': 'C端用户',
|
||||||
'wxapp-escort-admin': '陪诊小程序',
|
'wxapp_companion': '陪诊小程序',
|
||||||
'web-escort-admin': 'Web后台',
|
'web-escort-admin': 'Web后台',
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user