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