CN115826827A - Method, device and equipment for selecting object in system - Google Patents
Method, device and equipment for selecting object in system Download PDFInfo
- Publication number
- CN115826827A CN115826827A CN202310031217.8A CN202310031217A CN115826827A CN 115826827 A CN115826827 A CN 115826827A CN 202310031217 A CN202310031217 A CN 202310031217A CN 115826827 A CN115826827 A CN 115826827A
- Authority
- CN
- China
- Prior art keywords
- directory
- target
- control
- interface
- organization
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 61
- 230000008520 organization Effects 0.000 claims abstract description 221
- 230000004044 response Effects 0.000 claims abstract description 42
- 238000004590 computer program Methods 0.000 claims description 12
- 230000008569 process Effects 0.000 description 15
- 238000010586 diagram Methods 0.000 description 12
- 238000009877 rendering Methods 0.000 description 7
- 238000004891 communication Methods 0.000 description 5
- 230000003993 interaction Effects 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 230000015556 catabolic process Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000000903 blocking effect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Images
Landscapes
- User Interface Of Digital Computer (AREA)
Abstract
The application provides a method, a device and equipment for selecting an object in a system, which relate to the technical field of data processing, wherein a system interface is provided through terminal equipment, the system interface comprises an object selection control, and the method comprises the following steps: responding to touch operation of the object selection control, and displaying a popup interface, wherein the popup interface comprises a first sub-interface and a second sub-interface; the first sub-interface comprises an organization architecture control, a user group control and a display area; responding to the touch operation aiming at the target control, and displaying an organization architecture directory corresponding to the organization architecture control and/or a user group directory corresponding to the user group control in a display area; the target control comprises an organization architecture control and/or a user group control; and displaying the selected target objects in the second sub-interface in response to the selection operation aiming at the organization architecture directory and/or the user group directory, wherein the target objects comprise target organization objects and/or target user objects. The complexity of selecting objects in the system is reduced, and the efficiency is improved.
Description
Technical Field
The present application relates to the field of data processing technologies, and in particular, to a method, an apparatus, and a device for selecting an object in a system.
Background
In systems such as enterprises or institutions, there is often a choice of objects, which may be users of the system, organizations in the system, etc.
By selecting an object in the system, subsequent operations can be performed on the selected object, for example, a message notification or a command assignment can be performed on the selected object. At present, the selection of objects in the system is usually realized based on interface interaction. Firstly, the corresponding object selection interface is entered according to the type of the object, and then the object of the type is selected. For example, when a user object is to be selected, the user object is usually selected by clicking a system interface to enter a user selection interface, displaying a corresponding user object list, and then determining a user object to be selected in the user object list.
In some cases, selection of different types of objects may be involved, for example, requiring simultaneous selection of an organizational object and a user object. For such a scenario, the above scheme needs to select an organization object on an organization object selection interface, and then enter a user selection interface to select a user object, and the process of selecting an object is complex and the efficiency is low.
Disclosure of Invention
The application provides a method, a device and equipment for selecting an object in a system, which are used for solving the problems of complex object selection process and low efficiency in the prior art.
In a first aspect, the present application provides a method for selecting an object in a system, where a system interface is provided through a terminal device, the system interface includes an object selection control, and the method includes:
responding to the touch operation aiming at the object selection control, and displaying a popup interface, wherein the popup interface comprises a first sub-interface and a second sub-interface; the first sub-interface comprises an organization architecture control, a user group control and a display area;
responding to touch operation aiming at a target control, and displaying an organization architecture directory corresponding to the organization architecture control and/or a user group directory corresponding to the user group control in the display area; the target control comprises the organization architecture control and/or the user group control;
in response to a selection operation for the organization architecture directory and/or the user group directory, displaying selected target objects in the second sub-interface, the target objects including target organization objects and/or target user objects.
In one possible embodiment, the displaying, in the display area, an organization architecture directory corresponding to the organization architecture control and/or a user group directory corresponding to the user group control in response to a touch operation for a target control includes:
responding to the touch operation aiming at the target control, and determining a target directory corresponding to the target control in a target database;
displaying the target directory in the display area;
wherein, under the condition that the target control comprises the organization architecture control, the target directory is the organization architecture directory, the organization architecture directory is in a selectable state, and the user group directory is in a hidden state;
and under the condition that the target control comprises the user group control, the target directory is the user group directory, the user group directory is in a selectable state, and the organization architecture directory is in a hidden state.
In one possible implementation, the target directory includes a plurality of directory entries; the displaying the target directory in the display area includes:
acquiring the size of the display area;
determining a plurality of first directory entries to be displayed in the plurality of directory entries according to the size of the display area and the sequence of the plurality of directory entries;
and loading and displaying the plurality of first directory entries in the display area.
In a possible implementation, the display area further includes a sliding control, and the method further includes:
in response to a sliding operation for the sliding control, determining a plurality of second directory items to be displayed in the plurality of directory items according to the size of the display area;
and loading and displaying the plurality of second directory entries in the display area.
In one possible embodiment, the displaying the selected target object in the second sub-interface in response to the selection operation for the organization architecture directory and/or the user group directory includes:
in response to a selection operation for an organization directory entry under the organization architecture directory, determining an organization object corresponding to the selected organization directory entry as the target organization object;
responding to the selection operation aiming at the user directory items under the user group directory, and determining the user object corresponding to the selected user directory items as the target user object;
determining a display order among the target objects;
and displaying each target object in the second sub-interface according to the display sequence.
In a possible implementation, the determining a display order between the target objects includes:
determining time information corresponding to each target object, wherein the time information is used for indicating the moment when the target object is selected;
determining type information corresponding to each target object, wherein the type information is used for indicating that the target object belongs to an organization object type or a user object type;
and determining the display sequence according to the time information and the type information.
In a possible implementation manner, the first sub-interface further comprises an input box and a search control; the method further comprises the following steps:
responding to the input operation aiming at the input box, and acquiring a corresponding input text;
in response to a touch operation for the search control, displaying associated objects of the input text in the display area, wherein the associated objects comprise at least one organization object and/or at least one user object;
and updating and displaying the second sub-interface in response to the selection operation aiming at the associated object.
In a possible implementation manner, the popup interface further comprises a determination control; the method further comprises the following steps:
stopping displaying the popup interface in response to the touch operation aiming at the determined control;
and updating and displaying the system interface according to the target object.
In a second aspect, the present application provides an apparatus for selecting an object in a system, where a system interface is provided through a terminal device, the system interface includes an object selection control, and the apparatus includes:
the first display module is used for responding to the touch operation aiming at the object selection control and displaying a popup interface, wherein the popup interface comprises a first sub-interface and a second sub-interface; the first sub-interface comprises an organization architecture control, a user group control and a display area;
the second display module is used for responding to touch operation aiming at a target control and displaying an organization architecture directory corresponding to the organization architecture control and/or a user group directory corresponding to the user group control in the display area; the target control comprises the organization architecture control and/or the user group control;
a third display module, configured to display the selected target object in the second sub-interface in response to a selection operation for the organization architecture directory and/or the user group directory, where the target object includes a target organization object and/or a target user object.
In a possible implementation manner, the second display module is specifically configured to:
responding to the touch operation aiming at the target control, and determining a target directory corresponding to the target control in a target database;
displaying the target directory in the display area;
wherein, under the condition that the target control comprises the organization architecture control, the target directory is the organization architecture directory, the organization architecture directory is in a selectable state, and the user group directory is in a hidden state;
and under the condition that the target control comprises the user group control, the target directory is the user group directory, the user group directory is in a selectable state, and the organization architecture directory is in a hidden state.
In one possible implementation, the target directory includes a plurality of directory entries; the second display module is specifically configured to:
acquiring the size of the display area;
determining a plurality of first directory entries to be displayed in the plurality of directory entries according to the size of the display area and the sequence of the plurality of directory entries;
and loading and displaying the plurality of first directory entries in the display area.
In a possible implementation manner, the display area further includes a sliding control, and the second display module is further configured to:
in response to a sliding operation for the sliding control, determining a plurality of second directory items to be displayed in the plurality of directory items according to the size of the display area;
and loading and displaying the plurality of second directory entries in the display area.
In a possible implementation manner, the third display module is specifically configured to:
in response to a selection operation for an organization directory entry under the organization architecture directory, determining an organization object corresponding to the selected organization directory entry as the target organization object;
responding to the selection operation aiming at the user directory items under the user group directory, and determining the user object corresponding to the selected user directory items as the target user object;
determining a display order among the target objects;
and displaying each target object in the second sub-interface according to the display sequence.
In a possible implementation manner, the third display module is specifically configured to:
determining time information corresponding to each target object, wherein the time information is used for indicating the moment when the target object is selected;
determining type information corresponding to each target object, wherein the type information is used for indicating that the target object belongs to an organization object type or a user object type;
and determining the display sequence according to the time information and the type information.
In a possible implementation manner, the first sub-interface further comprises an input box and a search control; the third display module is further configured to:
responding to the input operation aiming at the input box, and acquiring a corresponding input text;
in response to a touch operation for the search control, displaying associated objects of the input text in the display area, wherein the associated objects comprise at least one organization object and/or at least one user object;
and updating and displaying the second sub-interface in response to the selection operation aiming at the associated object.
In a possible implementation manner, the popup interface further comprises a determination control; the third display module is further configured to:
stopping displaying the popup interface in response to the touch operation aiming at the determined control;
and updating and displaying the system interface according to the target object.
In a third aspect, the present application provides an electronic device, comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method for selecting an object in a system according to any one of the first aspect when executing the program.
In a fourth aspect, the present application provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the method of selecting objects in a system according to any one of the first aspect.
In a fifth aspect, the present application provides a computer program product comprising a computer program which, when executed by a processor, implements the method of selecting objects in a system according to any of the first aspect.
According to the method, the device and the equipment for selecting the object in the system, a system interface is provided through terminal equipment, the system interface comprises an object selection control, the terminal equipment firstly responds to touch operation aiming at the object selection control and displays a popup interface, the popup interface comprises a first sub-interface and a second sub-interface, and the first sub-interface comprises an organization architecture control, a user group control and a display area; then the terminal equipment responds to the touch operation aiming at the target control and displays an organization structure directory corresponding to the organization structure control and/or a user group directory corresponding to the user group control in a display area; the target control comprises an organization architecture control and/or a user group control; and finally, the terminal equipment responds to the selection operation aiming at the organization architecture directory and/or the user group directory and displays the selected target objects in the second sub-interface, wherein the target objects comprise the target organization objects and/or the target user objects. Because the first sub-interface comprises the organization architecture control and the user group control, the organization architecture directory and the user group directory can be displayed through touch operation aiming at the organization architecture control and/or the user group control, a target organization object can be selected from the organization architecture directory and a target user object can be selected from the user group directory in the same popup interface, the selection of two types of objects of different types, namely an organization and a user, can be realized without the processes of interface switching, login, quitting and the like back and forth, the selection process is simple to operate, and the efficiency is high.
Drawings
In order to more clearly illustrate the technical solutions in the present application or the prior art, the drawings needed for the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic flowchart of a method for selecting an object in a system according to an embodiment of the present disclosure;
fig. 2 is a schematic diagram of a pop-up window interface according to an embodiment of the present disclosure;
FIG. 3 is a schematic flow chart illustrating a directory display according to an embodiment of the present disclosure;
FIG. 4 is a schematic diagram of a pop-up window interface provided in an embodiment of the present application;
FIG. 5 is a flowchart illustrating a process of displaying a target directory according to an embodiment of the present application;
FIG. 6 is a diagram illustrating a method for determining a directory entry to be displayed according to an embodiment of the present application;
fig. 7 is a schematic flowchart of determining a target object according to an embodiment of the present application;
FIG. 8 is a diagram illustrating fuzzy search provided in an embodiment of the present application;
FIG. 9 is a schematic structural diagram of an apparatus for selecting an object in a system according to an embodiment of the present disclosure;
fig. 10 is a schematic physical structure diagram of an electronic device according to an embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the present application clearer, the technical solutions of the present application will be described clearly and completely with reference to the accompanying drawings in the present application, and it is obvious that the described embodiments are some, but not all embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In systems such as enterprises or institutions, there is often a choice of objects, which may be users of the system, organizations in the system, etc. By selecting an object in the system, subsequent operations can be performed on the selected object, for example, a message notification or a command assignment can be performed on the selected object.
At present, the selection of objects in the system is usually realized based on interface interaction. Firstly, the corresponding object selection interface is entered according to the type of the object, and then the object of the type is selected. In some cases, selection of different types of objects may be involved, for example, requiring simultaneous selection of an organizational object and a user object.
For such a scenario, in the prior art, the system has a single choice of organization or personnel, and the left side is either a list of personnel or a list of organization units, which only has one choice. When a scene that the organization unit can be selected and the personnel in the unit can be used, the prior technical scheme can not be realized, and the interaction is complicated.
According to the scheme, the organization object needs to be selected on the organization object selection interface, and then the user object is selected on the user selection interface, so that the process of selecting the object is complex, and the efficiency is low. Based on this, the embodiment of the present application provides a method for selecting an object in a system, which can select an organization unit and a person in a popup interface, and also support fuzzy search for a matched unit and person, and tree structures of the person and the organization are separately displayed, so that it can be known visually in interaction which persons are organization units, and meanwhile, the right side of the popup interface has the checked persons or organizations, and can perform reverse selection or complete cancellation, so as to improve the efficiency of object selection and reduce the complexity of an object selection process, and the scheme of the present application is introduced below with reference to the attached drawings.
Fig. 1 is a schematic flowchart of a method for selecting an object in a system according to an embodiment of the present application, where a system interface is provided by a terminal device, and the system interface includes an object selection control, as shown in fig. 1, the method includes:
s11, responding to touch operation of the object selection control, and displaying a popup interface, wherein the popup interface comprises a first sub-interface and a second sub-interface; the first sub-interface includes an organizational architecture control, a user group control, and a display area.
The system in the embodiment of the present application may refer to a system of a certain enterprise or organization, and may also refer to a certain object set having an internal association relationship. Different organizational objects and user objects are included in the system.
The organization object corresponds to a corresponding organization, the organization is obtained by dividing the user objects in the system according to the organization, and one organization object can comprise one or more user objects. Taking the system as an enterprise as an example, the organization objects may be, for example, various departments under the enterprise, and employees in the enterprise are corresponding user objects.
Fig. 2 is a schematic diagram of a popup interface provided in an embodiment of the present application, and as shown in fig. 2, a system interface 21 is provided through a terminal device, where the system interface 21 includes an object selection control 22.
The object selection process in the system may be triggered by the object selection control 22. Specifically, the user may click on the object selection control 22, and the terminal device displays the popup interface 23 in response to a touch operation directed to the object selection control 22. In the embodiment of the present application, the pop-up interface 23 is an interface independent from the system interface 21, so that the content displayed in the pop-up interface 23 does not affect the display space of the content in the system interface 21.
The pop-up interface 23 includes a first sub-interface 24 and a second sub-interface 25, and both the first sub-interface 24 and the second sub-interface 25 are part of the pop-up interface 23. The sizes of the first sub-interface 24 and the second sub-interface 25 may be set according to the size of the pop-up interface 23, and the positions of the first sub-interface 24 and the second sub-interface 25 in the pop-up interface 23 may also be set according to needs, which is not limited in this embodiment of the application.
The first sub-interface 24 includes target controls, which further include an organization architecture control 27 and a user group control 28, and a display area 26. The organization architecture control 27 is used to trigger the selection of an organization object, the user group control 28 is used to trigger the selection of a user object, and the display area 26 is used to display the corresponding object.
S12, responding to the touch operation aiming at the target control, and displaying an organization architecture directory corresponding to the organization architecture control and/or a user group directory corresponding to the user group control in a display area; the target controls include organizational architecture controls and/or user group controls.
An organization architecture control 27 and a user group control 28 are displayed in the first sub-interface 24, and a user can perform corresponding operations according to an object selected as required. In particular, the user may click on target controls, including organization architecture controls 27 and/or user group controls 28. The terminal device responds to the touch operation aiming at the target control, and displays an organization structure directory corresponding to the organization structure control 27 and/or a user group directory corresponding to the user group control 28 in the display area 26.
In one implementation, in response to a touch operation on the organization architecture control 27, the terminal device may display the organization architecture directory and the user group directory in the display area 26, or display only the organization architecture directory in the display area 26.
In one implementation, the terminal device may display the organization structure directory and the user group directory in the display area 26 or only the user group directory in the display area 26 in response to a touch operation directed to the user group control 28.
And S13, responding to the selection operation aiming at the organization architecture directory and/or the user group directory, and displaying the selected target objects in the second sub-interface, wherein the target objects comprise target organization objects and/or target user objects.
The organization architecture directory is obtained by displaying the organization objects in the system in a directory form, and when a user selects the organization objects in the organization architecture directory, the selected organization objects can be determined as target organization objects.
The user group directory is obtained by displaying the user objects in the system in a directory form, and when the user selects a user object in the user group directory, the selected user object can be determined as a target user object and displayed in the second sub-interface 25. The target object includes a target tissue object and/or a target user object.
According to the method for selecting the object in the system, the system interface is provided through the terminal device, the system interface comprises the object selection control, the terminal device firstly responds to the touch operation aiming at the object selection control and displays the popup interface, the popup interface comprises a first sub-interface and a second sub-interface, and the first sub-interface comprises an organization architecture control, a user group control and a display area; then the terminal equipment responds to the touch operation aiming at the target control and displays an organization structure directory corresponding to the organization structure control and/or a user group directory corresponding to the user group control in a display area; the target control comprises an organization architecture control and/or a user group control; and finally, the terminal equipment responds to the selection operation aiming at the organization architecture directory and/or the user group directory and displays the selected target objects in the second sub-interface, wherein the target objects comprise the target organization objects and/or the target user objects. Because the first sub-interface comprises the organization architecture control and the user group control, the organization architecture directory and the user group directory can be displayed through touch operation aiming at the organization architecture control and/or the user group control, a target organization object can be selected from the organization architecture directory and a target user object can be selected from the user group directory in the same popup interface, the selection of two types of objects of different types, namely an organization and a user, can be realized without the processes of interface switching, login, quitting and the like back and forth, the selection process is simple to operate, and the efficiency is high.
On the basis of any of the above embodiments, the following detailed description of the embodiments of the present application is made with reference to the accompanying drawings.
Fig. 3 is a schematic flow chart of directory display provided in the embodiment of the present application, and as shown in fig. 3, the directory display includes:
and S31, responding to the touch operation aiming at the target control, and determining a target directory corresponding to the target control in the target database.
The target database in the embodiment of the application is a database for storing an organization architecture directory and a user group directory. The terminal device responds to the touch operation aiming at the target control, and can determine a corresponding target directory in the target database, wherein the target directory comprises an organization architecture directory and/or a user group directory.
And S32, displaying the target directory in the display area.
After the terminal device determines the target directory, the target directory can be displayed in the display area.
And under the condition that the target control comprises the organization architecture control, the target directory is the organization architecture directory, the organization architecture directory is in a selectable state, and the user group directory is in a hidden state.
And under the condition that the target control comprises the user group control, the target directory is a user group directory, the user group directory is in a selectable state, and the organization architecture directory is in a hidden state.
This process may be described, for example, in connection with fig. 4. Fig. 4 is a schematic diagram of a pop-up interface provided in the embodiment of the present application, as shown in fig. 4, after the first sub-interface 24 and the second sub-interface 25 in the pop-up interface 23 click on the organization architecture control 27 in the first sub-interface 24, the organization architecture directory is displayed in the display area 26, the organization architecture directory is in a selectable state, a user can select an organization object by selecting a directory entry in the organization architecture directory, and the user group directory is in a hidden state and is also in an unselected state.
After clicking the user group control 28 in the first sub-interface 24, the display area 26 displays the user group directory, which is in a selectable state, the user can select the user object by selecting a directory entry in the user group directory, and the organization architecture directory is in a hidden state or a non-selectable state.
In one implementation, after determining the target directory in the target database, the terminal device may load and display all directory entries included in the target directory, and perform loading and display in a rendering manner.
In another implementation, the terminal device may display the target directory according to the size of the display area, which will be described below with reference to the drawings.
Fig. 5 is a schematic flowchart of a process of displaying a target directory according to an embodiment of the present application, as shown in fig. 5, including:
s51, the size of the display area is acquired.
The display area is an area for displaying the target directory, and because the size of the display area is limited by the gatekeeper terminal device, when the target directory includes a large number of directory entries, the display area cannot display all the directory entries at the same time. Therefore, the terminal device first acquires the size of the display area, and determines the number of directory entries that can be displayed based on the size of the display area.
S52, according to the size of the display area and the sequence of the plurality of directory entries, a plurality of first directory entries to be displayed are determined in the plurality of directory entries.
When the data volume is too large, the data rendering of organizations and personnel can cause blocking or even hanging in a browser, and the embodiment of the application realizes normal display operation of tens of thousands of data by using a native rendering technology and a virtual scrolling technology.
Specifically, after determining the size of the display area, the terminal device may determine the number of directory items that can be used for displaying in the display area according to the size required for displaying one directory item and the total size of the display area.
After the number of the directory items which can be used for displaying in the display area is determined, the terminal equipment determines the sequence of the plurality of directory items in the target directory in the target database, and then determines a plurality of first directory items to be displayed in the plurality of directory items according to the size of the display area and the sequence of the plurality of directory items, namely a lazy loading scheme.
This process may be understood, for example, in conjunction with fig. 6.
Fig. 6 is a schematic diagram of determining a directory entry to be displayed according to an embodiment of the present application, and as shown in fig. 6, the first sub-interface 24 includes a display area 26, an organization architecture control 27, and a user group control 28. The display area 26 may be used to display the number of directory entries as N, where N is a positive integer, and is described as N =5 in fig. 6. The terminal device may determine the first N directory entries of the plurality of directory entries as a plurality of first directory entries, as shown in fig. 6, and the target directory includes 100 directory entries, which are directory entry A1 to directory entry a100. And the terminal device determines 5 directory entries, namely the directory entry A1 to the directory entry A5, ordered in the front as the first directory entry to be displayed.
And S53, loading and displaying a plurality of first directory entries in the display area.
After determining the plurality of first directory entries, the terminal device may only need to render and load the plurality of first directory entries, and not all directory entries. Since the size of the display area only allows the N directory entries to be displayed, the display effect of the terminal device on the popup interface is consistent whether the terminal device renders and loads all directory entries or only renders and loads the N first directory entries. However, the number of the directory entries rendered and loaded by the terminal equipment is greatly smaller, so that the rendering and loading speed of the terminal equipment can be increased, and the probability of system breakdown caused by large resource consumption of rendering and loading of the terminal equipment is reduced.
In one implementation, a slider control 61 is further included in the display area 26, and the slider control 61 is used to trigger the display of the directory entries sorted later.
Specifically, when the user wants to view a directory entry that is not displayed due to the size limitation of the display area 26, the slider control 61 may be operated.
The terminal device determines a plurality of second directory items to be displayed in the plurality of directory items according to the size of the display area in response to the sliding operation for the sliding control 61, and loads and displays the plurality of second directory items in the display area. It is understood that the operation of the slide control 61 may be a slide-up operation or a slide-down operation. Correspondingly, when the operation for the sliding control 61 is a sliding operation, on the basis of the currently displayed directory entry, the terminal device determines the directory entry to be displayed from the target database, wherein the directory entry to be displayed is located in front of the currently displayed directory entry; when the operation for the slide control 61 is a slide-down operation, the terminal device determines a directory entry to be displayed from the target database on the basis of the currently displayed directory entry, the directory entry to be displayed being behind the currently displayed directory entry. And the larger the sliding amplitude of the sliding control 61 is, the farther the distance between the directory item to be displayed and the currently displayed directory item is.
For example, in fig. 6, the currently displayed first directory entries are directory entries A1 to A5, the user controls the slide control 61 to slide downward, the terminal device determines a plurality of second directory entries to be displayed, that is, directory entries a61 to a65, in the target database in response to the slide operation for the slide control 61, and loads and displays the directory entries a61 to the directory entries a65 in the display area. At any moment, after the terminal equipment determines the directory items to be displayed in the target database, the directory items to be displayed are loaded and displayed in the display area, and all the directory items do not need to be loaded and displayed, so that the rendering and loading speeds of the terminal equipment can be increased, and the probability of system breakdown caused by large resource consumption of rendering and loading of the terminal equipment is reduced.
Furthermore, the organization tree structure displayed in the display area can be a vue tree component developed twice in ztree. The interface query is called when the lazy loading mode is expanded to a certain level, so that the speed of initial loading is increased, and the default is three levels before expansion. Default search matching organizations and users can be entered in the search box and displayed in the following categories, users who load big data in a manner of supporting virtual scrolling are supported, and searched organizations can be expanded and selected or users in the organizations can be viewed.
In the above embodiments, an implementation of how to load and display the target directory in the display area is described, and how to determine the target object is described below with reference to the drawings.
Fig. 7 is a schematic flowchart of determining a target object according to an embodiment of the present application, and as shown in fig. 7, the method includes:
and S71, in response to the selection operation of the organization directory items under the organization architecture directory, determining the organization objects corresponding to the selected organization directory items as target organization objects.
The organization structure directory comprises a plurality of organization directory entries, any one of the organization directory entries corresponds to a corresponding organization, and the organization structure can comprise a lower-level organization and also can comprise user objects under the organization. For example, an organization corresponding to a certain organization catalog is a first department, and the first department may further include a certain number of sub-departments, and the sub-departments also belong to the organization object. The first department may further include a user a and a user B, which belong to the user object.
When the organization object which is required to be selected is determined, the organization object can be determined by selecting the required organization directory item, the terminal device responds to the selection operation of the organization directory item under the organization architecture directory, the organization object corresponding to the selected organization directory item is determined as the target organization object, and the target organization object is the selected organization object.
And S72, responding to the selection operation aiming at the user directory items under the user group directory, and determining the user object corresponding to the selected user directory item as the target user object.
The user group directory comprises a plurality of user directory items, and any user directory item corresponds to a corresponding user.
When the user object which is desired to be selected is determined, the user object can be determined by selecting the desired user directory item, the terminal device responds to the selection operation of the user directory item in the user group directory, the user object corresponding to the selected user directory item is determined as the target user object, and the target user object is the selected user object.
S73, the display order between the target objects is determined.
After the target objects are determined, the display order among the target objects needs to be determined, so that the target objects can be displayed in the second sub-interface.
Specifically, time information corresponding to each target object is first determined, and the time information indicates a time when the corresponding target object is selected. Then, type information corresponding to each target object is determined, and the type information is used for indicating that the target object belongs to an organization object type or a user object type.
After the time information and the type information are determined, the display sequence among the target objects can be determined according to the time information and the type information.
For example, if it is determined that the target objects all belong to the same type according to the type information, the display order between the target objects is determined directly according to the time information corresponding to the target objects. For example, the display order between the objects may be obtained by sorting according to the time when the objects are selected.
For example, if it is determined that each target object includes an organization object and a user object based on the type information, the display order between the target objects may be determined directly based on the time information corresponding to each target object. For example, the display order between the objects may be obtained by sorting according to the time when the objects are selected.
For example, if it is determined that each target object includes objects of an organization object type and a user object type according to the type information, the target objects are first classified according to the type information, the organization object type belongs to one class, and the user object type belongs to another class. Then, aiming at the type of the tissue object, determining the display sequence among the target objects in the type of the tissue object according to the time information corresponding to the target objects in the type; and determining the display sequence among the target objects in the user object type according to the time information corresponding to the target objects in the user object type. And then, determining the display sequence of the organization object type and the target object type, so as to determine the display sequence of the target objects according to the display sequence of the organization object type and the target object type, the display sequence of the target objects in the organization object type and the display sequence of the target objects in the user object type.
For example, if it is determined that the tissue object type is displayed before the user object type, each target object belonging to the tissue object type is loaded and displayed according to the corresponding time information, and after each target object belonging to the tissue object type, that is, each target object belonging to the user object type is also displayed based on the corresponding time information.
And S74, displaying the target objects in the second sub-interface according to the display sequence.
After the display sequence among the target objects is obtained, the target objects can be displayed in the second sub-interface according to the display sequence.
In one embodiment, the first sub-interface further includes an input box and a search control, and the fuzzy search of the object can be realized through the input box and the search control, which is described in conjunction with fig. 8 below.
Fig. 8 is a schematic diagram of a fuzzy search provided in the embodiment of the present application, and as shown in fig. 8, the first sub-interface 24 includes a display area 26, an organization architecture control 27, and a user group control 28, and further includes an input box 81 and a search control 82, where the input box 81 is used to input text.
When it is desired to search for an object related to a certain keyword in the system, the keyword may be input in the input box 81. The terminal device acquires a corresponding input text, that is, the keyword, in response to an input operation with respect to the input box 81, for example, in fig. 8, the input text is "one". Then, the terminal device responds to the touch operation of the search control 82, and displays the associated objects of the input text in the display area 26, wherein the associated objects comprise at least one organization object and/or at least one user object. For example, in fig. 8, the objects associated with the input text "one" include two organization objects of "first department" and "eleventh department", and also include two user objects of "one eleven" and "one royal eleven".
After the display area 26 displays the associated objects of the input text, the user can select among the associated objects. And the terminal equipment responds to the selection operation aiming at the associated object and updates and displays the second sub-interface. For example, in FIG. 8, the user has selected "first department" in the plurality of associated objects, and "first department" is selected to be displayed in the second sub-interface as the target object.
In a possible implementation manner, the popup interface further includes a determination control. After each target object is displayed in the second sub-interface, the determination control can be clicked. And the terminal equipment responds to the touch operation aiming at the determined control, stops displaying the popup interface, completes the selection of the target object and can update the display system interface according to the target object. For example, the selected target object may be displayed on a system interface.
To sum up, according to the scheme of the embodiment of the application, since the first sub-interface includes the organization architecture control and the user group control, the organization architecture directory and the user group directory can be displayed through touch operation for the organization architecture control and/or the user group control, so that a target organization object can be selected from the organization architecture directory and a target user object can be selected from the user group directory in the same popup interface, and the selection of two different types of objects, namely an organization and a user, can be realized without processes of interface switching, login, quitting and the like, and the selection process is simple to operate and high in efficiency. Meanwhile, a fuzzy search function is provided for selecting the target object, so that the realization mode of selecting the object in the system is more multifunctional.
The following describes an apparatus for selecting an object in a system provided by the present application, and the apparatus for selecting an object in a system described below and the method for selecting an object in a system described above may be referred to in correspondence with each other.
Fig. 9 is a schematic structural diagram of an apparatus for selecting an object in a system according to an embodiment of the present application, where a system interface is provided through a terminal device, where the system interface includes an object selection control, and as shown in fig. 9, the apparatus includes:
the first display module 91 is configured to display a popup interface in response to a touch operation on the object selection control, where the popup interface includes a first sub-interface and a second sub-interface; the first sub-interface comprises an organization architecture control, a user group control and a display area;
a second display module 92, configured to display, in response to a touch operation for the target control, an organization architecture directory corresponding to the organization architecture control and/or a user group directory corresponding to the user group control in the display area; the target control comprises the organization architecture control and/or the user group control;
a third display module 93, configured to display the selected target object in the second sub-interface in response to a selection operation for the organization architecture directory and/or the user group directory, where the target object includes a target organization object and/or a target user object.
In a possible implementation, the second display module 92 is specifically configured to:
responding to the touch operation aiming at the target control, and determining a target directory corresponding to the target control in a target database;
displaying the target directory in the display area;
wherein, under the condition that the target control comprises the organization architecture control, the target directory is the organization architecture directory, the organization architecture directory is in a selectable state, and the user group directory is in a hidden state;
and under the condition that the target control comprises the user group control, the target directory is the user group directory, the user group directory is in a selectable state, and the organization architecture directory is in a hidden state.
In one possible implementation, the target directory includes a plurality of directory entries; the second display module 92 is specifically configured to:
acquiring the size of the display area;
determining a plurality of first directory entries to be displayed in the plurality of directory entries according to the size of the display area and the sequence of the plurality of directory entries;
and loading and displaying the plurality of first directory entries in the display area.
In a possible implementation, the display area further includes a sliding control, and the second display module 92 is further configured to:
in response to a sliding operation for the sliding control, determining a plurality of second directory items to be displayed in the plurality of directory items according to the size of the display area;
and loading and displaying the plurality of second directory entries in the display area.
In a possible implementation manner, the third display module 93 is specifically configured to:
in response to a selection operation for an organization directory entry under the organization architecture directory, determining an organization object corresponding to the selected organization directory entry as the target organization object;
responding to the selection operation aiming at the user directory items under the user group directory, and determining the user object corresponding to the selected user directory items as the target user object;
determining a display order among the target objects;
and displaying each target object in the second sub-interface according to the display sequence.
In a possible implementation manner, the third display module 93 is specifically configured to:
determining time information corresponding to each target object, wherein the time information is used for indicating the moment when the target object is selected;
determining type information corresponding to each target object, wherein the type information is used for indicating that the target object belongs to an organization object type or a user object type;
and determining the display sequence according to the time information and the type information.
In a possible implementation manner, the first sub-interface further comprises an input box and a search control; the third display module 93 is further configured to:
responding to the input operation aiming at the input box, and acquiring a corresponding input text;
in response to a touch operation on the search control, displaying an associated object of the input text in the display area, wherein the associated object comprises at least one organization object and/or at least one user object;
and updating and displaying the second sub-interface in response to the selection operation aiming at the associated object.
In a possible implementation manner, the popup interface further comprises a determination control; the third display module 93 is further configured to:
stopping displaying the popup interface in response to the touch operation aiming at the determined control;
and updating and displaying the system interface according to the target object.
Fig. 10 illustrates a physical structure diagram of an electronic device, and as shown in fig. 10, the electronic device may include: a processor (processor) 1010, a communication Interface (Communications Interface) 1020, a memory (memory) 1030, and a communication bus 1040, wherein the processor 1010, the communication Interface 1020, and the memory 1030 communicate with each other via the communication bus 1040. Processor 1010 may invoke logic instructions in memory 1030 to perform a method for selecting an object in a system, providing a system interface through a terminal device, the system interface including an object selection control, the method comprising: responding to the touch operation aiming at the object selection control, and displaying a popup interface, wherein the popup interface comprises a first sub-interface and a second sub-interface; the first sub-interface comprises an organization architecture control, a user group control and a display area; responding to touch operation aiming at a target control, and displaying an organization architecture directory corresponding to the organization architecture control and/or a user group directory corresponding to the user group control in the display area; the target control comprises the organization architecture control and/or the user group control; in response to a selection operation on the organization architecture directory and/or the user group directory, displaying selected target objects in the second sub-interface, wherein the target objects comprise target organization objects and/or target user objects.
Furthermore, the logic instructions in the memory 1030 can be implemented in software functional units and stored in a computer readable storage medium when the logic instructions are sold or used as independent products. Based on such understanding, the technical solutions of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
In another aspect, the present application further provides a computer program product, where the computer program product includes a computer program, the computer program may be stored on a non-transitory computer readable storage medium, and when the computer program is executed by a processor, a computer is capable of executing the method for selecting an object in a system provided by the above methods, a system interface is provided through a terminal device, the system interface includes an object selection control, and the method includes: responding to the touch operation aiming at the object selection control, and displaying a popup interface, wherein the popup interface comprises a first sub-interface and a second sub-interface; the first sub-interface comprises an organization architecture control, a user group control and a display area; responding to touch operation aiming at a target control, and displaying an organization architecture directory corresponding to the organization architecture control and/or a user group directory corresponding to the user group control in the display area; the target control comprises the organization architecture control and/or the user group control; in response to a selection operation for the organization architecture directory and/or the user group directory, displaying selected target objects in the second sub-interface, the target objects including target organization objects and/or target user objects.
In another aspect, the present application further provides a non-transitory computer-readable storage medium, on which a computer program is stored, where the computer program is implemented to perform the method for selecting an object in a system provided by the foregoing methods when executed by a processor, where a system interface is provided by a terminal device, and the system interface includes an object selection control, and the method includes: responding to touch operation of the object selection control, and displaying a popup interface, wherein the popup interface comprises a first sub-interface and a second sub-interface; the first sub-interface comprises an organization architecture control, a user group control and a display area; responding to touch operation aiming at a target control, and displaying an organization architecture directory corresponding to the organization architecture control and/or a user group directory corresponding to the user group control in the display area; the target control comprises the organization architecture control and/or the user group control; in response to a selection operation for the organization architecture directory and/or the user group directory, displaying selected target objects in the second sub-interface, the target objects including target organization objects and/or target user objects.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment may be implemented by software plus a necessary general hardware platform, and may also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.
Claims (10)
1. A method for selecting an object in a system is characterized in that a system interface is provided through terminal equipment, the system interface comprises an object selection control, and the method comprises the following steps:
responding to the touch operation aiming at the object selection control, and displaying a popup interface, wherein the popup interface comprises a first sub-interface and a second sub-interface; the first sub-interface comprises an organization architecture control, a user group control and a display area;
responding to touch operation aiming at a target control, and displaying an organization architecture directory corresponding to the organization architecture control and/or a user group directory corresponding to the user group control in the display area; the target control comprises the organization architecture control and/or the user group control;
in response to a selection operation for the organization architecture directory and/or the user group directory, displaying selected target objects in the second sub-interface, the target objects including target organization objects and/or target user objects.
2. The method according to claim 1, wherein the displaying, in the display area, the organization architecture directory corresponding to the organization architecture control and/or the user group directory corresponding to the user group control in response to the touch operation for the target control comprises:
responding to the touch operation aiming at the target control, and determining a target directory corresponding to the target control in a target database;
displaying the target directory in the display area;
wherein, when the target control comprises the organization architecture control, the target directory is the organization architecture directory, the organization architecture directory is in a selectable state, and the user group directory is in a hidden state;
and under the condition that the target control comprises the user group control, the target directory is the user group directory, the user group directory is in a selectable state, and the organization architecture directory is in a hidden state.
3. The method of claim 2, wherein the target directory comprises a plurality of directory entries; the displaying the target directory in the display area includes:
acquiring the size of the display area;
determining a plurality of first directory entries to be displayed in the plurality of directory entries according to the size of the display area and the sequence of the plurality of directory entries;
and loading and displaying the plurality of first directory entries in the display area.
4. The method of claim 3, further comprising a slider control in the display area, the method further comprising:
in response to a sliding operation for the sliding control, determining a plurality of second directory items to be displayed in the plurality of directory items according to the size of the display area;
and loading and displaying the plurality of second directory entries in the display area.
5. The method according to any one of claims 2-4, wherein the displaying the selected target object in the second sub-interface in response to the selection operation for the organization architecture directory and/or the user group directory comprises:
in response to a selection operation for an organization directory entry under the organization architecture directory, determining an organization object corresponding to the selected organization directory entry as the target organization object;
responding to the selection operation aiming at the user directory items under the user group directory, and determining the user object corresponding to the selected user directory items as the target user object;
determining a display order among the target objects;
and displaying each target object in the second sub-interface according to the display sequence.
6. The method of claim 5, wherein determining the display order between the target objects comprises:
determining time information corresponding to each target object, wherein the time information is used for indicating the moment when the target object is selected;
determining type information corresponding to each target object, wherein the type information is used for indicating that the target object belongs to an organization object type or a user object type;
and determining the display sequence according to the time information and the type information.
7. The method according to any one of claims 1-4, wherein the first sub-interface further comprises an input box and a search control; the method further comprises the following steps:
responding to the input operation aiming at the input box, and acquiring a corresponding input text;
in response to a touch operation for the search control, displaying associated objects of the input text in the display area, wherein the associated objects comprise at least one organization object and/or at least one user object;
and updating and displaying the second sub-interface in response to the selection operation aiming at the associated object.
8. The method according to any one of claims 1-4, wherein the popup interface further comprises a determination control; the method further comprises the following steps:
stopping displaying the popup interface in response to the touch operation aiming at the determined control;
and updating and displaying the system interface according to the target object.
9. An apparatus for selecting an object in a system, wherein a system interface is provided through a terminal device, the system interface includes an object selection control, the apparatus includes:
the first display module is used for responding to the touch operation aiming at the object selection control and displaying a popup interface, wherein the popup interface comprises a first sub-interface and a second sub-interface; the first sub-interface comprises an organization architecture control, a user group control and a display area;
the second display module is used for responding to touch operation aiming at a target control and displaying an organization architecture directory corresponding to the organization architecture control and/or a user group directory corresponding to the user group control in the display area; the target control comprises the organization architecture control and/or the user group control;
a third display module, configured to display the selected target object in the second sub-interface in response to a selection operation for the organization architecture directory and/or the user group directory, where the target object includes a target organization object and/or a target user object.
10. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method of selecting an object in a system according to any one of claims 1 to 8 when executing the program.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310031217.8A CN115826827A (en) | 2023-01-10 | 2023-01-10 | Method, device and equipment for selecting object in system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310031217.8A CN115826827A (en) | 2023-01-10 | 2023-01-10 | Method, device and equipment for selecting object in system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115826827A true CN115826827A (en) | 2023-03-21 |
Family
ID=85520536
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310031217.8A Pending CN115826827A (en) | 2023-01-10 | 2023-01-10 | Method, device and equipment for selecting object in system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115826827A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101123517A (en) * | 2007-07-23 | 2008-02-13 | 中国联合通信有限公司 | A method for instant message to display directory list |
CN101656689A (en) * | 2009-09-14 | 2010-02-24 | 杭州世导科技有限公司 | Communication initiating method based on address list organizational structure |
CN104168355A (en) * | 2014-08-19 | 2014-11-26 | 深圳市艾派应用系统有限公司 | Mobile phone contact selection method and system |
CN112152911A (en) * | 2015-02-16 | 2020-12-29 | 钉钉控股(开曼)有限公司 | Communication method and mobile device |
CN114979049A (en) * | 2021-02-19 | 2022-08-30 | 腾讯科技(深圳)有限公司 | Instant communication message display method, device, equipment and storage medium |
-
2023
- 2023-01-10 CN CN202310031217.8A patent/CN115826827A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101123517A (en) * | 2007-07-23 | 2008-02-13 | 中国联合通信有限公司 | A method for instant message to display directory list |
CN101656689A (en) * | 2009-09-14 | 2010-02-24 | 杭州世导科技有限公司 | Communication initiating method based on address list organizational structure |
CN104168355A (en) * | 2014-08-19 | 2014-11-26 | 深圳市艾派应用系统有限公司 | Mobile phone contact selection method and system |
CN112152911A (en) * | 2015-02-16 | 2020-12-29 | 钉钉控股(开曼)有限公司 | Communication method and mobile device |
CN114979049A (en) * | 2021-02-19 | 2022-08-30 | 腾讯科技(深圳)有限公司 | Instant communication message display method, device, equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10055082B2 (en) | Interface overlay | |
US9792015B2 (en) | Providing visualizations for conversations | |
US20180217972A1 (en) | Populating values in a spreadsheet using semantic cues | |
US20150073866A1 (en) | Data visualization and user interface for monitoring resource allocation to customers | |
US9805015B2 (en) | System and method for enhanced user interactions with a grid | |
US20140282217A1 (en) | Window grouping and management across applications and devices | |
US9098384B2 (en) | Runtime connection suggestion engine for portal content | |
US11811718B2 (en) | System and method for generating and rendering intent-based actionable content using input interface | |
US20210366045A1 (en) | Adaptive goal identification and tracking for virtual assistants | |
CN104063484A (en) | Webpage presenting method and device and electronic device | |
US20180046681A1 (en) | Efficient list traversal | |
CN112596617A (en) | Message content input method and device and electronic equipment | |
US10275497B2 (en) | Electronic whiteboard system, search result display method of electronic whiteboard, and non-transitory computer readable medium storing program thereof | |
US20190058756A1 (en) | Method, Terminal, and System for Sending Office Document | |
CN114428902A (en) | Information searching method and device, electronic equipment and storage medium | |
CN115826827A (en) | Method, device and equipment for selecting object in system | |
JP2022538832A (en) | ONLINE COLLABORATION DOCUMENT PROCESSING METHOD AND APPARATUS | |
US20040117392A1 (en) | Value mapping | |
CN108595534B (en) | Information refreshing method and device | |
CN115795203A (en) | Menu page construction method and device, electronic equipment and storage medium | |
US11726639B2 (en) | Stowing and unstowing browser tabs in groups each corresponding to a different subject | |
US20230245026A1 (en) | Smart-tag based work processing device and work processing method | |
EP4242871A1 (en) | Information processing device, information processing method, and program | |
US11375804B1 (en) | Online social media network analyzer | |
CA2954663C (en) | Entity recognition for enhanced document productivity |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20230321 |
|
RJ01 | Rejection of invention patent application after publication |