11wqe1 10 달 전
부모
커밋
dc8ec71086

+ 1 - 1
src/components/pages/components/exportDataDialog.vue

@@ -2359,7 +2359,7 @@ export default {
         realData[5].cla += `任务${index + 1}:${e},`;
       });
 
-      console.log("realData", realData);
+      // console.log("realData", realData);
       this.realData = realData;
 
       let forAllList = [];

+ 13 - 16
src/components/pages/components/exportWorksDialog.vue

@@ -35,7 +35,7 @@
               </div>
               <div>
                 <span>班级:</span>
-                <div class="txt">{{ worksDialogCon2.class }}</div>
+                <div class="txt">{{ worksDialogCon2.class ? worksDialogCon2.class : "——" }}</div>
               </div>
               <div>
                 <span>学校:</span>
@@ -477,6 +477,7 @@
                 </div>
 
                 <div
+                
                   v-if="
                     l.content && l.content.length && l.eList && l.eList.length
                   "
@@ -496,7 +497,7 @@
                   <div class="taskScoCon">
                     <!-- 分数详情与素养 -->
                     <div style="flex: 1; display: flex; flex-wrap: wrap">
-                      <div style="width: 322px; margin:0 20px 10px 0">
+                      <div style="width: 375px; margin:0 20px 10px 0">
                         <div class="taskScoConTit">分数详情</div>
                         <div
                           v-for="(wItem, ind) in l.eList"
@@ -508,26 +509,21 @@
                             style="
                                 display: flex;
                                 justify-content: space-between;
+                                align-items: center;
                                 width: 100%;
                                 min-width: 48%;
                               "
                           >
-                            <el-tooltip
-                              class="item"
-                              effect="dark"
-                              :content="wItem.detail"
-                              placement="top-start"
-                            >
-                              <div class="RootImgBlock">
-                                {{ wItem.detail }}
-                              </div>
-                            </el-tooltip>
+                           
+                            <div class="RootImgBlock">
+                              {{ wItem.detail }}
+                            </div>
 
                             <el-rate
                               class="rate_size"
                               disabled-void-color="#ccc"
                               disabled
-                              style="width: 120px"
+                              style="width: 130px"
                               v-model="l.rate[wItem.detail]"
                             ></el-rate>
                           </div>
@@ -1408,10 +1404,11 @@ export default {
 }
 .RootImgBlock {
   width: 50%;
-  white-space: nowrap;
-  overflow: hidden;
+  white-space: wrap;
+  /* overflow: hidden;
+  text-overflow: ellipsis; */
+
   font-size: 12px;
-  text-overflow: ellipsis;
 }
 .score_box {
   display: flex;

+ 15 - 1
src/components/pages/components/lookReport.vue

@@ -184,7 +184,7 @@
         :cid="checkCourse.courseId">
       </exportDataDialog>
 
-      <div v-else style="padding: 10px 30px;box-sizing: border-box;">
+      <div v-else class="report_box">
         <studentReport
             :checkCourse="checkCourse.courseId"
             :checkStudent="checkStudent"
@@ -401,4 +401,18 @@ export default {
 .worksDialogCSSExp >>> .el-dialog.is-fullscreen {
   overflow: hidden;
 }
+.report_box {
+  height: 100%;
+  position: absolute;
+  top: 0;
+  /* background: #fff; */
+  background: rgb(231, 242, 252);
+  overflow: auto;
+  z-index: 1;
+  width: 100%;
+  left: 50%;
+  transform: translateX(-50%);
+  padding: 20px;
+  box-sizing: border-box;
+}
 </style>