|
@@ -3,7 +3,8 @@ import styles from './approval-item.module.less'
|
|
|
import clockIcon from '@/school/attendance/images/clock-icon.png'
|
|
|
import passIcon from '../images/pass-icon.png'
|
|
|
import unpassIcon from '../images/unpass-icon.png'
|
|
|
-import defaultIcon from '@/school/images/default-icon.jpg'
|
|
|
+import defaultIcon from '@/school/images/default-icon.png'
|
|
|
+import studentIcon from '@/school/images/student-icon.png'
|
|
|
import msgIcon from '@/school/images/msg-icon.png'
|
|
|
import { Icon, ActionSheet, showToast } from 'vant'
|
|
|
import dayjs from 'dayjs'
|
|
@@ -64,7 +65,11 @@ export default defineComponent({
|
|
|
<div class={styles.itemWrapBottom}>
|
|
|
<div class={styles.courseInfo}>
|
|
|
<div class={styles.courseInfoLeft}>
|
|
|
- <img class={styles.headImgs} src={defaultIcon} alt="" />
|
|
|
+ {props.item.clientType == 'STUDENT' ? (
|
|
|
+ <img class={styles.headImgs} src={studentIcon} alt="" />
|
|
|
+ ) : (
|
|
|
+ <img class={styles.headImgs} src={defaultIcon} alt="" />
|
|
|
+ )}
|
|
|
<div class={styles.infoMsg}>
|
|
|
<p class={styles.infoMsgMain}>{props.item.nickName}</p>
|
|
|
{props.item.clientType == 'STUDENT' ? (
|