健康上报

This commit is contained in:
shijingjing
2022-09-28 15:18:31 +08:00
parent cdb0945124
commit f948203f58
3 changed files with 56 additions and 17 deletions

View File

@@ -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 {

View File

@@ -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()