Parcourir la source

homework students + className

hare8999@163.com il y a 2 ans
Parent
commit
0eda8dd75f

+ 1 - 0
src/views/questioncenter/components/generate-tabs/paper-work-history-detail.vue

@@ -52,6 +52,7 @@ export default {
         { prop: 'id', label: '序号', width: '80px', slotBody: 'index' },
         { prop: 'type', label: '类型', width: '120px', slotBody: 'type' },
         { prop: 'title', label: '学生', slotBody: 'title' },
+        { prop: 'className', label: '班级', sortable: true },
         { prop: 'doneTime', label: '完成时间', width: '180px', slotBody: 'doneTime' },
         { prop: 'isDo', label: '状态', width: '120px', slotBody: 'status', sortable: true },
         { prop: 'scoreRate', label: this.useVideo ? '观看比例' : '得分率', width: '100px', slotBody: 'rate', sortable: true },

+ 2 - 2
src/views/questioncenter/components/generate-tabs/paper-work-history.vue

@@ -31,7 +31,7 @@
       <pagination v-if="total>0" :total="total" :page.sync="queryParams.pageNum" :limit.sync="queryParams.pageSize"
                   @pagination="getList"></pagination>
       <el-dialog v-if="detailOption.visible" :visible.sync="detailOption.visible" :title="detailOption.title"
-                 width="900px">
+                 width="1100px">
         <paper-work-history-detail :work-id="detailOption.workId" :type="detailOption.type"
                                    @paperView="handlePaperView"></paper-work-history-detail>
       </el-dialog>
@@ -71,7 +71,7 @@ export default {
         type: ''
       },
       columns: [
-        { prop: 'id', label: '序号', width: '80px', slotBody: 'index' },
+        { prop: 'id', label: '序号', width: '60px', slotBody: 'index' },
         { prop: 'type', label: '类型', width: '120px', slotBody: 'type' },
         { prop: 'title', label: '标题' },
         { prop: 'createTime', label: '创建时间', width: '180px' },