修改首页报警图标
This commit is contained in:
parent
d700f40c64
commit
cacc658887
@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<view class="content">
|
<view class="content">
|
||||||
<!-- <uni-section title="点巡检" type="line">
|
<!-- <uni-section title="点巡检" type="line">
|
||||||
<swiper class="swiper-box">
|
<swiper class="swiper-box">
|
||||||
<swiper-item>
|
<swiper-item>
|
||||||
<view class="content-card-container">
|
<view class="content-card-container">
|
||||||
@ -26,21 +26,6 @@
|
|||||||
<swiper class="swiper-box">
|
<swiper class="swiper-box">
|
||||||
<swiper-item>
|
<swiper-item>
|
||||||
<view class="content-card-container">
|
<view class="content-card-container">
|
||||||
<view class="content-card-wrap" @click="handleClickAllAlarm">
|
|
||||||
<view class="content-container">
|
|
||||||
<view class="content-icon-wrap">
|
|
||||||
<view :class="'iconfont icon-guzhang1'" :style="{'--color':'#FF0000'}">
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
<view class="content-title-wrap">
|
|
||||||
<view class="content-title">报警管理</view>
|
|
||||||
<view class="content-subTitle">
|
|
||||||
<text class="content-count">{{allCount}}</text>
|
|
||||||
次
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
<view class="content-card-wrap" @click="handleClickPatrolCount">
|
<view class="content-card-wrap" @click="handleClickPatrolCount">
|
||||||
<view class="content-container">
|
<view class="content-container">
|
||||||
<view class="content-icon-wrap">
|
<view class="content-icon-wrap">
|
||||||
@ -55,7 +40,25 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<!-- <view class="content-card-wrap" @click="handleClickProcessedAlarm">
|
<view class="content-card-wrap" @click="handleClickAllAlarm">
|
||||||
|
<view class="content-container">
|
||||||
|
<view class="content-icon-wrap">
|
||||||
|
<!-- <view :class="'iconfont icon-guzhang1'" :style="{'--color':'#FF0000'}">
|
||||||
|
</view> -->
|
||||||
|
<view class="content-icon-wrap">
|
||||||
|
<uni-icons type="notification-filled" size="40" color="#FF0000"></uni-icons>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<view class="content-title-wrap">
|
||||||
|
<view class="content-title">报警管理</view>
|
||||||
|
<view class="content-subTitle">
|
||||||
|
<text class="content-count">{{allCount}}</text>
|
||||||
|
次
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<!-- <view class="content-card-wrap" @click="handleClickProcessedAlarm">
|
||||||
<view class="content-container">
|
<view class="content-container">
|
||||||
<view class="content-icon-wrap">
|
<view class="content-icon-wrap">
|
||||||
<view :class="'iconfont icon-zhengchang'" :style="{'--color':'#2BD52B'}">
|
<view :class="'iconfont icon-zhengchang'" :style="{'--color':'#2BD52B'}">
|
||||||
@ -422,7 +425,7 @@
|
|||||||
handleClickPatrolCount() {
|
handleClickPatrolCount() {
|
||||||
this.$tab.navigateTo("/pages/work/patrol/listPatrol");
|
this.$tab.navigateTo("/pages/work/patrol/listPatrol");
|
||||||
},
|
},
|
||||||
getPatrolCount(){
|
getPatrolCount() {
|
||||||
getPatrolCount().then((res) => {
|
getPatrolCount().then((res) => {
|
||||||
this.patrolCount = res;
|
this.patrolCount = res;
|
||||||
})
|
})
|
||||||
@ -431,10 +434,10 @@
|
|||||||
getAlarmCount().then((res) => {
|
getAlarmCount().then((res) => {
|
||||||
//报警总数
|
//报警总数
|
||||||
this.allCount = res.allCount,
|
this.allCount = res.allCount,
|
||||||
//已处理数量
|
//已处理数量
|
||||||
this.processedCount = res.processedCount,
|
this.processedCount = res.processedCount,
|
||||||
//未处理数量
|
//未处理数量
|
||||||
this.untreatedCount = res.untreatedCount
|
this.untreatedCount = res.untreatedCount
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
//点击所有报警
|
//点击所有报警
|
||||||
|
Loading…
Reference in New Issue
Block a user