From bfa356e6575c05eeb41b79b8ce8926a33bac4672 Mon Sep 17 00:00:00 2001 From: liuye Date: Tue, 5 Sep 2023 14:15:00 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B7=A1=E6=9F=A5=E4=B8=8A=E6=8A=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/project/lulong/AppHandSnapshot/Detail.vue | 6 +- src/project/lulong/AppHandSnapshot/List.vue | 2 +- .../lulong/AppHandSnapshot/Statistics.vue | 11 +- .../lulong/AppHandSnapshot/StatisticsList.vue | 246 ++++++++++++++++++ 4 files changed, 261 insertions(+), 4 deletions(-) create mode 100644 src/project/lulong/AppHandSnapshot/StatisticsList.vue diff --git a/src/project/lulong/AppHandSnapshot/Detail.vue b/src/project/lulong/AppHandSnapshot/Detail.vue index 545a5c3a..5fc2c6e7 100644 --- a/src/project/lulong/AppHandSnapshot/Detail.vue +++ b/src/project/lulong/AppHandSnapshot/Detail.vue @@ -93,7 +93,7 @@ -
+
@@ -137,7 +137,8 @@ export default { data: {}, id: '', doItShow: false, - evaluation: {} + evaluation: {}, + isShowBtn: false } }, computed: { @@ -171,6 +172,7 @@ export default { }, watch: {}, onLoad(o) { + this.isShowBtn = o.isShowBtn == 1 ? true : false this.id = o.id this.$dict.load('clapEventStatus','residentEventSource', 'residentReportDoStatus').then(() => { this.getDetail() diff --git a/src/project/lulong/AppHandSnapshot/List.vue b/src/project/lulong/AppHandSnapshot/List.vue index 5e5e0ea1..07feb8b7 100644 --- a/src/project/lulong/AppHandSnapshot/List.vue +++ b/src/project/lulong/AppHandSnapshot/List.vue @@ -151,7 +151,7 @@ export default { }, goDetail(item) { - uni.navigateTo({url: `./Detail?id=${item.id}`}) + uni.navigateTo({url: `./Detail?id=${item.id}&isShowBtn=1`}) }, change(index) { diff --git a/src/project/lulong/AppHandSnapshot/Statistics.vue b/src/project/lulong/AppHandSnapshot/Statistics.vue index 2299b247..109c28a7 100644 --- a/src/project/lulong/AppHandSnapshot/Statistics.vue +++ b/src/project/lulong/AppHandSnapshot/Statistics.vue @@ -11,7 +11,7 @@
概况总览
-
+

{{item.value}}

{{item.label}}

@@ -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}`}) } }, } diff --git a/src/project/lulong/AppHandSnapshot/StatisticsList.vue b/src/project/lulong/AppHandSnapshot/StatisticsList.vue new file mode 100644 index 00000000..af9ea358 --- /dev/null +++ b/src/project/lulong/AppHandSnapshot/StatisticsList.vue @@ -0,0 +1,246 @@ + + + + +