巡检跳转2
This commit is contained in:
@@ -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