|
@@ -155,6 +155,41 @@ define(function (require) {
|
|
window.open(api('/sweepCode/exSelectLingyunUser?queryProperties='+queryProperties+"&unitId=0&date="+date));
|
|
window.open(api('/sweepCode/exSelectLingyunUser?queryProperties='+queryProperties+"&unitId=0&date="+date));
|
|
}
|
|
}
|
|
},
|
|
},
|
|
|
|
+ {
|
|
|
|
+ text: '查看人员上报情况', iconCls: 'fa fa-search', onClick: function () {
|
|
|
|
+ var row = $grid1.rowData();
|
|
|
|
+ if ( row == null || row == undefined || row.userId == null || row.userId == "") {
|
|
|
|
+ $.yvan.msg('请选择数据');
|
|
|
|
+ return
|
|
|
|
+ }
|
|
|
|
+ $.yvan.showDialog(this,
|
|
|
|
+ require('/app/whepi/lingyun/dialogDetail2.js')({
|
|
|
|
+ userId: row.userId,
|
|
|
|
+ linkman: row.linkman,
|
|
|
|
+ confirm: function () {
|
|
|
|
+ // $grid2.reload();
|
|
|
|
+ }
|
|
|
|
+ })
|
|
|
|
+ );
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ text: '查看人员可复工状况', iconCls: 'fa fa-search', onClick: function () {
|
|
|
|
+ var row = $grid1.rowData();
|
|
|
|
+ if ( row == null || row == undefined || row.userId == null || row.userId == "") {
|
|
|
|
+ $.yvan.msg('请选择数据');
|
|
|
|
+ return
|
|
|
|
+ }
|
|
|
|
+ $.yvan.showDialog(this,
|
|
|
|
+ require('/app/whepi/lingyun/dialogFugong.js')({
|
|
|
|
+ userId: row.userId,
|
|
|
|
+ confirm: function () {
|
|
|
|
+ // $grid2.reload();
|
|
|
|
+ }
|
|
|
|
+ })
|
|
|
|
+ );
|
|
|
|
+ }
|
|
|
|
+ },
|
|
]
|
|
]
|
|
},
|
|
},
|
|
multiselect: true, /// 表格多选
|
|
multiselect: true, /// 表格多选
|
|
@@ -171,6 +206,22 @@ define(function (require) {
|
|
{field: 'phone', title: '联系电话', maxWidth: 200, align: 'left',},
|
|
{field: 'phone', title: '联系电话', maxWidth: 200, align: 'left',},
|
|
{field: 'doorplate', title: '工号', maxWidth: 200, align: 'left',},
|
|
{field: 'doorplate', title: '工号', maxWidth: 200, align: 'left',},
|
|
{field: 'bingqingDesc', title: '病情表述', maxWidth: 200, align: 'left',},
|
|
{field: 'bingqingDesc', title: '病情表述', maxWidth: 200, align: 'left',},
|
|
|
|
+ {field: 'isContactDesc', title: '家人确诊或接触', align: 'left',formatter: function (value) {
|
|
|
|
+ if (value == "否") {
|
|
|
|
+ return "<span style='color: green;'>否<span>";
|
|
|
|
+ } else {
|
|
|
|
+ return "<span style='color: red;'>是<span>";
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ {field: 'isSuspectedDesc', title: '家人健康异常', align: 'left',formatter: function (value) {
|
|
|
|
+ if (value == "否") {
|
|
|
|
+ return "<span style='color: green;'>否<span>";
|
|
|
|
+ } else {
|
|
|
|
+ return "<span style='color: red;'>是<span>";
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ },
|
|
{field: 'workLoalDesc', title: '工作驻地', maxWidth: 200, align: 'left',},
|
|
{field: 'workLoalDesc', title: '工作驻地', maxWidth: 200, align: 'left',},
|
|
{field: 'todayLoalDesc', title: '今晚住地', maxWidth: 200, align: 'left',},
|
|
{field: 'todayLoalDesc', title: '今晚住地', maxWidth: 200, align: 'left',},
|
|
{field: 'isTripDesc', title: '是否出行', maxWidth: 200, align: 'left',},
|
|
{field: 'isTripDesc', title: '是否出行', maxWidth: 200, align: 'left',},
|