|
@@ -117,7 +117,7 @@ export default defineComponent({
|
|
|
</div>
|
|
|
<p class={styles.leftTimer}>
|
|
|
{dayjs(teacherAttInfo.value?.startTime).format('YYYY-MM-DD HH:mm')}
|
|
|
- {'-'}
|
|
|
+ {'~'}
|
|
|
{dayjs(teacherAttInfo.value?.endTime).format('HH:mm')}
|
|
|
</p>
|
|
|
</div>
|
|
@@ -180,14 +180,19 @@ export default defineComponent({
|
|
|
/>
|
|
|
</div>
|
|
|
<p class={styles.signTime}>
|
|
|
- {teacherAttInfo.value?.signInTime
|
|
|
- ? teacherAttType[teacherAttInfo.value?.signInStatus]
|
|
|
- : ''}
|
|
|
-
|
|
|
+ {teacherAttInfo.value?.signInTime ? (
|
|
|
+ <div class={styles.textWidth}>
|
|
|
+ {teacherAttInfo.value?.signInStatus === 'NORMAL'
|
|
|
+ ? '签到时间'
|
|
|
+ : teacherAttType[teacherAttInfo.value?.signInStatus]}
|
|
|
+ </div>
|
|
|
+ ) : (
|
|
|
+ ''
|
|
|
+ )}
|
|
|
{teacherAttInfo.value?.signInTime ? (
|
|
|
<span>{dayjs(teacherAttInfo.value?.signInTime).format('HH:mm:ss')}</span>
|
|
|
) : (
|
|
|
- <span>未签到</span>
|
|
|
+ '未签到'
|
|
|
)}
|
|
|
</p>
|
|
|
</div>
|
|
@@ -235,7 +240,7 @@ export default defineComponent({
|
|
|
: styles.error
|
|
|
]}
|
|
|
>
|
|
|
- 查看定位 <Icon name="arrow" class={styles.arrow}></Icon>
|
|
|
+ 查看定位<Icon name="arrow" class={styles.arrow}></Icon>
|
|
|
</p>
|
|
|
) : null}
|
|
|
</div>
|
|
@@ -251,7 +256,7 @@ export default defineComponent({
|
|
|
<div class={styles.attInfoDot}>
|
|
|
<div class={styles.attInfoDotTitle}>
|
|
|
<p>
|
|
|
- 下课时间<span>{dayjs(teacherAttInfo.value?.endTime).format('HH:mm')}</span>
|
|
|
+ 下课时间 <span>{dayjs(teacherAttInfo.value?.endTime).format('HH:mm')}</span>
|
|
|
</p>
|
|
|
<img
|
|
|
src={teacherAttInfo.value?.signOutStatus === 'NORMAL' ? successIcon : errorIcon}
|
|
@@ -259,9 +264,15 @@ export default defineComponent({
|
|
|
/>
|
|
|
</div>
|
|
|
<p class={styles.signTime}>
|
|
|
- {teacherAttInfo.value?.signOutTime
|
|
|
- ? teacherAttType[teacherAttInfo.value?.signOutStatus]
|
|
|
- : ''}
|
|
|
+ {teacherAttInfo.value?.signOutTime ? (
|
|
|
+ <div class={styles.textWidth}>
|
|
|
+ {teacherAttInfo.value?.signOutStatus === 'NORMAL'
|
|
|
+ ? '签退时间'
|
|
|
+ : teacherAttType[teacherAttInfo.value?.signOutStatus]}
|
|
|
+ </div>
|
|
|
+ ) : (
|
|
|
+ ''
|
|
|
+ )}
|
|
|
|
|
|
{teacherAttInfo.value?.signOutTime ? (
|
|
|
<span>{dayjs(teacherAttInfo.value?.signOutTime).format('HH:mm:ss')}</span>
|
|
@@ -312,11 +323,14 @@ export default defineComponent({
|
|
|
: styles.error
|
|
|
]}
|
|
|
>
|
|
|
- 查看定位 <Icon name="arrow" class={styles.arrow}></Icon>
|
|
|
+ 查看定位<Icon name="arrow" class={styles.arrow}></Icon>
|
|
|
</p>
|
|
|
</>
|
|
|
) : (
|
|
|
- <p>暂无定位</p>
|
|
|
+ <>
|
|
|
+ <p>暂无定位</p>
|
|
|
+ <p></p>
|
|
|
+ </>
|
|
|
)}
|
|
|
</div>
|
|
|
</div>
|