This commit is contained in:
花有清香月有阴
2022-01-12 18:10:58 +08:00
parent 16e1466caa
commit b5448c6d78
2 changed files with 2 additions and 9 deletions

View File

@@ -212,7 +212,7 @@ export default {
uni.$emit('updateDetail') uni.$emit('updateDetail')
setTimeout(() => { setTimeout(() => {
uni.navigateBack() uni.navigateBack()
}, 800) }, 600)
} }
}) })
}) })

View File

@@ -119,9 +119,6 @@ export default {
}, },
methods: { methods: {
getList() { getList() {
uni.showLoading({
title: '加载数据中',
})
this.$http this.$http
.post('/app/appepidemicreportmember/list', null, { .post('/app/appepidemicreportmember/list', null, {
params: { size: this.size, current: this.current, status: this.currentTabs == 1 ? '0' : '', areaId: this.areaId, name: this.keyword }, params: { size: this.size, current: this.current, status: this.currentTabs == 1 ? '0' : '', areaId: this.areaId, name: this.keyword },
@@ -129,14 +126,10 @@ export default {
.then((res) => { .then((res) => {
if (res.code == 0) { if (res.code == 0) {
this.data = this.current > 1 ? [...this.data, ...res.data.records] : res.data.records this.data = this.current > 1 ? [...this.data, ...res.data.records] : res.data.records
uni.hideLoading()
} else { } else {
uni.hideLoading()
} }
}) })
.catch(() => { .catch(() => {})
uni.hideLoading()
})
}, },
getUserList() { getUserList() {