|
@@ -1,7 +1,8 @@
|
|
|
import { defineComponent, reactive, ref } from 'vue'
|
|
|
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 { Icon, ActionSheet } from 'vant'
|
|
|
import dayjs from 'dayjs'
|
|
@@ -26,7 +27,18 @@ export default defineComponent({
|
|
|
{dayjs(props.item.createTime).format('YYYY-MM-DD hh:mm')}
|
|
|
</p>
|
|
|
</div>
|
|
|
- <div class={styles.itemWrapTopRight}></div>
|
|
|
+ {props.type == 'end' && props.item.status == 'PASS' ? (
|
|
|
+ <div class={styles.itemWrapTopRight}>
|
|
|
+ <Icon class={styles.passIcon} name={passIcon}></Icon>
|
|
|
+ <p class={styles.passLabel}>通过</p>
|
|
|
+ </div>
|
|
|
+ ) : null}
|
|
|
+ {props.type == 'end' && props.item.status == 'UNPASS' ? (
|
|
|
+ <div class={styles.itemWrapTopRight}>
|
|
|
+ <Icon class={styles.passIcon} name={unpassIcon}></Icon>
|
|
|
+ <p class={styles.unpassLabel}>拒绝</p>
|
|
|
+ </div>
|
|
|
+ ) : null}
|
|
|
</div>
|
|
|
<div class={styles.itemWrapBottom}>
|
|
|
<div class={styles.courseInfo}>
|