|
|
@ -53,14 +53,17 @@ |
|
|
|
:key="item.id"> |
|
|
|
<template #title> |
|
|
|
<view class="today-detail-main"> |
|
|
|
<image :src="item.pic" |
|
|
|
|
|
|
|
<!-- <image :src="item.pic" |
|
|
|
@click="previewImage([item.pic])" |
|
|
|
mode="aspectFill"></image> |
|
|
|
mode="aspectFill"></image> --> |
|
|
|
|
|
|
|
<view class="sign-detail"> |
|
|
|
<view class="time" v-if="item.clockInTime">{{ item.clockInTime }}</view> |
|
|
|
<view class="time" v-else> |
|
|
|
{{ selectDate.format('YYYY-MM-DD ') + item.clockStartTime }} |
|
|
|
<view class="tag"> |
|
|
|
<view class="tag" |
|
|
|
v-if="item.type != 2"> |
|
|
|
缺卡 |
|
|
|
</view> |
|
|
|
</view> |
|
|
@ -140,6 +143,10 @@ |
|
|
|
this.queryParams.date = this.selectDate.format('YYYY-MM-DD HH:mm:ss') |
|
|
|
this.getData() |
|
|
|
}, |
|
|
|
isShowTag(date){ |
|
|
|
let index = new Date(date).getDay() |
|
|
|
return ![0, 6].includes(index) |
|
|
|
}, |
|
|
|
} |
|
|
|
} |
|
|
|
</script> |
|
|
|