BUG 28274
This commit is contained in:
@@ -23,17 +23,19 @@
|
|||||||
<i>{{ item.diffNum || 0 }}</i>
|
<i>{{ item.diffNum || 0 }}</i>
|
||||||
<span>天</span>
|
<span>天</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="item-bottom__right" hover-class="text-hover" v-if="item.today === '0'" @click.stop="$linkTo('./AddReport?id=' + item.id)">
|
<div class="item-bottom__right" hover-class="text-hover" v-if="item.today === '0'"
|
||||||
|
@click.stop="$linkTo('./AddReport?id=' + item.id)">
|
||||||
<span style="color: #FF883C">今日未上报</span>
|
<span style="color: #FF883C">今日未上报</span>
|
||||||
<u-icon name="arrow-right" color="#ddd"/>
|
<u-icon name="arrow-right" color="#ddd"/>
|
||||||
</div>
|
</div>
|
||||||
<div class="item-bottom__right" hover-class="text-hover" v-else @click.stop="$linkTo('./RecordList?id=' + item.id)">
|
<div class="item-bottom__right" hover-class="text-hover" v-else
|
||||||
|
@click.stop="$linkTo('./RecordList?id=' + item.id)">
|
||||||
<span style="color: #999999">今日已上报</span>
|
<span style="color: #999999">今日已上报</span>
|
||||||
<u-icon name="arrow-right" color="#ddd"/>
|
<u-icon name="arrow-right" color="#ddd"/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<AiEmpty v-if="!list.length && !isMore"/>
|
<AiEmpty v-if="list.length==0"/>
|
||||||
</div>
|
</div>
|
||||||
<div class="btn-wrapper">
|
<div class="btn-wrapper">
|
||||||
<div class="btn" @click="toReport" hover-class="text-hover">添加上报人员</div>
|
<div class="btn" @click="toReport" hover-class="text-hover">添加上报人员</div>
|
||||||
@@ -43,6 +45,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import {mapState} from 'vuex'
|
import {mapState} from 'vuex'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "AppHealthReport",
|
name: "AppHealthReport",
|
||||||
appName: "健康上报",
|
appName: "健康上报",
|
||||||
@@ -52,7 +55,6 @@
|
|||||||
pageShow: false,
|
pageShow: false,
|
||||||
current: 1,
|
current: 1,
|
||||||
total: 0,
|
total: 0,
|
||||||
isMore: false
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -68,8 +70,6 @@
|
|||||||
|
|
||||||
uni.$on('update', () => {
|
uni.$on('update', () => {
|
||||||
this.current = 1
|
this.current = 1
|
||||||
this.isMore = false
|
|
||||||
|
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.getList()
|
this.getList()
|
||||||
})
|
})
|
||||||
@@ -82,7 +82,6 @@
|
|||||||
},
|
},
|
||||||
|
|
||||||
getList() {
|
getList() {
|
||||||
if (this.isMore) return
|
|
||||||
|
|
||||||
this.$instance.post(`/app/appepidemicreportmember/list?openId=${this.user.openId}`, null, {
|
this.$instance.post(`/app/appepidemicreportmember/list?openId=${this.user.openId}`, null, {
|
||||||
params: {
|
params: {
|
||||||
@@ -100,7 +99,6 @@
|
|||||||
uni.hideLoading()
|
uni.hideLoading()
|
||||||
this.pageShow = true
|
this.pageShow = true
|
||||||
if (res.data.records.length < 15) {
|
if (res.data.records.length < 15) {
|
||||||
this.isMore = true
|
|
||||||
|
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user