Embodiment
To combine the accompanying drawing in the embodiment of the invention below, the technical scheme in the embodiment of the invention is carried out clear, intactly description, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills are not making the every other embodiment that is obtained under the creative work prerequisite, all belong to the scope of the present invention's protection.
For improving efficient and accuracy are set festivals or holidays; The invention provides a kind of date method to set up of Work attendance management system; At first, obtain the user to the selection information on the date in the calendar interface, and receive the type modify instruction of said user the said date; According to said type modify instruction and said user selection information, the said date is carried out type revise then the said date.
Thereby, can find out through foregoing description, when the user uses Work attendance management system that are set festivals or holidays; Can select the arbitrary date in the calendar interface; And directly this date is carried out type and revise, therefore, utilize the technical scheme of the embodiment of the invention; Improved efficient and the accuracy rate that be provided with festivals or holidays, and be convenient to the user the said date is made amendment.
Below in conjunction with concrete embodiment, describe the date method to set up of embodiment of the invention Work attendance management system in detail.
As shown in Figure 1, the embodiment of the invention one provides a kind of date method to set up of Work attendance management system, specifically comprises the steps:
Step 11, calendar interface is set, and revises button in said calendar interface arranged outside type.
In the present embodiment, standard calendar interface used in said calendar interface and the daily life is identical, promptly use various colors with all dates in the calendar interface according to festivals or holidays, public holiday and classification on working day.Except said calendar interface is set, can also revise button in said calendar interface arranged outside type.Date type generally includes festivals or holidays, public holiday and working day, and is corresponding, and said type is revised button can comprise that revising button, public holiday festivals or holidays revises button and revise button working day.In addition, saidly can said type be revised button and be arranged to different colours, be convenient to the user and distinguish.
Step 12, obtain the selection information of user to the date in the calendar interface.
In the present embodiment, said user directly in said calendar interface selection need the set-up date, saidly so just can obtain said user to described selection information.
Step 13, revise button through said type and receive the type modify instruction of said user the said date.
Throughstep 12, said user need to select after the set-up date, selected one type of modification button again, had obtained said user like this to the type modify instruction on said date, and then had accomplished the type on said date is revised.
Step 14, according to said type modify instruction and said user selection information to the said date, the said date is carried out type revises.
In the present embodiment, said calendar interface comprises monthly calendar interface and year calendar interface.
As shown in Figure 2, be that example explains that the user is provided with the method for festivals or holidays with the monthly calendar interface in June, 2009.Can see that in Fig. 2 next door, this monthly calendar interface is provided with three types and revises buttons, be respectively the festivals or holidays types and revise button, public holiday and revise button and revise button working day.Wherein, festivals or holidays this month be June 1 to June 3, said user at first selects June 1 to June 3 being provided with should festivals or holidays the time, selects to revise festivals or holidays button then, so just accomplished with June 1 to June 3 by the setting that changes to festivals or holidays working day.Because June 3 was Thursday, said user can take off June 4 and June 6 according to the regulation of work unit.In the setting up procedure of taking off; Said user at first selects June 4, selects public holiday to revise button then, just can with June 4 by changing to public holiday on working day; Said user adopts same method of operating, also can June 6 be changed to working day by public holiday.
Can find out by above description; When the user uses Work attendance management system that are set festivals or holidays, can select the arbitrary date in the calendar interface, and use pattern modification button directly carries out the type modification to this date; Therefore; Utilize the technical scheme of the embodiment of the invention, improved efficient and the accuracy rate that be provided with festivals or holidays, and be convenient to the user the said date is made amendment.
In addition, as shown in Figure 3, be provided with striding per medio for the ease of said user, said user can use said year calendar interface, and is general, and said year calendar interface comprises the details in 12 month.Shown among Fig. 3 that three types that year calendar interface and said year calendar interface next door in 2010 is provided with revise buttons, be respectively the festivals or holidays types and revise button, public holiday and revise button and revise button working day.Set-up mode festivals or holidays under the said year calendar interface is identical with set-up mode festivals or holidays under the said monthly calendar interface, no longer repeats here.
As shown in Figure 4, the embodiment of the invention two provides a kind of date method to set up of Work attendance management system, specifically comprises the steps:
Step 41, calendar interface is set.
In the present embodiment, standard calendar interface used in said calendar interface and the daily life is identical, promptly use various colors with all dates in the calendar interface according to festivals or holidays, public holiday and classification on working day.
Step 42, obtain the selection information of user to the date in the calendar interface.
This step can be with reference to thestep 12 in the embodiment of the invention two.
Step 43,, said user revises button for being provided with type.
In the present embodiment, obtain after the selection information of user to the date in the calendar interface, revise button, the said date is carried out the type modification so that said user revises button through said type for said user is provided with said type.
Embodiment one is with the difference of embodiment two, in embodiment one, obtains before the selection information of user to the date in the calendar interface, has been provided with said calendar interface and said type and has revised button; And in embodiment two, obtain the user and to before the selection information on the date in the calendar interface said calendar interface only is set, obtain after the selection information of user to the date in the calendar interface, just said type modification button is set for said user.
Step 44, revise button through said type and receive the type modify instruction of said user the said date.
This step can be with reference to thestep 13 among the embodiment two.
Step 45, according to said type modify instruction and said user selection information to the said date, the said date is carried out type revises.
In the present embodiment, phase tomorrow method to set up so that the monthly calendar interface in June, 2009 is example also.Said user is when being provided with June 1 festivals or holidays to June 3; At first select June 1 to June 3; Revise button for said user shows said type then so that said user through said type revise button with said June 1 to June 3 by changing to festivals or holidays on working day.
Can find out by above description; When the user uses Work attendance management system that are set festivals or holidays, can select the arbitrary date in the calendar interface, and use pattern modification button directly carries out the type modification to this date; Therefore; Utilize the technical scheme of the embodiment of the invention, improved efficient and the accuracy rate that be provided with festivals or holidays, and be convenient to the user the said date is made amendment.
As shown in Figure 5, the embodiment of the invention provides a kind of date setting device of Work attendance management system, comprising:information acquisition unit 51 is used for obtaining the selection information of user to the date of calendar interface;Command reception unit 52 is used to receive the type modify instruction of said user to the said date; Reviseunit 53, be used for according to said type modify instruction and said user the selection information on said date is carried out type to the said date and revised.
In the present embodiment, said calendar interface comprises monthly calendar interface and year calendar interface.
Wherein, the principle of work of said device can be with reference to the description among the preceding method embodiment.
Can find out by above description; When the user uses Work attendance management system that are set festivals or holidays, can select the arbitrary date in the calendar interface, and use pattern modification button directly carries out the type modification to this date; Therefore; Utilize the device of the embodiment of the invention, improved efficient and the accuracy rate that be provided with festivals or holidays, and be convenient to the user the said date is made amendment.
As shown in Figure 6; The embodiment of the invention one provides a kind of date setting device of Work attendance management system, and on the basis of Fig. 5, said device also comprises: first is provided with unit 54; Be used to be provided with said calendar interface, and revise button in said calendar interface arranged outside type; Saidcommand reception unit 52 specifically is used for revising button through said type and receives the type modify instruction of said user to the said date.
In addition, as shown in Figure 7, the embodiment of the invention two provides a kind of date setting device of Work attendance management system; On the basis of Fig. 5; Said device also comprises: second is provided withunit 55, is used for said information acquisition unit and obtains before the selection information of said user to the said date, and said calendar interface is set; And be used for said information acquisition unit and obtain after the selection information of said user to the said date, for being provided with said type, said user revises button.
In sum; The date method to set up and the device of the Work attendance management system that the embodiment of the invention provides obtain the user to the selection information on the date in the calendar interface, and receive the type modify instruction of said user to the said date; According to said type modify instruction and said user selection information to the said date; The said date is carried out type revise, thereby, the technical scheme of the embodiment of the invention utilized; Improved efficient and the accuracy rate that be provided with festivals or holidays, and be convenient to the user this monthly calendar is made amendment.
The above; Be merely embodiment of the present invention, but protection scope of the present invention is not limited thereto, any technician who is familiar with the present technique field is in the technical scope that the present invention discloses; Can expect easily changing or replacement, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection domain of said claim.