|
@@ -26,6 +26,7 @@ export default defineComponent({
|
|
|
const attendanceScope = ref(0)
|
|
|
const teacherAttInfo = ref({} as any)
|
|
|
const platformApi = ref(globalState.platformApi)
|
|
|
+ console.log(platformApi.value)
|
|
|
const showContact = ref(false)
|
|
|
const startContact = () => {
|
|
|
showContact.value = true
|
|
@@ -139,16 +140,18 @@ export default defineComponent({
|
|
|
<p class={styles.infoMsgSub}>{teacherAttInfo.value?.orchestraName}</p>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div
|
|
|
- class={styles.msgIcon}
|
|
|
- onClick={(e: any) => {
|
|
|
- e.stopPropagation()
|
|
|
- e.preventDefault()
|
|
|
- startContact()
|
|
|
- }}
|
|
|
- >
|
|
|
- <img src={msgIcon} alt="" />
|
|
|
- </div>
|
|
|
+ {platformApi.value == '/api-teacher' ? null : (
|
|
|
+ <div
|
|
|
+ class={styles.msgIcon}
|
|
|
+ onClick={(e: any) => {
|
|
|
+ e.stopPropagation()
|
|
|
+ e.preventDefault()
|
|
|
+ startContact()
|
|
|
+ }}
|
|
|
+ >
|
|
|
+ <img src={msgIcon} alt="" />
|
|
|
+ </div>
|
|
|
+ )}
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
@@ -268,7 +271,7 @@ export default defineComponent({
|
|
|
<div class={styles.attRang}>
|
|
|
<p>
|
|
|
{' '}
|
|
|
- {teacherAttInfo.value?.signInLongitudeLatitudeStatus === 'NORMAL'
|
|
|
+ {teacherAttInfo.value?.signOutLongitudeLatitudeStatus === 'NORMAL'
|
|
|
? '考勤范围内'
|
|
|
: '考勤范围外'}
|
|
|
</p>
|
|
@@ -278,7 +281,7 @@ export default defineComponent({
|
|
|
}}
|
|
|
class={[
|
|
|
styles.locP,
|
|
|
- teacherAttInfo.value?.signInLongitudeLatitudeStatus === 'NORMAL'
|
|
|
+ teacherAttInfo.value?.signOutLongitudeLatitudeStatus === 'NORMAL'
|
|
|
? styles.pass
|
|
|
: styles.error
|
|
|
]}
|