修复table列表在卡片视图下状态开关、公告类型以及操作按钮前端显示偏离问题
This commit is contained in:
parent
66d0dcae9b
commit
322681560e
|
|
@ -77,7 +77,6 @@
|
||||||
{
|
{
|
||||||
field: 'noticeType',
|
field: 'noticeType',
|
||||||
title: '公告类型',
|
title: '公告类型',
|
||||||
align: 'center',
|
|
||||||
formatter: function(value, row, index) {
|
formatter: function(value, row, index) {
|
||||||
return $.table.selectDictLabel(types, value);
|
return $.table.selectDictLabel(types, value);
|
||||||
}
|
}
|
||||||
|
|
@ -85,7 +84,6 @@
|
||||||
{
|
{
|
||||||
field: 'status',
|
field: 'status',
|
||||||
title: '状态',
|
title: '状态',
|
||||||
align: 'center',
|
|
||||||
formatter: function(value, row, index) {
|
formatter: function(value, row, index) {
|
||||||
return $.table.selectDictLabel(datas, value);
|
return $.table.selectDictLabel(datas, value);
|
||||||
}
|
}
|
||||||
|
|
@ -101,7 +99,6 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '操作',
|
title: '操作',
|
||||||
align: 'center',
|
|
||||||
formatter: function(value, row, index) {
|
formatter: function(value, row, index) {
|
||||||
var actions = [];
|
var actions = [];
|
||||||
actions.push('<a class="btn btn-success btn-xs ' + editFlag + '" href="javascript:void(0)" onclick="$.operate.editFull(\'' + row.noticeId + '\')"><i class="fa fa-edit"></i>编辑</a> ');
|
actions.push('<a class="btn btn-success btn-xs ' + editFlag + '" href="javascript:void(0)" onclick="$.operate.editFull(\'' + row.noticeId + '\')"><i class="fa fa-edit"></i>编辑</a> ');
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue