CN115826827A - Method, device and equipment for selecting object in system - Google Patents

Method, device and equipment for selecting object in system Download PDF

Info

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
user group
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
Application number
CN202310031217.8A
Other languages
Chinese (zh)
Inventor
张宏斌
张敏
张志强
余慕君
王海森
孔庆鸥
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Zhixiang Technology Co Ltd
Original Assignee
Beijing Zhixiang Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Beijing Zhixiang Technology Co Ltd filed Critical Beijing Zhixiang Technology Co Ltd
Priority to CN202310031217.8A priority Critical patent/CN115826827A/en
Publication of CN115826827A publication Critical patent/CN115826827A/en
Pending legal-status Critical Current

Links

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

选择系统中对象的方法、装置及设备Method, apparatus and equipment for selecting objects in a system

技术领域technical field

本申请涉及数据处理技术领域,尤其涉及一种选择系统中对象的方法、装置及设备。The present application relates to the technical field of data processing, and in particular to a method, device and equipment for selecting objects in a system.

背景技术Background technique

在企业或单位这类系统中,经常涉及到对象的选择,这类对象可以是系统中的用户,也可以是系统中的组织等等。In systems such as enterprises or units, the selection of objects is often involved. Such objects can be users in the system, or organizations in the system, and so on.

通过选择系统中的对象,能够对选择的对象进行后续的操作,例如可以对选择的对象进行消息通知,或者命令下达等等。目前,系统中的对象的选择,通常是基于界面交互实现的。首先需要根据对象的类型进入相应的对象选择界面,然后进行该类型的对象的选择。例如,要选择用户对象时,通常是通过点击系统界面进入用户选择界面,显示相应的用户对象列表,然后在用户对象列表中确定要选择的用户对象即可。By selecting an object in the system, subsequent operations can be performed on the selected object, for example, message notification or command issuance can be performed on the selected object. At present, the selection of objects in the system is usually realized based on interface interaction. First, you need to enter the corresponding object selection interface according to the type of object, and then select the object of this type. For example, when selecting a user object, it is usually necessary to click on the system interface to enter the user selection interface, display the corresponding user object list, and then determine the user object to be selected in the user object list.

在一些情况下,可能涉及到不同类型的对象的选择,例如需要同时选择组织对象和用户对象。针对此类场景,上述方案需要在组织对象选择界面上来选择组织对象,然后进入用户选择界面上来选择用户对象,选择对象的过程较为复杂,效率较低。In some cases, selection of different types of objects may be involved, for example, organization objects and user objects need to be selected at the same time. For such scenarios, the above solution needs to select an organization object on an organization object selection interface, and then enter a user selection interface to select a user object. The process of selecting an object is relatively complicated and the efficiency is low.

发明内容Contents of the invention

本申请提供一种选择系统中对象的方法、装置及设备,以解决现有技术选择对象的过程较为复杂,效率较低的问题。The present application provides a method, device and equipment for selecting objects in a system, so as to solve the problem that the process of selecting objects in the prior art is relatively complicated and the efficiency is low.

第一方面,本申请提供一种选择系统中对象的方法,通过终端设备提供系统界面,所述系统界面中包括对象选择控件,所述方法包括:In a first aspect, the present application provides a method for selecting an object in a system. A system interface is provided through a terminal device, and the system interface includes an object selection control. The method includes:

响应于针对所述对象选择控件的触控操作,显示弹窗界面,所述弹窗界面中包括第一子界面和第二子界面;所述第一子界面包括组织架构控件、用户组控件和显示区域;In response to the touch operation on the object selection control, a pop-up window interface is displayed, and the pop-up window interface includes a first sub-interface and a second sub-interface; the first sub-interface includes an organizational structure control, a user group control and Display area;

响应于针对目标控件的触控操作,在所述显示区域显示所述组织架构控件对应的组织架构目录和/或所述用户组控件对应的用户组目录;所述目标控件包括所述组织架构控件和/或所述用户组控件;In response to a touch operation on the target control, the organizational structure directory corresponding to the organizational structure control and/or the user group directory corresponding to the user group control are displayed in the display area; the target control includes the organizational structure control and/or said user group controls;

响应于针对所述组织架构目录和/或所述用户组目录的选择操作,在所述第二子界面中显示被选中的目标对象,所述目标对象包括目标组织对象和/或目标用户对象。In response to a selection operation on the organizational structure directory and/or the user group directory, selected target objects are displayed in the second sub-interface, where the target objects include target organization objects and/or target user objects.

在一种可能的实施方式中,所述响应于针对目标控件的触控操作,在所述显示区域显示所述组织架构控件对应的组织架构目录和/或所述用户组控件对应的用户组目录,包括:In a possible implementation manner, in response to the touch operation on the target control, the organizational structure directory corresponding to the organizational structure control and/or the user group directory corresponding to the user group control are displayed in the display area ,include:

响应于针对所述目标控件的触控操作,在目标数据库中确定所述目标控件对应的目标目录;In response to a touch operation on the target control, determine a target directory corresponding to the target control in the target database;

在所述显示区域显示所述目标目录;displaying the target directory in the display area;

其中,在所述目标控件包括所述组织架构控件的情况下,所述目标目录为所述组织架构目录,所述组织架构目录处于可选择状态,所述用户组目录处于隐藏状态;Wherein, when the target control includes the organizational structure control, the target directory is the organizational structure directory, the organizational structure directory is in a selectable state, and the user group directory is in a hidden state;

在所述目标控件包括所述用户组控件的情况下,所述目标目录为所述用户组目录,所述用户组目录处于可选择状态,所述组织架构目录处于隐藏状态。When the target control includes the user group control, the target directory is the user group directory, the user group directory is in a selectable state, and the organizational structure directory is in a hidden state.

在一种可能的实施方式中,所述目标目录包括多个目录项;所述在所述显示区域显示所述目标目录,包括:In a possible implementation manner, the target directory includes a plurality of directory items; displaying the target directory in the display area includes:

获取所述显示区域的尺寸;Obtain the size of the display area;

根据所述显示区域的尺寸以及所述多个目录项的顺序,在所述多个目录项中确定待显示的多个第一目录项;determining a plurality of first directory items to be displayed among the plurality of directory items according to the size of the display area and the order of the plurality of directory items;

在所述显示区域加载显示所述多个第一目录项。Loading and displaying the plurality of first directory items in the display area.

在一种可能的实施方式中,所述显示区域中还包括滑动控件,所述方法还包括:In a possible implementation manner, the display area further includes a sliding control, and the method further includes:

响应于针对所述滑动控件的滑动操作,根据所述显示区域的尺寸在所述多个目录项中确定待显示的多个第二目录项;In response to a sliding operation on the sliding control, determining a plurality of second directory items to be displayed among the plurality of directory items according to the size of the display area;

在所述显示区域加载显示所述多个第二目录项。Loading and displaying the plurality of second directory items in the display area.

在一种可能的实施方式中,所述响应于针对所述组织架构目录和/或所述用户组目录的选择操作,在所述第二子界面中显示被选中的目标对象,包括:In a possible implementation manner, the displaying the selected target object in the second sub-interface in response to the selection operation on the organizational structure directory and/or the user group directory includes:

响应于针对所述组织架构目录下的组织目录项的选择操作,将被选中的组织目录项对应的组织对象确定为所述目标组织对象;In response to a selection operation for an organization directory item under the organization structure directory, determine an organization object corresponding to the selected organization directory item as the target organization object;

响应于针对所述用户组目录下的用户目录项的选择操作,将被选中的用户目录项对应的用户对象确定为所述目标用户对象;In response to a selection operation on a user directory item under the user group directory, determining a user object corresponding to the selected user directory item as the target user object;

确定各所述目标对象之间的显示顺序;determining a display sequence among the target objects;

根据所述显示顺序,在所述第二子界面中显示各所述目标对象。According to the display sequence, each of the target objects is displayed in the second sub-interface.

在一种可能的实施方式中,所述确定各所述目标对象之间的显示顺序,包括:In a possible implementation manner, the determining the display order among the target objects includes:

确定各所述目标对象对应的时间信息,所述时间信息用于指示所述目标对象被选中的时刻;determining time information corresponding to each of the target objects, where the time information is used to indicate the moment when the target object is selected;

确定各所述目标对象对应的类型信息,所述类型信息用于指示所述目标对象属于组织对象类型或用户对象类型;determining type information corresponding to each of the target objects, where the type information is used to indicate that the target object belongs to an organization object type or a user object type;

根据所述时间信息和所述类型信息,确定所述显示顺序。The display sequence is determined according to the time information and the type information.

在一种可能的实施方式中,所述第一子界面中还包括输入框和搜索控件;所述方法还包括:In a possible implementation manner, the first sub-interface further includes an input box and a search control; the method further includes:

响应于针对所述输入框的输入操作,获取对应的输入文本;In response to an input operation on the input box, obtain corresponding input text;

响应于针对所述搜索控件的触控操作,在所述显示区域显示所述输入文本的关联对象,所述关联对象包括至少一个组织对象和/或至少一个用户对象;In response to a touch operation on the search control, display associated objects of the input text in the display area, where the associated objects include at least one organization object and/or at least one user object;

响应于针对所述关联对象的选择操作,更新显示所述第二子界面。In response to a selection operation on the associated object, the second sub-interface is updated and displayed.

在一种可能的实施方式中,所述弹窗界面中还包括确定控件;所述方法还包括:In a possible implementation manner, the pop-up window interface further includes a determination control; the method further includes:

响应于针对所述确定控件的触控操作,停止显示所述弹窗界面;Stop displaying the pop-up window interface in response to the touch operation on the determined control;

根据所述目标对象更新显示所述系统界面。The system interface is updated and displayed according to the target object.

第二方面,本申请提供一种选择系统中对象的装置,通过终端设备提供系统界面,所述系统界面中包括对象选择控件,所述装置包括:In the second aspect, the present application provides a device for selecting objects in the system, which provides a system interface through a terminal device, the system interface includes an object selection control, and the device includes:

第一显示模块,用于响应于针对所述对象选择控件的触控操作,显示弹窗界面,所述弹窗界面中包括第一子界面和第二子界面;所述第一子界面包括组织架构控件、用户组控件和显示区域;The first display module is configured to display a pop-up window interface in response to a touch operation on the object selection control, and the pop-up window interface includes a first sub-interface and a second sub-interface; the first sub-interface includes an organization Architecture controls, user group controls and display areas;

第二显示模块,用于响应于针对目标控件的触控操作,在所述显示区域显示所述组织架构控件对应的组织架构目录和/或所述用户组控件对应的用户组目录;所述目标控件包括所述组织架构控件和/或所述用户组控件;The second display module is configured to display in the display area the organizational structure directory corresponding to the organizational structure control and/or the user group directory corresponding to the user group control in response to a touch operation on the target control; the target The controls include the organizational structure 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 on the organizational structure directory and/or the user group directory, where the target object includes a target organization object and/or target user objects.

在一种可能的实施方式中,所述第二显示模块具体用于:In a possible implementation manner, the second display module is specifically used for:

响应于针对所述目标控件的触控操作,在目标数据库中确定所述目标控件对应的目标目录;In response to a touch operation on the target control, determine a target directory corresponding to the target control in the target database;

在所述显示区域显示所述目标目录;displaying the target directory in the display area;

其中,在所述目标控件包括所述组织架构控件的情况下,所述目标目录为所述组织架构目录,所述组织架构目录处于可选择状态,所述用户组目录处于隐藏状态;Wherein, when the target control includes the organizational structure control, the target directory is the organizational structure directory, the organizational structure directory is in a selectable state, and the user group directory is in a hidden state;

在所述目标控件包括所述用户组控件的情况下,所述目标目录为所述用户组目录,所述用户组目录处于可选择状态,所述组织架构目录处于隐藏状态。When the target control includes the user group control, the target directory is the user group directory, the user group directory is in a selectable state, and the organizational structure directory is in a hidden state.

在一种可能的实施方式中,所述目标目录包括多个目录项;所述第二显示模块具体用于:In a possible implementation manner, the target directory includes multiple directory items; the second display module is specifically configured to:

获取所述显示区域的尺寸;Obtain the size of the display area;

根据所述显示区域的尺寸以及所述多个目录项的顺序,在所述多个目录项中确定待显示的多个第一目录项;determining a plurality of first directory items to be displayed among the plurality of directory items according to the size of the display area and the order of the plurality of directory items;

在所述显示区域加载显示所述多个第一目录项。Loading and displaying the plurality of first directory items in the display area.

在一种可能的实施方式中,所述显示区域中还包括滑动控件,所述第二显示模块还用于:In a possible implementation manner, the display area further includes a sliding control, and the second display module is also used for:

响应于针对所述滑动控件的滑动操作,根据所述显示区域的尺寸在所述多个目录项中确定待显示的多个第二目录项;In response to a sliding operation on the sliding control, determining a plurality of second directory items to be displayed among the plurality of directory items according to the size of the display area;

在所述显示区域加载显示所述多个第二目录项。Loading and displaying the plurality of second directory items in the display area.

在一种可能的实施方式中,所述第三显示模块具体用于:In a possible implementation manner, the third display module is specifically used for:

响应于针对所述组织架构目录下的组织目录项的选择操作,将被选中的组织目录项对应的组织对象确定为所述目标组织对象;In response to a selection operation for an organization directory item under the organization structure directory, determine an organization object corresponding to the selected organization directory item as the target organization object;

响应于针对所述用户组目录下的用户目录项的选择操作,将被选中的用户目录项对应的用户对象确定为所述目标用户对象;In response to a selection operation on a user directory item under the user group directory, determining a user object corresponding to the selected user directory item as the target user object;

确定各所述目标对象之间的显示顺序;determining a display sequence among the target objects;

根据所述显示顺序,在所述第二子界面中显示各所述目标对象。According to the display sequence, each of the target objects is displayed in the second sub-interface.

在一种可能的实施方式中,所述第三显示模块具体用于:In a possible implementation manner, the third display module is specifically used for:

确定各所述目标对象对应的时间信息,所述时间信息用于指示所述目标对象被选中的时刻;determining time information corresponding to each of the target objects, where the time information is used to indicate the moment when the target object is selected;

确定各所述目标对象对应的类型信息,所述类型信息用于指示所述目标对象属于组织对象类型或用户对象类型;determining type information corresponding to each of the target objects, where the type information is used to indicate that the target object belongs to an organization object type or a user object type;

根据所述时间信息和所述类型信息,确定所述显示顺序。The display sequence is determined according to the time information and the type information.

在一种可能的实施方式中,所述第一子界面中还包括输入框和搜索控件;所述第三显示模块还用于:In a possible implementation manner, the first sub-interface further includes an input box and a search control; the third display module is also used for:

响应于针对所述输入框的输入操作,获取对应的输入文本;In response to an input operation on the input box, obtain corresponding input text;

响应于针对所述搜索控件的触控操作,在所述显示区域显示所述输入文本的关联对象,所述关联对象包括至少一个组织对象和/或至少一个用户对象;In response to a touch operation on the search control, display associated objects of the input text in the display area, where the associated objects include at least one organization object and/or at least one user object;

响应于针对所述关联对象的选择操作,更新显示所述第二子界面。In response to a selection operation on the associated object, the second sub-interface is updated and displayed.

在一种可能的实施方式中,所述弹窗界面中还包括确定控件;所述第三显示模块还用于:In a possible implementation manner, the pop-up window interface further includes a confirmation control; the third display module is also used for:

响应于针对所述确定控件的触控操作,停止显示所述弹窗界面;Stop displaying the pop-up window interface in response to the touch operation on the determined control;

根据所述目标对象更新显示所述系统界面。The system interface is updated and displayed according to the target object.

第三方面,本申请提供一种电子设备,包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述处理器执行所述程序时实现如第一方面任一项所述的选择系统中对象的方法。In a third aspect, the present application provides an electronic device, including a memory, a processor, and a computer program stored on the memory and operable on the processor. When the processor executes the program, the first The method for selecting an object in a system according to any one of the aspects.

第四方面,本申请提供一种非暂态计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现如第一方面任一项所述的选择系统中对象的方法。In a fourth aspect, the present application provides a non-transitory computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the method for selecting an object in the system according to any one of the first aspect is implemented .

第五方面,本申请提供一种计算机程序产品,包括计算机程序,所述计算机程序被处理器执行时实现如第一方面任一项所述的选择系统中对象的方法。In a fifth aspect, the present application provides a computer program product, including a computer program. When the computer program is executed by a processor, the method for selecting an object in the system according to any one of the first aspect is implemented.

本申请实施例提供的选择系统中对象的方法、装置及设备,通过终端设备提供系统界面,系统界面中包括对象选择控件,终端设备首先响应于针对对象选择控件的触控操作,显示弹窗界面,弹窗界面中包括第一子界面和第二子界面,第一子界面包括组织架构控件、用户组控件和显示区域;然后终端设备响应于针对目标控件的触控操作,在显示区域显示组织架构控件对应的组织架构目录和/或用户组控件对应的用户组目录;目标控件包括组织架构控件和/或用户组控件;最后终端设备响应于针对组织架构目录和/或用户组目录的选择操作,在第二子界面中显示被选中的目标对象,目标对象包括目标组织对象和/或目标用户对象。由于第一子界面中包括组织架构控件和用户组控件,通过针对组织架构控件和/或用户组控件的触控操作可以显示组织架构目录和用户组目录,从而可以在同一个弹窗界面中,从组织架构目录中选择目标组织对象,从用户组目录中选择目标用户对象,无需通过来回的界面切换、登录、退出等过程即可实现组织和用户这两类不同类型的对象的选择,其选择过程操作简单,效率较高。The method, device and equipment for selecting an object in the system provided by the embodiments of the present application provide a system interface through a terminal device, the system interface includes an object selection control, and the terminal device first responds to a touch operation on the object selection control to display a pop-up window interface , the pop-up window interface includes a first sub-interface and a second sub-interface, the first sub-interface includes an organizational structure control, a user group control, and a display area; then the terminal device responds to a touch operation on the target control, and displays the organizational structure in the display area The organizational structure directory corresponding to the architecture control and/or the user group directory corresponding to the user group control; the target control includes the organizational structure control and/or the user group control; finally, the terminal device responds to the selection operation for the organizational structure directory and/or the user group directory , the selected target object is displayed in the second sub-interface, and the target object includes a target organization object and/or a target user object. Since the first sub-interface includes an organizational structure control and a user group control, the organizational structure directory and the user group directory can be displayed through a touch operation on the organizational structure control and/or user group control, so that in the same pop-up window interface, Select the target organization object from the organization structure directory, select the target user object from the user group directory, and realize the selection of two different types of objects, organization and user, without going through the process of interface switching, login, and logout. The process operation is simple and the efficiency is high.

附图说明Description of drawings

为了更清楚地说明本申请或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in this application or the prior art, the accompanying drawings that need to be used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the accompanying drawings in the following description are the present For some embodiments of the application, those skilled in the art can also obtain other drawings based on these drawings without creative work.

图1为本申请实施例提供的一种选择系统中对象的方法的流程示意图;FIG. 1 is a schematic flowchart of a method for selecting objects in a system provided by an embodiment of the present application;

图2为本申请实施例提供的一种弹窗界面示意图;FIG. 2 is a schematic diagram of a pop-up window interface provided by an embodiment of the present application;

图3为本申请实施例提供的目录显示的流程示意图;FIG. 3 is a schematic flow diagram of catalog display provided by the embodiment of the present application;

图4为本申请实施例提供的弹窗界面示意图;FIG. 4 is a schematic diagram of a pop-up window interface provided by an embodiment of the present application;

图5为本申请实施例提供的显示目标目录的流程示意图;FIG. 5 is a schematic flow diagram of displaying a target directory provided by an embodiment of the present application;

图6为本申请实施例提供的确定待显示的目录项的示意图;FIG. 6 is a schematic diagram of determining directory items to be displayed provided by the embodiment of the present application;

