Selaa lähdekoodia

修改前端页面:导出接种明细按钮放前面

peiguo 3 vuotta sitten
vanhempi
commit
fb669367c4

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

@@ -268,6 +268,19 @@ define(function (require) {
                   //   }
                   // },
                   {
+                    text: '导出接种明细', iconCls: 'fa fa-cloud-upload', onClick: function () {
+                      var unitId = $form.formGet().unitId;
+                      var departmentId = $form.formGet().departmentId;
+                      if (unitId == null || unitId == "") {
+                        unitId = 0
+                      }
+                      if (departmentId == null || departmentId == "") {
+                        departmentId = 0
+                      }
+                      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;
@@ -400,19 +413,6 @@ define(function (require) {
                       );
                     }
                   },
-                  {
-                    text: '导出接种明细', iconCls: 'fa fa-cloud-upload', onClick: function () {
-                      var unitId = $form.formGet().unitId;
-                      var departmentId = $form.formGet().departmentId;
-                      if (unitId == null || unitId == "") {
-                        unitId = 0
-                      }
-                      if (departmentId == null || departmentId == "") {
-                        departmentId = 0
-                      }
-                      window.open(api('/sweepCode/exSelectVaccine?unitId='+unitId+'&departmentId='+departmentId));
-                    }
-                  },
                 ]
               },
               multiselect: true, /// 表格多选

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

@@ -247,6 +247,19 @@ define(function (require) {
                   //   }
                   // },
                   {
+                    text: '导出接种明细', iconCls: 'fa fa-cloud-upload', onClick: function () {
+                      var unitId = $form.formGet().unitId;
+                      var departmentId = $form.formGet().departmentId;
+                      if (unitId == null || unitId == "") {
+                        unitId = 0
+                      }
+                      if (departmentId == null || departmentId == "") {
+                        departmentId = 0
+                      }
+                      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;
@@ -377,19 +390,6 @@ define(function (require) {
                       );
                     }
                   },
-                  {
-                    text: '导出接种明细', iconCls: 'fa fa-cloud-upload', onClick: function () {
-                      var unitId = $form.formGet().unitId;
-                      var departmentId = $form.formGet().departmentId;
-                      if (unitId == null || unitId == "") {
-                        unitId = 0
-                      }
-                      if (departmentId == null || departmentId == "") {
-                        departmentId = 0
-                      }
-                      window.open(api('/sweepCode/exSelectVaccine?unitId='+unitId+'&departmentId='+departmentId));
-                    }
-                  },
                 ]
               },
               multiselect: true, /// 表格多选

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

@@ -268,6 +268,19 @@ define(function (require) {
                   //   }
                   // },
                   {
+                    text: '导出接种明细', iconCls: 'fa fa-cloud-upload', onClick: function () {
+                      var unitId = $form.formGet().unitId;
+                      var departmentId = $form.formGet().departmentId;
+                      if (unitId == null || unitId == "") {
+                        unitId = 0
+                      }
+                      if (departmentId == null || departmentId == "") {
+                        departmentId = 0
+                      }
+                      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;
@@ -398,19 +411,6 @@ define(function (require) {
                       );
                     }
                   },
-                  {
-                    text: '导出接种明细', iconCls: 'fa fa-cloud-upload', onClick: function () {
-                      var unitId = $form.formGet().unitId;
-                      var departmentId = $form.formGet().departmentId;
-                      if (unitId == null || unitId == "") {
-                        unitId = 0
-                      }
-                      if (departmentId == null || departmentId == "") {
-                        departmentId = 0
-                      }
-                      window.open(api('/sweepCode/exSelectVaccine?unitId='+unitId+'&departmentId='+departmentId));
-                    }
-                  },
                 ]
               },
               multiselect: true, /// 表格多选