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.
- package/bundles/tnx-shared.umd.js +1 -21
- package/bundles/tnx-shared.umd.js.map +1 -1
- package/bundles/tnx-shared.umd.min.js +1 -1
- package/bundles/tnx-shared.umd.min.js.map +1 -1
- package/components/workflow/process-workflow-target/process-workflow-target.component.d.ts.map +1 -1
- package/esm2015/components/workflow/process-workflow-target/process-workflow-target.component.js +2 -22
- package/fesm2015/tnx-shared.js +1 -21
- package/fesm2015/tnx-shared.js.map +1 -1
- package/package.json +2 -2
|
@@ -47415,27 +47415,7 @@
|
|
|
47415
47415
|
};
|
|
47416
47416
|
ProcessWorkflowTargetComponent.prototype.getUserLabel = function (item) {
|
|
47417
47417
|
var label = this._userService.getUserName(item);
|
|
47418
|
-
|
|
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) {
|