Performance appraisal result change management method, device, equipment and storage medium
By determining the change adjustment method of performance appraisal results based on the number of employees and generating change records, the problems of inflexible changes in performance appraisal results and inaccurate records are solved, the efficiency of change operations and the safety of records are improved, and employee satisfaction is enhanced Spend.
Patent Information
- Application Number
- CN202411118595.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-15
- Publication Date
- 2024-11-15
- Estimated Expiration
- 2044-08-15
AI Technical Summary
The existing performance appraisal results change methods are too fixed and cannot be flexibly adjusted, resulting in unnecessary change records, and change records are easily leaked, affecting employee emotions and satisfaction.
Determine the change adjustment method based on the number of target employees, adopt the change adjustment method of single or multiple people, generate accurate change records, and control the visible range of the change records through preset viewing permissions.
Improves flexibility and record accuracy of change methods, reduces data redundancy, and enhances security and employee satisfaction of change records.
Smart Images

Figure CN118627979B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data processing technology, and in particular to a performance appraisal result change management method, device, equipment and storage medium. Background Art
[0002] In the performance appraisal management system, the appraisal results may be adjusted again during the performance appraisal evaluation stage or the review stage after the evaluation is completed. Change records will be generated during the change process, but the current change method is too fixed and not flexible enough. It cannot be flexibly adjusted according to the actual number of changes, and cannot generate accurate change records according to specific change items. It is easy to generate some unnecessary change records, and the existing change records are easy to be leaked, which may cause unnecessary negative emotions among employees, thereby affecting their work attitude and satisfaction. Therefore, it is necessary to adjust the change method, change content and visible scope of the change record.
[0003] Therefore, the present application provides a performance appraisal result change management method, device, equipment and storage medium. Summary of the invention
[0004] In view of this, the purpose of the present invention is to provide a performance appraisal result change management method, device, equipment and storage medium to increase the flexibility of the change method, improve the accuracy of the change record and effectively control the visible range.
[0005] In the first aspect, a method for managing changes in performance appraisal results is provided, including:
[0006] Obtain a change request for the current performance appraisal results of target employees during performance evaluation or review; the change request shall at least include the number of target employees and target employee information; the current performance appraisal results shall be the initial performance appraisal results without adjustment or the latest performance appraisal results after changes and adjustments;
[0007] Determine the change adjustment method based on the target number of employees; the change adjustment method includes at least a single-person change adjustment method and a multi-person change adjustment method;
[0008] Adjust the current performance appraisal result of the target employee based on one of the single-person change adjustment method or the multi-person change adjustment method and the target employee information to obtain the change adjustment result;
[0009] Compare the change adjustment results with the current performance appraisal results to determine the change adjustment items;
[0010] Generate change records based on change adjustment items;
[0011] Save the change records in the corresponding performance evaluation or audit module;
[0012] When a request to view a change record is received, it is determined whether to display the change record to the object of the view request according to the preset view permission.
[0013] Optionally, the change adjustment method based on the target number of employees includes:
[0014] Determine whether the number of target employees is greater than 1;
[0015] If it is greater than 1, the change adjustment method is determined to be a multi-person change adjustment method;
[0016] If it is equal to 1, it is determined that the change adjustment method is the single-person change adjustment method.
[0017] Optionally, the single-person change adjustment method is to obtain the current performance appraisal result of the target employee when receiving a change request for the target employee; send the current performance appraisal result in an editable form to the change request operation page, and directly adjust the current appraisal result in the change request operation page;
[0018] The method of adjusting changes for multiple people is to obtain a change configuration table when a change request for a target employee is received, send the change configuration table to the change request operation page, and make adjustments in the change configuration table. The change configuration table is configured with change fields and the current performance appraisal results of the target employee.
[0019] Optionally, the change adjustment item includes at least an adjustment reason item and a performance appraisal item, and generating a change record according to the change adjustment item includes:
[0020] Determine the type of change adjustment item;
[0021] If the change adjustment item includes a performance appraisal item, a change record will be generated;
[0022] If the change adjustment item only includes the adjustment reason item, determine whether it is the first change;
[0023] If it is not the first change, determine whether the change request object is the same as the previous change request object. If they are the same, generate a change record, otherwise do not generate a change record.
[0024] Optionally, the preset viewing permissions include at least visible only to the assessment executor, visible to the immediate superior, and visible to HR, wherein visible to HR is a fixed permission, visible only to the assessment executor and visible to the immediate superior are optional permissions. When the preset viewing permission is visible only to the assessment executor, the assessee and the immediate superior are not visible to the change record. Determining whether to display the change record to the viewing request object according to the preset viewing permissions includes:
[0025] Determine the viewing request object and the viewed object in the viewing request of the change record;
[0026] Get the rank relationship data between the object requesting the view and the object being viewed;
[0027] Determine whether to display the change record to the object of the view request based on the job level relationship data and the preset view permissions of the object being viewed.
[0028] Optionally, the method further comprises:
[0029] When multiple change records are generated in the same performance evaluation or audit module, the latest change record will overwrite the previous change records, and only the latest change record will be saved.
[0030] Optionally, the method further comprises:
[0031] The size of the display area where the change record is located is adaptively adjusted according to the size of the remaining area of the page.
[0032] In a second aspect, a performance appraisal result change management device is provided, comprising:
[0033] An acquisition unit is used to acquire a change request for the current performance appraisal result of a target employee during performance evaluation or review; the change request includes at least the number of target employees and target employee information; the current performance appraisal result is an initial performance appraisal result without adjustment or the latest performance appraisal result after change adjustment;
[0034] A determination unit, used to determine a change adjustment method based on the target number of employees; the change adjustment method includes at least a single-person change adjustment method and a multi-person change adjustment method;
[0035] An adjustment unit, used to adjust the current performance appraisal result of the target employee based on one of the single-person change adjustment method or the multi-person change adjustment method and the target employee information to obtain a change adjustment result;
[0036] A comparison unit is used to compare the change adjustment result with the current performance appraisal result to determine the change adjustment item;
[0037] A generation unit, used for generating a change record according to the change adjustment item;
[0038] A saving unit is used to save the change records in the corresponding performance evaluation or audit module;
[0039] The display unit is used to determine whether to display the change record to the viewing request object according to the preset viewing authority when receiving a viewing request for the change record.
[0040] In a third aspect, an electronic device is provided, comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus;
[0041] Memory, used to store computer programs;
[0042] The processor is used to implement any method step of the first aspect when executing the program stored in the memory.
[0043] According to a fourth aspect, a computer-readable storage medium is provided, wherein a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, any method step of the first aspect is implemented.
[0044] The embodiments of the present invention provide a performance appraisal result change management method, device, equipment and storage medium. The method configures different change adjustment methods according to the number of target employees, which not only improves flexibility, but also improves the efficiency of change operations by adopting applicable change configuration methods. It also determines whether to generate change records based on different change adjustment items, reduces data redundancy, and improves the accuracy and effectiveness of change records. The change records are finally generated and displayed according to preset viewing permissions, which improves the effective control of the visible range of the change records.
[0045] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, preferred embodiments are given below and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.
[0047] Figure 1 A flow chart showing a method for managing performance appraisal result changes provided by an embodiment of the present invention is shown;
[0048] Figure 2 Another schematic diagram of displaying change records provided by an embodiment of the present invention is shown;
[0049] Figure 3 A schematic diagram of the structure of a performance appraisal result change management device provided by an embodiment of the present invention is shown;
[0050] Figure 4 A schematic structural diagram of an electronic device provided by an embodiment of the present invention is shown. DETAILED DESCRIPTION
[0051] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. The components of the embodiments of the present invention generally described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present invention provided in the drawings is not intended to limit the scope of the claimed invention, but merely represents selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present invention.
[0052] Considering that the current change method is too fixed and not flexible enough, it cannot be flexibly adjusted according to the actual number of changes, and cannot generate accurate change records according to specific change items, it is easy to generate some unnecessary change records, and the existing change records are easy to be leaked, which may cause unnecessary negative emotions among employees, thereby affecting their work attitude and satisfaction. Based on this, the embodiment of the present invention provides a performance appraisal result change management method and device, which is described below through an embodiment.
[0053] The embodiment of the present invention provides a performance appraisal result change management method, such as Figure 1 As shown, including:
[0054] Step S101: obtaining a change request for the current performance appraisal result of a target employee during performance evaluation or review; the change request at least includes the number of target employees and target employee information.
[0055] In an example, the performance evaluation includes at least an employee self-evaluation module, a direct supervisor evaluation module, a next-level supervisor evaluation module, and an HR calibration module. The review is a review of the evaluation results of each module after the evaluation is completed, which correspondingly includes the employee self-evaluation review module, the direct supervisor review module, the next-level supervisor review module, and the HR review module.
[0056] Specifically, a change request for the current performance appraisal result of the target employee is obtained in each module. The current performance appraisal result can be an initial performance appraisal result without adjustment, or the latest performance appraisal result after adjustment, that is, a performance appraisal result that has been adjusted once or multiple times and can continue to be adjusted.
[0057] The employee information includes at least the employee's name, employee number, employee department, employee rank and other information.
[0058] Step S102: determining a change adjustment method based on the target number of employees; the change adjustment method includes at least a single-person change adjustment method and a multi-person change adjustment method.
[0059] In an embodiment of the present application, determining the change adjustment method based on the target number of employees includes:
[0060] Determine whether the number of target employees is greater than 1;
[0061] If it is greater than 1, the change adjustment method is determined to be a multi-person change adjustment method;
[0062] If it is equal to 1, it is determined that the change adjustment method is the single-person change adjustment method.
[0063] In an embodiment of the present application, the single-person change adjustment method is to obtain the current performance appraisal result of the target employee when a change request for the target employee is received; send the current performance appraisal result in an editable form to the change request operation page, and directly adjust the current appraisal result in the change request operation page.
[0064] The method of adjusting changes for multiple people is to obtain a change configuration table when a change request for a target employee is received, send the change configuration table to the change request operation page, and make adjustments in the change configuration table. The change configuration table is configured with change fields and the current performance appraisal results of the target employee.
[0065] Step S103: adjusting the current performance appraisal result of the target employee based on one of the single-person change adjustment method or the multi-person change adjustment method and the target employee information to obtain a change adjustment result.
[0066] In an example, when HR or a direct supervisor only checks employee Zhang San in the change request operation page and only adjusts Zhang San's performance appraisal results, the back-end system will directly obtain Zhang San's current performance appraisal results. Specifically, the current performance appraisal results of Zhang San can be found in the database according to Zhang San's employee number. Zhang San's performance appraisal results are, for example, a total score of 80 points, a total grade A, a business grade B, a value grade A, etc. These performance appraisal results are sent to the change request operation page in an editable form, and the requesting party such as HR or a direct supervisor directly modifies each appraisal item, and the modified items are saved in the corresponding evaluation or review module for display.
[0067] This single-person change and adjustment method makes it very convenient for HR and others to make changes. By simply clicking on the change and adjustment item, the employee's performance appraisal item will be directly brought up and modified, which greatly improves the efficiency of the change operation.
[0068] However, this method is only suitable for single-person mode. If the performance appraisal results of multiple people need to be changed at the same time, if the single-person change and adjustment method is still used, the performance appraisal results of multiple people need to be brought out and modified one by one, resulting in low change efficiency. Therefore, the embodiment of the present application sets up a multi-person change and adjustment method.
[0069] In one example, when HR simultaneously selects Zhang San, Li Si, and Zhao Wu on the change operation request page, and needs to adjust the business grades of these three people, the background system will directly call a pre-configured change configuration table, in which at least total score, total grade, total value score, total value grade, business score, business grade, coefficient, comprehensive grade and other fields are configured. Of course, the corresponding fields can also be configured according to the actual needs of the enterprise; at the same time, the current performance appraisal results of employees are searched in the database through employee information, such as employee name or employee number, and the current performance appraisal results of each employee are added to the change configuration table according to the fields; after adding, the change configuration table is sent to the change operation request page, and HR makes changes and adjustments. Specifically, a drop-down option can be set at the field, such as the total grade, which displays four grades of A, B, C, and D after pulling down. For example, if you want to change the total grade of Zhang San, Li Si and Zhao Wu to A, you can make a drop-down selection in the field. After selection, the total grade of each employee in the entire column will be changed to A, thus avoiding the need to configure them one by one. Of course, if you do not need to change to the same grade, you can also modify the assessment items of each employee one by one, which is more flexible and can be changed uniformly or individually, which improves the efficiency of changes while also increasing the flexibility of changes.
[0070] In another embodiment, if the assessment item of a certain field is changed or adjusted, the original assessment data is directly overwritten; if there is no change, it remains unchanged.
[0071] In addition, if the total grade is changed, the system will automatically recalculate the total score and overwrite the original total score; if the business grade is changed, the system will automatically recalculate the business total score and overwrite the original business score.
[0072] Step S104: Compare the change adjustment result with the current performance appraisal result to determine the change adjustment item.
[0073] In an embodiment of the present application, the changed adjustment items include at least the total score, the total grade, the total score of values, the total grade of values, the business score, the business grade, the coefficient, the comprehensive grade, the reason for adjustment, etc. Because some adjustment items such as the reason for adjustment have been changed, but since it is the first change, it is meaningless to only change the reason for adjustment, so there is no need to generate a change record. Therefore, by determining the changed adjustment items, the system is helped to determine whether to generate a change record, thereby avoiding the generation of unnecessary change records, thereby reducing system computing resources, because the computing resources required for the judgment program are less than the computing resources required to generate a change record.
[0074] In a specific example, for example, to determine whether the contents of the three fields "adjustment reason, level, score" in the change configuration table have been modified, the following technical means are used:
[0075] First, when the page is loaded, store the original values of "reason for adjustment, total grade, total score" in JavaScript variables. For example, you can use localStorage or sessionStorage to save the original values. Or define global variables in the JavaScript code of the page to store them.
[0076] When the user is operating the change configuration table, the value changes of the input box are monitored in real time.
[0077] You can add an onchange event listener to the input box, and trigger the corresponding processing function when the value of the input box changes.
[0078] When the Save button is clicked, the value in the current input box is obtained and compared with the original value previously stored.
[0079] Use JavaScript's string comparison function or object property comparison to determine whether they are the same.
[0080] Code example:
[0081] <!DOCTYPE html>
[0082]
[0083]
[0084] <meta charset="UTF-8">
[0085] <meta http-equiv="X-UA-Compatible" content="IE=edge">
[0086] <meta name="viewport" content="width=device-width, initial-scale=1.0">
[0087] <title> Document< / title>
[0088]
[0089]
[0090] <button onclick="showPopup()"> Open the table and change the configuration table< / button>
[0091]
[0092] <label> Reasons for adjustment:< / label> <input type="text" id="adjustResult">
[0093] <label> Overall rating:< / label> <input type="text" id="level">
[0094] <label> Total score:< / label> <input type="text" id="score">
[0095] <button onclick="save()"> save< / button>
[0096]
[0097] <script>
[0098] / / 存储原始值
[0099] let originalAdjustResult;
[0100] let originalLevel;
[0101] let originalScore;
[0102] function showPopup() {
[0103] document.getElementById('popup').style.display = 'block';
[0104] / / 获取原始值并存储
[0105] originalAdjustResult document.getElementById('adjustResult').value;
[0106] originalLevel = document.getElementById('level').value;
[0107] originalScore = document.getElementById('score').value;
[0108] }
[0109] Function save(){const current AdjustResult = document.getElementById('adjustResult').value;
[0110] const currentLevel = document.getElementById('level').value;
[0111] const currentScore = document.getElementById('score').value;
[0112] / / 比较是否有修改
[0113] if (currentAdjustResult!== originalAdjustResult ||
[0114] currentLevel!== originalLevel ||
[0115] currentScore!== originalScore) {
[0116] / / 有修改,执行覆盖操作
[0117] / / 这里模拟覆盖操作
[0118] console.log('有修改,执行覆盖操作');
[0119] } else {
[0120] / / 无修改,保持不变
[0121] console.log('无修改,保持不变');
[0122] }
[0123] }
[0124] < / script>
[0125]
[0126] .
[0127] Step S105: Generate a change record according to the changed adjustment item.
[0128] In the embodiment of the present application, the change adjustment item includes at least an adjustment reason item and a performance evaluation item, and generating a change record according to the change adjustment item includes:
[0129] Step S1051: Determine the type of the change adjustment item.
[0130] In this step, the change adjustment item can be determined through the above step S1014, so as to judge whether the change adjustment item belongs to the adjustment reason or the performance appraisal item.
[0131] Step S1052: If the change adjustment item includes a performance appraisal item, a change record is generated.
[0132] If any of the performance appraisal items is changed, such as business level, value level, etc., a change record can be generated.
[0133] Step S1053: If the change adjustment item only includes the adjustment reason item, determine whether it is the first change.
[0134] If the performance appraisal item has not changed, but only the adjustment reason has changed, it is necessary to determine whether it is the first change. If it is the first change, it is meaningless to only change the adjustment reason, so there is no need to generate a change record.
[0135] In one example, when a performance appraisal item of an employee is adjusted through a single-person change adjustment method or a multi-person change adjustment method, a change record table will be generated. Therefore, by checking whether there is a change record for a certain employee in the change record table, it can be determined whether it is the first change. If there is a change record, it is not the first change. If there is no change record of the target employee, it is the first change.
[0136] Step S1054: If it is not the first change, determine whether the change request object is the same as the last change request object. If they are the same, generate a change record; otherwise, do not generate a change record.
[0137] In this step, if it is not the first change, it is also necessary to determine whether the change operation is performed by the same change request object. If it is the same person, it may be a continuous change operation, and a change record can be generated. If it is different people, for example, the first change operation is performed by HR Zhang, and the second change operation is performed by HR Li, because the person has changed, the change is not a continuous change operation, there may be security issues, and it may be attacked by hackers or other people, then no change record will be generated. If it is indeed because of personnel resignation and a new HR is needed to adjust the data, then it is necessary to contact the background system for confirmation before making any changes, thereby greatly improving the security of the change record data and preventing it from being attacked or tampered with.
[0138] Step S106: Save the change record in the corresponding performance evaluation or review module.
[0139] In one example, if Figure 2 As shown, the performance evaluation module and the review module include at least an employee self-evaluation module, a direct supervisor evaluation module, an alternate supervisor evaluation module, and an HR calibration module. No matter which module the change operation is performed in, the generated change record will be saved in the corresponding performance evaluation or review module for easy viewing.
[0140] Step S107: upon receiving a request for viewing a change record, determining whether to display the change record to the viewing request object according to a preset viewing authority.
[0141] In the embodiment of the present application, the preset viewing permissions include at least visible only to the assessment executor, visible to the immediate superior, and visible to HR, among which visible to HR is a fixed permission, and visible only to the assessment executor and visible to the immediate superior are optional permissions.
[0142] It should be noted that when the preset viewing permission is that only the assessment executor can see the change record, the person being assessed and the direct superior cannot see the change record.
[0143] In order to distinguish it from the direct superior, it is set to be visible only to the assessment executor, which includes the employee himself, the direct superior, the superior at the same level and the next level, etc. In order to prevent employees from having negative emotions, the employee himself cannot see the change record, but can only see the final performance appraisal result. For example, if the performance level change record is AB, the employee himself cannot see the change process of AB, but can only see the final result B. Therefore, the permission setting items that are visible only to the assessment executor are not visible to the person being assessed and the direct superior.
[0144] Determine whether to display the change record to the object of the view request based on the preset view permissions, including:
[0145] Determine the viewing request object and the viewed object in the viewing request of the change record.
[0146] Get the rank relationship data between the view request object and the viewed object.
[0147] Determine whether to display the change record to the object of the view request based on the job level relationship data and the preset view permissions of the object being viewed.
[0148] In this step, for example, if the direct superior Zhang wants to view the change record of employee Li, it is necessary to first determine whether Zhang is Li's direct superior. If so, it is also necessary to determine whether the viewing permission of Li's change record is visible to the direct superior. If so, the change record can be displayed. If not, it will be hidden and Zhang cannot see Li's change record.
[0149] In an embodiment of the present application, a function button for setting the permission of change records can be set in the performance management interface where HR is located. By clicking the function button, HR can directly set the permission to view the change records. Among them, the HR visible option is fixed and cannot be canceled to ensure that the HR department has comprehensive and unimpeded access rights in the performance change record management. For the other two options, HR administrators can flexibly select and configure according to the actual needs and management strategies of the enterprise to achieve personalized permission management.
[0150] In another embodiment, after setting the viewing permissions of the change records, a simulation function is also set, through which the HR administrator can enter the online simulation page and check in real time whether the set permissions are accurate and correct.
[0151] In one example, in this simulation page, the upper part is the clickable modules of each viewing object, including direct superiors, next-level superiors, HR, etc., and the lower part is the change record display area. When the change record viewing permission is set to be visible to the direct superior, when the direct superior module is clicked, the change records of the subordinate employees will be displayed. If not, it means that the setting is wrong and needs to be modified. On the contrary, if it is set to be visible only to the assessment executor, the change record will not be displayed when clicking the direct superior, thereby ensuring strict control and protection of information.
[0152] This simulation function not only enhances the intuitiveness and verifiability of permission settings, but also greatly alleviates the concerns of HR administrators. Through the simulation preview, HR can clearly perceive which roles are visible to the set permissions and which roles are not visible to them.
[0153] Based on the above embodiment, the method further includes:
[0154] When multiple change records are generated in the same performance evaluation or audit module, the latest change record will overwrite the previous change records, and only the latest change record will be saved.
[0155] In one example, in the direct supervisor evaluation module, the direct supervisor Zhang adjusted the business level of employee Li three times, which would generate three change records, namely AB, BC, and CD. Then, in the second change, change record C overwrites B, and in the third change, change record D overwrites C. The final change record is AD. Only the latest change record is saved to reduce data redundancy, prevent change record viewers from being confused by multiple change records, and make change record viewing clearer and more concise.
[0156] In another embodiment, in the HR calibration module, if multiple change records are generated and the contents of the multiple change records are different, the multiple change records can be displayed without overwriting. Because HR does not participate in the evaluation, but only performs calibration, which is the final data and involves the distribution of benefits, it is necessary to display each change record and import the adjustment reasons, which is more rigorous.
[0157] Based on the above embodiment, the method further includes:
[0158] The size of the display area where the change record is located is adaptively adjusted according to the size of the remaining area of the page.
[0159] like Figure 2 As shown, the page includes an overview module area, a level description area and a change record display area. Since the height of the level description area is smaller than the height of the overview module area, the change record display area can cover the entire page horizontally. If the height of the level description area is greater than the height of the overview module area, the change record display area can automatically reduce its area to make room for the level description area.
[0160] In the embodiment of the present application, the width adaptation between modules in a web page and the determination of whether the height of one module exceeds that of another module can be achieved by the following technical means:
[0161] You can use Flex layout or Grid layout to manage the layout of modules. For Flex layout, you can set flex-direction: column; to arrange the modules vertically, and use flex-grow: 1; to make the modules adapt to the remaining space.
[0162] For Grid layout, you can achieve adaptive layout of modules by setting appropriate grid areas and properties.
[0163] After the page is loaded, use JavaScript to obtain the DOM elements of the "Level Description" and "Assessment Overview" modules.
[0164] Listen to the resize event of the page and recalculate the height of the module when the window size changes.
[0165] Get the height and position information of the module through the getBoundingClientRect() method.
[0166] Compare the bottom position of the "Level Description" module to see if it exceeds the bottom position of the "Assessment Overview" module to determine whether their heights exceed the limit.
[0167] The following is a JavaScript sample code showing how to check if the height is exceeded:
[0168] <!DOCTYPE html>
[0169]
[0170]
[0171] <style>
[0172] .container {
[0173] display: flex;
[0174] flex-direction: column;
[0175] }
[0176] .judge-level {
[0177] background-color: lightblue;
[0178] }
[0179] .assessment-overview {
[0180] background-color: lightgreen;
[0181] }
[0182] < / style>
[0183]
[0184]
[0185]
[0186] Judgment level
[0187] Assessment Overview
[0188]
[0189] <script>
[0190] function checkHeight() {
[0191] const judgeLevelElement = document.querySelector('.judge-level');
[0192] const assessmentOverviewElement = document.querySelector('.assessment-overview');
[0193] const judgeLevelRect = judgeLevelElement.getBoundingClientRect();
[0194] const assessmentOverviewRect = assessmentOverviewElement.getBoundingClientRect();
[0195] if (judgeLevelRect.bottom>assessmentOverviewRect.bottom) {
[0196] console.log('等级说明模块高度超过考核总览模块');
[0197] } else {
[0198] console.log('等级说明模块高度未超过考核总览模块');
[0199] }
[0200] }
[0201] / / 页面加载完成和窗口大小改变时执行;
[0202] window.addEventListener('load', checkHeight);
[0203] window.addEventListener('resize', checkHeight);
[0204] < / script>
[0205]
[0206] .
[0207] Based on the same inventive concept, a performance appraisal result change management device is provided, such as Figure 3 As shown, including:
[0208] The acquisition unit 301 is used to obtain a change request for the current performance appraisal result of the target employee during performance evaluation or review; the change request includes at least the number of target employees and target employee information; the current performance appraisal result is an unadjusted initial performance appraisal result or the latest performance appraisal result after change adjustment.
[0209] The determination unit 302 is used to determine a change adjustment method based on the target number of employees; the change adjustment method includes at least a single-person change adjustment method and a multi-person change adjustment method.
[0210] Among them, the single-person change adjustment method is to obtain the current performance appraisal result of the target employee when receiving a change request for the target employee; send the current performance appraisal result in an editable form to the change request operation page, and directly adjust the current appraisal result in the change request operation page;
[0211] The method of adjusting changes for multiple people is to obtain a change configuration table when a change request for a target employee is received, send the change configuration table to the change request operation page, and make adjustments in the change configuration table. The change configuration table is configured with change fields and the current performance appraisal results of the target employee.
[0212] Optionally, the determining unit is specifically configured to:
[0213] Determine whether the number of target employees is greater than 1;
[0214] If it is greater than 1, the change adjustment method is determined to be a multi-person change adjustment method;
[0215] If it is equal to 1, it is determined that the change adjustment method is the single-person change adjustment method.
[0216] The adjustment unit 303 is used to adjust the current performance appraisal result of the target employee based on one of the single-person change adjustment method or the multi-person change adjustment method and the target employee information to obtain a change adjustment result.
[0217] The comparison unit 304 is used to compare the change adjustment result with the current performance appraisal result to determine the change adjustment item.
[0218] The generating unit 305 is used to generate a change record according to the change adjustment item.
[0219] Optionally, the change adjustment item at least includes an adjustment reason item and a performance appraisal item, and the generating unit is specifically used for:
[0220] Determine the type of change adjustment item;
[0221] If the change adjustment item includes a performance appraisal item, a change record will be generated;
[0222] If the change adjustment item only includes the adjustment reason item, determine whether it is the first change;
[0223] If it is not the first change, determine whether the change request object is the same as the previous change request object. If they are the same, generate a change record, otherwise do not generate a change record.
[0224] The saving unit 306 is used to save the change record in the corresponding performance evaluation or review module.
[0225] The display unit 307 is used to determine whether to display the change record to the object of the change record according to the preset viewing authority when receiving the change record viewing request.
[0226] Among them, the preset viewing permissions include at least visible only to the assessment executor, visible to the immediate superior and visible to HR, among which visible to HR is a fixed permission, visible only to the assessment executor and visible to the immediate superior are optional permissions. When the preset viewing permission is visible only to the assessment executor, the change record is not visible to the assessee and the immediate superior.
[0227] The display unit is specifically used for:
[0228] Determine the viewing request object and the viewed object in the viewing request of the change record;
[0229] Get the rank relationship data between the object requesting the view and the object being viewed;
[0230] Determine whether to display the change record to the object of the view request based on the job level relationship data and the preset view permissions of the object being viewed.
[0231] Optionally, the device further comprises:
[0232] The overwriting unit is used to overwrite the previous change records with the latest change record when multiple change records are generated in the same performance evaluation or audit module, and only the latest change record is saved.
[0233] Optionally, the device further comprises:
[0234] The adaptive unit is used to change the size of the display area where the record is located and make adaptive adjustments according to the size of the remaining area of the page.
[0235] Based on the same technical concept, an embodiment of the present invention further provides an electronic device, such as Figure 4 As shown, it includes a processor 401 , a communication interface 402 , a memory 403 and a communication bus 404 , wherein the processor 401 , the communication interface 402 , and the memory 403 communicate with each other via the communication bus 404 .
[0236] Memory 403, used for storing computer programs;
[0237] The processor 401 is used to implement the steps of the performance appraisal result change management method when executing the program stored in the memory 403.
[0238] The communication bus mentioned in the above electronic device can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The communication bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.
[0239] The communication interface is used for communication between the above electronic device and other devices.
[0240] The memory may include a random access memory (RAM) or a non-volatile memory (NVM), such as at least one disk memory. Optionally, the memory may also be at least one storage device located away from the aforementioned processor.
[0241] The above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
[0242] In another embodiment provided by the present invention, a computer-readable storage medium is also provided, in which a computer program is stored. When the computer program is executed by a processor, the steps of any of the above-mentioned performance appraisal result change management methods are implemented.
[0243] In another embodiment provided by the present invention, a computer program product including instructions is also provided, which, when executed on a computer, enables the computer to execute any of the performance appraisal result change management methods in the above-mentioned embodiments.
[0244] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on the computer, the process or function according to the embodiment of the present invention is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode. The computer-readable storage medium can be any available medium that can be accessed by the computer or a data storage device such as a server or data center that includes one or more available media integrated. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state hard disk Solid State Disk (SSD)), etc.
[0245] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0246] Finally, it should be noted that the above-described embodiments are only specific implementations of the present invention, which are used to illustrate the technical solutions of the present invention, rather than to limit them. The protection scope of the present invention is not limited thereto. Although the present invention is described in detail with reference to the above-described embodiments, those skilled in the art should understand that any person skilled in the art can still modify the technical solutions described in the above-described embodiments within the technical scope disclosed by the present invention, or can easily think of changes, or perform equivalent replacements on some of the technical features thereof; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention. They should all be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims
1. A performance appraisal result change management method, characterized in that: Applied to the server side, including: The server obtains a change request for the current performance appraisal result of the target employee during performance evaluation or review; the change request includes at least the number of target employees and target employee information; the current performance appraisal result is an initial performance appraisal result without adjustment or the latest performance appraisal result after change adjustment; The server determines a change adjustment method based on the target number of employees; the change adjustment method includes at least a single-person change adjustment method and a multi-person change adjustment method; The server adjusts the current performance appraisal result of the target employee based on the single-person change adjustment method or the multi-person change adjustment method and the target employee information to obtain a change adjustment result; The single-person change adjustment method is to obtain the current performance appraisal result of the target employee when receiving a change request for the target employee; send the current performance appraisal result to the change request operation page in an editable form, and directly adjust the current performance appraisal result in the change request operation page; The multi-person change adjustment method is to obtain a change configuration table upon receiving a change request for a target employee, send the change configuration table to a change request operation page, and make adjustments in the change configuration table, wherein the change configuration table is configured with change fields and the current performance appraisal results of the target employee; the change fields are configured with at least total score, total grade, total value score, total value grade, business score, business grade, coefficient, and comprehensive grade fields; The process of determining whether the change fields in the change configuration table have changed and adjusting the changes includes: first, when the page is loaded, the original field value is stored in a JavaScript variable; localStorage or sessionStorage is used to save the original value; When the user is operating the configuration table, the value changes of the input box are monitored in real time; Add an onchange event listener to the input box, and trigger the corresponding processing function when the value of the input box changes; When the Save button is clicked, the value in the current input box is obtained and compared with the original value previously stored; Use JavaScript string comparison functions or object property comparison to determine whether they are the same; if they are the same, they remain unchanged; if they are different, they are overwritten; The server compares the change adjustment result with the current performance appraisal result to determine the change adjustment item; The server generates a change record according to the change adjustment item; The change adjustment items at least include an adjustment reason item and a performance evaluation item, and the server generates a change record according to the change adjustment items, including: Determining the type of the change adjustment item; If the change adjustment items include performance appraisal items, a change record is generated; If the change adjustment item only includes the adjustment reason item, determine whether it is the first change; If it is not the first change, determine whether the change request object is the same as the previous change request object. If they are the same, generate a change record; otherwise, do not generate a change record. The server saves the change record in the corresponding performance evaluation or audit module; When receiving the request to view the change record, the server determines whether to display the change record to the object of the view request according to the preset view permission; After setting the viewing permissions for the change records, enter the online simulation page to check the correctness of the permissions set in real time; The method further comprises: The size of the display area where the change record is located is adaptively adjusted according to the size of the remaining area of the page where it is located; the page includes an overview module area, a level description area and a change record display area; the adaptive adjustment step includes: Use Flex layout or Grid layout to manage the layout of modules. For Flex layout, set flex-direction: column to arrange the modules vertically, and use flex-grow: 1 to make the modules adapt to the remaining space. For Grid layout, the adaptive layout of modules is achieved by setting appropriate grid areas and properties; After the page is loaded, use JavaScript to obtain the DOM elements of the "Level Description" and "Assessment Overview" modules; Listen to the resize event of the page and recalculate the height of the module when the window size changes; Get the height and position information of the module through the getBoundingClientRect() method; Compare the bottom position of the "Level Description" module to see if it exceeds the bottom position of the "Assessment Overview" module to determine whether their heights exceed the limit; if so, the area of the change record area will be automatically reduced to make room for the level description area.
2. The method according to claim 1, characterized in that The server determines the change adjustment method based on the target number of employees, including: Determine whether the number of target employees is greater than 1; If it is greater than 1, it is determined that the change adjustment method is a multi-person change adjustment method; If it is equal to 1, it is determined that the change adjustment method is a single-person change adjustment method.
3. The method according to claim 1, characterized in that: The preset viewing permissions at least include visible only to the assessment executor, visible to the immediate superior, and visible to HR, wherein visible to HR is a fixed permission, visible only to the assessment executor and visible to the immediate superior are optional permissions, and when the preset viewing permission is visible only to the assessment executor, the assessee and the immediate superior are both invisible to the change record, and the server determines whether to display the change record to the viewing request object according to the preset viewing permissions: Determine a viewing request object and a viewed object in a viewing request of the change record; Obtaining the rank relationship data between the viewing request object and the viewed object; Determine whether to display the change record to the viewing request object according to the job level relationship data and the preset viewing authority of the viewed object.
4. The method according to claim 1, characterized in that: The method further comprises: When multiple change records are generated in the same performance evaluation or audit module, the latest change record will overwrite the previous change records, and only the latest change record will be saved.
5. A performance appraisal result change management device, characterized in that: include: The acquisition unit is used to obtain change requests for the current performance appraisal results of target employees during performance evaluation or review; The change request at least includes the number of target employees and target employee information; The current performance appraisal results are the unadjusted initial performance appraisal results or the latest performance appraisal results after changes and adjustments; A determination unit, configured to determine a change adjustment method based on the target number of employees; The change adjustment method at least includes a single-person change adjustment method and a multi-person change adjustment method; An adjustment unit, configured to adjust the current performance appraisal result of the target employee based on the single-person change adjustment method or the multi-person change adjustment method and the target employee information to obtain a change adjustment result; The multi-person change adjustment method is to obtain a change configuration table upon receiving a change request for a target employee, send the change configuration table to a change request operation page, and make adjustments in the change configuration table, wherein the change configuration table is configured with change fields and the current performance appraisal results of the target employee; the change fields are configured with at least total score, total grade, total value score, total value grade, business score, business grade, coefficient, and comprehensive grade fields; The process of determining whether the change fields in the change configuration table have changed and adjusting the changes includes: first, when the page is loaded, the original field value is stored in a JavaScript variable; localStorage or sessionStorage is used to save the original value; When the user is operating the configuration table, the value changes of the input box are monitored in real time; Add an onchange event listener to the input box, and trigger the corresponding processing function when the value of the input box changes; When the Save button is clicked, the value in the current input box is obtained and compared with the original value previously stored; Use JavaScript string comparison functions or object property comparison to determine whether they are the same; if they are the same, they remain unchanged; if they are different, they are overwritten; A comparison unit, used to compare the change adjustment result with the current performance appraisal result to determine the change adjustment item; A generating unit, configured to generate a change record according to the change adjustment item; The change adjustment items at least include adjustment reason items and performance appraisal items, and the generation unit is specifically used for: Determining the type of the change adjustment item; If the change adjustment items include performance appraisal items, a change record is generated; If the change adjustment item only includes the adjustment reason item, determine whether it is the first change; If it is not the first change, determine whether the change request object is the same as the previous change request object. If they are the same, generate a change record; otherwise, do not generate a change record. A storage unit, used to store the change record in a corresponding performance evaluation or audit module; A display unit, configured to determine whether to display the change record to the object of the change request according to a preset viewing authority when receiving a viewing request for the change record; The simulation unit is used to enter the online simulation page after setting the viewing permissions of the change records, and to check the correctness of the set permissions in real time; The adaptive unit is used to adaptively adjust the size of the display area where the change record is located according to the size of the remaining area of the page where the change record is located; the page includes an overview module area, a level description area and a change record display area; the adaptive adjustment steps include: Use Flex layout or Grid layout to manage the layout of modules. For Flex layout, set flex-direction: column to arrange the modules vertically, and use flex-grow: 1 to make the modules adapt to the remaining space. For Grid layout, the adaptive layout of modules is achieved by setting appropriate grid areas and properties; After the page is loaded, use JavaScript to obtain the DOM elements of the "Level Description" and "Assessment Overview" modules; Listen to the resize event of the page and recalculate the height of the module when the window size changes; Get the height and position information of the module through the getBoundingClientRect() method; Compare the bottom position of the "Level Description" module to see if it exceeds the bottom position of the "Assessment Overview" module to determine whether their heights exceed the limit; if so, the area of the change record area will be automatically reduced to make room for the level description area.
6. An electronic device, characterized in that: It includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus; Memory, used to store computer programs; A processor, for implementing the method steps described in any one of claims 1 to 4 when executing a program stored in a memory.
7. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method steps described in any one of claims 1 to 4 are implemented.
