健康登记

This commit is contained in:
liuye
2022-02-09 17:39:17 +08:00
parent eec90be6fe
commit 2d6a9c4bab
3 changed files with 40 additions and 12 deletions

View File

@@ -153,13 +153,14 @@ export default {
tabList: [{ name: '健康上报'},{ name: '上报统计'}],
currentTabs: 0,
form: {temperature: '', touchInFourteen: '', health: []},
isUpload: false,
isUpload: true,
weekList: ['一', '二', '三', '四', '五', '六', '日'],
dayList: [],
month: '',
selectDay: '',
healthInfo: {},
isAdmin: false, //是否网格长
girdMemberId: '',
}
},
computed: {
@@ -253,7 +254,7 @@ export default {
this.currentTabs = index
},
toOther() {
uni.navigateTo({ url: './OtherUser'})
uni.navigateTo({ url: `./OtherUser?girdMemberId=${this.girdMemberId}`})
},
isGirdUser() {
this.isAdmin = false
@@ -261,6 +262,7 @@ export default {
if (res.code == 0) {
if (res.data.checkType == 2) {
this.isAdmin = true
this.girdMemberId = res.data.girdMemberId
}
}
})