Ver Fonte

web端修改按钮位置

peiguo há 3 anos atrás
pai
commit
3e57b480b5

+ 62 - 62
admin-ui/app/whepi/lingyun/lingyunUser.js

@@ -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, /// 表格多选

+ 59 - 59
admin-ui/app/whepi/lingyun/lingyunUser2.js

@@ -247,6 +247,65 @@ define(function (require) {
                   //   }
                   // },
                   {
+                    text: '导出人员报表', iconCls: 'fa fa-cloud-upload', onClick: function () {
+                      var queryProperties = $form.formGet().queryProperties;
+                      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=0&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;
+                      window.open(api('/returnWork/exReturnWork?unitId=0'));
+                    }
+                  },
+                  {
+                    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();
+                          }
+                        })
+                      );
+                    }
+                  },
+                  {
                     text: '查看人员接种记录', iconCls: 'fa fa-search', onClick: function () {
                       var row = $grid1.rowData();
                       if ( row == null || row == undefined || row.userId == null || row.userId == "") {
@@ -331,65 +390,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 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=0&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;
-                      window.open(api('/returnWork/exReturnWork?unitId=0'));
-                    }
-                  },
-                  {
-                    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, /// 表格多选

+ 59 - 59
admin-ui/app/whepi/lingyun/lingyunUser7.js

@@ -268,6 +268,65 @@ 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 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;
+                      window.open(api('/returnWork/exReturnWork?unitId='+unitId));
+                    }
+                  },
+                  {
+                    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();
+                          }
+                        })
+                      );
+                    }
+                  },
+                  {
                     text: '查看人员接种记录', iconCls: 'fa fa-search', onClick: function () {
                       var row = $grid1.rowData();
                       if ( row == null || row == undefined || row.userId == null || row.userId == "") {
@@ -352,65 +411,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 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;
-                      window.open(api('/returnWork/exReturnWork?unitId='+unitId));
-                    }
-                  },
-                  {
-                    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, /// 表格多选