From 423b4a4876cea344c11fab2c33316a8def648c4b Mon Sep 17 00:00:00 2001 From: liuye Date: Thu, 16 Jun 2022 10:15:21 +0800 Subject: [PATCH] 30248 --- src/pages/login.vue | 2 +- src/project/police/AppPeopleList/AppPeopleList.vue | 10 ++++------ 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/src/pages/login.vue b/src/pages/login.vue index dc6eeed4..87b789de 100644 --- a/src/pages/login.vue +++ b/src/pages/login.vue @@ -60,7 +60,7 @@ export default { module = 'wangge' } this.setModule(module) - this.getToken({...this.form, module, corpId: 'wpytYEDgAAcpXjmlYkYwKO60JDGDWrXg'}).then(token => { + this.getToken({...this.form, module, corpId}).then(token => { if (token) { this.login(token) if (module != 'AppCountryAlbum') { diff --git a/src/project/police/AppPeopleList/AppPeopleList.vue b/src/project/police/AppPeopleList/AppPeopleList.vue index c9dfa5c8..dc9870f8 100644 --- a/src/project/police/AppPeopleList/AppPeopleList.vue +++ b/src/project/police/AppPeopleList/AppPeopleList.vue @@ -8,7 +8,7 @@ - + @@ -101,8 +101,7 @@ export default { methods: { getList() { var residentType = ['', 0, 1][this.currentTabs] - this.$http - .post('/app/appresident/list', null, { + this.$http.post('/app/appresident/list', null, { params: { size: 20, current: this.current, @@ -111,8 +110,7 @@ export default { residentType: residentType, auditStatus: 1 }, - }) - .then((res) => { + }).then((res) => { if (res.code == 0) { this.datas = this.current > 1 ? [...this.datas, ...res.data.records] : res.data.records @@ -132,7 +130,7 @@ export default { uni.navigateTo({url: `./DetailCard?id=${item.id}`}) }, - seachObj(e) { + changeArea(e) { this.areaId = e this.current = 1 this.getList()