-
+
- 共个居民群
+ 共个居民群
@@ -166,7 +166,6 @@ export default {
current: 1,
keyword: '',
data: [],
- page: { current: 1, size: 10, total: 0 },
search: { name: '' },
list: [],
weekList: [],
@@ -194,6 +193,7 @@ export default {
this.Echarts1 = echarts.init(document.getElementById('echarts1'))
},
methods: {
+ // 居民列表
getList() {
this.$http
.post('/app/wxcp/wxcustomer/list', null, {
@@ -201,20 +201,20 @@ export default {
})
.then((res) => {
if (res?.data) {
- if (this.page.current > 1) {
+ if (this.page1.current > 1) {
this.data = [...this.data, ...res.data.records]
} else this.data = res.data.records
- this.page.total = res.data.total
+ this.page1.total = res.data.total
}
})
},
- reachBottom() {
- if (this.page.total > this.list.length) {
- this.page.current++
- this.getList()
- }
- },
+ // reachBottom() {
+ // if (this.page1.total > this.list.length) {
+ // this.page1.current++
+ // this.getList()
+ // }
+ // },
showResident({ id }) {
id &&
@@ -223,6 +223,7 @@ export default {
})
},
+ // 居民群列表
getList2() {
this.$http
.post('/app/wxcp/wxgroup/list', null, {
@@ -234,20 +235,20 @@ export default {
...e,
avatar: e?.avatar || this.$cdn + 'groupAvatar.png',
}))
- if (this.page.current > 1) {
+ if (this.page2.current > 1) {
this.list = [...this.list, ...meta]
} else this.list = meta
- this.page.total = res.data.total
+ this.page2.total = res.data.total
}
})
},
- reachBottom() {
- if (this.page.total > this.list.length) {
- this.page.current = this.page.current + 1
- this.getList2()
- }
- },
+ // reachBottom() {
+ // if (this.page2.total > this.list.length) {
+ // this.page2.current = this.page2.current + 1
+ // this.getList2()
+ // }
+ // },
toGroupList(item) {
uni.navigateTo({
@@ -495,9 +496,11 @@ export default {
})
}
if (this.currentTabBar == 1) {
+ this.page1.current == 1
this.getList()
}
if (this.currentTabBar == 2) {
+ this.page2.current == 1
this.getList2()
}
},
@@ -516,8 +519,14 @@ export default {
},
},
onReachBottom() {
- this.current = this.current + 1
- this.getList()
+ if (this.currentTabBar == 1) {
+ this.page1.current++
+ this.getList()
+ }
+ if (this.currentTabBar == 2) {
+ this.page2.current++
+ this.getList2()
+ }
},
}
From 0b10d917a1984441f5875ef0008f1d2c0104f7bc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E8=8A=B1=E6=9C=89=E6=B8=85=E9=A6=99=E6=9C=88=E6=9C=89?=
=?UTF-8?q?=E9=98=B4?= <185154740@qq.com>
Date: Tue, 18 Jan 2022 11:05:41 +0800
Subject: [PATCH 23/38] 26844
---
src/apps/AppResidentDocument/AppResidentDocument.vue | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/apps/AppResidentDocument/AppResidentDocument.vue b/src/apps/AppResidentDocument/AppResidentDocument.vue
index bcde1ca2..556c749f 100644
--- a/src/apps/AppResidentDocument/AppResidentDocument.vue
+++ b/src/apps/AppResidentDocument/AppResidentDocument.vue
@@ -30,7 +30,7 @@
{{ item.name }}
- {{ item.idNumber.replace(/^(\w{6})\w{8}(.*)$/, '$1****$2') }}
+ {{ item.idNumber.replace(/^(\w{6})\w{8}(.*)$/, '$1********$2') }}
{{ item.phone }}
@@ -70,7 +70,7 @@ export default {
}
},
computed: {
- ...mapState(['user', 'global']),
+ ...mapState(['user']),
},
watch: {},
onLoad() {
From cae009f9e612a985979e11a8d3bab1dfb62299bb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E8=8A=B1=E6=9C=89=E6=B8=85=E9=A6=99=E6=9C=88=E6=9C=89?=
=?UTF-8?q?=E9=98=B4?= <185154740@qq.com>
Date: Tue, 18 Jan 2022 11:06:43 +0800
Subject: [PATCH 24/38] 26848
---
src/apps/AppVillageDiscuss/userList.vue | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/apps/AppVillageDiscuss/userList.vue b/src/apps/AppVillageDiscuss/userList.vue
index bff787f3..2aab267b 100644
--- a/src/apps/AppVillageDiscuss/userList.vue
+++ b/src/apps/AppVillageDiscuss/userList.vue
@@ -9,7 +9,7 @@
{{ item.userName }}
- 匿名用户
+ 居民
{{ item.createTime }}
From d5984de9b65cf9dc0aee8b15de765fc40e405db8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E8=8A=B1=E6=9C=89=E6=B8=85=E9=A6=99=E6=9C=88=E6=9C=89?=
=?UTF-8?q?=E9=98=B4?= <185154740@qq.com>
Date: Tue, 18 Jan 2022 11:21:09 +0800
Subject: [PATCH 25/38] 28642
---
src/apps/AppResidentDocument/AppResidentDocument.vue | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/src/apps/AppResidentDocument/AppResidentDocument.vue b/src/apps/AppResidentDocument/AppResidentDocument.vue
index 556c749f..a0ac138e 100644
--- a/src/apps/AppResidentDocument/AppResidentDocument.vue
+++ b/src/apps/AppResidentDocument/AppResidentDocument.vue
@@ -139,14 +139,15 @@ export default {