巡查上报
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
<div class="info-content">
|
||||
<div class="title">概况总览</div>
|
||||
<div class="el-row">
|
||||
<div class="item" v-for="(item, index) in todayList" :key="index">
|
||||
<div class="item" v-for="(item, index) in todayList" :key="index" @click="toList(item)">
|
||||
<h2>{{item.value}}</h2>
|
||||
<p>{{item.label}}</p>
|
||||
</div>
|
||||
@@ -289,6 +289,15 @@ export default {
|
||||
handleSelectGird(v) {
|
||||
this.selectGird = v || {}
|
||||
this.getStatistics()
|
||||
},
|
||||
toList(row) {
|
||||
var searchType = '', typeList= ['', '', '累计上报', '今日上报', '今日办结', '办理中']
|
||||
typeList.map((item, index) => {
|
||||
if(item == row.label) {
|
||||
return searchType = index
|
||||
}
|
||||
})
|
||||
uni.navigateTo({url: `./StatisticsList?title=${row.label}&searchType=${searchType}&girdId=${this.selectGird.id}`})
|
||||
}
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user