|
@@ -168,7 +168,7 @@
|
|
|
<!-- <span class="text-gray-500 text-base font-medium">平均解决时间</span>-->
|
|
|
<!-- <Icon icon="ep:menu" class="text-[32px] text-blue-400" />-->
|
|
|
<span class="text-5xl font-bold text-gray-700" style="color: lightseagreen">
|
|
|
- {{ 4.8 }}
|
|
|
+ {{ mttr+'h' }}
|
|
|
</span>
|
|
|
<span class="text-5xl font-bold text-gray-700" style="color: indianred">
|
|
|
{{ safe }}
|
|
@@ -340,6 +340,7 @@ const messageStats = ref<IotStatisticsDeviceMessageSummaryRespVO>({
|
|
|
upstreamCounts: {},
|
|
|
downstreamCounts: {}
|
|
|
})
|
|
|
+const mttr = ref()
|
|
|
const safe = ref()
|
|
|
/** 获取统计数据 */
|
|
|
const getStats = async () => {
|
|
@@ -371,6 +372,9 @@ const getStats = async () => {
|
|
|
IotStatApi.getSafeCount().then((res) => {
|
|
|
safe.value = res
|
|
|
})
|
|
|
+ IotStatApi.getMttr().then((res) => {
|
|
|
+ mttr.value = res
|
|
|
+ })
|
|
|
IotStatApi.getOrderSeven('156').then((res) => {
|
|
|
orderSevenData.value = res
|
|
|
initQxChart()
|