提交 39a36180 authored 作者: 吴德鹏's avatar 吴德鹏

活动管理优化

上级 7ef97f2c
...@@ -66,7 +66,7 @@ ...@@ -66,7 +66,7 @@
order by ${sidx} ${order} order by ${sidx} ${order}
</when> </when>
<otherwise> <otherwise>
order by id desc order by status desc,create_time desc
</otherwise> </otherwise>
</choose> </choose>
<if test="offset != null and limit != null"> <if test="offset != null and limit != null">
......
...@@ -5,7 +5,7 @@ $(function () { ...@@ -5,7 +5,7 @@ $(function () {
{label: 'id', name: 'id', index: 'id', key: true, hidden: true}, {label: 'id', name: 'id', index: 'id', key: true, hidden: true},
/*{label: '一级分类ID', name: 'goodtypeId', index: 'goodtype_id', width: 80},*/ /*{label: '一级分类ID', name: 'goodtypeId', index: 'goodtype_id', width: 80},*/
{label: '标题', name: 'classTitle', index: 'class_title', width: 80}, {label: '标题', name: 'classTitle', index: 'class_title', width: 80},
{label: '类型', name: 'type', index: 'type', width: 80 , formatter: typeFormat}, {label: '类型', name: 'type', index: 'type', width: 80 , formatter: typeFormat2},
{label: '排序', name: 'sort', index: 'sort', width: 80}, {label: '排序', name: 'sort', index: 'sort', width: 80},
{label: '图片', name: 'picture', index: 'picture', width: 80, formatter: imageFormat}, {label: '图片', name: 'picture', index: 'picture', width: 80, formatter: imageFormat},
{label: '是否展示', name: 'isShow', index: 'is_show', width: 80, formatter: validFormat}, {label: '是否展示', name: 'isShow', index: 'is_show', width: 80, formatter: validFormat},
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论