tnx-shared 5.1.569 → 5.1.571

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.
@@ -912,6 +912,7 @@
912
912
  EnumControlPickerType[EnumControlPickerType["BIEU_MAU"] = 16] = "BIEU_MAU";
913
913
  EnumControlPickerType[EnumControlPickerType["TEACHERFULL"] = 17] = "TEACHERFULL";
914
914
  EnumControlPickerType[EnumControlPickerType["CANBO"] = 17] = "CANBO";
915
+ EnumControlPickerType[EnumControlPickerType["DOITAC"] = 18] = "DOITAC";
915
916
  })(exports.EnumControlPickerType || (exports.EnumControlPickerType = {}));
916
917
  exports.EnumGetRefType = void 0;
917
918
  (function (EnumGetRefType) {
@@ -44697,9 +44698,9 @@
44697
44698
  _this.endPoint = _moduleConfigService.getConfig().environment.apiDomain.canboEndpoint;
44698
44699
  _this.environment = _moduleConfigService.getConfig().environment;
44699
44700
  _this.endPoint = _this.environment.apiDomain.canboEndpoint;
44700
- var version = (_a = _this.environment.cauHinhNghiepVu) === null || _a === void 0 ? void 0 : _a.versionColumnPickerCanBo;
44701
- if (version) {
44702
- _this.lstEntityPickerColumn = _this.defaultEntityColumnDict["v" + version];
44701
+ _this.version = (_a = _this.environment.cauHinhNghiepVu) === null || _a === void 0 ? void 0 : _a.versionColumnPickerCanBo;
44702
+ if (_this.version) {
44703
+ _this.lstEntityPickerColumn = _this.defaultEntityColumnDict["v" + _this.version];
44703
44704
  }
44704
44705
  if (!_this.lstEntityPickerColumn) {
44705
44706
  _this.lstEntityPickerColumn = _this.generateListEntityColumnDefault();
@@ -45101,6 +45102,17 @@
45101
45102
  }
45102
45103
  });
45103
45104
  }); }, columns: this.lstEntityPickerColumn }, control));
45105
+ if (control.dataType == exports.EnumControlPickerType.DOITAC && !this.lstEntityPickerColumn.some(function (item) { return item.code == 'idDoiTac'; })) {
45106
+ this.lstEntityPickerColumn.push(new EntityPickerColumn({
45107
+ label: 'Đối tác',
45108
+ code: 'idDoiTac',
45109
+ baseService: this._hoSoDoiTacService,
45110
+ multiple: true,
45111
+ fullTextSearch: true,
45112
+ isArrayField: true,
45113
+ width: '200px',
45114
+ }));
45115
+ }
45104
45116
  if (result.fieldPlus) {
45105
45117
  if (result.fieldPlus
45106
45118
  .split(',')
@@ -45318,6 +45330,7 @@
45318
45330
  label: 'Đối tác',
45319
45331
  code: 'idDoiTac',
45320
45332
  multiple: true,
45333
+ isArrayField: true,
45321
45334
  baseService: this._hoSoDoiTacService,
45322
45335
  fullTextSearch: true,
45323
45336
  width: '200px',
@@ -52441,6 +52454,9 @@
52441
52454
  if (column.isDisplay) {
52442
52455
  var newCol = new ColumnSchemaBase({
52443
52456
  field: column.code,
52457
+ multiple: column.multiple,
52458
+ operator: column.operator,
52459
+ isArrayField: column.isArrayField,
52444
52460
  label: _this._translateService.instant(column.label),
52445
52461
  visible: true,
52446
52462
  dataType: column.dataType,
@@ -52666,6 +52682,9 @@
52666
52682
  if (column.isDisplay) {
52667
52683
  var newCol = new ColumnSchemaBase({
52668
52684
  field: column.code,
52685
+ multiple: column.multiple,
52686
+ operator: column.operator,
52687
+ isArrayField: column.isArrayField,
52669
52688
  label: _this._translateService.instant(column.label),
52670
52689
  visible: true,
52671
52690
  dataType: column.dataType,
@@ -58026,6 +58045,7 @@
58026
58045
  _this.entityName = 'DM_ChucVu';
58027
58046
  _this.endPoint = _moduleConfigService.getConfig().environment.apiDomain.canboEndpoint;
58028
58047
  _this._moduleConfig = _moduleConfigService.getConfig();
58048
+ _this.fieldSuDung = 'trangThai';
58029
58049
  return _this;
58030
58050
  }
58031
58051
  return DmChucVuService;