Commit da863326 by Lyan

sortable状态修改

parent 33c07a5d
...@@ -102,14 +102,14 @@ ...@@ -102,14 +102,14 @@
prop="showtime" prop="showtime"
header-align="center" header-align="center"
align="center" align="center"
sortable sortable='custom'
label="显示时间"> label="显示时间">
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="releasedate" prop="releasedate"
header-align="center" header-align="center"
align="center" align="center"
sortable sortable='custom'
label="添加时间"> label="添加时间">
</el-table-column> </el-table-column>
<el-table-column <el-table-column
......
...@@ -105,14 +105,14 @@ ...@@ -105,14 +105,14 @@
prop="showtime" prop="showtime"
header-align="center" header-align="center"
align="center" align="center"
sortable sortable='custom'
label="显示时间"> label="显示时间">
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="releasedate" prop="releasedate"
header-align="center" header-align="center"
align="center" align="center"
sortable sortable='custom'
label="发布时间"> label="发布时间">
</el-table-column> </el-table-column>
<!-- <el-table-column <!-- <el-table-column
......
...@@ -88,7 +88,7 @@ ...@@ -88,7 +88,7 @@
header-align="center" header-align="center"
align="center" align="center"
:show-overflow-tooltip="true" :show-overflow-tooltip="true"
sortable sortable='custom'
label="首页添加时间"> label="首页添加时间">
</el-table-column> </el-table-column>
<el-table-column <el-table-column
...@@ -96,7 +96,7 @@ ...@@ -96,7 +96,7 @@
header-align="center" header-align="center"
:show-overflow-tooltip="true" :show-overflow-tooltip="true"
align="center" align="center"
sortable sortable='custom'
label="首页修改时间"> label="首页修改时间">
</el-table-column> </el-table-column>
<el-table-column <el-table-column
......
...@@ -94,14 +94,14 @@ ...@@ -94,14 +94,14 @@
prop="showtime" prop="showtime"
header-align="center" header-align="center"
align="center" align="center"
sortable sortable='custom'
label="显示时间"> label="显示时间">
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="releasedate" prop="releasedate"
header-align="center" header-align="center"
align="center" align="center"
sortable sortable='custom'
label="添加时间"> label="添加时间">
</el-table-column> </el-table-column>
<el-table-column <el-table-column
......
...@@ -149,21 +149,21 @@ ...@@ -149,21 +149,21 @@
prop="showtime" prop="showtime"
header-align="center" header-align="center"
align="center" align="center"
sortable sortable='custom'
label="显示时间"> label="显示时间">
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="releasedate" prop="releasedate"
header-align="center" header-align="center"
align="center" align="center"
sortable sortable='custom'
label="发布时间"> label="发布时间">
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="updatedate" prop="updatedate"
header-align="center" header-align="center"
align="center" align="center"
sortable sortable='custom'
label="更新时间"> label="更新时间">
</el-table-column> </el-table-column>
<el-table-column <el-table-column
......
...@@ -72,14 +72,14 @@ ...@@ -72,14 +72,14 @@
prop="showtime" prop="showtime"
header-align="center" header-align="center"
align="center" align="center"
sortable sortable='custom'
label="显示时间"> label="显示时间">
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="time" prop="time"
header-align="center" header-align="center"
align="center" align="center"
sortable sortable='custom'
label="发布时间"> label="发布时间">
</el-table-column> </el-table-column>
<el-table-column <el-table-column
......
...@@ -77,8 +77,8 @@ ...@@ -77,8 +77,8 @@
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="pictureType" header-align="center" align="center" label="分类"> </el-table-column> <el-table-column prop="pictureType" header-align="center" align="center" label="分类"> </el-table-column>
<el-table-column prop="showtime" header-align="center" align="center" sortable label="显示时间"> </el-table-column> <el-table-column prop="showtime" header-align="center" align="center" sortable='custom' label="显示时间"> </el-table-column>
<el-table-column prop="inputdate" header-align="center" align="center" sortable label="发布时间"> </el-table-column> <el-table-column prop="inputdate" header-align="center" align="center" sortable='custom' label="发布时间"> </el-table-column>
<el-table-column prop="keyword" header-align="center" align="center" label="关键字"> </el-table-column> <el-table-column prop="keyword" header-align="center" align="center" label="关键字"> </el-table-column>
<el-table-column prop="editor" header-align="center" align="center" label="编辑"> </el-table-column> <el-table-column prop="editor" header-align="center" align="center" label="编辑"> </el-table-column>
<el-table-column prop="lasteditor" header-align="center" align="center" label="最后编辑"> </el-table-column> <el-table-column prop="lasteditor" header-align="center" align="center" label="最后编辑"> </el-table-column>
......
...@@ -59,7 +59,7 @@ ...@@ -59,7 +59,7 @@
prop="releasetime" prop="releasetime"
header-align="center" header-align="center"
align="center" align="center"
sortable sortable='custom'
label="创建日期"> label="创建日期">
</el-table-column> </el-table-column>
<el-table-column <el-table-column
......
...@@ -49,7 +49,7 @@ ...@@ -49,7 +49,7 @@
prop="type" prop="type"
header-align="center" header-align="center"
align="center" align="center"
sortable sortable='custom'
label="类别"> label="类别">
</el-table-column> </el-table-column>
<el-table-column <el-table-column
...@@ -62,14 +62,14 @@ ...@@ -62,14 +62,14 @@
prop="author" prop="author"
header-align="center" header-align="center"
align="center" align="center"
sortable sortable='custom'
label="编辑"> label="编辑">
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="releasetime" prop="releasetime"
header-align="center" header-align="center"
align="center" align="center"
sortable sortable='custom'
label="创建日期"> label="创建日期">
</el-table-column> </el-table-column>
<el-table-column <el-table-column
...@@ -82,7 +82,7 @@ ...@@ -82,7 +82,7 @@
prop="status" prop="status"
header-align="center" header-align="center"
align="center" align="center"
sortable sortable='custom'
label="状态"> label="状态">
<template slot-scope="scope"> <template slot-scope="scope">
<div> <div>
...@@ -177,6 +177,7 @@ export default { ...@@ -177,6 +177,7 @@ export default {
}) })
}).then(({data}) => { }).then(({data}) => {
if (data && data.code === 0) { if (data && data.code === 0) {
console.log(this.dataList)
this.dataList = data.page.list this.dataList = data.page.list
this.totalPage = data.page.totalCount this.totalPage = data.page.totalCount
} else { } else {
......
...@@ -92,14 +92,14 @@ ...@@ -92,14 +92,14 @@
prop="showtime" prop="showtime"
header-align="center" header-align="center"
align="center" align="center"
sortable sortable='custom'
label="显示时间"> label="显示时间">
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="releasedate" prop="releasedate"
header-align="center" header-align="center"
align="center" align="center"
sortable sortable='custom'
label="发布时间"> label="发布时间">
</el-table-column> </el-table-column>
<el-table-column <el-table-column
......
...@@ -89,14 +89,14 @@ ...@@ -89,14 +89,14 @@
prop="showtime" prop="showtime"
header-align="center" header-align="center"
align="center" align="center"
sortable sortable='custom'
label="显示时间"> label="显示时间">
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="releasedate" prop="releasedate"
header-align="center" header-align="center"
align="center" align="center"
sortable sortable='custom'
label="发布时间"> label="发布时间">
</el-table-column> </el-table-column>
<el-table-column <el-table-column
......
...@@ -92,14 +92,14 @@ ...@@ -92,14 +92,14 @@
prop="showtime" prop="showtime"
header-align="center" header-align="center"
align="center" align="center"
sortable sortable='custom'
label="显示时间"> label="显示时间">
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="releasedate" prop="releasedate"
header-align="center" header-align="center"
align="center" align="center"
sortable sortable='custom'
label="发布时间"> label="发布时间">
</el-table-column> </el-table-column>
<el-table-column <el-table-column
......
...@@ -90,14 +90,14 @@ ...@@ -90,14 +90,14 @@
prop="showtime" prop="showtime"
header-align="center" header-align="center"
align="center" align="center"
sortable sortable='custom'
label="显示时间"> label="显示时间">
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="releasedate" prop="releasedate"
header-align="center" header-align="center"
align="center" align="center"
sortable sortable='custom'
label="发布时间"> label="发布时间">
</el-table-column> </el-table-column>
<el-table-column <el-table-column
......
...@@ -52,7 +52,7 @@ ...@@ -52,7 +52,7 @@
prop="updatetime" prop="updatetime"
header-align="center" header-align="center"
align="center" align="center"
sortable sortable='custom'
label="修改时间"> label="修改时间">
</el-table-column> </el-table-column>
<el-table-column <el-table-column
......
...@@ -52,7 +52,7 @@ ...@@ -52,7 +52,7 @@
prop="updatetime" prop="updatetime"
header-align="center" header-align="center"
align="center" align="center"
sortable sortable='custom'
label="修改时间"> label="修改时间">
</el-table-column> </el-table-column>
<el-table-column <el-table-column
......
...@@ -52,7 +52,7 @@ ...@@ -52,7 +52,7 @@
prop="updatetime" prop="updatetime"
header-align="center" header-align="center"
align="center" align="center"
sortable sortable='custom'
label="修改时间"> label="修改时间">
</el-table-column> </el-table-column>
<el-table-column <el-table-column
......
...@@ -52,7 +52,7 @@ ...@@ -52,7 +52,7 @@
prop="updatetime" prop="updatetime"
header-align="center" header-align="center"
align="center" align="center"
sortable sortable='custom'
label="修改时间"> label="修改时间">
</el-table-column> </el-table-column>
<el-table-column <el-table-column
......
...@@ -52,7 +52,7 @@ ...@@ -52,7 +52,7 @@
prop="updatetime" prop="updatetime"
header-align="center" header-align="center"
align="center" align="center"
sortable sortable='custom'
label="修改时间"> label="修改时间">
</el-table-column> </el-table-column>
<el-table-column <el-table-column
......
...@@ -84,7 +84,7 @@ ...@@ -84,7 +84,7 @@
prop="updatedate" prop="updatedate"
header-align="center" header-align="center"
align="center" align="center"
sortable sortable='custom'
label="创建时间" label="创建时间"
> >
</el-table-column> </el-table-column>
......
...@@ -103,7 +103,7 @@ ...@@ -103,7 +103,7 @@
prop="inputdate" prop="inputdate"
header-align="center" header-align="center"
align="center" align="center"
sortable sortable='custom'
label="发布时间"> label="发布时间">
</el-table-column> </el-table-column>
<el-table-column <el-table-column
......
...@@ -71,7 +71,7 @@ ...@@ -71,7 +71,7 @@
prop="adddate" prop="adddate"
header-align="center" header-align="center"
align="center" align="center"
sortable sortable='custom'
label="添加时间" label="添加时间"
> >
</el-table-column> </el-table-column>
......
...@@ -101,14 +101,14 @@ ...@@ -101,14 +101,14 @@
prop="releasedate" prop="releasedate"
header-align="center" header-align="center"
align="center" align="center"
sortable sortable='custom'
label="创建时间"> label="创建时间">
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="updatedate" prop="updatedate"
header-align="center" header-align="center"
align="center" align="center"
sortable sortable='custom'
label="更新时间"> label="更新时间">
</el-table-column> </el-table-column>
<el-table-column <el-table-column
......
...@@ -77,8 +77,8 @@ ...@@ -77,8 +77,8 @@
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="pictureType" header-align="center" align="center" label="分类"> </el-table-column> <el-table-column prop="pictureType" header-align="center" align="center" label="分类"> </el-table-column>
<el-table-column prop="showtime" header-align="center" align="center" sortable label="显示时间"> </el-table-column> <el-table-column prop="showtime" header-align="center" align="center" sortable='custom' label="显示时间"> </el-table-column>
<el-table-column prop="inputdate" header-align="center" align="center" sortable label="发布时间"> </el-table-column> <el-table-column prop="inputdate" header-align="center" align="center" sortable='custom' label="发布时间"> </el-table-column>
<el-table-column prop="keyword" header-align="center" align="center" label="关键字"> </el-table-column> <el-table-column prop="keyword" header-align="center" align="center" label="关键字"> </el-table-column>
<el-table-column prop="editor" header-align="center" align="center" label="编辑"> </el-table-column> <el-table-column prop="editor" header-align="center" align="center" label="编辑"> </el-table-column>
<el-table-column prop="lasteditor" header-align="center" align="center" label="最后编辑"> </el-table-column> <el-table-column prop="lasteditor" header-align="center" align="center" label="最后编辑"> </el-table-column>
......
...@@ -127,7 +127,7 @@ ...@@ -127,7 +127,7 @@
prop="registerdate" prop="registerdate"
header-align="center" header-align="center"
align="center" align="center"
sortable sortable='custom'
label="添加时间" label="添加时间"
> >
</el-table-column> </el-table-column>
...@@ -135,7 +135,7 @@ ...@@ -135,7 +135,7 @@
prop="updatedate" prop="updatedate"
header-align="center" header-align="center"
align="center" align="center"
sortable sortable='custom'
label="修改时间" label="修改时间"
> >
</el-table-column> </el-table-column>
...@@ -158,7 +158,7 @@ ...@@ -158,7 +158,7 @@
prop="checkDate" prop="checkDate"
header-align="center" header-align="center"
align="center" align="center"
sortable sortable='custom'
label="审核时间" label="审核时间"
> >
</el-table-column> </el-table-column>
......
...@@ -150,7 +150,7 @@ ...@@ -150,7 +150,7 @@
prop="registerdate" prop="registerdate"
header-align="center" header-align="center"
align="center" align="center"
sortable sortable='custom'
label="添加时间" label="添加时间"
> >
</el-table-column> </el-table-column>
...@@ -158,7 +158,7 @@ ...@@ -158,7 +158,7 @@
prop="updatedate" prop="updatedate"
header-align="center" header-align="center"
align="center" align="center"
sortable sortable='custom'
label="修改时间" label="修改时间"
> >
</el-table-column> </el-table-column>
...@@ -188,7 +188,7 @@ ...@@ -188,7 +188,7 @@
prop="checkDate" prop="checkDate"
header-align="center" header-align="center"
align="center" align="center"
sortable sortable='custom'
label="审核时间" label="审核时间"
> >
</el-table-column> </el-table-column>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment