没有离场积分,显示已打卡

This commit is contained in:
shijingjing
2023-03-30 15:37:16 +08:00
parent b69af7117c
commit e56b9fbd86
2 changed files with 6 additions and 3 deletions

View File

@@ -51,7 +51,7 @@
</div>
<div class="btn-wrapper" v-if="info.type == 0">
<div class="btn" @click="clockIn" hover-class="text-hover" :class="isClock== 0? 'gray': isClock==3? 'gray': isClock== 2? 'opacity':''">
<div class="daka">{{ dkqd }}<span>/积分+{{ intoIntegral }}</span></div>
<div class="daka">{{ dkqd }}<span v-if="this.info.exitIntegral && this.info.intoIntegral">/积分+{{ intoIntegral }}</span></div>
</div>
</div>
</div>
@@ -147,6 +147,10 @@ export default {
return `打卡签到`
}
if (times > outSTimes && times < outETimes && !this.info.exitIntegral) {
return `已打卡`
}
return `打卡签到`
},
baoming() {