11wqe1 11 月之前
父节点
当前提交
5698beebc1

+ 2 - 1
src/components/pages/components/studentWorksDetail.vue

@@ -139,6 +139,7 @@
             label="班级"
             label="班级"
             min-width="20"
             min-width="20"
             align="center"
             align="center"
+            show-overflow-tooltip
           >
           >
             <template slot-scope="scope">
             <template slot-scope="scope">
               <div>{{ scope.row.class ? scope.row.class : "暂无班级" }}</div>
               <div>{{ scope.row.class ? scope.row.class : "暂无班级" }}</div>
@@ -156,7 +157,7 @@
           <el-table-column
           <el-table-column
             prop="time"
             prop="time"
             label="时间"
             label="时间"
-            width="100px"
+            min-width="15"
             align="center"
             align="center"
           ></el-table-column>
           ></el-table-column>
           <el-table-column label="操作" width="300px">
           <el-table-column label="操作" width="300px">

+ 2 - 1
src/components/pages/components/worksDetail2.vue

@@ -152,6 +152,7 @@
             label="班级"
             label="班级"
             min-width="20"
             min-width="20"
             align="center"
             align="center"
+            show-overflow-tooltip
           >
           >
             <template slot-scope="scope">
             <template slot-scope="scope">
               <div>{{ scope.row.class ? scope.row.class : "暂无班级" }}</div>
               <div>{{ scope.row.class ? scope.row.class : "暂无班级" }}</div>
@@ -4345,7 +4346,7 @@ export default {
   background: #fff;
   background: #fff;
   height: 100%;
   height: 100%;
   /* padding-top: 40px; */
   /* padding-top: 40px; */
-  padding: 40px 30px 0;
+  padding: 40px 30px 10px;
   border-radius: 5px;
   border-radius: 5px;
   width: 90%;
   width: 90%;
   box-shadow: 2px 2px 5px #909090;
   box-shadow: 2px 2px 5px #909090;

+ 7 - 1
src/components/pages/works.vue

@@ -249,7 +249,13 @@
               label="班级"
               label="班级"
               min-width="40"
               min-width="40"
               align="center"
               align="center"
-            ></el-table-column>
+            >
+              <template slot-scope="scope">
+                {{
+                  scope.row.className ? scope.row.className : "-"
+                }}
+              </template>
+            </el-table-column>
             <el-table-column label="操作" min-width="30">
             <el-table-column label="操作" min-width="30">
               <template slot-scope="scope">
               <template slot-scope="scope">
                 <el-button
                 <el-button