健康登记
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user