|
@@ -268,6 +268,68 @@ define(function (require) {
|
|
|
// }
|
|
|
// },
|
|
|
{
|
|
|
+ text: '导出人员报表', iconCls: 'fa fa-cloud-upload', onClick: function () {
|
|
|
+ var queryProperties = $form.formGet().queryProperties;
|
|
|
+ var unitId = $form.formGet().unitId;
|
|
|
+ var date = $form.formGet().date;
|
|
|
+ if ( date == null || date == "") {
|
|
|
+ $.yvan.msg('请选择导出时间');
|
|
|
+ return
|
|
|
+ }
|
|
|
+
|
|
|
+ // var isBand = $form.formGet().isBand;
|
|
|
+ var msStatus = $form.formGet().msStatus;
|
|
|
+ var isContact = $form.formGet().isContact;
|
|
|
+ var isSuspected = $form.formGet().isSuspected;
|
|
|
+ var isTrip = $form.formGet().isTrip;
|
|
|
+ var departmentId = $form.formGet().departmentId;
|
|
|
+ window.open(api('/sweepCode/exSelectLingyunUser?queryProperties='+queryProperties+"&unitId="+unitId + "&date="+date+
|
|
|
+ '&msStatus='+msStatus+'&isContact='+isContact+'&isSuspected='+isSuspected+'&isTrip='+isTrip+ '&departmentId=' + departmentId));
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ text: '导出正常复工人员', iconCls: 'fa fa-cloud-upload', onClick: function () {
|
|
|
+ var unitId = $form.formGet().unitId;
|
|
|
+ var departmentId = $form.formGet().departmentId;
|
|
|
+ window.open(api('/returnWork/exReturnWork?unitId='+unitId + '&departmentId=' + departmentId));
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ 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/dialogDetail.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();
|
|
|
+ }
|
|
|
+ })
|
|
|
+ );
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
text: '查看人员接种记录', iconCls: 'fa fa-search', onClick: function () {
|
|
|
var row = $grid1.rowData();
|
|
|
if ( row == null || row == undefined || row.userId == null || row.userId == "") {
|
|
@@ -351,68 +413,6 @@ define(function (require) {
|
|
|
window.open(api('/sweepCode/exSelectVaccine?unitId='+unitId+'&departmentId='+departmentId));
|
|
|
}
|
|
|
},
|
|
|
- {
|
|
|
- text: '导出人员报表', iconCls: 'fa fa-cloud-upload', onClick: function () {
|
|
|
- var queryProperties = $form.formGet().queryProperties;
|
|
|
- var unitId = $form.formGet().unitId;
|
|
|
- var date = $form.formGet().date;
|
|
|
- if ( date == null || date == "") {
|
|
|
- $.yvan.msg('请选择导出时间');
|
|
|
- return
|
|
|
- }
|
|
|
-
|
|
|
- // var isBand = $form.formGet().isBand;
|
|
|
- var msStatus = $form.formGet().msStatus;
|
|
|
- var isContact = $form.formGet().isContact;
|
|
|
- var isSuspected = $form.formGet().isSuspected;
|
|
|
- var isTrip = $form.formGet().isTrip;
|
|
|
- var departmentId = $form.formGet().departmentId;
|
|
|
- window.open(api('/sweepCode/exSelectLingyunUser?queryProperties='+queryProperties+"&unitId="+unitId + "&date="+date+
|
|
|
- '&msStatus='+msStatus+'&isContact='+isContact+'&isSuspected='+isSuspected+'&isTrip='+isTrip+ '&departmentId=' + departmentId));
|
|
|
- }
|
|
|
- },
|
|
|
- {
|
|
|
- text: '导出正常复工人员', iconCls: 'fa fa-cloud-upload', onClick: function () {
|
|
|
- var unitId = $form.formGet().unitId;
|
|
|
- var departmentId = $form.formGet().departmentId;
|
|
|
- window.open(api('/returnWork/exReturnWork?unitId='+unitId + '&departmentId=' + departmentId));
|
|
|
- }
|
|
|
- },
|
|
|
- {
|
|
|
- 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/dialogDetail.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, /// 表格多选
|