健康上报
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<div class="album">
|
||||
<div class="AddReport">
|
||||
<div class="tips">请确保以下信息全部由本人填写,本人对所填写内容的真实性和完整性负责</div>
|
||||
<div class="form-item__group">
|
||||
<div class="form-item">
|
||||
@@ -262,7 +262,7 @@ export default {
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
.album {
|
||||
.AddReport {
|
||||
padding-bottom: 140px;
|
||||
|
||||
.tips {
|
||||
|
||||
@@ -82,27 +82,21 @@ export default {
|
||||
},
|
||||
|
||||
getList() {
|
||||
|
||||
this.$instance.post(`/app/appepidemicreportmember/list?openId=${this.user.openId}`, null, {
|
||||
this.$instance.post(`/app/appepidemicpreventionhealthreportinfo/reportUserList`, null, {
|
||||
params: {
|
||||
createUserId: this.user.id,
|
||||
current: this.current,
|
||||
size: 15
|
||||
}
|
||||
}).then(res => {
|
||||
if (res.code == 0) {
|
||||
if (res?.data) {
|
||||
this.total = res.data.total
|
||||
if (this.current > 1) {
|
||||
this.list = [...this.list, ...res.data.records]
|
||||
} else {
|
||||
this.list = res.data.records
|
||||
}
|
||||
this.list = this.current == 1? res.data.records : [...this.list, ...res.data.records]
|
||||
uni.hideLoading()
|
||||
this.pageShow = true
|
||||
if (res.data.records.length < 15) {
|
||||
|
||||
return false
|
||||
}
|
||||
|
||||
this.current = this.current + 1
|
||||
} else {
|
||||
uni.hideLoading()
|
||||
|
||||
Reference in New Issue
Block a user