tnx-shared 5.1.147 → 5.1.148

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.
@@ -47415,27 +47415,7 @@
47415
47415
  };
47416
47416
  ProcessWorkflowTargetComponent.prototype.getUserLabel = function (item) {
47417
47417
  var label = this._userService.getUserName(item);
47418
- if (item.tenChucVu) {
47419
- label += " (" + item.tenChucVu + ")";
47420
- }
47421
- else if (item.lstTenChucVu && item.lstTenChucVu.length) {
47422
- var lstChucVu = item.lstTenChucVu;
47423
- var index = 0;
47424
- for (var chucVu in lstChucVu) {
47425
- switch (index) {
47426
- case 0:
47427
- label += "(" + chucVu + ",";
47428
- break;
47429
- case lstChucVu.length - 1:
47430
- label += chucVu + ")";
47431
- break;
47432
- default:
47433
- label += "" + chucVu;
47434
- break;
47435
- }
47436
- index++;
47437
- }
47438
- }
47418
+ label = (item.maChucVu ? "(" + item.maChucVu + ") " : '') + ("" + label) + (item.tenDonVi ? "- " + item.tenDonVi : '');
47439
47419
  return label;
47440
47420
  };
47441
47421
  ProcessWorkflowTargetComponent.prototype._createCoCauToChucControl = function (field, label) {