图7为本申请实施例提供的确定目标对象的流程示意图;FIG. 7 is a schematic flow chart of determining a target object provided by an embodiment of the present application;

图8为本申请实施例提供的模糊搜索的示意图;Fig. 8 is a schematic diagram of the fuzzy search provided by the embodiment of the present application;

图9为本申请实施例提供的选择系统中对象的装置的结构示意图;FIG. 9 is a schematic structural diagram of a device for selecting an object in the system provided by an embodiment of the present application;

图10为本申请实施例提供的一种电子设备的实体结构示意图。FIG. 10 is a schematic diagram of a physical structure of an electronic device provided by an embodiment of the present application.

具体实施方式Detailed ways

为使本申请的目的、技术方案和优点更加清楚,下面将结合本申请中的附图,对本申请中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to make the purpose, technical solutions and advantages of this application clearer, the technical solutions in this application will be clearly and completely described below in conjunction with the accompanying drawings in this application. Obviously, the described embodiments are part of the embodiments of this application , but not all examples. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of this application.

在企业或单位这类系统中,经常涉及到对象的选择,这类对象可以是系统中的用户,也可以是系统中的组织等等。通过选择系统中的对象,能够对选择的对象进行后续的操作,例如可以对选择的对象进行消息通知,或者命令下达等等。In systems such as enterprises or units, the selection of objects is often involved. Such objects can be users in the system, or organizations in the system, and so on. By selecting an object in the system, subsequent operations can be performed on the selected object, for example, message notification or command issuance can be performed on the selected object.

目前,系统中的对象的选择,通常是基于界面交互实现的。首先需要根据对象的类型进入相应的对象选择界面,然后进行该类型的对象的选择。在一些情况下,可能涉及到不同类型的对象的选择,例如需要同时选择组织对象和用户对象。At present, the selection of objects in the system is usually realized based on interface interaction. First, you need to enter the corresponding object selection interface according to the type of object, and then select the object of this type. In some cases, selection of different types of objects may be involved, for example, organization objects and user objects need to be selected at the same time.

针对此类场景,现有技术中,系统中选择组织或人员比较单一,左侧要么是人员的列表,要么是组织单位的列表,只能有一种选择。如果用到一个又可以选择组织单位又可以单位中的人员的场景时,之前的技术方案没办法实现,交互也比较复杂。For such scenarios, in the prior art, the selection of organizations or personnel in the system is relatively simple, and the left side is either a list of personnel or a list of organizational units, and there is only one option. If you use a scene where you can choose both the organizational unit and the personnel in the unit, the previous technical solution cannot be realized, and the interaction is more complicated.

上述方案需要在组织对象选择界面上来选择组织对象,然后进入用户选择界面上来选择用户对象,选择对象的过程较为复杂,效率较低。基于此,本申请实施例提供一种选择系统中对象的方法,除了可以在一个弹窗界面中选择组织单位和人员之外,还支持模糊搜索匹配的单位和人员,且人员和组织的树形结构是分开展示的,这样在交互的视觉上可以知道哪些是人员哪些是组织单位,同时弹窗的右侧有已经勾中过得人员或组织,可以进行反选或者全部取消,以提高对象选择的效率,降低对象选择过程的复杂度,下面结合附图对本申请的方案进行介绍。The above solution needs to select an organization object on an organization object selection interface, and then enter a user selection interface to select a user object. The process of selecting an object is relatively complicated and the efficiency is low. Based on this, the embodiment of this application provides a method for selecting objects in the system. In addition to selecting organizational units and personnel in a pop-up window interface, it also supports fuzzy search for matching units and personnel, and the tree structure of personnel and organizations The structure is displayed separately, so that you can know which are personnel and which are organizational units in the visual interaction. At the same time, there are already checked personnel or organizations on the right side of the pop-up window, which can be deselected or canceled entirely to improve object selection. efficiency and reduce the complexity of the object selection process, the solution of this application will be introduced below with reference to the accompanying drawings.

图1为本申请实施例提供的一种选择系统中对象的方法的流程示意图,通过终端设备提供系统界面,系统界面中包括对象选择控件,如图1所示,该方法包括:Fig. 1 is a schematic flow diagram of a method for selecting an object in the system provided by an embodiment of the present application. A system interface is provided through a terminal device, and an object selection control is included in the system interface. As shown in Fig. 1 , the method includes:

S11,响应于针对对象选择控件的触控操作,显示弹窗界面,弹窗界面中包括第一子界面和第二子界面;第一子界面包括组织架构控件、用户组控件和显示区域。S11. In response to a touch operation on the object selection control, display a pop-up window interface, where the pop-up window interface includes a first sub-interface and a second sub-interface; the first sub-interface includes an organizational structure control, a user group control, and a display area.

本申请实施例中的系统可以指某个企业或单位的系统,也可以指某个具有内部关联关系的对象集合。在该系统中包括不同的组织对象和用户对象。The system in this embodiment of the present application may refer to the system of a certain enterprise or unit, or may refer to a collection of objects with internal relationships. In this system, different organization objects and user objects are included.

组织对象对应相应的组织,组织是将系统中的用户对象按照组织进行划分得到的,一个组织对象下可以包括一个或多个用户对象。以系统为企业为例,则组织对象例如可以为企业下的各个部门,而企业中的员工则为相应的用户对象。Organization objects correspond to corresponding organizations. Organizations are obtained by dividing user objects in the system according to organizations. An organization object can include one or more user objects. Taking the system as an example of an enterprise, the organization objects may be, for example, various departments under the enterprise, and the employees in the enterprise may be the corresponding user objects.

图2为本申请实施例提供的一种弹窗界面示意图,如图2所示,通过终端设备提供系统界面21,系统界面21中包括对象选择控件22。FIG. 2 is a schematic diagram of a pop-up window interface provided by an embodiment of the present application. As shown in FIG. 2 , a system interface 21 is provided through a terminal device, and the system interface 21 includes an object selection control 22 .

通过对象选择控件22可以触发该系统中对象选择过程。具体的,用户可以点击对象选择控件22,终端设备响应于针对对象选择控件22的触控操作,显示弹窗界面23。本申请实施例中,弹窗界面23为独立于系统界面21的界面,从而使得弹窗界面23中显示的内容不会影响系统界面21中的内容的显示空间。The object selection process in the system can be triggered by the object selection control 22 . Specifically, the user may click on the object selection control 22 , and the terminal device displays a pop-up interface 23 in response to the touch operation on the object selection control 22 . In the embodiment of the present application, the pop-up window interface 23 is an interface independent of the system interface 21 , so that the content displayed on the pop-up window interface 23 will not affect the display space of the content in the system interface 21 .

弹窗界面23中包括第一子界面24和第二子界面25,第一子界面24和第二子界面25均为弹窗界面23的一部分。第一子界面24和第二子界面25的尺寸可以根据弹窗界面23的尺寸进行设定,第一子界面24和第二子界面25在弹窗界面23中的位置也可以根据需要进行设定,本申请实施例对此不作限定。The pop-up window interface 23 includes a first sub-interface 24 and a second sub-interface 25 , both of which are part of the pop-up window interface 23 . The size of the first sub-interface 24 and the second sub-interface 25 can be set according to the size of the pop-up window interface 23, and the positions of the first sub-interface 24 and the second sub-interface 25 in the pop-up window interface 23 can also be set as required Definitely, this embodiment of the present application does not limit it.

第一子界面24包括目标控件以及显示区域26,其中,目标控件进一步包括组织架构控件27和用户组控件28。组织架构控件27用于触发组织对象的选择,用户组控件28用于触发用户对象的选择,显示区域26用于显示相应的对象。The first sub-interface 24 includes a target control and a display area 26 , wherein the target control further includes an organizational structure control 27 and a user group control 28 . The organizational structure control 27 is used to trigger the selection of organizational objects, the user group control 28 is used to trigger the selection of user objects, and the display area 26 is used to display corresponding objects.

S12,响应于针对目标控件的触控操作,在显示区域显示组织架构控件对应的组织架构目录和/或用户组控件对应的用户组目录;目标控件包括组织架构控件和/或用户组控件。S12. In response to a touch operation on the target control, display in the display area the organization structure directory corresponding to the organization structure control and/or the user group directory corresponding to the user group control; the target control includes the organization structure control and/or the user group control.

在第一子界面24中显示了组织架构控件27和用户组控件28,用户可以根据需要选择的对象进行相应的操作。具体的,用户可以点击目标控件,目标控件包括组织架构控件27和/或用户组控件28。终端设备响应于针对目标控件的触控操作,在显示区域26显示组织架构控件27对应的组织架构目录和/或用户组控件28对应的用户组目录。The organizational structure control 27 and the user group control 28 are displayed in the first sub-interface 24 , and the user can perform corresponding operations according to the object selected as required. Specifically, the user can click on the target control, and the target control includes the organizational structure control 27 and/or the user group control 28 . The terminal device displays the organizational structure directory corresponding to the organizational structure control 27 and/or the user group directory corresponding to the user group control 28 in the display area 26 in response to the touch operation on the target control.

在一种实现方式中,终端设备响应于针对组织架构控件27的触控操作,即可在显示区域26显示组织架构目录和用户组目录,或者在显示区域26仅显示组织架构目录。In an implementation manner, the terminal device can display the organization structure directory and the user group directory on the display area 26 in response to a touch operation on the organization structure control 27 , or display only the organization structure directory on the display area 26 .

在一种实现方式中,终端设备响应于针对用户组控件28的触控操作,即可在显示区域26显示组织架构目录和用户组目录,或者在显示区域26仅显示用户组目录。In an implementation manner, the terminal device can display the organizational structure directory and the user group directory on the display area 26 in response to a touch operation on the user group control 28 , or display only the user group directory on the display area 26 .

S13,响应于针对组织架构目录和/或用户组目录的选择操作,在第二子界面中显示被选中的目标对象,目标对象包括目标组织对象和/或目标用户对象。S13. In response to a selection operation on the organization structure directory and/or the user group directory, display the selected target object in the second sub-interface, where the target object includes a target organization object and/or a target user object.

组织架构目录为将系统中的组织对象通过目录形式展示得到的,当用户选择了组织架构目录中的组织对象后,即可将选中的组织对象确定为目标组织对象。The organization structure directory is obtained by displaying the organization objects in the system in the form of a directory. When the user selects an organization object in the organization structure directory, the selected organization object can be determined as the target organization object.

用户组目录为将系统中的用户对象通过目录形式展示得到的,当用户选择了用户组目录中的用户对象后,即可将选中的用户对象确定为目标用户对象,并在第二子界面25中进行显示。目标对象即包括目标组织对象和/或目标用户对象。The user group directory is obtained by displaying the user objects in the system in the form of a directory. After the user selects the user object in the user group directory, the selected user object can be determined as the target user object, and the user object can be displayed on the second sub-interface 25 displayed in . Target objects include target organization objects and/or target user objects.

本申请实施例提供的选择系统中对象的方法,通过终端设备提供系统界面,系统界面中包括对象选择控件,终端设备首先响应于针对对象选择控件的触控操作,显示弹窗界面,弹窗界面中包括第一子界面和第二子界面,第一子界面包括组织架构控件、用户组控件和显示区域;然后终端设备响应于针对目标控件的触控操作,在显示区域显示组织架构控件对应的组织架构目录和/或用户组控件对应的用户组目录;目标控件包括组织架构控件和/或用户组控件;最后终端设备响应于针对组织架构目录和/或用户组目录的选择操作,在第二子界面中显示被选中的目标对象,目标对象包括目标组织对象和/或目标用户对象。由于第一子界面中包括组织架构控件和用户组控件,通过针对组织架构控件和/或用户组控件的触控操作可以显示组织架构目录和用户组目录,从而可以在同一个弹窗界面中,从组织架构目录中选择目标组织对象,从用户组目录中选择目标用户对象,无需通过来回的界面切换、登录、退出等过程即可实现组织和用户这两类不同类型的对象的选择,其选择过程操作简单,效率较高。The method for selecting an object in the system provided by the embodiment of the present application provides a system interface through a terminal device, the system interface includes an object selection control, and the terminal device first responds to a touch operation on the object selection control to display a pop-up window interface, the pop-up window interface Including a first sub-interface and a second sub-interface, the first sub-interface includes an organizational structure control, a user group control, and a display area; then the terminal device displays the corresponding information of the organizational structure control in the display area in response to a touch operation on the target control The user group directory corresponding to the organizational structure directory and/or the user group control; the target control includes the organizational structure control and/or the user group control; finally, the terminal device responds to the selection operation for the organizational structure directory and/or the user group directory, in the second The selected target object is displayed in the sub-interface, and the target object includes a target organization object and/or a target user object. Since the first sub-interface includes an organizational structure control and a user group control, the organizational structure directory and the user group directory can be displayed through a touch operation on the organizational structure control and/or user group control, so that in the same pop-up window interface, Select the target organization object from the organization structure directory, select the target user object from the user group directory, and realize the selection of two different types of objects, organization and user, without going through the process of interface switching, login, and logout. The process operation is simple and the efficiency is high.

在上述任意实施例的基础上,下面结合附图对本申请的方案进行详细介绍。On the basis of any of the foregoing embodiments, the solution of the present application will be described in detail below in conjunction with the accompanying drawings.

图3为本申请实施例提供的目录显示的流程示意图,如图3所示,包括:Fig. 3 is a schematic flow diagram of the directory display provided by the embodiment of the present application, as shown in Fig. 3, including:

S31,响应于针对目标控件的触控操作,在目标数据库中确定目标控件对应的目标目录。S31. In response to a touch operation on the target control, determine a target directory corresponding to the target control in the target database.

本申请实施例中的目标数据库为用于存储组织架构目录和用户组目录的数据库。终端设备响应于针对目标控件的触控操作,在目标数据库中可以确定对应的目标目录,目标目录包括组织架构目录和/或用户组目录。The target database in the embodiment of the present application is a database for storing organizational structure directories and user group directories. In response to a touch operation on the target control, the terminal device may determine a corresponding target directory in the target database, where the target directory includes an organizational structure directory and/or a user group directory.

S32,在显示区域显示目标目录。S32, displaying the target directory in the display area.

在终端设备确定了目标目录后,即可在显示区域显示目标目录。After the terminal device determines the target directory, it can display the target directory in the display area.

其中,在目标控件包括组织架构控件的情况下,目标目录为组织架构目录,组织架构目录处于可选择状态,用户组目录处于隐藏状态。Wherein, when the target control includes an organization structure control, the target directory is an organization structure directory, the organization structure directory is in a selectable state, and the user group directory is in a hidden state.

在目标控件包括用户组控件的情况下,目标目录为用户组目录,用户组目录处于可选择状态,组织架构目录处于隐藏状态。When the target control includes a user group control, the target directory is a user group directory, the user group directory is in a selectable state, and the organizational structure directory is in a hidden state.

例如可以结合图4对该过程进行介绍。图4为本申请实施例提供的弹窗界面示意图,如图4所示,弹窗界面23中第一子界面24和第二子界面25,在第一子界面24中点击了组织架构控件27后,显示区域26中显示组织架构目录,组织架构目录处于可选择状态,用户可以通过选择组织架构目录中的目录项来选择组织对象,而用户组目录则处于隐藏状态,也处于不可选择状态。For example, this process can be introduced in conjunction with FIG. 4 . Fig. 4 is a schematic diagram of the pop-up window interface provided by the embodiment of the present application. As shown in Fig. 4, the first sub-interface 24 and the second sub-interface 25 in the pop-up window interface 23, clicked on the organizational structure control 27 in the first sub-interface 24 Afterwards, the organization structure directory is displayed in the display area 26. The organization structure directory is in a selectable state, and the user can select an organization object by selecting a directory item in the organization structure directory, while the user group directory is in a hidden state and is also in a non-selectable state.

在第一子界面24中点击了用户组控件28后,显示区域26中显示用户组目录,用户组目录处于可选择状态,用户可以通过选择用户组目录中的目录项来选择用户对象,而组织架构目录则处于隐藏状态,也处于不可选择状态。After the user group control 28 is clicked in the first sub-interface 24, the user group directory is displayed in the display area 26, the user group directory is in a selectable state, the user can select the user object by selecting the directory item in the user group directory, and the organization The schema directory is hidden and not selectable.

在一种实现方式中,终端设备可以在目标数据库中确定了目标目录后,加载显示目标目录中包括的全部目录项,通过渲染的方式进行加载显示。In an implementation manner, after the target directory is determined in the target database, the terminal device may load and display all directory items included in the target directory, and perform loading and display by rendering.

在另一种实现方式中,终端设备可以根据显示区域的尺寸来显示目标目录,下面将结合附图进行介绍。In another implementation manner, the terminal device may display the target directory according to the size of the display area, which will be introduced below with reference to the accompanying drawings.

图5为本申请实施例提供的显示目标目录的流程示意图,如图5所示,包括:Fig. 5 is a schematic flow diagram of displaying the target directory provided by the embodiment of the present application, as shown in Fig. 5, including:

S51,获取显示区域的尺寸。S51. Acquire the size of the display area.

显示区域为用于显示目标目录的区域,由于显示区域的大小是守终端设备限制的,当目标目录中包括的目录项较多时,显示区域无法在同一时刻将所有的目录项进行全部显示。因此,终端设备首先要获取显示区域的尺寸,基于显示区域的尺寸来确定能够显示的目录项的数量。The display area is used to display the target directory. Since the size of the display area is limited by the terminal device, when the target directory contains many directory items, the display area cannot display all the directory items at the same time. Therefore, the terminal device first needs to obtain the size of the display area, and then determine the number of directory items that can be displayed based on the size of the display area.

S52,根据显示区域的尺寸以及多个目录项的顺序,在多个目录项中确定待显示的多个第一目录项。S52. Determine a plurality of first directory items to be displayed among the plurality of directory items according to the size of the display area and the sequence of the plurality of directory items.

当数据量过大时组织和人员的数据渲染在浏览器中会造成卡顿甚至挂掉,本申请实施例使用了原生的渲染技术和虚拟滚动技术实现了在上万数据时的正常显示操作。When the amount of data is too large, the data rendering of organizations and personnel will cause freezes or even hang up in the browser. The embodiment of this application uses native rendering technology and virtual scrolling technology to achieve normal display operation when tens of thousands of data.

具体的,在确定显示区域的尺寸后,终端设备可以根据显示一个目录项所需要的尺寸以及显示区域总的尺寸,确定该显示区域可以用于显示的目录项的数量。Specifically, after determining the size of the display area, the terminal device may determine the number of directory items that can be displayed in the display area according to the size required to display a directory item and the total size of the display area.

在确定显示区域可以用于显示的目录项的数量后,终端设备在目标数据库中确定目标目录下的多个目录项的顺序,进而根据显示区域的尺寸以及多个目录项的顺序,在多个目录项中确定待显示的多个第一目录项,即懒加载的方案。After determining the number of directory items that can be displayed in the display area, the terminal device determines the order of multiple directory items under the target directory in the target database, and then according to the size of the display area and the order of multiple directory items, among multiple A plurality of first directory items to be displayed are determined in the directory item, that is, a solution of lazy loading.

该过程例如可以结合图6进行理解。This process can be understood, for example, in conjunction with FIG. 6 .

图6为本申请实施例提供的确定待显示的目录项的示意图,如图6所示,第一子界面24包括显示区域26、组织架构控件27和用户组控件28。显示区域26可以用于显示目录项的数量为N,N为正整数,在图6中以N=5为例进行介绍。则终端设备可以将多个目录项中的前N个目录项确定为多个第一目录项,如图6中所示,目标目录中包括100个目录项,分别是目录项A1至目录项A100。而终端设备将排序在前面的目录项A1至目录项A5这5个目录项确定为待显示的第一目录项。FIG. 6 is a schematic diagram of determining directory items to be displayed provided by the embodiment of the present application. As shown in FIG. 6 , the first sub-interface 24 includes a display area 26 , an organizational structure control 27 and a user group control 28 . The display area 26 can be used to display that the number of directory entries is N, and N is a positive integer. In FIG. 6 , N=5 is taken as an example for introduction. Then the terminal device can determine the first N directory entries among the plurality of directory entries as a plurality of first directory entries. As shown in FIG. . However, the terminal device determines the five directory items, namely the directory item A1 to the directory item A5 sorted in front, as the first directory item to be displayed.

S53,在显示区域加载显示多个第一目录项。S53. Load and display a plurality of first directory items in the display area.

在确定多个第一目录项后,终端设备可以只需要渲染和加载这多个第一目录项,而无需渲染和加载全部的目录项。由于显示区域的尺寸只允许N个目录项进行显示,因此终端设备无论是渲染和加载全部的目录项,还是仅渲染和加载这N个第一目录项,其在弹窗界面上的显示效果是一致的。但是由于终端设备渲染和加载的目录项的数量大大较小,因此能够提高终端设备渲染和加载的速度,减小了终端设备由于渲染和加载耗费资源大导致系统崩溃的概率。After the multiple first directory items are determined, the terminal device may only need to render and load the multiple first directory items, without rendering and loading all the directory items. Since the size of the display area only allows N directory items to be displayed, whether the terminal device renders and loads all the directory items, or only renders and loads the N first directory items, the display effect on the pop-up window interface is consistent. However, since the number of directory items rendered and loaded by the terminal device is much smaller, the rendering and loading speed of the terminal device can be improved, and the probability of system crash caused by the large resource consumption of rendering and loading of the terminal device is reduced.

在一种实现方式中,显示区域26中还包括滑动控件61,滑动控件61用于触发排序靠后的目录项的显示。In one implementation manner, the display area 26 further includes a slide control 61, which is used to trigger the display of lower-ordered directory items.

具体的,当用户想要查看由于显示区域26的尺寸限制导致未被显示的目录项时,可以操作滑动控件61。Specifically, when the user wants to view catalog items that are not displayed due to the size limitation of the display area 26 , the slide control 61 can be operated.

终端设备响应于针对滑动控件61的滑动操作,根据显示区域的尺寸,在多个目录项中确定待显示的多个第二目录项,并在显示区域加载显示多个第二目录项。可以理解的是,针对滑动控件61的操作,可以是上滑操作,也可以是下滑操作。相应的,当针对滑动控件61的操作是上滑操作时,在当前显示的目录项的基础上,终端设备从目标数据库中确定待显示的目录项,待显示的目录项处于当前显示的目录项的前面;当针对滑动控件61的操作是下滑操作时,在当前显示的目录项的基础上,终端设备从目标数据库中确定待显示的目录项,待显示的目录项处于当前显示的目录项的后面。且滑动控件61滑动的幅度越大,待显示的目录项与当前显示的目录项的距离越远。In response to the sliding operation on the sliding control 61 , the terminal device determines a plurality of second directory items to be displayed among the plurality of directory items according to the size of the display area, and loads and displays the plurality of second directory items in the display area. It can be understood that the operation of the sliding control 61 may be an upward sliding operation or a downward sliding operation. Correspondingly, when the operation on the sliding control 61 is an upward sliding operation, on the basis of the currently displayed catalog item, the terminal device determines the catalog item to be displayed from the target database, and the catalog item to be displayed is in the currently displayed catalog item When the operation for the sliding control 61 is a sliding operation, on the basis of the currently displayed catalog item, the terminal device determines the catalog item to be displayed from the target database, and the catalog item to be displayed is at the bottom of the currently displayed catalog item. later. Moreover, the larger the sliding range of the sliding control 61 is, the farther the distance between the directory item to be displayed and the currently displayed directory item is.

例如在图6中,当前显示的第一目录项为目录项A1至目录项A5,用户控制滑动控件61向下滑动,终端设备响应于针对滑动控件61的滑动操作,在目标数据库中确定待显示的多个第二目录项,即目录项A61至目录项A65,并在显示区域加载显示目录项A61至目录项A65。任意时刻,终端设备均在目标数据库中确定了待显示的目录项后,在显示区域加载显示待显示的目录项即可,无需加载显示全部的目录项,从而能够提高终端设备渲染和加载的速度,减小了终端设备由于渲染和加载耗费资源大导致系统崩溃的概率。For example, in FIG. 6 , the currently displayed first directory items are directory items A1 to A5, and the user controls the sliding control 61 to slide downwards, and the terminal device determines in the target database to be displayed in response to the sliding operation on the sliding control 61 multiple second directory items, namely directory item A61 to directory item A65, and load and display directory item A61 to directory item A65 in the display area. At any time, after the terminal device has determined the directory items to be displayed in the target database, it only needs to load and display the directory items to be displayed in the display area, without loading and displaying all the directory items, which can improve the rendering and loading speed of the terminal device , which reduces the probability of system crashes on terminal devices due to high resource consumption for rendering and loading.

进一步的,显示区域中显示的组织树形结构可以为开源ztree.js二次开发的vue树组件,采用原生的渲染,效率更高,也可以支持组织架构数据量庞大的渲染。懒加载的方式展开某一级时才调用接口查询提升了初始加载时的速度,默认为展开前三级。搜索框中可以输入默认搜索匹配的组织和用户在下面分类展示,支持虚拟滚动加载大数据的用户且搜索到的组织还可以展开并勾选或者查看组织中的用户。Furthermore, the organization tree structure displayed in the display area can be a vue tree component developed by the open source ztree.js, which adopts native rendering, which is more efficient, and can also support the rendering of a large amount of organization structure data. The lazy loading method calls the interface query only when a certain level is expanded, which improves the speed of the initial loading. The default is to expand the first three levels. In the search box, you can enter the organizations and users that match the default search and display them in the following categories. Virtual scrolling is supported to load users with big data, and the searched organizations can also expand and check or view users in the organization.

在上述实施例中介绍了如何在显示区域加载显示目标目录的实现方案,下面结合附图介绍如何确定目标对象。In the above-mentioned embodiments, an implementation solution of how to load and display the target directory in the display area is introduced. The following describes how to determine the target object in conjunction with the accompanying drawings.

图7为本申请实施例提供的确定目标对象的流程示意图,如图7所示,包括:Fig. 7 is a schematic flow chart of determining the target object provided by the embodiment of the present application, as shown in Fig. 7, including:

S71,响应于针对组织架构目录下的组织目录项的选择操作,将被选中的组织目录项对应的组织对象确定为目标组织对象。S71. In response to a selection operation on an organization directory item under the organization structure directory, determine an organization object corresponding to the selected organization directory item as a target organization object.

组织架构目录下包括多个组织目录项,任意一个组织目录项均对应一个相应的组织,该组织下可以包括下级的组织,也可以包括该组织下的用户对象。例如,某个组织目录对应的组织为第一部门,该第一部门下还可以包括一定数量的子部门,这些子部门也属于组织对象。该第一部门下还可以包括用户A和用户B,用户A和用户B属于用户对象。The organization structure directory includes multiple organization directory items, and any organization directory item corresponds to a corresponding organization, which may include subordinate organizations or user objects under the organization. For example, the organization corresponding to an organization directory is the first department, and the first department may also include a certain number of sub-departments, and these sub-departments also belong to the organization object. The first department may also include user A and user B, and user A and user B belong to user objects.

当确定想要选择的组织对象时,可以通过选择想要的组织目录项来确定组织对象,终端设备响应于针对组织架构目录下的组织目录项的选择操作,将被选中的组织目录项对应的组织对象确定为目标组织对象,目标组织对象即为选中的组织对象。When determining the organization object to be selected, the organization object can be determined by selecting the desired organization directory item, and the terminal device responds to the selection operation for the organization directory item under the organization structure directory, and the selected organization directory item corresponds to The organization object is determined as the target organization object, and the target organization object is the selected organization object.

S72,响应于针对用户组目录下的用户目录项的选择操作,将被选中的用户目录项对应的用户对象确定为目标用户对象。S72. In response to a selection operation on a user directory item under the user group directory, determine a user object corresponding to the selected user directory item as a target user object.

用户组目录下包括多个用户目录项,任意一个用户目录项均对应一个相应的用户。The user group directory includes multiple user directory entries, and any user directory entry corresponds to a corresponding user.

当确定想要选择的用户对象时,可以通过选择想要的用户目录项来确定用户对象,终端设备响应于针对用户组目录下的用户目录项的选择操作,将被选中的用户目录项对应的用户对象确定为目标用户对象,目标用户对象即为选中的用户对象。When determining the user object to be selected, the user object can be determined by selecting the desired user directory item, and the terminal device responds to the selection operation for the user directory item under the user group directory, and the corresponding The user object is determined as the target user object, and the target user object is the selected user object.

S73,确定各目标对象之间的显示顺序。S73. Determine the display sequence among the target objects.

在确定了目标对象之后,需要确定各目标对象之间的显示顺序,才能在第二子界面中显示各个目标对象。After the target objects are determined, the display order among the target objects needs to be determined before each target object can be displayed in the second sub-interface.

具体的,首先确定各目标对象对应的时间信息,该时间信息用于指示对应的目标对象被选中的时刻。然后,确定各目标对象对应的类型信息,该类型信息用于指示目标对象属于组织对象类型或用户对象类型。Specifically, firstly, time information corresponding to each target object is determined, and the time information is used to indicate the time when the corresponding target object is selected. Then, determine the type information corresponding to each target object, where the type information is used to indicate 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 according to the type information that each target object belongs to the same type, the display sequence among the target objects is directly determined according to the time information corresponding to each target object. For example, sorting may be performed according to the time when each target object is selected to obtain a display order among each target object.

例如,若根据类型信息确定各目标对象包括组织对象和用户对象,也可以直接根据各目标对象对应的时间信息,来确定各目标对象之间的显示顺序。例如,可以根据各目标对象被选中的时刻来进行排序,得到各目标对象之间的显示顺序。For example, if it is determined according to the type information that each target object includes an organization object and a user object, the display order among each target object may also be directly determined according to the time information corresponding to each target object. For example, sorting may be performed according to the time when each target object is selected to obtain a display order among each target object.

