diff --git a/src/project/wuxi/AppHandSnapshot/Content.vue b/src/project/wuxi/AppHandSnapshot/Content.vue index eae5da41..db463895 100644 --- a/src/project/wuxi/AppHandSnapshot/Content.vue +++ b/src/project/wuxi/AppHandSnapshot/Content.vue @@ -83,7 +83,7 @@ export default { }, methods: { typeList() { - this.$http.post(`/app/appclapeventgroup/list`, null, { + this.$http.post(`/app/appresidentreportgroup/list`, null, { params: { size: 9999, }, diff --git a/src/project/wuxi/AppHandSnapshot/List.vue b/src/project/wuxi/AppHandSnapshot/List.vue index 74778fa7..51450d55 100644 --- a/src/project/wuxi/AppHandSnapshot/List.vue +++ b/src/project/wuxi/AppHandSnapshot/List.vue @@ -5,8 +5,11 @@ @change="change">
- + +
@@ -67,7 +70,7 @@ export default { currentTabs: 0, current: 1, pages: 0, - searchGrid: {}, + searchGrid: {girdName: ''}, showType: false, eventStatus: '', eventStatusText: '', @@ -101,14 +104,15 @@ export default { methods: { getList() { let {current, eventStatus, searchGrid: {id: girdId}} = this - this.$http.post(`/app/appresidentreportinfo/list`, null, { + this.$http.post(`/app/appresidentreportinfo/listByGirdMember`, null, { params: { size: 10, - current, searchType: this.currentTabs == 1 ? '1' : '0', - eventStatus, girdId + current, + eventStatus, + girdId, + searchType: this.currentTabs, }, - }) - .then((res) => { + }).then((res) => { if (res.code == 0) { this.datas = this.current > 1 ? [...this.datas, ...res.data.records] : res.data.records this.pages = res.data.pages @@ -131,6 +135,11 @@ export default { this.current = 1 this.getList() }, + clearGrid() { + this.searchGrid = {girdName: ''} + this.current = 1 + this.getList() + }, goDetail(item) { uni.navigateTo({url: `./Detail?id=${item.id}`}) @@ -282,5 +291,10 @@ export default { background-color: #f3f6f9; padding-bottom: 120px; } + .grid-name { + display: inline-block; + font-size: 32px; + color: #333; + } }