实现公告获取和输出

This commit is contained in:
F嘉阳
2018-02-26 11:20:02 +08:00
parent b1db4a4944
commit b652389d4e
7 changed files with 87 additions and 27 deletions

View File

@@ -257,36 +257,12 @@
<el-row>
<el-col :span="24">
<div class="grid-content">
<el-card class="box-card hidden-xs-only">
<div slot="header" class="clearfix">
<span>作业提交倒计时</span>
<span style="color: red"> 功能未完成</span>
</div>
<div class="text item">
<el-table :data="tableHomeworkData" style="width: 100%"
:default-sort="{prop: 'coursename', order: 'descending'}">
<el-table-column prop="coursename" label="科目" sortable width="180">
</el-table-column>
<el-table-column label="倒计时" sortable>
<template slot-scope="scope">
{{limitTime(scope.row)}}
</template>
</el-table-column>
</el-table>
</div>
</el-card>
<el-card th:include="dist/thymeleaf/layout :: timelimit"></el-card>
</div>
</el-col>
</el-row>
<el-row>
<el-card class="box-card hidden-xs-only">
<div slot="header" class="clearfix">
<span>公告</span>
</div>
<div v-for="o in 4" :key="o" class="text item">
{{'公告内容 ' + o }}
</div>
</el-card>
<el-card th:include="dist/thymeleaf/layout :: notice"></el-card>
<!--<template>
<el-table :data="tableData3" style="width: 100%">
<el-table-column label="公告">