瀏覽代碼

报告修改

zhangjie 1 年之前
父節點
當前提交
5c332c2828

+ 7 - 5
src/assets/styles/report.css

@@ -77,7 +77,7 @@ img {
   position: relative;
   padding: 37px 58px 70px;
   page-break-after: always;
-  font-size: 19px;
+  font-size: 18px;
   color: #666;
   font-family: "PingFang SC", Tahoma, Helvetica, Arial, sans-serif;
 }
@@ -90,7 +90,7 @@ img {
 
 .report-page .page-content {
   margin-top: 39px;
-  height: 1388px;
+  height: 1400px;
   position: relative;
   overflow: hidden;
 }
@@ -207,7 +207,7 @@ img {
   line-height: 39px;
 }
 
-/* report-table */
+/* table */
 .report-table {
   width: 100%;
   border-spacing: 0;
@@ -216,14 +216,16 @@ img {
 }
 
 .report-table th {
-  padding: 10px;
+  padding: 8px 6px;
   background-color: #3da0ff;
   color: #fff;
+  line-height: 27px;
 }
 
 .report-table td {
-  padding: 10px;
+  padding: 8px 6px;
   color: #555;
+  line-height: 27px;
 }
 
 .report-table-border th {

+ 6 - 4
src/assets/styles/report.scss

@@ -93,7 +93,7 @@ img {
   position: relative;
   padding: 37px 58px 70px;
   page-break-after: always;
-  font-size: 19px;
+  font-size: 18px;
   color: $midDark;
   font-family: "PingFang SC", Tahoma, Helvetica, Arial, sans-serif;
 
@@ -104,7 +104,7 @@ img {
   }
   .page-content {
     margin-top: 39px;
-    height: 1388px;
+    height: 1400px;
     position: relative;
     overflow: hidden;
   }
@@ -217,13 +217,15 @@ img {
   text-align: center;
 
   th {
-    padding: 10px;
+    padding: 8px 6px;
     background-color: $blue;
     color: #fff;
+    line-height: 27px;
   }
   td {
-    padding: 10px;
+    padding: 8px 6px;
     color: $dark;
+    line-height: 27px;
   }
 
   &-border {

+ 1 - 1
src/modules/mark/components/ScoreReportPreview.vue

@@ -43,7 +43,7 @@ export default {
   },
   data() {
     return {
-      modalIsShow: true,
+      modalIsShow: false,
       downloading: false,
     };
   },

+ 1 - 1
src/modules/mark/components/report/Report.vue

@@ -48,7 +48,7 @@ export default {
     };
   },
   mounted() {
-    this.initData1();
+    this.initData();
   },
   methods: {
     ...mapMutations("report", ["setData", "resetData"]),

+ 1 - 1
src/modules/mark/components/report/ReportQuestion.vue

@@ -54,7 +54,7 @@ export default {
     return {
       questionCharts: [],
       questionTables: [],
-      chartSplitRange: 32,
+      chartSplitRange: 30,
       initOption,
     };
   },

+ 1 - 2
src/modules/mark/components/report/chart.js

@@ -390,7 +390,6 @@ export function getBarTeachersOptions(datas) {
   let legendData = datas.map(function (item) {
     return item.name;
   });
-  let barWidth = 22 - datas.length * 2;
   let series = datas.map(function (item) {
     return {
       type: "bar",
@@ -405,7 +404,7 @@ export function getBarTeachersOptions(datas) {
         item.avgScore,
         // item.relativeAvgScore,
       ],
-      barWidth: barWidth,
+      barWidth: 16,
       name: item.name,
     };
   });

文件差異過大導致無法顯示
+ 0 - 0
src/modules/mark/components/report/previewTemp.js


部分文件因文件數量過多而無法顯示