@titaui/pc 1.12.0-beta.0 → 1.12.0-beta.1
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.
|
@@ -28,7 +28,8 @@ exports.defaultRefObject = defaultRefObject;
|
|
|
28
28
|
var _getBSGlobal = (0, _bsGlobal.getBSGlobal)("AssessAdvancedSetting"),
|
|
29
29
|
_getBSGlobal$AssessFu = _getBSGlobal.AssessFunctionSetting,
|
|
30
30
|
StartAssessByDepartmentLeader = _getBSGlobal$AssessFu.StartAssessByDepartmentLeader,
|
|
31
|
-
StartAssessByUser = _getBSGlobal$AssessFu.StartAssessByUser
|
|
31
|
+
StartAssessByUser = _getBSGlobal$AssessFu.StartAssessByUser,
|
|
32
|
+
StartAssessByHrbp = _getBSGlobal$AssessFu.StartAssessByHrbp;
|
|
32
33
|
|
|
33
34
|
var _getUserInfo = (0, _bsGlobal.getUserInfo)(),
|
|
34
35
|
HasSub = _getUserInfo.HasSub,
|
|
@@ -39,8 +40,8 @@ var _getUserInfo = (0, _bsGlobal.getUserInfo)(),
|
|
|
39
40
|
Role = _getUserInfo.Role,
|
|
40
41
|
IsHrbp = _getUserInfo.IsHrbp;
|
|
41
42
|
|
|
42
|
-
var performanceManageAuthority = IsAssessManager || IsLeader && StartAssessByDepartmentLeader || StartAssessByUser;
|
|
43
|
-
var performanceStatisticsAuthority = IsAssessManager || IsBoss || IsRoot && Role !== 4 || IsLeader;
|
|
43
|
+
var performanceManageAuthority = IsAssessManager || IsLeader && StartAssessByDepartmentLeader || StartAssessByUser || IsHrbp && StartAssessByHrbp;
|
|
44
|
+
var performanceStatisticsAuthority = IsAssessManager || IsBoss || IsRoot && Role !== 4 || IsLeader || IsHrbp;
|
|
44
45
|
var PAGE_MY_APPRAISAL = "my-appraisal";
|
|
45
46
|
exports.PAGE_MY_APPRAISAL = PAGE_MY_APPRAISAL;
|
|
46
47
|
var PAGE_EVALUATE_APPRAISAL = "evaluate-appraisal";
|