若依开源 1.1.5发布
This commit is contained in:
@ -26,9 +26,9 @@ $(function() {
|
||||
align: 'center',
|
||||
formatter: function(value, row, index) {
|
||||
if (value == 0) {
|
||||
return '<span class="text-success">正常</span>';
|
||||
return '<span class="badge badge-primary">正常</span>';
|
||||
} else if (value == 1) {
|
||||
return '<span class="text-danger">停用</span>';
|
||||
return '<span class="badge badge-danger">停用</span>';
|
||||
}
|
||||
}
|
||||
},
|
||||
|
@ -14,7 +14,10 @@ $(function() {
|
||||
},
|
||||
{
|
||||
field: 'dictType',
|
||||
title: '字典类型'
|
||||
title: '字典类型',
|
||||
formatter: function(value, row, index) {
|
||||
return '<a href="#" onclick="detail(\'' + row.dictId + '\')">' + value +'</a>';
|
||||
}
|
||||
},
|
||||
{
|
||||
field: 'status',
|
||||
@ -22,9 +25,9 @@ $(function() {
|
||||
align: 'center',
|
||||
formatter: function(value, row, index) {
|
||||
if (value == 0) {
|
||||
return '<span class="text-success">正常</span>';
|
||||
return '<span class="badge badge-primary">正常</span>';
|
||||
} else if (value == 1) {
|
||||
return '<span class="text-danger">停用</span>';
|
||||
return '<span class="badge badge-danger">停用</span>';
|
||||
}
|
||||
}
|
||||
},
|
||||
|
Reference in New Issue
Block a user