tnx-shared 5.3.247 → 5.3.248

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.
@@ -20758,6 +20758,11 @@
20758
20758
  CanBoHoSoService.prototype.generatePickerControlSchema = function (control, enumCanBo) {
20759
20759
  var _this = this;
20760
20760
  if (enumCanBo === void 0) { enumCanBo = exports.EnumCanBo.TRONG_DON_VI; }
20761
+ var _a;
20762
+ var columns = this.lstEntityPickerColumn;
20763
+ if (((_a = control.columns) === null || _a === void 0 ? void 0 : _a.length) > 0) {
20764
+ columns.push.apply(columns, __spreadArray([], __read(control.columns)));
20765
+ }
20761
20766
  var result = new AutoCompletePickerControlSchema(Object.assign(Object.assign({ field: 'idCanBo', label: 'Cán bộ', title: 'Chọn cán bộ', multiple: false, baseService: this, plusUrl: 'WithChucDanhChucVu', displayField: 'hoVaTen', fieldPlus: 'code', fieldSearchText: ['email', 'code'], funcGetLabel: function (item) {
20762
20767
  var result = item.hoVaTen;
20763
20768
  if (item.code) {
@@ -20803,7 +20808,7 @@
20803
20808
  break;
20804
20809
  }
20805
20810
  return filters;
20806
- } }, control), { columns: __spreadArray(__spreadArray([], __read(this.lstEntityPickerColumn)), __read(control.columns)) }));
20811
+ } }, control), { columns: columns }));
20807
20812
  if (control.dataType == exports.EnumControlPickerType.DOITAC && !this.lstEntityPickerColumn.some(function (item) { return item.code == 'idDoiTac'; })) {
20808
20813
  this.lstEntityPickerColumn.push(new EntityPickerColumn({
20809
20814
  label: 'Đối tác',