This commit is contained in:
花有清香月有阴
2022-01-12 18:29:17 +08:00
parent b1271700c6
commit 831c3613a6

View File

@@ -94,37 +94,19 @@ export default {
},
methods: {
getUser() {
this.$loading()
this.$http
.post(`/app/appepidemicreportmember/queryDetailById?id=${this.id}`)
.then((res) => {
if (res.code == 0) {
this.userList = res.data
this.$hideLoading()
} else {
this.$hideLoading()
}
})
.catch(() => {
this.$hideLoading()
})
this.$http.post(`/app/appepidemicreportmember/queryDetailById?id=${this.id}`).then((res) => {
if (res.code == 0) {
this.userList = res.data
}
})
},
getRecord() {
this.$loading()
this.$http
.post(`/app/appepidemichealthreport/list?memberId=${this.id}`)
.then((res) => {
if (res.code == 0) {
this.data = this.current > 1 ? [...this.data, ...res.data.records] : res.data.records
this.$hideLoading()
} else {
this.$hideLoading()
}
})
.catch(() => {
this.$hideLoading()
})
this.$http.post(`/app/appepidemichealthreport/list?memberId=${this.id}`).then((res) => {
if (res.code == 0) {
this.data = this.current > 1 ? [...this.data, ...res.data.records] : res.data.records
}
})
},
callPhone(phone) {