例如,若根据类型信息确定各目标对象包括组织对象类型和用户对象类型的对象,首先根据类型信息对各目标对象进行分类,组织对象类型属于一类,用户对象类型属于另一类。然后,针对组织对象类型,根据这一类型中的各目标对象对应的时间信息,来确定组织对象类型中的各目标对象之间的显示顺序;针对用户对象类型,根据这一类型中的各目标对象对应的时间信息,来确定用户对象类型中的各目标对象之间的显示顺序。然后,确定组织对象类型和目标对象类型显示的先后顺序,从而根据组织对象类型和目标对象类型显示的先后顺序,以及组织对象类型中的各目标对象之间的显示顺序、用户对象类型中的各目标对象之间的显示顺序,确定各目标对象之间的显示顺序。For example, if it is determined according to the type information that each target object includes an organization object type and a user object type object, firstly classify each target object according to the type information, the organization object type belongs to one type, and the user object type belongs to another type. Then, for the type of organizational object, according to the time information corresponding to each target object in this type, determine the display order among the target objects in the organizational object type; The time information corresponding to the object is used to determine the display order among the target objects in the user object type. Then, determine the display sequence of the organization object type and the target object type, so that according to the display sequence of the organization object type and the target object type, as well as the display sequence of the target objects in the organization The display order among the target objects determines the display order among the various target objects.

例如,若确定组织对象类型显示在用户对象类型之前,则将属于组织对象类型的各目标对象根据对应的时间信息进行加载显示,在属于组织对象类型的各目标对象后,即为属于用户对象类型的各目标对象,属于用户对象类型的各目标对象也是基于对应的时间信息进行显示。For example, if it is determined that the organization object type is displayed before the user object type, each target object belonging to the organization object type is loaded and displayed according to the corresponding time information, and after each target object belonging to the organization object type, it is the user object type Each target object of , and each target object belonging to the user object type is also displayed based on the corresponding time information.

S74,根据显示顺序,在第二子界面中显示各目标对象。S74. Display each target object on the second sub-interface according to the display sequence.

在得到各目标对象之间的显示顺序后,即可根据显示顺序在第二子界面中显示各目标对象。After obtaining the display order among the target objects, the target objects can be displayed in the second sub-interface according to the display order.

在一个实施例中,第一子界面中还包括输入框和搜索控件,通过输入框和搜索控件可以实现对象的模糊搜索,下面结合图8进行介绍。In one embodiment, the first sub-interface further includes an input box and a search control, through which a fuzzy search for an object can be realized, which will be introduced in conjunction with FIG. 8 below.

图8为本申请实施例提供的模糊搜索的示意图,如图8所示,第一子界面24中包括显示区域26、组织架构控件27和用户组控件28,还包括输入框81和搜索控件82,输入框81用于输入文本。Fig. 8 is a schematic diagram of the fuzzy search provided by the embodiment of the present application. As shown in Fig. 8, the first sub-interface 24 includes a display area 26, an organizational structure control 27 and a user group control 28, and also includes an input box 81 and a search control 82 , the input box 81 is used to input text.

当想要搜索系统中与某个关键词相关的对象时,可以在输入框81中输入该关键词。终端设备响应于针对输入框81的输入操作,获取对应的输入文本,即该关键词,例如在图8中,输入文本为“一”。然后,终端设备响应于针对搜索控件82的触控操作,在显示区域26显示输入文本的关联对象,该关联对象包括至少一个组织对象和/或至少一个用户对象。例如在图8中,与输入文本“一”关联的对象包括“第一部门”、“第十一部门”这两个组织对象,还包括“张十一”、“王十一”这两个用户对象。When it is desired to search for objects related to a certain keyword in the system, the keyword can be input in the input box 81 . In response to the input operation on the input box 81 , the terminal device acquires the corresponding input text, that is, the keyword. For example, in FIG. 8 , the input text is "one". Then, in response to the touch operation on the search control 82 , the terminal device displays associated objects of the input text on the display area 26 , where the associated objects include at least one organization object and/or at least one user object. For example, in Figure 8, the objects associated with the input text "one" include the two organization objects "First Department" and "Eleventh Department", and also include the two organization objects "Zhang Shiyi" and "Wang Shishi". User object.

在显示区域26显示了输入文本的关联对象后,用户可以在关联对象中进行选择。终端设备响应于针对关联对象的选择操作,更新显示第二子界面。例如在图8中,用户在多个关联对象中选中了“第一部门”,则“第一部门”被选中为目标对象显示在第二子界面中。After the associated objects of the input text are displayed in the display area 26, the user can make a selection among the associated objects. The terminal device updates and displays the second sub-interface in response to the selection operation on the associated object. For example, in FIG. 8 , if the user selects "the first department" among multiple associated objects, "the first department" is selected as the target object and displayed in the second sub-interface.

在一种可能的实现方式中,弹窗界面中还包括确定控件。在第二子界面中显示了各目标对象后,还可以点击确定控件。终端设备响应于针对确定控件的触控操作,停止显示该弹窗界面,完成了目标对象的选择,并可以根据目标对象更新显示系统界面。例如,可以将选中的目标对象显示在系统界面上。In a possible implementation manner, the pop-up window interface further includes a determination control. After each target object is displayed in the second sub-interface, a confirmation control can also be clicked. In response to the touch operation on the determined control, the terminal device stops displaying the pop-up window interface, completes the selection of the target object, and can update and display the system interface according to the target object. For example, the selected target object can be displayed on the system interface.

综上所述,本申请实施例的方案,由于第一子界面中包括组织架构控件和用户组控件,通过针对组织架构控件和/或用户组控件的触控操作可以显示组织架构目录和用户组目录,从而可以在同一个弹窗界面中,从组织架构目录中选择目标组织对象,从用户组目录中选择目标用户对象,无需通过来回的界面切换、登录、退出等过程即可实现组织和用户这两类不同类型的对象的选择,其选择过程操作简单,效率较高。同时还提供模糊搜索功能进行目标对象的选择,使得系统中选择对象的实现方式更加多功能化。To sum up, in the solution of the embodiment of the present application, since the first sub-interface includes the organization structure control and the user group control, the organization structure directory and the user group can be displayed through the touch operation on the organization structure control and/or the user group control Directory, so that in the same pop-up window interface, you can select the target organization object from the organization structure directory, select the target user object from the user group directory, and realize organization and user without going through the process of interface switching, login, and logout. The selection process of these two different types of objects is simple and efficient. At the same time, it also provides a fuzzy search function to select the target object, which makes the realization of the selected object in the system more multi-functional.

下面对本申请提供的选择系统中对象的装置进行描述,下文描述的选择系统中对象的装置与上文描述的选择系统中对象的方法可相互对应参照。The following describes the device for selecting an object in the system provided by this application. The device for selecting an object in the system described below and the method for selecting an object in the system described above can be referred to in correspondence.

图9为本申请实施例提供的选择系统中对象的装置的结构示意图,通过终端设备提供系统界面,所述系统界面中包括对象选择控件,如图9所示,该装置包括:Fig. 9 is a schematic structural diagram of a device for selecting an object in the system provided by an embodiment of the present application. A system interface is provided through a terminal device, and the system interface includes an object selection control. As shown in Fig. 9, the device includes:

第一显示模块91,用于响应于针对所述对象选择控件的触控操作,显示弹窗界面,所述弹窗界面中包括第一子界面和第二子界面;所述第一子界面包括组织架构控件、用户组控件和显示区域;The first display module 91 is configured to display a pop-up window interface in response to a touch operation on the object selection control, and the pop-up window interface includes a first sub-interface and a second sub-interface; the first sub-interface includes Organizational structure controls, user group controls and display areas;

第二显示模块92,用于响应于针对所述目标控件的触控操作,在所述显示区域显示所述组织架构控件对应的组织架构目录和/或所述用户组控件对应的用户组目录;所述目标控件包括所述组织架构控件和/或所述用户组控件;The second display module 92 is configured to display in the display area the organization structure directory corresponding to the organization structure control and/or the user group directory corresponding to the user group control in response to a touch operation on the target control; The target control includes the organizational structure control and/or the user group control;

第三显示模块93,用于响应于针对所述组织架构目录和/或所述用户组目录的选择操作,在所述第二子界面中显示被选中的目标对象,所述目标对象包括目标组织对象和/或目标用户对象。The third display module 93 is configured to display the selected target object in the second sub-interface in response to the selection operation on the organizational structure directory and/or the user group directory, and the target object includes a target organization object and/or target user object.

在一种可能的实施方式中,所述第二显示模块92具体用于:In a possible implementation manner, the second display module 92 is specifically used for:

响应于针对所述目标控件的触控操作,在目标数据库中确定所述目标控件对应的目标目录;In response to a touch operation on the target control, determine a target directory corresponding to the target control in the target database;

在所述显示区域显示所述目标目录;displaying the target directory in the display area;

其中,在所述目标控件包括所述组织架构控件的情况下,所述目标目录为所述组织架构目录,所述组织架构目录处于可选择状态,所述用户组目录处于隐藏状态;Wherein, when the target control includes the organizational structure control, the target directory is the organizational structure directory, the organizational structure directory is in a selectable state, and the user group directory is in a hidden state;

在所述目标控件包括所述用户组控件的情况下,所述目标目录为所述用户组目录,所述用户组目录处于可选择状态,所述组织架构目录处于隐藏状态。When the target control includes the user group control, the target directory is the user group directory, the user group directory is in a selectable state, and the organizational structure directory is in a hidden state.

在一种可能的实施方式中,所述目标目录包括多个目录项;所述第二显示模块92具体用于:In a possible implementation manner, the target directory includes multiple directory items; the second display module 92 is specifically configured to:

获取所述显示区域的尺寸;Obtain the size of the display area;

根据所述显示区域的尺寸以及所述多个目录项的顺序,在所述多个目录项中确定待显示的多个第一目录项;determining a plurality of first directory items to be displayed among the plurality of directory items according to the size of the display area and the order of the plurality of directory items;

在所述显示区域加载显示所述多个第一目录项。Loading and displaying the plurality of first directory items in the display area.

