ps-toolkit-ui 0.0.190 → 0.0.191

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -7271,14 +7271,15 @@
7271
7271
  }
7272
7272
  }
7273
7273
  else if (access.AccessType === exports.PermissionAccessTypeEnum.Print) {
7274
- var p_1 = new PermissionClass();
7275
- p_1.RelatedId = 'Index';
7276
- p_1.Area = this_1.permissions.Area;
7277
- p_1.Controller = 'Print';
7278
- console.log(this_1.permissions, 'this.permissions');
7279
- p_1.Action = this_1.permissions.Controller + (this_1.permissions.Action ? this_1.permissions.Action : '');
7280
7274
  accessInp.onClick = function () {
7281
- window.open('/Report' + p_1.getUrl() + '?' + $.param(_this.searchData(true)), '_blank');
7275
+ var p = new PermissionClass();
7276
+ p.RelatedId = 'Index';
7277
+ p.Area = _this.permissions.Area;
7278
+ p.Controller = 'Print';
7279
+ console.log(_this.permissions, 'this.permissions');
7280
+ p.Action = _this.permissions.Controller + (_this.permissions.Action ? _this.permissions.Action : '');
7281
+ window.open('/Report' + p.getUrl() + (_this.permissions.RelatedId ? '/' + _this.permissions.RelatedId : '') +
7282
+ '?' + $.param(_this.searchData(true)), '_blank');
7282
7283
  };
7283
7284
  }
7284
7285
  else if (access.InputAction === exports.PermissionInputActionEnum.OnClick) {