mo %!s(int64=2) %!d(string=hai) anos
pai
achega
42ef1f19c0

+ 2 - 2
src/school/attendance/components/teacher-attendDetail.tsx

@@ -228,7 +228,7 @@ export default defineComponent({
           <div class={[styles.attInfo, styles.attBackInfo]}>
             <div
               class={
-                teacherAttInfo.value?.signInStatus === 'NORMAL' ? styles.passWrap : styles.goWrap
+                teacherAttInfo.value?.signOutStatus === 'NORMAL' ? styles.passWrap : styles.goWrap
               }
             >
               <div class={styles.attInfoDot}>
@@ -237,7 +237,7 @@ export default defineComponent({
                     下课时间<span>{dayjs(teacherAttInfo.value?.endTime).format('HH:mm')}</span>
                   </p>
                   <img
-                    src={teacherAttInfo.value?.signInStatus === 'NORMAL' ? successIcon : errorIcon}
+                    src={teacherAttInfo.value?.signOutStatus === 'NORMAL' ? successIcon : errorIcon}
                     alt=""
                   />
                 </div>

+ 1 - 1
src/student/ranking-list/components/day-bang.tsx

@@ -133,7 +133,7 @@ export default defineComponent({
                 ))}
               </List>
             </OFullRefresh>
-            <MyRankingItem item={myInfo.value}></MyRankingItem>
+            {myInfo.value ? <MyRankingItem item={myInfo.value}></MyRankingItem> : null}
           </div>
         ) : (
           <OEmpty />

+ 1 - 1
src/student/ranking-list/components/timer-bang.tsx

@@ -132,7 +132,7 @@ export default defineComponent({
                 ))}
               </List>
             </OFullRefresh>
-            <MyRankingItem item={myInfo.value}></MyRankingItem>
+            {myInfo.value ? <MyRankingItem item={myInfo.value}></MyRankingItem> : null}
           </div>
         ) : (
           <OEmpty />

+ 1 - 1
src/teacher/attendance/modals/teacherAtt-item.tsx

@@ -41,7 +41,7 @@ export default defineComponent({
                 <p class={styles.infoMsgMain}>{props.item.classGroupName}</p>
                 <p class={styles.infoMsgSub}>{props.item.orchestraName}</p>
               </div>
-              {props.item.subsidy ? (
+              {props.item.subsidyFlag ? (
                 <div class={styles.typeTag}>补助课</div>
               ) : (
                 <div class={styles.typeTagNo}>非补助课</div>

+ 1 - 1
src/views/attendance-rule/index.tsx

@@ -10,7 +10,7 @@ export default defineComponent({
   name: 'attendance-rule',
   setup() {
     const state = reactive({
-      activeNames: ['1', '2', '3']
+      activeNames: []
     })
     const forms = reactive({} as any)
     const getRules = async () => {