|
@@ -243,15 +243,15 @@ define(function (require) {
|
|
|
{field: 'userId', title: '用户ID', hidden: true},
|
|
|
{field: 'linkman', title: '姓名', maxWidth: 200, align: 'left',},
|
|
|
{field: 'loudong', title: '部门名称', maxWidth: 200, align: 'left',},
|
|
|
- // {
|
|
|
- // field: 'returnWork', title: '今日复工', maxWidth: 100, align: 'center', formatter: function (value) {
|
|
|
- // if (value == 1) {
|
|
|
- // return "<span style='color: green;'>允许复工<span>";
|
|
|
- // } else if (value == 0) {
|
|
|
- // return "<span style='color: red;'>禁止复工<span>";
|
|
|
- // }
|
|
|
- // }
|
|
|
- // },
|
|
|
+ {
|
|
|
+ field: 'returnWork', title: '今日复工', maxWidth: 100, align: 'center', formatter: function (value) {
|
|
|
+ if (value == 1) {
|
|
|
+ return "<span style='color: green;'>允许复工<span>";
|
|
|
+ } else if (value == 0) {
|
|
|
+ return "<span style='color: red;'>禁止复工<span>";
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
{field: 'reportStatus', title: '上报', hidden: true},
|
|
|
{
|
|
|
field: 'msStatus', title: '个人上报状态', maxWidth: 100, align: 'center', formatter: function (value, row) {
|