tnx-shared 5.3.341 → 5.3.342

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.
@@ -20380,12 +20380,12 @@
20380
20380
  __extends(HoSoDoiTacService, _super);
20381
20381
  function HoSoDoiTacService(http, injector, _moduleConfigService) {
20382
20382
  var _this = _super.call(this, http, injector, _moduleConfigService.getConfig().environment.apiDomain
20383
- .doitacEndpoint + "/" + _moduleConfigService.getConfig().environment.apiVersion + "/HoSoDoiTac") || this;
20383
+ .canboEndpoint + "/" + _moduleConfigService.getConfig().environment.apiVersion + "/HoSoDoiTac") || this;
20384
20384
  _this._moduleConfigService = _moduleConfigService;
20385
20385
  _this.entityName = 'HoSoDoiTac';
20386
- _this.serviceCode = 'doitac';
20386
+ _this.serviceCode = 'canbo';
20387
20387
  _this.endPoint
20388
- = _moduleConfigService.getConfig().environment.apiDomain.doitacEndpoint;
20388
+ = _moduleConfigService.getConfig().environment.apiDomain.canboEndpoint;
20389
20389
  return _this;
20390
20390
  }
20391
20391
  HoSoDoiTacService.prototype.genDropDownSchema = function (required, multiple, field, label, mdWidth, funcModifySchema) {
@@ -44545,6 +44545,7 @@
44545
44545
  this.setting.hiddenSettingPermission = true;
44546
44546
  this.setting.fieldSearchText = this.control.fieldSearchText;
44547
44547
  this.setting.columnSetting.sortField = this.control.sortField;
44548
+ this.setting.columnSetting.sortDir = this.control.sortDir;
44548
44549
  this.control.columns.forEach(function (column) {
44549
44550
  if (column.isDisplay) {
44550
44551
  var col = new ColumnSchemaBase(Object.assign(Object.assign({}, column), { visible: true, field: column.code || column.field, label: _this._translateService.instant(column.label) }));
@@ -45389,7 +45390,7 @@
45389
45390
  }
45390
45391
  CoCauToChucPickerListComponent.prototype.ngOnInit = function () {
45391
45392
  this.control._component = this;
45392
- this.controlPicker = new AutoCompletePickerControlSchema(Object.assign(Object.assign({}, this.control), { field: 'arrIdNguoiDung', label: 'Đơn vị', title: 'Chọn đơn vị', baseService: this._coCauToChucService, multiple: this.control.multiple, valueField: this.control.valueField, defaultFilters: this.control.defaultFilters, sortField: 'idDuongDan', required: true, columns: [
45393
+ this.controlPicker = new AutoCompletePickerControlSchema(Object.assign(Object.assign({}, this.control), { field: 'arrIdNguoiDung', label: 'Đơn vị', title: 'Chọn đơn vị', baseService: this._coCauToChucService, multiple: this.control.multiple, valueField: this.control.valueField, defaultFilters: this.control.defaultFilters, sortField: 'idDuongDan', sortDir: 1, required: true, columns: [
45393
45394
  new EntityPickerColumn({
45394
45395
  label: 'Tên đơn vị',
45395
45396
  code: this.control.displayField,