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