|
|
@@ -99,15 +99,21 @@ var bootstrap = function ($, learun) { |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: "电子成绩单提交", name: "ElectronicStatus", width: 100, align: "left", |
|
|
|
formatter: function (cellvalue, rowObject) { |
|
|
|
return cellvalue == 1 ? "<i class=\"fa fa-toggle-on\"></i>" : "<i class=\"fa fa-toggle-off\"></i>"; |
|
|
|
//formatter: function (cellvalue, rowObject) { |
|
|
|
// return cellvalue == 1 ? "<i class=\"fa fa-toggle-on\"></i>" : "<i class=\"fa fa-toggle-off\"></i>"; |
|
|
|
//} |
|
|
|
formatter: function (cellvalue) { |
|
|
|
return cellvalue == "1" ? "<span class=\"label label-success\">已提交</span>" : "<span class=\"label label-danger\">未提交</span>"; |
|
|
|
} |
|
|
|
}, |
|
|
|
{ label: "电子成绩单提交时间", name: "ElectronicTime", width: 130, align: "left" }, |
|
|
|
{ |
|
|
|
label: "纸质成绩单提交", name: "PaperStatus", width: 100, align: "left", |
|
|
|
formatter: function (cellvalue, rowObject) { |
|
|
|
return cellvalue == 1 ? "<i class=\"fa fa-toggle-on\"></i>" : "<i class=\"fa fa-toggle-off\"></i>"; |
|
|
|
//formatter: function (cellvalue, rowObject) { |
|
|
|
// return cellvalue == 1 ? "<i class=\"fa fa-toggle-on\"></i>" : "<i class=\"fa fa-toggle-off\"></i>"; |
|
|
|
//} |
|
|
|
formatter: function (cellvalue) { |
|
|
|
return cellvalue == "1" ? "<span class=\"label label-success\">已提交</span>" : "<span class=\"label label-danger\">未提交</span>"; |
|
|
|
} |
|
|
|
}, |
|
|
|
{ label: "纸质成绩单提交时间", name: "PaperTime", width: 130, align: "left" }, |
|
|
|