|
@@ -115,10 +115,10 @@
|
|
}"
|
|
}"
|
|
>
|
|
>
|
|
<template #signIn="{ col, row }">
|
|
<template #signIn="{ col, row }">
|
|
- {{ row.signInTime ? timestampFilter(row[col.colKey], 'tt') + row.signInAddress : '异常' }}
|
|
|
|
|
|
+ {{ row.signInTime ? timestampFilter(row[col.colKey], 'tt') + (row.signInAddress?row.signInAddress:'') : '异常' }}
|
|
</template>
|
|
</template>
|
|
<template #signOut="{ col, row }">
|
|
<template #signOut="{ col, row }">
|
|
- {{ row.signOutTime ? timestampFilter(row[col.colKey], 'tt') + row.signOutAddress : '异常' }}
|
|
|
|
|
|
+ {{ row.signOutTime ? timestampFilter(row[col.colKey], 'tt') + (row.signOutAddress?row.signOutAddress:'') : '异常' }}
|
|
</template>
|
|
</template>
|
|
<template #workHours="{ col, row }">
|
|
<template #workHours="{ col, row }">
|
|
{{ row.signOutTime && row.signInTime ? ((row.signOutTime - row.signInTime) / 1000 / 60 / 60).toFixed(2) : '' }}
|
|
{{ row.signOutTime && row.signInTime ? ((row.signOutTime - row.signInTime) / 1000 / 60 / 60).toFixed(2) : '' }}
|