巡检跳转2

This commit is contained in:
Zy
2026-08-29 17:20:57 +08:00
parent 6196232715
commit 9ea099b509

View File

@@ -20,18 +20,18 @@
style="height: 100%; width: 100%" style="height: 100%; width: 100%"
></image> ></image>
</view> </view>
<view class="community-selector"> <view class="community-selector">
<text class="community-name">{{ currentCommunity }}</text> <text class="community-name">{{ currentCommunity }}</text>
<view class="community-icon"> <view class="community-icon">
<image <image
src="https://wuye.ckdzkj.com/images/imgs/三角形.png" src="https://wuye.ckdzkj.com/images/imgs/三角形.png"
style="height: 100%; width: 100%" style="height: 100%; width: 100%"
></image> ></image>
</view>
</view> </view>
</view> </view>
</view> </view>
</view> </view>
</view>
<!-- 可滚动内容区 --> <!-- 可滚动内容区 -->
<view class="scroll-content"> <view class="scroll-content">
@@ -91,11 +91,11 @@
<text class="num">{{ allCount }}</text> <text class="num">{{ allCount }}</text>
<text class="label">全部巡检</text> <text class="label">全部巡检</text>
</view> </view>
<view class="statistics-item" @click="goToDaysInspection"> <view class="statistics-item" @click="goToDaysInspection(0)">
<text class="num">{{ pendingCount }}</text> <text class="num">{{ pendingCount }}</text>
<text class="label">待巡检</text> <text class="label">待巡检</text>
</view> </view>
<view class="statistics-item"> <view class="statistics-item" @click="goToDaysInspection(1)">
<text class="num">{{ InspectedCount }}</text> <text class="num">{{ InspectedCount }}</text>
<text class="label">已巡检 </text> <text class="label">已巡检 </text>
</view> </view>
@@ -199,9 +199,9 @@ const goToMyTicket = () => {
}) })
} }
// 跳转到 今日巡检 // 跳转到 今日巡检
const goToDaysInspection = () => { const goToDaysInspection = type => {
uni.navigateTo({ uni.navigateTo({
url: '/pageSubPack/inspection/toDays_inscpection?type=0' url: '/pageSubPack/inspection/toDays_inscpection?type=' + type
}) })
} }
// 跳转到 巡检记录 // 跳转到 巡检记录