在一种可能的实施方式中,所述显示区域中还包括滑动控件,所述第二显示模块92还用于:In a possible implementation manner, the display area further includes a sliding control, and the second display module 92 is also used for:

响应于针对所述滑动控件的滑动操作,根据所述显示区域的尺寸在所述多个目录项中确定待显示的多个第二目录项;In response to a sliding operation on the sliding control, determining a plurality of second directory items to be displayed among the plurality of directory items according to the size of the display area;

在所述显示区域加载显示所述多个第二目录项。Loading and displaying the plurality of second directory items in the display area.

在一种可能的实施方式中,所述第三显示模块93具体用于:In a possible implementation manner, the third display module 93 is specifically used for:

响应于针对所述组织架构目录下的组织目录项的选择操作,将被选中的组织目录项对应的组织对象确定为所述目标组织对象;In response to a selection operation for an organization directory item under the organization structure directory, determine an organization object corresponding to the selected organization directory item as the target organization object;

响应于针对所述用户组目录下的用户目录项的选择操作,将被选中的用户目录项对应的用户对象确定为所述目标用户对象;In response to a selection operation on a user directory item under the user group directory, determining a user object corresponding to the selected user directory item as the target user object;

确定各所述目标对象之间的显示顺序;determining a display sequence among the target objects;

根据所述显示顺序,在所述第二子界面中显示各所述目标对象。According to the display sequence, each of the target objects is displayed in the second sub-interface.

在一种可能的实施方式中,所述第三显示模块93具体用于:In a possible implementation manner, the third display module 93 is specifically used for:

确定各所述目标对象对应的时间信息,所述时间信息用于指示所述目标对象被选中的时刻;determining time information corresponding to each of the target objects, where the time information is used to indicate the moment when the target object is selected;

确定各所述目标对象对应的类型信息,所述类型信息用于指示所述目标对象属于组织对象类型或用户对象类型;determining type information corresponding to each of the target objects, where the type information is used to indicate that the target object belongs to an organization object type or a user object type;

根据所述时间信息和所述类型信息,确定所述显示顺序。The display sequence is determined according to the time information and the type information.

在一种可能的实施方式中,所述第一子界面中还包括输入框和搜索控件;所述第三显示模块93还用于:In a possible implementation manner, the first sub-interface further includes an input box and a search control; the third display module 93 is also used for:

响应于针对所述输入框的输入操作,获取对应的输入文本;In response to an input operation on the input box, obtain corresponding input text;

响应于针对所述搜索控件的触控操作,在所述显示区域显示所述输入文本的关联对象,所述关联对象包括至少一个组织对象和/或至少一个用户对象;In response to a touch operation on the search control, display associated objects of the input text in the display area, where the associated objects include at least one organization object and/or at least one user object;

响应于针对所述关联对象的选择操作,更新显示所述第二子界面。In response to a selection operation on the associated object, the second sub-interface is updated and displayed.

在一种可能的实施方式中,所述弹窗界面中还包括确定控件;所述第三显示模块93还用于:In a possible implementation manner, the pop-up window interface further includes a confirmation control; the third display module 93 is also used for:

响应于针对所述确定控件的触控操作,停止显示所述弹窗界面;Stop displaying the pop-up window interface in response to the touch operation on the determined control;

根据所述目标对象更新显示所述系统界面。The system interface is updated and displayed according to the target object.

图10示例了一种电子设备的实体结构示意图,如图10所示,该电子设备可以包括:处理器(processor)1010、通信接口(Communications Interface)1020、存储器(memory)1030和通信总线1040,其中,处理器1010,通信接口1020,存储器1030通过通信总线1040完成相互间的通信。处理器1010可以调用存储器1030中的逻辑指令,以执行选择系统中对象的方法,通过终端设备提供系统界面,所述系统界面中包括对象选择控件,该方法包括:响应于针对所述对象选择控件的触控操作,显示弹窗界面,所述弹窗界面中包括第一子界面和第二子界面;所述第一子界面包括组织架构控件、用户组控件和显示区域;响应于针对目标控件的触控操作,在所述显示区域显示所述组织架构控件对应的组织架构目录和/或所述用户组控件对应的用户组目录;所述目标控件包括所述组织架构控件和/或所述用户组控件;响应于针对所述组织架构目录和/或所述用户组目录的选择操作,在所述第二子界面中显示被选中的目标对象,所述目标对象包括目标组织对象和/或目标用户对象。FIG. 10 illustrates a schematic diagram of the physical structure of an electronic device. 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 through the communication bus 1040 . The processor 1010 may invoke logic instructions in the memory 1030 to execute a method for selecting an object in the system, provide a system interface through a terminal device, the system interface includes an object selection control, and the method includes: responding to the object selection control touch operation to display a pop-up window interface, the pop-up window interface includes a first sub-interface and a second sub-interface; the first sub-interface includes an organizational structure control, a user group control and a display area; in response to the target control touch operation, displaying in the display area the organizational structure directory corresponding to the organizational structure control and/or the user group directory corresponding to the user group control; the target control includes the organizational structure control and/or the User group control; in response to a selection operation on the organizational structure directory and/or the user group directory, display the selected target object in the second sub-interface, where the target object includes a target organization object and/or target user object.

此外,上述的存储器1030中的逻辑指令可以通过软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。In addition, the above-mentioned logic instructions in the memory 1030 may be implemented in the form of software functional units and be stored in a computer-readable storage medium when sold or used as an independent product. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disk, and other media that can store program codes. .

另一方面,本申请还提供一种计算机程序产品,所述计算机程序产品包括计算机程序,计算机程序可存储在非暂态计算机可读存储介质上,所述计算机程序被处理器执行时,计算机能够执行上述各方法所提供的选择系统中对象的方法,通过终端设备提供系统界面,所述系统界面中包括对象选择控件,该方法包括:响应于针对所述对象选择控件的触控操作,显示弹窗界面,所述弹窗界面中包括第一子界面和第二子界面;所述第一子界面包括组织架构控件、用户组控件和显示区域;响应于针对目标控件的触控操作,在所述显示区域显示所述组织架构控件对应的组织架构目录和/或所述用户组控件对应的用户组目录;所述目标控件包括所述组织架构控件和/或所述用户组控件;响应于针对所述组织架构目录和/或所述用户组目录的选择操作,在所述第二子界面中显示被选中的目标对象,所述目标对象包括目标组织对象和/或目标用户对象。On the other hand, the present application also provides a computer program product, the computer program product includes a computer program, the computer program can be stored on a non-transitory computer-readable storage medium, and when the computer program is executed by a processor, the computer can Executing the methods for selecting objects in the system provided by the above methods, providing a system interface through the terminal device, the system interface including an object selection control, the method includes: responding to a touch operation on the object selection control, displaying a pop-up Window interface, the pop-up window interface includes a first sub-interface and a second sub-interface; the first sub-interface includes an organizational structure control, a user group control, and a display area; in response to a touch operation on the target control, the The display area displays the organizational structure directory corresponding to the organizational structure control and/or the user group directory corresponding to the user group control; the target control includes the organizational structure control and/or the user group control; in response to The selection operation of the organizational structure directory and/or the user group directory displays the selected target object in the second sub-interface, and the target object includes a target organization object and/or a target user object.

又一方面,本申请还提供一种非暂态计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现以执行上述各方法提供的选择系统中对象的方法,通过终端设备提供系统界面,所述系统界面中包括对象选择控件,该方法包括:响应于针对所述对象选择控件的触控操作,显示弹窗界面,所述弹窗界面中包括第一子界面和第二子界面;所述第一子界面包括组织架构控件、用户组控件和显示区域;响应于针对目标控件的触控操作,在所述显示区域显示所述组织架构控件对应的组织架构目录和/或所述用户组控件对应的用户组目录;所述目标控件包括所述组织架构控件和/或所述用户组控件;响应于针对所述组织架构目录和/或所述用户组目录的选择操作,在所述第二子界面中显示被选中的目标对象,所述目标对象包括目标组织对象和/或目标用户对象。In yet another aspect, the present application also provides a non-transitory computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, it is implemented to perform the methods for selecting objects in the system provided by the above-mentioned methods, through The terminal device provides a system interface, the system interface includes an object selection control, the method includes: in response to a touch operation on the object selection control, displaying a pop-up window interface, the pop-up window interface includes a first sub-interface and The second sub-interface; the first sub-interface includes an organizational structure control, a user group control, and a display area; in response to a touch operation on the target control, the organizational structure directory and the organizational structure control corresponding to the organizational structure control are displayed in the display area /or the user group directory corresponding to the user group control; the target control includes the organizational structure control and/or the user group control; in response to the selection of the organizational structure directory and/or the user group directory Operation, displaying the selected target object in the second sub-interface, where the target object includes a target organization object and/or a target user object.

以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性的劳动的情况下,即可以理解并实施。The device embodiments described above are only illustrative, and the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in One place, or it can be distributed to multiple network elements. Part or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment. It can be understood and implemented by those skilled in the art without any creative effort.

通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到各实施方式可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件。基于这样的理解,上述技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可读存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行各个实施例或者实施例的某些部分所述的方法。Through the above description of the implementations, those skilled in the art can clearly understand that each implementation can be implemented by means of software plus a necessary general hardware platform, and of course also by hardware. Based on this understanding, the essence of the above technical solution or the part that contributes to the prior art can be embodied in the form of software products, and the computer software products can be stored in computer-readable storage media, such as ROM/RAM, magnetic CD, CD, etc., including several instructions to make a computer device (which may be a personal computer, server, or network device, etc.) execute the methods described in various 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, rather than limiting them; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: it can still Modifications are made to the technical solutions described in the foregoing embodiments, or equivalent replacements are made to some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the various embodiments of the present application.

Claims (10)

