lsc hace 1 año
padre
commit
9357cc53c9

+ 3 - 2
src/components/pages/dataBoard/course/index.vue

@@ -1,5 +1,5 @@
 <template>
-  <div class="body">
+  <div class="body1">
     <!-- 课程数据 -->
     <div class="left">
       <div class="top">
@@ -124,12 +124,13 @@ export default {
 </script>
 
 <style scoped>
-.body {
+.body1 {
   width: 100%;
   height: 100%;
   display: flex;
   padding: 20px;
   box-sizing: border-box;
+  overflow: hidden;
 }
 
 .left {

+ 1 - 0
src/components/pages/dataBoard/index.vue

@@ -56,6 +56,7 @@ export default {
   width: 100%;
   min-width: 1200px;
   min-height: 750px;
+  overflow: hidden;
 }
 
 .db_header {

+ 3 - 2
src/components/pages/dataBoard/school/index.vue

@@ -1,5 +1,5 @@
 <template>
-  <div class="body" v-loading="isLoading">
+  <div class="body1" v-loading="isLoading">
     <!-- 综合数据 -->
     <div class="left">
       <div class="top">
@@ -313,12 +313,13 @@ export default {
 
 
 <style scoped>
-.body {
+.body1 {
   width: 100%;
   height: 100%;
   display: flex;
   padding: 20px;
   box-sizing: border-box;
+  overflow: hidden;
 }
 
 .left {

+ 3 - 2
src/components/pages/dataBoard/student/index.vue

@@ -1,5 +1,5 @@
 <template>
-  <div class="body" v-loading="isLoading">
+  <div class="body1" v-loading="isLoading">
     <!-- 学生数据 -->
     <div class="left">
       <div class="top">
@@ -221,12 +221,13 @@ export default {
 
 
 <style scoped>
-.body {
+.body1 {
   width: 100%;
   height: 100%;
   display: flex;
   padding: 20px;
   box-sizing: border-box;
+  overflow: hidden;
 }
 
 .left {

+ 3 - 3
src/components/pages/dataBoard/student/stuAct/index.vue

@@ -7,16 +7,16 @@
         :header-cell-style="{ background: '#E0EAFB' }"
         :row-class-name="tableRowClassName"
       >
-        <el-table-column prop="rank" label="排行" width="100" align="center">
+        <el-table-column prop="rank" label="排行" min-width="100" align="center">
         </el-table-column>
         <el-table-column
           prop="name"
           label="类别名称"
-          width="170"
+          min-width="170"
           align="center"
         >
         </el-table-column>
-        <el-table-column prop="sum" label="授课次数" width="170" align="center">
+        <el-table-column prop="sum" label="授课次数" min-width="170" align="center">
         </el-table-column>
       </el-table>
     </div>

+ 3 - 3
src/components/pages/dataBoard/teacher/chartList/teaAct.vue

@@ -7,16 +7,16 @@
         :header-cell-style="{ background: '#E0EAFB' }"
         :row-class-name="tableRowClassName"
       >
-        <el-table-column prop="rank" label="排行" width="100" align="center">
+        <el-table-column prop="rank" label="排行" min-width="100" align="center">
         </el-table-column>
         <el-table-column
           prop="name"
           label="类别名称"
-          width="170"
+          min-width="170"
           align="center"
         >
         </el-table-column>
-        <el-table-column prop="sum" label="授课次数" width="170" align="center">
+        <el-table-column prop="sum" label="授课次数" min-width="170" align="center">
         </el-table-column>
       </el-table>
     </div>

+ 3 - 3
src/components/pages/dataBoard/teacher/index.vue

@@ -1,5 +1,5 @@
 <template>
-  <div class="body">
+  <div class="body1">
     <!-- 教师数据 -->
     <div class="left">
       <div class="top">
@@ -27,7 +27,7 @@
               <div>156</div>
             </div>
           </div>
-          <TeaFre style="height:calc(100% - 134px)"></TeaFre>
+          <TeaFre style="height:calc(100% - 140px)"></TeaFre>
         </div>
       </div>
       <div class="bottom">
@@ -223,7 +223,7 @@ export default {
 
 
 <style scoped>
-.body {
+.body1 {
   width: 100%;
   height: 100%;
   display: flex;