tnx-shared 5.1.514 → 5.1.516
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 +6 -4
- 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/cho-y-kien-form/cho-y-kien-form.component.d.ts.map +1 -1
- package/components/workflow/workflow-history-new/workflow-history-new.component.d.ts.map +1 -1
- package/esm2015/components/workflow/cho-y-kien-form/cho-y-kien-form.component.js +6 -4
- package/esm2015/components/workflow/workflow-history-new/workflow-history-new.component.js +2 -2
- package/fesm2015/tnx-shared.js +6 -4
- package/fesm2015/tnx-shared.js.map +1 -1
- package/package.json +2 -2
|
@@ -60808,7 +60808,9 @@
|
|
|
60808
60808
|
label: this._translateService.instant('Ý kiến'),
|
|
60809
60809
|
mdWidth: 12,
|
|
60810
60810
|
required: true
|
|
60811
|
-
})
|
|
60811
|
+
})
|
|
60812
|
+
];
|
|
60813
|
+
if (this.bussinessSetting.showFileManagerFromWfProcess) {
|
|
60812
60814
|
new FileManagerControlSchema({
|
|
60813
60815
|
field: 'fileDinhKem',
|
|
60814
60816
|
label: this._translateService.instant('File đính kèm'),
|
|
@@ -60818,8 +60820,8 @@
|
|
|
60818
60820
|
entityKey: this.model.data.id,
|
|
60819
60821
|
mdWidth: 12,
|
|
60820
60822
|
required: false
|
|
60821
|
-
})
|
|
60822
|
-
|
|
60823
|
+
});
|
|
60824
|
+
}
|
|
60823
60825
|
};
|
|
60824
60826
|
ChoYKienFormComponent.prototype.getPromiseActionInsert = function () {
|
|
60825
60827
|
this.messageInsertSuccess = "Cho \u00FD ki\u1EBFn th\u00E0nh c\u00F4ng";
|
|
@@ -61954,7 +61956,6 @@
|
|
|
61954
61956
|
this.setting.showEditLink = false;
|
|
61955
61957
|
this.setting.hiddenButtons = true;
|
|
61956
61958
|
this.setting.hiddenCheckbox = true;
|
|
61957
|
-
this.setting.hiddenFunctionColumn = !this.setting.showButtonThuHoi;
|
|
61958
61959
|
var userCurrent = this._userService.getCurrentUser();
|
|
61959
61960
|
if (userCurrent.userName != 'admin' || this.isRelativeForm) {
|
|
61960
61961
|
this.setting.hiddenFunctionColumn = true;
|
|
@@ -61962,6 +61963,7 @@
|
|
|
61962
61963
|
if (!this.tableName) {
|
|
61963
61964
|
this.tableName = this.businessSetting.baseService.entityName;
|
|
61964
61965
|
}
|
|
61966
|
+
this.setting.hiddenFunctionColumn = !this.setting.showButtonThuHoi;
|
|
61965
61967
|
if (this.currentWorkflow == null) {
|
|
61966
61968
|
this.model.ready = false;
|
|
61967
61969
|
// Kiểm tra nếu account là admin thì tìm lịch sử cuối cùng của bản ghi để xác định workflow code
|