1.一种选择系统中对象的方法,其特征在于,通过终端设备提供系统界面,所述系统界面中包括对象选择控件,所述方法包括:1. A method for selecting an object in a system, characterized in that, a system interface is provided by a terminal device, the system interface includes an object selection control, and the method comprises: 响应于针对所述对象选择控件的触控操作,显示弹窗界面,所述弹窗界面中包括第一子界面和第二子界面;所述第一子界面包括组织架构控件、用户组控件和显示区域;In response to the touch operation on the object selection control, a pop-up window interface is displayed, and the pop-up window interface includes a first sub-interface and a second sub-interface; the first sub-interface includes an organizational structure control, a user group control and Display area; 响应于针对目标控件的触控操作,在所述显示区域显示所述组织架构控件对应的组织架构目录和/或所述用户组控件对应的用户组目录;所述目标控件包括所述组织架构控件和/或所述用户组控件;In response to a touch operation on the target control, the organizational structure directory corresponding to the organizational structure control and/or the user group directory corresponding to the user group control are displayed in the display area; the target control includes the organizational structure control and/or said user group controls; 响应于针对所述组织架构目录和/或所述用户组目录的选择操作,在所述第二子界面中显示被选中的目标对象,所述目标对象包括目标组织对象和/或目标用户对象。In response to a selection operation on the organizational structure directory and/or the user group directory, selected target objects are displayed in the second sub-interface, where the target objects include target organization objects and/or target user objects. 2.根据权利要求1所述的方法,其特征在于,所述响应于针对目标控件的触控操作,在所述显示区域显示所述组织架构控件对应的组织架构目录和/或所述用户组控件对应的用户组目录,包括:2. The method according to claim 1, wherein in response to the touch operation on the target control, the organizational structure directory corresponding to the organizational structure control and/or the user group are displayed in the display area The user group directory corresponding to the control, including: 响应于针对所述目标控件的触控操作,在目标数据库中确定所述目标控件对应的目标目录;In response to a touch operation on the target control, determine a target directory corresponding to the target control in the target database; 在所述显示区域显示所述目标目录;displaying the target directory in the display area; 其中,在所述目标控件包括所述组织架构控件的情况下,所述目标目录为所述组织架构目录,所述组织架构目录处于可选择状态,所述用户组目录处于隐藏状态;Wherein, when the target control includes the organizational structure control, the target directory is the organizational structure directory, the organizational structure directory is in a selectable state, and the user group directory is in a hidden state; 在所述目标控件包括所述用户组控件的情况下,所述目标目录为所述用户组目录,所述用户组目录处于可选择状态,所述组织架构目录处于隐藏状态。When the target control includes the user group control, the target directory is the user group directory, the user group directory is in a selectable state, and the organizational structure directory is in a hidden state. 3.根据权利要求2所述的方法,其特征在于,所述目标目录包括多个目录项;所述在所述显示区域显示所述目标目录,包括:3. The method according to claim 2, wherein the target directory includes a plurality of directory items; and displaying the target directory in the display area comprises: 获取所述显示区域的尺寸;Obtain the size of the display area; 根据所述显示区域的尺寸以及所述多个目录项的顺序,在所述多个目录项中确定待显示的多个第一目录项;determining a plurality of first directory items to be displayed among the plurality of directory items according to the size of the display area and the order of the plurality of directory items; 在所述显示区域加载显示所述多个第一目录项。Loading and displaying the plurality of first directory items in the display area. 4.根据权利要求3所述的方法,其特征在于,所述显示区域中还包括滑动控件,所述方法还包括:4. The method according to claim 3, wherein the display area further includes a sliding control, and the method further comprises: 响应于针对所述滑动控件的滑动操作,根据所述显示区域的尺寸在所述多个目录项中确定待显示的多个第二目录项;In response to a sliding operation on the sliding control, determining a plurality of second directory items to be displayed among the plurality of directory items according to the size of the display area; 在所述显示区域加载显示所述多个第二目录项。Loading and displaying the plurality of second directory items in the display area. 5.根据权利要求2-4任一项所述的方法,其特征在于,所述响应于针对所述组织架构目录和/或所述用户组目录的选择操作,在所述第二子界面中显示被选中的目标对象,包括:5. The method according to any one of claims 2-4, wherein in response to the selection operation on the organizational structure directory and/or the user group directory, in the second sub-interface Displays the selected target objects, including: 响应于针对所述组织架构目录下的组织目录项的选择操作,将被选中的组织目录项对应的组织对象确定为所述目标组织对象;In response to a selection operation for an organization directory item under the organization structure directory, determine an organization object corresponding to the selected organization directory item as the target organization object; 响应于针对所述用户组目录下的用户目录项的选择操作,将被选中的用户目录项对应的用户对象确定为所述目标用户对象;In response to a selection operation on a user directory item under the user group directory, determining a user object corresponding to the selected user directory item as the target user object; 确定各所述目标对象之间的显示顺序;determining a display sequence among the target objects; 根据所述显示顺序,在所述第二子界面中显示各所述目标对象。According to the display sequence, each of the target objects is displayed in the second sub-interface. 6.根据权利要求5所述的方法,其特征在于,所述确定各所述目标对象之间的显示顺序,包括:6. The method according to claim 5, wherein said determining the display order among said target objects comprises: 确定各所述目标对象对应的时间信息,所述时间信息用于指示所述目标对象被选中的时刻;determining time information corresponding to each of the target objects, where the time information is used to indicate the moment when the target object is selected; 确定各所述目标对象对应的类型信息,所述类型信息用于指示所述目标对象属于组织对象类型或用户对象类型;determining type information corresponding to each of the target objects, where the type information is used to indicate that the target object belongs to an organization object type or a user object type; 根据所述时间信息和所述类型信息,确定所述显示顺序。The display sequence is determined according to the time information and the type information. 7.根据权利要求1-4任一项所述的方法,其特征在于,所述第一子界面中还包括输入框和搜索控件;所述方法还包括:7. The method according to any one of claims 1-4, wherein the first sub-interface further includes an input box and a search control; the method further includes: 响应于针对所述输入框的输入操作,获取对应的输入文本;In response to an input operation on the input box, obtain corresponding input text; 响应于针对所述搜索控件的触控操作,在所述显示区域显示所述输入文本的关联对象,所述关联对象包括至少一个组织对象和/或至少一个用户对象;In response to a touch operation on the search control, display associated objects of the input text in the display area, where the associated objects include at least one organization object and/or at least one user object; 响应于针对所述关联对象的选择操作,更新显示所述第二子界面。In response to a selection operation on the associated object, the second sub-interface is updated and displayed. 8.根据权利要求1-4任一项所述的方法,其特征在于,所述弹窗界面中还包括确定控件;所述方法还包括:8. The method according to any one of claims 1-4, wherein the pop-up window interface also includes a determination control; the method further includes: 响应于针对所述确定控件的触控操作,停止显示所述弹窗界面;Stop displaying the pop-up window interface in response to a touch operation on the determined control; 根据所述目标对象更新显示所述系统界面。The system interface is updated and displayed according to the target object. 9.一种选择系统中对象的装置,其特征在于,通过终端设备提供系统界面,所述系统界面中包括对象选择控件,所述装置包括:9. A device for selecting objects in the system, characterized in that a system interface is provided through a terminal device, the system interface includes an object selection control, and the device includes: 第一显示模块,用于响应于针对所述对象选择控件的触控操作,显示弹窗界面,所述弹窗界面中包括第一子界面和第二子界面;所述第一子界面包括组织架构控件、用户组控件和显示区域;The first display module is configured to display a pop-up window interface in response to a touch operation on the object selection control, and the pop-up window interface includes a first sub-interface and a second sub-interface; the first sub-interface includes an organization Architecture controls, user group controls and display areas; 第二显示模块,用于响应于针对目标控件的触控操作,在所述显示区域显示所述组织架构控件对应的组织架构目录和/或所述用户组控件对应的用户组目录;所述目标控件包括所述组织架构控件和/或所述用户组控件;The second display module is configured to display in the display area the organizational structure directory corresponding to the organizational structure control and/or the user group directory corresponding to the user group control in response to a touch operation on the target control; the target The controls include the organizational structure 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 on the organizational structure directory and/or the user group directory, where the target object includes a target organization object and/or target user objects. 10.一种电子设备,包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,其特征在于,所述处理器执行所述程序时实现如权利要求1至8任一项所述的选择系统中对象的方法。10. An electronic device comprising a memory, a processor, and a computer program stored on the memory and operable on the processor, wherein the processor according to claim 1 is implemented when executing the program. The method for selecting objects in the system described in any one of to 8.
CN202310031217.8A 2023-01-10 2023-01-10 Method, device and equipment for selecting object in system Pending CN115826827A (en)

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)

* Cited by examiner, † Cited by third party
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

Patent Citations (5)

* Cited by examiner, † Cited by third party
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
CN105493075B (en) Attribute value retrieval based on identified entities
US9846699B2 (en) System and methods thereof for dynamically updating the contents of a folder on a device
US20140330821A1 (en) Recommending context based actions for data visualizations
US10908793B2 (en) Persistent application interface management
JP2011520201A (en) Providing search results for mobile computing devices
US20150242474A1 (en) Inline and context aware query box
US8707200B2 (en) Object browser with proximity sorting
US9654654B1 (en) Interface to facilitate browsing of items of visual content
CN109063215B (en) Data retrieval method and device
JP2022106948A (en) Information display method, device, electronic apparatus, storage media, and computer program
US10275497B2 (en) Electronic whiteboard system, search result display method of electronic whiteboard, and non-transitory computer readable medium storing program thereof
CN117425887A (en) Data processing method, device, electronic equipment and computer readable storage medium
US9298712B2 (en) Content and object metadata based search in e-reader environment
CN114385672A (en) Information processing method and device, electronic device and storage medium
CN115826827A (en) Method, device and equipment for selecting object in system
US9355376B2 (en) Rules library for sales playbooks
CN114077371B (en) Information display method, device, electronic equipment and storage medium
WO2018204102A1 (en) Stowing and unstowing browser tabs in groups each corresponding to a different subject
CN111984809A (en) Image searching method and related device
CN114265533A (en) Resource access method, computing device and storage medium
US9135317B2 (en) Image-centric documents
CN114936246A (en) Redis data management method, device, equipment, storage medium and product
US20170177581A1 (en) Collaborative search of databases
CN115687704A (en) Information display method and device, electronic equipment and computer readable storage medium
US20100125578A1 (en) Scalable selection management

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20230321