This commit is contained in:
花有清香月有阴
2022-01-13 11:31:03 +08:00
parent 5aa30f82e8
commit f395f4787c
2 changed files with 6 additions and 6 deletions

View File

@@ -152,11 +152,9 @@ export default {
}, },
goDetail(item) { goDetail(item) {
if (item.today == '1') {
uni.navigateTo({ uni.navigateTo({
url: `./HealthDetail?id=${item.id}&diffNum=${item.diffNum}`, url: `./HealthDetail?id=${item.id}&diffNum=${item.diffNum}&today=${item.today}`,
}) })
}
}, },
areaSelect(e) { areaSelect(e) {

View File

@@ -49,7 +49,7 @@
<AiEmpty description="暂无数据" class="emptyWrap" v-else></AiEmpty> <AiEmpty description="暂无数据" class="emptyWrap" v-else></AiEmpty>
</div> </div>
<div class="fixedBtn" @click="toErr" v-if="userList.status == '0'">异常情况处理</div> <div class="fixedBtn" @click="toErr" v-if="userList.status == '0' && today == '1'">异常情况处理</div>
</div> </div>
</template> </template>
@@ -67,6 +67,7 @@ export default {
name: '', name: '',
userList: [], userList: [],
diffNum: '', diffNum: '',
today: '',
} }
}, },
computed: { computed: {
@@ -80,6 +81,7 @@ export default {
this.id = o.id this.id = o.id
this.phone = o.phone this.phone = o.phone
this.diffNum = o.diffNum this.diffNum = o.diffNum
this.today = o.today
this.getUser() this.getUser()
} }
this.getRecord() this.getRecord()