Commit 050edcdc7c140fce0563d97ca27d739ad6859c24

Authored by fengtao
1 parent 8555146c

pref: DEFECT-516 优化首页提示 告警数没显示

@@ -59,8 +59,12 @@ @@ -59,8 +59,12 @@
59 <template #title> 59 <template #title>
60 {{ 60 {{
61 !isAdmin(role) 61 !isAdmin(role)
62 - ? `告警数:今日新增 ${toThousands(growCardList?.alarmInfo?.todayAdd)}`  
63 - : `租户总量:今日新增 ${toThousands(growCardList?.alarmInfo?.todayAdd)}` 62 + ? `告警数:${growCardList?.alarmInfo?.sumCount} 今日新增 ${toThousands(
  63 + growCardList?.alarmInfo?.todayAdd
  64 + )}`
  65 + : `租户总量:${growCardList?.alarmInfo?.sumCount} 今日新增 ${toThousands(
  66 + growCardList?.alarmInfo?.todayAdd
  67 + )}`
64 }} 68 }}
65 </template> 69 </template>
66 <img src="/src/assets/images/tip.png" style="width: 1.125rem; height: 1.125rem" /> 70 <img src="/src/assets/images/tip.png" style="width: 1.125rem; height: 1.125rem" />
@@ -106,8 +110,10 @@ @@ -106,8 +110,10 @@
106 <template #title> 110 <template #title>
107 {{ 111 {{
108 !isAdmin(role) 112 !isAdmin(role)
109 - ? `消息数:今日新增 ${toThousands(growCardList?.messageInfo?.todayMessageAdd)}`  
110 - : `客户总量:今日新增 ${toThousands( 113 + ? `消息数:${growCardList?.messageInfo?.messageCount} 今日新增 ${toThousands(
  114 + growCardList?.messageInfo?.todayMessageAdd
  115 + )}`
  116 + : `客户总量:${growCardList?.messageInfo?.messageCount} 今日新增 ${toThousands(
111 growCardList?.messageInfo?.todayMessageAdd 117 growCardList?.messageInfo?.todayMessageAdd
112 )}` 118 )}`
113 }} 119 }}