lsc 2 سال پیش
والد
کامیت
78b5d4dc1b
1فایلهای تغییر یافته به همراه9 افزوده شده و 5 حذف شده
  1. 9 5
      src/components/student/studyStudent.vue

+ 9 - 5
src/components/student/studyStudent.vue

@@ -139,9 +139,13 @@
               ].people || chapInfoList[courseType].chapterInfo[0].taskJson[
                 taskCount
               ].time">
-                <div class="task_pbox" v-if="chapInfoList[courseType].chapterInfo[0].taskJson[
-                  taskCount
-                ].people">负责人:{{
+                <div :class="{
+                  task_pbox: getMan(chapInfoList[courseType].chapterInfo[0].taskJson[
+                    taskCount
+                  ].people)
+                }" v-if="chapInfoList[courseType].chapterInfo[0].taskJson[
+  taskCount
+].people">负责人:{{
   getMan(chapInfoList[courseType].chapterInfo[0].taskJson[
     taskCount
   ].people)
@@ -167,7 +171,7 @@
     taskCount
   ].time) ? '5px auto 5px' : '15px auto 5px'
 }">
-                <div class="task_pbox">协同者:<span class="tcMember" v-for="(men, mindex) in chapInfoList[courseType].chapterInfo[0].taskJson[
+                <div class="task_pbox">协同者:<span :class="{tcMember:getMan(men)}" v-for="(men, mindex) in chapInfoList[courseType].chapterInfo[0].taskJson[
                   taskCount
                 ].tcMember" :key="mindex">{{ getMan(men) }}</span></div>
               </div>
@@ -2305,7 +2309,7 @@ export default {
             }
           }
         }
-        return _people
+        return this.ManAarray.length ? _people : ''
       }
     },
   },