若依开源 1.1.5发布

This commit is contained in:
RuoYi
2018-05-26 14:27:56 +08:00
parent 548f3c2867
commit 595b0312f5
87 changed files with 466 additions and 1467 deletions

View File

@ -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>';
}
}
},

View File

@ -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>';
}
}
},