|
|
@@ -4,6 +4,7 @@
|
|
|
style="width: 100%; margin-top: 20px"
|
|
|
border
|
|
|
:data="localFormData"
|
|
|
+ :default-sort="{ prop: 'createTime', order: 'descending' }"
|
|
|
>
|
|
|
<el-table-column prop="id" label="序号" width="80" align="center">
|
|
|
<template slot-scope="scope">
|
|
|
@@ -41,9 +42,15 @@
|
|
|
<el-table-column
|
|
|
prop="createTime"
|
|
|
label="发送时间"
|
|
|
- width="100"
|
|
|
+ width="120"
|
|
|
align="center"
|
|
|
- ></el-table-column>
|
|
|
+ sortable
|
|
|
+ >
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <div>{{ scope.row.createTime.split(' ')[0] }}</div>
|
|
|
+ <div>{{ scope.row.createTime.split(' ')[1] }}</div>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
</el-table>
|
|
|
<el-pagination
|
|
|
background
|