CN115129200A - Method, apparatus, device and storage medium for processing list content items - Google Patents
Method, apparatus, device and storage medium for processing list content items Download PDFInfo
- Publication number
- CN115129200A CN115129200A CN202210797658.4A CN202210797658A CN115129200A CN 115129200 A CN115129200 A CN 115129200A CN 202210797658 A CN202210797658 A CN 202210797658A CN 115129200 A CN115129200 A CN 115129200A
- Authority
- CN
- China
- Prior art keywords
- content items
- processing
- data structure
- item
- preset data
- 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.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F3/0482—Interaction with lists of selectable items, e.g. menus
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
本申请适用于计算机技术领域,公开了一种列表内容项的处理方法、装置、设备及存储介质,通过预设数据结构记录在操作选项区域所选择的内容项,从而为实现同时对选择的多个内容项进行处理提供可实施性;并根据第二选择操作所选择的单项处理选项,对预设数据结构中所记录的内容项进行单项处理,减少操作过程中许多的取消选择等操作,简化操作步骤,提高用户体验。
The present application is applicable to the field of computer technology, and discloses a method, device, device and storage medium for processing list content items. The selected content items are recorded in the operation option area through a preset data structure, so as to realize the simultaneous selection of multiple items. Processing of individual content items provides practicability; and according to the single-item processing option selected by the second selection operation, single-item processing is performed on the content items recorded in the preset data structure, which reduces many operations such as canceling selections during the operation process, and simplifies Operation steps to improve user experience.
Description
技术领域technical field
本申请涉及计算机技术领域,尤其涉及一种列表内容项的处理方法、装置、设备及存储介质。The present application relates to the field of computer technologies, and in particular, to a method, apparatus, device, and storage medium for processing a list content item.
背景技术Background technique
对于列表中的内容项,在一些操作场景下,经常需要对每个内容项进行逐个单项操作,同时需要对多个内容项进行多项操作。对于该操作场景,目前需要选中一个内容项进行操作,单项操作完成后取消选择该内容项,再选中下一个内容项进行单项操作,以此类推;当需要批量操作时,由于已取消对先前内容项的选择,所以需要再次选中多个内容项。可见,当前操作方式需要很多选择操作,导致操作过程非常繁琐和复杂,从而使得用户体验不佳。For the content items in the list, in some operation scenarios, it is often necessary to perform a single operation on each content item, and multiple operations need to be performed on multiple content items at the same time. For this operation scenario, it is currently necessary to select a content item for operation, deselect the content item after the single operation is completed, and then select the next content item for single operation, and so on; when batch operations are required, the previous content has been cancelled because item selection, so multiple content items need to be selected again. It can be seen that the current operation mode requires many selection operations, resulting in a very cumbersome and complicated operation process, which results in poor user experience.
发明内容SUMMARY OF THE INVENTION
本申请提供了一种列表内容项的处理方法、装置、设备及存储介质,以解决当前列表内容项的操作过程繁琐和复杂的技术问题。The present application provides a method, apparatus, device, and storage medium for processing a list content item, so as to solve the technical problem of cumbersome and complicated operation process of the current list content item.
为了解决上述技术问题,第一方面,本申请提供了一种列表内容项的处理方法,包括:In order to solve the above technical problems, in a first aspect, the present application provides a method for processing a list content item, including:
展示目标应用界面,目标应用界面包括内容列表区域和操作选项区域,内容列表区域包括多个内容项,操作选项区域包括单项处理选项;Display the target application interface, the target application interface includes a content list area and an operation option area, the content list area includes multiple content items, and the operation option area includes a single item processing option;
响应作用于内容项的第一选择操作,基于预设数据结构,记录第一选择操作所选中的多个内容项;In response to the first selection operation acting on the content item, based on the preset data structure, record the plurality of content items selected by the first selection operation;
响应作用于操作选项区域的第二选择操作,根据预设数据结构,对内容项进行单项处理。In response to the second selection operation acting on the operation option area, single-item processing is performed on the content item according to the preset data structure.
本申请通过预设数据结构记录在操作选项区域所选择的内容项,从而为实现同时对选择的多个内容项进行处理提供可实施性;并根据第二选择操作所选择的单项处理选项,对预设数据结构中所记录的内容项进行单项处理,减少操作过程中许多的取消选择等操作,简化操作步骤,提高用户体验。The present application records the content items selected in the operation option area through a preset data structure, thereby providing practicability for processing multiple selected content items at the same time; and according to the single-item processing option selected by the second selection operation, The content items recorded in the preset data structure are processed individually, which reduces many operations such as de-selection in the operation process, simplifies the operation steps, and improves the user experience.
在第一方面的一些实现方式中,预设数据结构存储有多个内容项的属性参数,响应作用于操作选项区域的第二选择操作,根据预设数据结构,对内容项进行单项处理,包括:In some implementations of the first aspect, the preset data structure stores attribute parameters of multiple content items, and in response to the second selection operation acting on the operation option area, single-item processing is performed on the content items according to the preset data structure, including :
响应作用于单项处理选项的第二选择操作,根据预设单项处理模式,依次对预设数据结构中的属性参数对应的内容项进行单项处理。In response to the second selection operation acting on the single-item processing option, according to the preset single-item processing mode, single-item processing is sequentially performed on the content items corresponding to the attribute parameters in the preset data structure.
在本实现方式中,根据预设单项处理模式进行单项处理,以应对多种操作场景,提高本处理方法的适用性。In this implementation manner, single-item processing is performed according to a preset single-item processing mode, so as to cope with various operation scenarios and improve the applicability of the processing method.
在第一方面的一些实现方式中,根据预设单项处理模式,依次对预设数据结构中的属性参数对应的内容项进行单项处理,包括:In some implementations of the first aspect, according to the preset single-item processing mode, single-item processing is performed on the content items corresponding to the attribute parameters in the preset data structure in sequence, including:
在目标应用界面内,展示第一操作容器;In the target application interface, display the first operation container;
根据属性参数在预设数据结构中的排列顺序,依次在第一操作容器内展示内容项,并对内容项进行单项处理,其中第一操作容器每次展示一个内容项。According to the arrangement sequence of the attribute parameters in the preset data structure, the content items are displayed in the first operation container in sequence, and the content items are processed individually, wherein the first operation container displays one content item at a time.
在本实现方式中,通过第一操作容器依次展示内容项,以能够依次对已选择的每个内容项进行单项处理,简化操作步骤。In this implementation manner, the content items are displayed in sequence through the first operation container, so that each selected content item can be processed individually in sequence, thereby simplifying the operation steps.
在第一方面的一些实现方式中,第一操作容器还包括确认选项,In some implementations of the first aspect, the first operation container further includes a confirmation option,
根据属性参数在预设数据结构中的排列顺序,依次在第一操作容器内展示内容项,并对内容项进行单项处理,包括:According to the arrangement order of the attribute parameters in the preset data structure, the content items are displayed in the first operation container in sequence, and the content items are individually processed, including:
根据排列顺序,在第一操作容器内展示目标内容项,并移除预设数据结构中与目标内容项对应的属性参数,得到最新预设数据结构,目标内容项为排列顺序最靠前或最靠后的属性参数对应的内容项;According to the arrangement order, the target content item is displayed in the first operation container, and the attribute parameters corresponding to the target content item in the preset data structure are removed to obtain the latest preset data structure. The content item corresponding to the later attribute parameter;
响应作用于确认选项的第三选择操作,对目标内容项进行单项处理,并更新第一操作容器,以在第一操作容器内展示新的目标内容项,以及移除最新预设数据结构中与新的目标内容项对应的属性参数;In response to the third selection operation acting on the confirmation option, single-item processing is performed on the target content item, and the first operation container is updated to display the new target content item in the first operation container, and the most recent preset data structure and the The attribute parameter corresponding to the new target content item;
针对每次更新后的第一操作容器,响应作用于第一操作容器上的确认选项的第三选择操作,直至最新预设数据结构为空值,则判定目标内容项处理完成。For each updated first operation container, in response to the third selection operation of the confirmation option acting on the first operation container, until the latest preset data structure is null, it is determined that the processing of the target content item is completed.
在本实现方式中,将确认选项作为处理下一个目标内容项的触发事件,实现对已选择的多个目标内容项进行依次处理;同时移除预设数据结构中的属性参数,而无需在处理目标内容项之后再进行取消选择操作,简化操作步骤。In this implementation, the confirmation option is used as the trigger event for processing the next target content item, so as to realize the sequential processing of the selected target content items; at the same time, the attribute parameters in the preset data structure are removed, and there is no need to process the next target content item. The deselect operation is performed after the target content item, which simplifies the operation steps.
在第一方面的一些实现方式中,根据预设单项处理模式,依次对预设数据结构中的属性参数对应的内容项进行单项处理,包括:In some implementations of the first aspect, according to the preset single-item processing mode, single-item processing is performed on the content items corresponding to the attribute parameters in the preset data structure in sequence, including:
在目标应用界面内,展示第二操作容器;In the target application interface, display the second operation container;
在第二操作容器内展示与预设数据结构中的属性参数对应的所有内容项;Display all content items corresponding to the attribute parameters in the preset data structure in the second operation container;
响应作用于第二操作容器中的目标内容项的第四选择操作,对目标内容项进行单项处理。In response to the fourth selection operation acting on the target content item in the second operation container, single-item processing is performed on the target content item.
在本实现方式中,通过在第二操作容器选择目标内容项,以实现按照用户期望的处理顺序对目标内容项进行处理,提高用户体验。In this implementation manner, by selecting the target content item in the second operation container, the target content item is processed according to the processing order expected by the user, and the user experience is improved.
在第一方面的一些实现方式中,根据预设单项处理模式,依次对预设数据结构中的属性参数对应的内容项进行单项处理,包括:In some implementations of the first aspect, according to the preset single-item processing mode, single-item processing is performed on the content items corresponding to the attribute parameters in the preset data structure in sequence, including:
在目标应用界面内,展示第三操作容器;In the target application interface, display the third operation container;
在第二操作容器内展示所有目标内容项的操作选项,目标内容项为预设数据结构中的属性参数对应的内容项;Display the operation options of all target content items in the second operation container, and the target content items are the content items corresponding to the attribute parameters in the preset data structure;
响应作用于操作选项的第五选择操作,依次对目标内容项进行相同的单项处理。In response to the fifth selection operation acting on the operation option, the same single-item processing is sequentially performed on the target content items.
在本实现方式中,针对具有相同单项处理的多个内容项,只需一次第五选择操作即可实现多个内容项的相同处理,简化操作步骤。In this implementation manner, for multiple content items with the same single-item processing, only one fifth selection operation is needed to implement the same processing for multiple content items, simplifying the operation steps.
在第一方面的一些实现方式中,预设数据结构为有序数组,响应作用于内容项的第一选择操作,基于预设数据结构,记录第一选择操作所选中的多个内容项,包括:In some implementations of the first aspect, the preset data structure is an ordered array, and in response to the first selection operation acting on the content item, based on the preset data structure, multiple content items selected by the first selection operation are recorded, including :
响应作用于内容项的第一选择操作,获取第一选择操作所选中的多个内容项的属性参数;In response to the first selection operation acting on the content item, acquiring attribute parameters of the plurality of content items selected by the first selection operation;
基于预设排序策略,将属性参数存储至有序数组。Based on a preset sorting strategy, attribute parameters are stored in an ordered array.
在本实现方式中,通过有序数组存储属性参数,以能够记录内容项的选择顺序,从而能够按照内容项的选择顺序对内容项进行单项处理,提高用户体验。In this implementation manner, attribute parameters are stored in an ordered array, so that the selection order of the content items can be recorded, so that the content items can be individually processed according to the selection order of the content items, thereby improving user experience.
在第一方面的一些实现方式中,处理方法还包括:In some implementations of the first aspect, the processing method further includes:
响应作用于单项处理选项的悬停操作,对内容列表区域内排序顺序最靠前或最靠后的目标内容项进行高亮展示,目标内容项为与预设数据结构中的属性参数对应的内容项;In response to the hover operation acting on the single-item processing option, highlight the target content item with the highest or lowest sorting order in the content list area, and the target content item is the content corresponding to the attribute parameter in the preset data structure item;
响应作用于批量处理选项的悬停操作,对内容列表区域内的多个目标内容项进行高亮展示。Multiple target content items in the content list area are highlighted in response to the hover operation on the batch processing option.
在本实现方式中,通过高亮展示能够使用户直观的了解到当前进行单项处理或批量处理的内容项,提高用户体验。In this implementation manner, the user can intuitively know the content items currently being processed individually or in batches through the highlighted display, thereby improving the user experience.
在第一方面的一些实现方式中,处理方法还包括:In some implementations of the first aspect, the processing method further includes:
根据属性参数在预设数据结构中的排列顺序,对内容列表区域内的目标内容项进行重排,目标内容项为与预设数据结构中的属性参数对应的内容项。According to the arrangement order of the attribute parameters in the preset data structure, the target content items in the content list area are rearranged, and the target content items are the content items corresponding to the attribute parameters in the preset data structure.
在本实现方式中,通过重排,以能够优先展示已选择的目标内容项,从而能够针对跨页面的内容项进行同页展示。In this implementation manner, through rearrangement, the selected target content items can be displayed preferentially, so that content items across pages can be displayed on the same page.
在第一方面的一些实现方式中,操作选项区域还包括批量处理选项,方法还包括:In some implementations of the first aspect, the operation option area further includes batch processing options, and the method further includes:
响应作用于批量处理选项的第六选择操作,对预设数据结构所记录的多个内容项进行批量处理。In response to the sixth selection operation acting on the batch processing option, batch processing is performed on the plurality of content items recorded in the preset data structure.
本实现方式能够在单项处理后继续根据预设数据结构进行批量处理,减少再次选择内容项的操作,进一步简化操作步骤。This implementation manner can continue to perform batch processing according to the preset data structure after single item processing, reduce the operation of selecting content items again, and further simplify the operation steps.
第二方面,本申请还提供一种列表内容项的处理装置,包括:In a second aspect, the present application also provides a processing device for a list content item, including:
展示模块,用于展示目标应用界面,目标应用界面包括内容列表区域和操作选项区域,内容列表区域包括多个内容项,操作选项区域包括单项处理选项;The display module is used to display the target application interface, the target application interface includes a content list area and an operation option area, the content list area includes a plurality of content items, and the operation option area includes a single item processing option;
添加模块,用于响应作用于内容项的第一选择操作,基于预设数据结构,记录第一选择操作所选中的多个内容项;A module is added, configured to record a plurality of content items selected by the first selection operation based on the preset data structure in response to the first selection operation acting on the content item;
处理模块,用于响应作用于操作选项区域的第二选择操作,根据预设数据结构,对内容项进行单项处理。The processing module is configured to perform single-item processing on the content item according to the preset data structure in response to the second selection operation acting on the operation option area.
第三方面,本申请还提供一种终端设备,包括处理器和存储器,存储器用于存储计算机程序,计算机程序被处理器执行时实现如第一方面的列表内容项的处理方法。In a third aspect, the present application further provides a terminal device, including a processor and a memory, the memory is used for storing a computer program, and when the computer program is executed by the processor, the method for processing a list content item according to the first aspect is implemented.
第四方面,本申请还提供一种计算机可读存储介质,其存储有计算机程序,计算机程序被处理器执行时实现如第一方面的列表内容项的处理方法。In a fourth aspect, the present application further provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, implements the method for processing a list content item according to the first aspect.
第五方面,本申请实施例提供一种计算机程序产品,当计算机程序产品在终端设备上运行时,使得终端设备执行时实现上述各个方法的步骤。In a fifth aspect, an embodiment of the present application provides a computer program product, when the computer program product runs on a terminal device, the terminal device implements the steps of each of the foregoing methods when executed.
需要说明的是,上述第二方面至第五方面的有益效果请参见上述第一方面的相关描述,在此不再赘述。It should be noted that, for the beneficial effects of the second aspect to the fifth aspect, please refer to the relevant description of the first aspect, which will not be repeated here.
附图说明Description of drawings
图1为本申请一实施例示出的列表内容项的处理方法的流程示意图;1 is a schematic flowchart of a method for processing a list content item according to an embodiment of the present application;
图2为本申请另一实施例示出的列表内容项的处理方法的流程示意图;2 is a schematic flowchart of a method for processing a list content item according to another embodiment of the present application;
图3为本申请又一实施例示出的列表内容项的处理方法的流程示意图;3 is a schematic flowchart of a method for processing a list content item according to another embodiment of the present application;
图4为本申请再一实施例示出的列表内容项的处理方法的流程示意图FIG. 4 is a schematic flowchart of a method for processing a list content item according to still another embodiment of the present application
图5为本申请实施例示出的目标应用界面的示意图;5 is a schematic diagram of a target application interface shown in an embodiment of the present application;
图6为本申请实施例示出的列表内容项的处理装置的结构示意图;6 is a schematic structural diagram of an apparatus for processing a list content item according to an embodiment of the present application;
图7为本申请实施例示出的计算机设备的结构示意图。FIG. 7 is a schematic structural diagram of a computer device according to an embodiment of the application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, but not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of the present application.
如相关技术记载,当前操作方式需要很多选择操作,导致操作过程非常繁琐和复杂,从而使得用户体验不佳。例如,在表单审核时,需要对表单A、B、C和D进行审核,并一起提交至流程节点E。当前操作流程为:选中表单A,并对表单A进行审核,再取消选中表单A;继续选中表单B,并对表单B进行审核,再取消选中表单B,以此类推,直至表单D审核完成;最后重新选中表单A、B和C,并将表单A、B、C和D一起提交至流程节点E。可见,当前操作方式存在许多取消选择操作和再次选择操作,导致操作过程非常繁琐和复杂。As recorded in the related art, the current operation mode requires many selection operations, which results in a very cumbersome and complicated operation process, resulting in poor user experience. For example, during form review, forms A, B, C, and D need to be reviewed and submitted to process node E together. The current operation process is: select Form A, review Form A, and then uncheck Form A; continue to select Form B, review Form B, then uncheck Form B, and so on, until Form D is reviewed; Finally, reselect forms A, B, and C, and submit forms A, B, C, and D to process node E together. It can be seen that there are many de-selection operations and re-selection operations in the current operation mode, resulting in a very cumbersome and complicated operation process.
为此,本申请实施例提供一种列表内容项的处理方法,通过展示目标应用界面,所述目标应用界面包括内容列表区域和操作选项区域,所述内容列表区域包括多个内容项,所述操作选项区域包括单项处理选项和批量处理选项;响应作用于所述内容项的第一选择操作,将所述内容项的属性参数添加至预设数据结构,所述预设数据结构存储有多个所述内容项的属性参数;响应作用于所述操作选项区域的第二选择操作,根据所述预设数据结构,对所述属性参数对应的所述内容项进行单项处理或批量处理。以利用预设数据结构记录所选择的内容项,从而减少操作过程中许多的取消选择等操作,简化操作步骤;同时,本申请能够在单项处理后继续根据预设数据结构进行批量处理,减少再次选择内容项的操作,进一步简化操作步骤,提高用户体验。To this end, an embodiment of the present application provides a method for processing list content items. By displaying a target application interface, the target application interface includes a content list area and an operation option area, the content list area includes a plurality of content items, and the The operation options area includes single item processing options and batch processing options; in response to the first selection operation acting on the content item, the attribute parameters of the content item are added to a preset data structure, and the preset data structure stores a plurality of The attribute parameter of the content item; in response to the second selection operation acting on the operation option area, single-item processing or batch processing is performed on the content item corresponding to the attribute parameter according to the preset data structure. The selected content items are recorded by using the preset data structure, thereby reducing many operations such as deselecting in the operation process, and simplifying the operation steps; at the same time, the present application can continue to perform batch processing according to the preset data structure after single-item processing, reducing the need for repeated operations. The operation of selecting content items further simplifies the operation steps and improves the user experience.
本申请实施例能够适用于需要进行列表内容项处理的各种场景,例如应用于企业资源计划(Enterprise Resource Planning,ERP)系统中,这里所指的ERP系统包括但不限于生产制造管理系统、供应链系统、人事系统、财务系统、税务系统及审计系统。The embodiments of the present application can be applied to various scenarios where list content item processing is required, for example, in an enterprise resource planning (Enterprise Resource Planning, ERP) system, the ERP system referred to here includes but is not limited to a manufacturing management system, a supply chain system, personnel system, financial system, tax system and audit system.
请参照图1,图1为本申请实施例提供的一种列表内容项的处理方法的流程示意图。本申请实施例的列表内容项的处理方法可应用于计算机终端设备,该计算机设备包括但不限于智能手机、笔记本电脑、平板电脑和桌上型计算机等设备。如图1所示,本实施例的列表内容项的处理方法包括步骤S101至步骤S103,详述如下:Please refer to FIG. 1 , which is a schematic flowchart of a method for processing a list content item provided by an embodiment of the present application. The method for processing list content items in the embodiments of the present application can be applied to computer terminal devices, where the computer devices include but are not limited to devices such as smart phones, notebook computers, tablet computers, and desktop computers. As shown in FIG. 1 , the method for processing a list content item in this embodiment includes steps S101 to S103, which are described in detail as follows:
步骤S101,展示目标应用界面,所述目标应用界面包括内容列表区域和操作选项区域,所述内容列表区域包括多个内容项,所述操作选项区域包括单项处理选项。Step S101, displaying a target application interface, where the target application interface includes a content list area and an operation option area, the content list area includes a plurality of content items, and the operation option area includes a single-item processing option.
在本步骤中,终端设备设有或外接有显示单元,该显示单元包括但不限于显示屏和投影仪。终端设备在显示单元上展示目标应用界面,目标应用页面可以为基于浏览器加载的应用页面,也可以为独立应用程序的应用界面。内容列表区域为内容项的显示区域,内容项为待处理的数据项,例如上述表单。操作选项区域为选择单项处理选项的显示区域,单项处理选项用于对单个内容项进行处理。In this step, the terminal device is provided with or externally connected with a display unit, and the display unit includes but is not limited to a display screen and a projector. The terminal device displays a target application interface on the display unit, and the target application page may be an application page loaded based on a browser, or an application interface of an independent application program. The content list area is a display area of content items, and the content items are data items to be processed, such as the above-mentioned form. The operation options area is a display area for selecting single item processing options, which are used to process a single content item.
示例性地,如图5示出的目标应用界面的示意图,“新建”、“删除”和“提交”为单项处理选项,“张三-差旅费报销”、“李四-差旅费报销”和“王五-差旅费报销”为内容项。需要说明的是,操作选项区域中的单项处理选项可以有多个。Exemplarily, as shown in the schematic diagram of the target application interface shown in FIG. 5 , "Create", "Delete" and "Submit" are single processing options, "Zhang San - Travel Expenses Reimbursement", "Li Si - Travel Expenses Reimbursement" and "Wang V - Travel Expenses Reimbursement" is the content item. It should be noted that there can be multiple single processing options in the operation options area.
步骤S102,响应作用于所述内容项的第一选择操作,将所述内容项的属性参数添加至预设数据结构,所述预设数据结构存储有多个所述内容项的属性参数。Step S102: In response to the first selection operation acting on the content item, add attribute parameters of the content item to a preset data structure, where the preset data structure stores a plurality of attribute parameters of the content item.
在本步骤中,第一选择操作包括但不限于单击操作和多击操作(如双击操作、三击操作)。预设数据结构为记录数据元素的集合,其根据软件开发场景的不同,可包括但不限于数组(Array)、栈(Stack)、队列(Queue)和链表(Linked List)等,其中数组为以属性参数作为数据元素的序列,其可以为无序数组,也可以为有序数组。属性参数为表示内容项的属性值,例如value值。In this step, the first selection operation includes, but is not limited to, a single-click operation and a multi-click operation (eg, a double-click operation, a triple-click operation). The preset data structure is a collection of recorded data elements, which may include, but are not limited to, an array (Array), a stack (Stack), a queue (Queue), a linked list (Linked List), etc. The property parameter is a sequence of data elements, which can be an unordered array or an ordered array. The attribute parameter is the attribute value representing the content item, such as the value value.
示例性地,在一种可能实施的方式中,终端设备响应于用户通过鼠标依次单击勾选内容项的操作,将所勾选的内容项的属性参数依次存储至数组,数组根据勾选顺序对属性参数进行有序排列。在另一种可能实施的方式中,终端设备响应于用户通过鼠标单击勾选内容项的操作,将所勾选的内容项的属性参数存储至数组,数组对属性参数进行随机排列。Exemplarily, in a possible implementation manner, the terminal device, in response to the user's operation of clicking and selecting content items in sequence with the mouse, sequentially stores the attribute parameters of the selected content items in an array, and the array is based on the selection order. Arranges the property parameters in order. In another possible implementation manner, the terminal device, in response to an operation of the user clicking and selecting a content item with a mouse, stores the attribute parameters of the selected content item in an array, and the array randomly arranges the attribute parameters.
步骤S103,响应作用于所述操作选项区域的第二选择操作,根据所述预设数据结构,对所述内容项进行单项处理。Step S103, in response to the second selection operation acting on the operation option area, perform single-item processing on the content item according to the preset data structure.
在本步骤中,第二选择操作包括但不限于单击操作和多击操作。可选地,响应作用于单项处理选项的第二选择操作,依次对预设数据结构所记录的每个内容项进行单项处理。In this step, the second selection operation includes but is not limited to a single-click operation and a multi-click operation. Optionally, in response to the second selection operation acting on the single-item processing option, single-item processing is sequentially performed on each content item recorded in the preset data structure.
在一些实施例中,在图1所示实施例的基础上,所述预设数据结构为有序数组,所述步骤S102,包括:响应作用于所述内容项的第一选择操作,获取所述第一选择操作所选中的多个内容项的属性参数;基于预设排序策略,将所述属性参数存储至所述有序数组。In some embodiments, based on the embodiment shown in FIG. 1 , the preset data structure is an ordered array, and the step S102 includes: in response to a first selection operation acting on the content item, obtaining the attribute parameters of the plurality of content items selected by the first selection operation; and based on a preset sorting strategy, the attribute parameters are stored in the ordered array.
在本实施例中,有序数组为元素以一定顺序进行排列的数组,其可以具体为Array数组。预设排列策略为对属性参数以一定顺序进行排列的策略,其包括但不限于倒序排列或顺序排列。可选地,根据内容项的选择时间的先后顺序,可以将内容项的属性参数以该先后顺序在有序数组中进行顺序排列,即先选中的内容项的属性参数排列在前。也可以将内容项的属性参数以该先后顺序在有序数组中进行倒序排列,即先选中的内容项的属性参数排列在后。In this embodiment, the ordered array is an array in which elements are arranged in a certain order, which may specifically be an Array array. The preset arrangement strategy is a strategy for arranging attribute parameters in a certain order, including but not limited to reverse order arrangement or sequential arrangement. Optionally, according to the sequence of the selection time of the content items, the attribute parameters of the content items may be sequentially arranged in the ordered array in the sequence, that is, the attribute parameters of the content item selected first are arranged first. The attribute parameters of the content items may also be arranged in reverse order in the ordered array in this order, that is, the attribute parameters of the content items selected first are arranged at the back.
作为示例而非限定,当用户点击选中某一个内容项时,响应作用于该内容项的第一选择操作,调用属性获取函数document.getElementById("A").value,以获取该内容项的value值;调用数组存储函数unshift,以向数组开头添加元素的方式,将该value值存入到Array数组中。当再次点击选中其他内容项时,以同样方式存储属性参数,最终Array数组中有Array.length个的内容项。As an example and not a limitation, when the user clicks to select a certain content item, in response to the first selection operation acting on the content item, the property acquisition function document.getElementById("A").value is called to obtain the value of the content item Value; call the array storage function unshift to store the value in the Array array by adding elements to the beginning of the array. When another content item is selected by clicking again, the property parameters are stored in the same way, and finally there are Array.length content items in the Array array.
本实施例采用以属性参数作为数据元素的数组作为记录内容项的数据结构,从而只需获取内容项的属性参数即可,使得内容项的记录方式更加简单,以能够更好的针对用户一次性选中的大量内容项进行快速单项处理。In this embodiment, an array with attribute parameters as data elements is used as the data structure for recording content items, so that only the attribute parameters of the content items need to be obtained, which makes the recording method of the content items simpler, and can better target users at one time. Quick single-item processing of a large selection of content items.
在一些实施例中,在图1所示实施例的基础上,所述步骤S103,包括:In some embodiments, on the basis of the embodiment shown in FIG. 1 , the step S103 includes:
响应作用于所述单项处理选项的第二选择操作,根据预设单项处理模式,依次对所述预设数据结构中的所述属性参数对应的内容项进行单项处理。In response to the second selection operation acting on the single-item processing option, according to a preset single-item processing mode, single-item processing is sequentially performed on the content items corresponding to the attribute parameters in the preset data structure.
在本实施例中,预设单项处理模式包括手动序列操作模式、手动选择操作对象模式和自动序列操作模式。手动序列操作模式为对自动展示的每个内容项进行不同单项处理的操作模式,其能够应用于为对内容项的处理顺序无优先级要求的操作场景;手动选择操作对象模式为对手动选择展示的每个内容项进行不同单项处理的操作模式,其能够应用于对内容项的处理顺序有优先级要求的操作场景;自动序列操作模式为对自动展示的每个内容项进行相同单项处理的操作模式,其能够应用于对多个内容项进行相同处理的操作场景。In this embodiment, the preset single-item processing modes include a manual sequence operation mode, a manual selection operation object mode, and an automatic sequence operation mode. The manual sequence operation mode is an operation mode that performs different single-item processing on each content item displayed automatically, which can be applied to an operation scenario where there is no priority requirement for the processing order of the content items; the manual selection operation object mode is a manual selection display mode. The operation mode of performing different single-item processing for each content item in the mode, which can be applied to operating scenarios where multiple content items are processed the same way.
可选地,预设单项处理模式可以基于操作场景进行应用开发,并将该操作场景的预设单项处理模式作为应用的默认模式。可选地,预设单项处理模式也可以提供模式变更选项,以使用户能够选择相应的预设单项处理模式进行操作,从而能够应对多种应用场景。Optionally, the preset single-item processing mode may be developed based on an operation scenario, and the preset single-item processing mode of the operation scene may be used as the default mode of the application. Optionally, the preset single-item processing mode may also provide a mode change option, so that the user can select a corresponding preset single-item processing mode to operate, thereby being able to cope with various application scenarios.
需要说明的是,本实施例的相同单项处理表示处理流程相同,每个内容项依次分别处理的处理方式,批量处理表示处理流程相同,所有内容项统一处理的处理方法。It should be noted that the same single-item processing in this embodiment means the same processing flow, and each content item is processed separately in turn, while the batch processing means the same processing flow, and all content items are processed uniformly.
在一些实施例中,若预设单项处理模式为手动序列操作模式,则单项处理过程包括:In some embodiments, if the preset single-item processing mode is the manual sequence operation mode, the single-item processing process includes:
响应作用于所述单项处理的第二选择操作,在所述目标应用界面内,展示第一操作容器;根据所述属性参数在所述预设数据结构中的排列顺序,依次在所述第一操作容器内展示所述内容项,并对所述内容项进行单项处理,其中所述第一操作容器每次展示一个所述内容项。In response to the second selection operation acting on the single-item processing, a first operation container is displayed in the target application interface; according to the arrangement order of the attribute parameters in the preset data structure, the first operation container is displayed in the The content item is displayed in the operation container, and single item processing is performed on the content item, wherein the first operation container displays the content item one at a time.
在本实施例中,第一操作容器用于展示预设数据结构记录的内容项和向用户提供操作选项,以实现根据用户操作依次对每个目标内容项进行单项处理。可选地,在一种可能实施的方式中,在第一操作容器内展示一个内容项,当处理完该内容项后,根据排列顺序,自动展示下一个内容项,直至预设数据结构所记录的属性参数对应的内容项均处理完成。可以理解的是,本申请实施例的操作容器为页面容器(如页面弹窗),其属于页面组件,以便于对页面展示内容进行扩展。In this embodiment, the first operation container is used to display the content items recorded in the preset data structure and provide operation options to the user, so as to perform single-item processing on each target content item in turn according to user operations. Optionally, in a possible implementation manner, a content item is displayed in the first operation container, and after the content item is processed, the next content item is automatically displayed according to the arrangement sequence, until the preset data structure records. The content items corresponding to the attribute parameters are processed. It can be understood that the operation container in the embodiment of the present application is a page container (eg, a page popup window), which belongs to a page component, so as to facilitate the extension of the displayed content of the page.
可选地,所述第一操作容器还包括确认选项,根据所述排列顺序,在所述第一操作容器内展示目标内容项,并移除所述预设数据结构中与所述目标内容项对应的属性参数,得到最新预设数据结构,所述目标内容项为所述排列顺序最靠前或最靠后的属性参数对应的内容项;响应作用于所述确认选项的第三选择操作,对所述目标内容项进行单项处理,并更新所述第一操作容器,以在所述第一操作容器内展示新的目标内容项,以及移除所述最新预设数据结构中与所述新的目标内容项对应的属性参数;针对每次更新后的所述第一操作容器,响应作用于所述第一操作容器上的确认选项的第三选择操作,直至所述最新预设数据结构为空值,则判定所述目标内容项处理完成。Optionally, the first operation container further includes a confirmation option, and according to the arrangement order, the target content item is displayed in the first operation container, and the target content item in the preset data structure is removed. Corresponding attribute parameters, the latest preset data structure is obtained, and the target content item is the content item corresponding to the attribute parameter with the most or the last attribute parameter in the arrangement order; in response to the third selection operation acting on the confirmation option, Perform single-item processing on the target content item, and update the first operation container to display a new target content item in the first operation container, and remove the new target content item in the latest preset data structure. The attribute parameter corresponding to the target content item of If the value is null, it is determined that the processing of the target content item is completed.
在本可选实施例中,第三选择操作包括但不限于单击操作和多击操作。确认选项用于确认当前内容项的单项处理和展示下一个内容项。示例性地,当用户点击单项处理选项时,新增一个第一操作容器,获取Array数组中的第一个目标内容项展示在该第一操作容器中,并移除Array数组中与该目标内容项对应的value值,然后再新增一个名称为“继续”的确认选项,当用户点击“继续”时,展示下一个目标内容项。当Array.length>0时,表示还有未处理的目标内容项,显示“继续”确认选项;当Array.length=0时,表示目标内容项都已经处理完成,隐藏“继续”确认选项。In this optional embodiment, the third selection operation includes, but is not limited to, a single-click operation and a multi-click operation. The Confirm option is used to confirm single-item processing of the current content item and present the next content item. Exemplarily, when the user clicks the single-item processing option, a first operation container is added, the first target content item in the Array array is obtained and displayed in the first operation container, and the target content in the Array array is removed. The value corresponding to the item, and then add a confirmation option named "Continue". When the user clicks "Continue", the next target content item is displayed. When Array.length>0, it means that there are still unprocessed target content items, and the "Continue" confirmation option is displayed; when Array.length=0, it means that the target content items have been processed, and the "Continue" confirmation option is hidden.
可选地,第一操作容器还包括序列数i/s,i表示当前处理的第i个目标内容项,s表示Array数组内的目标内容项总数。当点击“继续”确认选项时,i累计1,并更新序列数:i/s。Optionally, the first operation container further includes a sequence number i/s, where i represents the i-th target content item currently being processed, and s represents the total number of target content items in the Array. When clicking "Continue" to confirm the option, i accumulates 1 and updates the sequence number: i/s.
在一些实施例中,若预设单项处理模式为手动选择操作对象模式,则单项处理过程包括:响应作用于所述单项处理选项的第二选择操作,在所述目标应用界面内,展示第二操作容器;在所述第二操作容器内展示与所述预设数据结构中的属性参数对应的所有内容项;响应作用于所述第二操作容器中的目标内容项的第四选择操作,对所述目标内容项进行单项处理。In some embodiments, if the preset single-item processing mode is the manual selection of the operation object mode, the single-item processing process includes: in response to a second selection operation acting on the single-item processing option, displaying a second selection operation in the target application interface. an operation container; all content items corresponding to the attribute parameters in the preset data structure are displayed in the second operation container; in response to the fourth selection operation acting on the target content item in the second operation container, The target content item is processed individually.
在本实施例中,第四选择操作包括但不限于单击操作和多击操作。第二操作容器用于展示所有目标内容项,以供用户选择优先处理的目标内容项。示例性地,在内容列表区域选择了多个目标内容项,当用户单击单项处理选项时,响应作用于该单项处理选项的第二选择操作,展示第二操作容器,第二操作容器以下拉列表方式展示所有目标内容项,当用户点击下拉列表中的目标内容项时,响应作用于该目标内容项的第四选择操作,以对该目标内容项进行单项处理。In this embodiment, the fourth selection operation includes, but is not limited to, a single-click operation and a multi-click operation. The second operation container is used to display all target content items, so that the user can select the target content item to be preferentially processed. Exemplarily, when multiple target content items are selected in the content list area, when the user clicks a single-item processing option, in response to the second selection operation acting on the single-item processing option, a second operation container is displayed, and the second operation container is pulled down. All target content items are displayed in a list. When the user clicks a target content item in the drop-down list, the user responds to the fourth selection operation acting on the target content item to perform single-item processing on the target content item.
在一些实施例中,若预设单项处理模式为自动序列操作模式,则单项处理过程包括:响应作用于所述单项处理选项的第二选择操作,在所述目标应用界面内,展示第三操作容器;在所述第二操作容器内展示所有目标内容项的操作选项,所述目标内容项为所述预设数据结构中的属性参数对应的内容项;响应作用于所述操作选项的第五选择操作,依次对所述目标内容项进行相同的单项处理。In some embodiments, if the preset single-item processing mode is an automatic sequence operation mode, the single-item processing process includes: in response to a second selection operation acting on the single-item processing option, displaying a third operation in the target application interface container; displaying the operation options of all target content items in the second operation container, the target content items being the content items corresponding to the attribute parameters in the preset data structure; responding to the fifth action that acts on the operation options A selection operation is performed to sequentially perform the same single-item processing on the target content items.
在本实施例中,第五选择操作包括但不限于单击操作和多击操作。第三操作容器用于展示所有目标内容项和针对所有目标内容项的操作选项。示例性地,对于表单A、B、C和D需要将干系人变更为相同的干系人,则第三操作容器展示表单A、B、C和D以及“选择干系人”的操作选项,当用户选择“张三”为干系人时,响应作用于操作选项的第五选择操作,依次将表单A、B、C和D的干系人变更为“张三”。In this embodiment, the fifth selection operation includes but is not limited to a single-click operation and a multi-click operation. The third operation container is used to display all target content items and operation options for all target content items. Exemplarily, for forms A, B, C, and D, it is necessary to change the stakeholders to the same stakeholders, then the third operation container displays the forms A, B, C, and D and the operation option of "select stakeholders", when the user When "Zhang San" is selected as the stakeholder, in response to the fifth selection operation acting on the operation option, the stakeholders of forms A, B, C and D are changed to "Zhang San" in sequence.
需要说明的是,对于手动选择操作对象模式和自动序列操作模式。在一些实施例中,在一个内容项单项处理完成后,可以移除预设数据结构所记录的该内容项,也可以在预设数据结构所记录的所有内容项均单项处理完成后,再统一移除预设数据结构中的记录;在另一些实施例中,在内容项单项处理完成后,保留预设数据结构所记录的内容项,以便于对已单项处理完成后的内容项继续批量处理。It should be noted that for the manual selection of the operation object mode and the automatic sequence operation mode. In some embodiments, after the individual processing of a content item is completed, the content item recorded in the preset data structure may be removed, or all content items recorded in the preset data structure may be processed individually, and then unified Remove the records in the preset data structure; in other embodiments, after the single-item processing of the content items is completed, the content items recorded in the preset data structure are retained, so as to continue batch processing of the content items after the single-item processing is completed .
在一些实施例中,在图1所示实施例的基础上,图2示出本申请另一实施例提供的列表内容项的处理方法的流程示意图。与图1所示实施例相同的步骤在此不再赘述。如图2所示,所述处理方法还包括:In some embodiments, based on the embodiment shown in FIG. 1 , FIG. 2 shows a schematic flowchart of a method for processing a list content item provided by another embodiment of the present application. Steps that are the same as those in the embodiment shown in FIG. 1 will not be repeated here. As shown in Figure 2, the processing method further includes:
步骤S201,响应作用于所述单项处理选项的悬停操作,对所述内容列表区域内排序顺序最靠前或最靠后的目标内容项进行高亮展示,所述目标内容项为与所述预设数据结构中的属性参数对应的内容项;Step S201, in response to the hovering operation acting on the single-item processing option, highlight and display the target content item with the highest or lowest sorting order in the content list area, and the target content item is the same as the target content item. The content item corresponding to the attribute parameter in the preset data structure;
步骤S202,响应作用于所述批量处理选项的悬停操作,对所述内容列表区域内的多个目标内容项进行高亮展示。Step S202, in response to the hovering operation acting on the batch processing option, highlight and display multiple target content items in the content list area.
在本实施例中,悬停操作为鼠标在目标位置停止移动的操作,目标位置为单项处理选项或批量处理选项所在位置。本实施例通过高亮展示内容项,以使用户直观了解到单项处理选项或批量处理选项所针对的对象。In this embodiment, the hovering operation is an operation in which the mouse stops moving at the target position, and the target position is the position where the single item processing option or the batch processing option is located. In this embodiment, the content item is highlighted, so that the user can intuitively understand the object targeted by the single-item processing option or the batch processing option.
在一些实施例中,在图1所示实施例的基础上,图3示出本申请又一实施例提供的列表内容项的处理方法的流程示意图。与图1所示实施例相同的步骤在此不再赘述。如图3所示,所述处理方法还包括:In some embodiments, based on the embodiment shown in FIG. 1 , FIG. 3 shows a schematic flowchart of a method for processing a list content item provided by another embodiment of the present application. Steps that are the same as those in the embodiment shown in FIG. 1 will not be repeated here. As shown in Figure 3, the processing method further includes:
步骤S301,根据所述属性参数在所述预设数据结构中的排列顺序,对所述内容列表区域内的目标内容项进行重排,所述目标内容项为与所述预设数据结构中的属性参数对应的内容项。Step S301, according to the arrangement order of the attribute parameters in the preset data structure, rearrange the target content items in the content list area, and the target content items are the same as the ones in the preset data structure. The content item corresponding to the attribute parameter.
在本实施例中,由于内容列表区域的内容列表可能有多个列表页面,用户所选择的内容项分布于各个列表页面,而无法在同一个页面内查看到已选择的所有内容项。所以本实施例通过对目标内容项进行重排,以对目标内容项进行连续排列,从而能够在同一个页面展示已选择的多个内容项。In this embodiment, since the content list in the content list area may have multiple list pages, the content items selected by the user are distributed on each list page, and all the selected content items cannot be viewed in the same page. Therefore, in this embodiment, the target content items are rearranged to consecutively arrange the target content items, so that multiple selected content items can be displayed on the same page.
可选地,将目标内容项重排后,从多列表页面中的第一个页面开始展示重排后的目标内容项。Optionally, after rearranging the target content items, the rearranged target content items are displayed from the first page in the multi-list page.
在一些实施例中,在图1所示实施例的基础上,图4示出本申请再一实施例提供的列表内容项的处理方法的流程示意图。与图1所示实施例相同的步骤在此不再赘述。如图4所示,所述处理方法还包括:In some embodiments, based on the embodiment shown in FIG. 1 , FIG. 4 shows a schematic flowchart of a method for processing a list content item provided by another embodiment of the present application. Steps that are the same as those in the embodiment shown in FIG. 1 will not be repeated here. As shown in Figure 4, the processing method further includes:
步骤S401,响应作用于所述批量处理选项的第六选择操作,对所述预设数据结构所记录的多个内容项进行批量处理。Step S401, in response to the sixth selection operation acting on the batch processing option, perform batch processing on a plurality of content items recorded in the preset data structure.
在本实施例中,操作选项区域还包括批量处理选项,用于对多个内容项进行处理。示例性地,如图5所示,“新建”、“删除”和“提交”还可以是批量处理选中,即可以根据实际操作场景作为单项处理选项和/或批量处理选项。对于仅用于单项处理的单项处理选项,当用户点击该单项处理选项用于批量处理时,将提示用户当前选项仅对单个内容项生效。In this embodiment, the operation option area further includes a batch processing option for processing multiple content items. Exemplarily, as shown in FIG. 5 , "Create", "Delete" and "Submit" may also be selected for batch processing, that is, they can be used as single processing options and/or batch processing options according to actual operation scenarios. For a single-item processing option that is only used for single-item processing, when the user clicks the single-item processing option for batch processing, the user will be prompted that the current option is only valid for a single content item.
可选地,当每个内容项进行单项处理后,可以响应作用于批量处理选项的第六选择操作,继续根据预设数据结构对已单项处理后的内容项进行批量处理,以兼容单项处理和批量处理,从而减少再次选择内容项的操作,进一步简化操作步骤。Optionally, after each content item is processed individually, in response to the sixth selection operation acting on the batch processing option, the content items that have been individually processed can continue to be processed in batches according to the preset data structure, so as to be compatible with single-item processing and Batch processing, thereby reducing the operation of re-selecting content items and further simplifying the operation steps.
为了执行上述方法实施例对应的列表内容项的处理方法,以实现相应的功能和技术效果。参见图6,图6示出了本申请实施例提供的一种列表内容项的处理装置的结构框图。为了便于说明,仅示出了与本实施例相关的部分,本申请实施例提供的列表内容项的处理装置,包括:In order to implement the method for processing list content items corresponding to the above method embodiments, corresponding functions and technical effects can be achieved. Referring to FIG. 6, FIG. 6 shows a structural block diagram of an apparatus for processing a list content item provided by an embodiment of the present application. For the convenience of description, only the parts related to this embodiment are shown. The apparatus for processing list content items provided by the embodiments of this application includes:
展示模块601,用于展示目标应用界面,所述目标应用界面包括内容列表区域和操作选项区域,所述内容列表区域包括多个内容项,所述操作选项区域包括单项处理选项;A
添加模块602,用于响应作用于所述内容项的第一选择操作,基于预设数据结构,记录所述第一选择操作所选中的多个内容项;An adding
处理模块603,用于响应作用于所述操作选项区域的第二选择操作,根据所述预设数据结构,对所述内容项进行单项处理。The
在一些实施例中,所述预设数据结构存储有多个所述内容项的属性参数,所述处理模块603,包括:In some embodiments, the preset data structure stores a plurality of attribute parameters of the content item, and the
单项处理子模块,用于响应作用于所述单项处理选项的第二选择操作,根据预设单项处理模式,依次对所述预设数据结构中的所述属性参数对应的内容项进行单项处理。The single-item processing sub-module is configured to, in response to the second selection operation acting on the single-item processing option, sequentially perform single-item processing on the content items corresponding to the attribute parameters in the preset data structure according to a preset single-item processing mode.
在一些实施例中,所述单项处理子模块,包括:In some embodiments, the single-item processing submodule includes:
第一展示单元,用于响应作用于所述单项处理的第二选择操作,在所述目标应用界面内,展示第一操作容器;a first display unit, configured to display a first operation container in the target application interface in response to the second selection operation acting on the single-item processing;
第一处理单元,用于根据所述属性参数在所述预设数据结构中的排列顺序,依次在所述第一操作容器内展示所述内容项,并对所述内容项进行单项处理,其中所述第一操作容器每次展示一个所述内容项。a first processing unit, configured to sequentially display the content items in the first operation container according to the arrangement order of the attribute parameters in the preset data structure, and perform single-item processing on the content items, wherein The first operation container displays the content item one at a time.
在一些实施例中,所述第一操作容器还包括确认选项,所述第一处理单元,包括:In some embodiments, the first operation container further includes a confirmation option, and the first processing unit includes:
处理子单元,用于根据所述排列顺序,在所述第一操作容器内展示目标内容项,并移除所述预设数据结构中与所述目标内容项对应的属性参数,得到最新预设数据结构,所述目标内容项为所述排列顺序最靠前或最靠后的属性参数对应的内容项;A processing subunit, configured to display the target content item in the first operation container according to the arrangement order, and remove the attribute parameter corresponding to the target content item in the preset data structure to obtain the latest preset A data structure, wherein the target content item is the content item corresponding to the attribute parameter at the front or the back of the arrangement order;
更新子单元,用于响应作用于所述确认选项的第三选择操作,对所述目标内容项进行单项处理,并更新所述第一操作容器,以在所述第一操作容器内展示新的目标内容项,以及移除所述最新预设数据结构中与所述新的目标内容项对应的属性参数;an update subunit, configured to perform single-item processing on the target content item in response to a third selection operation acting on the confirmation option, and update the first operation container to display a new content in the first operation container a target content item, and remove the attribute parameter corresponding to the new target content item in the latest preset data structure;
判定子单元,用于针对每次更新后的所述第一操作容器,响应作用于所述第一操作容器上的确认选项的第三选择操作,直至所述最新预设数据结构为空值,则判定所述目标内容项处理完成。a determination subunit, configured to respond to the third selection operation of the confirmation option acting on the first operation container for the first operation container after each update, until the latest preset data structure is a null value, Then it is determined that the processing of the target content item is completed.
在一些实施例中,所述单项处理子模块,包括:In some embodiments, the single-item processing submodule includes:
第二展示单元,用于响应作用于所述单项处理选项的第二选择操作,在所述目标应用界面内,展示第二操作容器;a second display unit, configured to display a second operation container in the target application interface in response to the second selection operation acting on the single processing option;
第三展示单元,用于在所述第二操作容器内展示与所述预设数据结构中的属性参数对应的所有内容项;a third display unit, configured to display all content items corresponding to the attribute parameters in the preset data structure in the second operation container;
第二处理单元,用于响应作用于所述第二操作容器中的目标内容项的第四选择操作,对所述目标内容项进行单项处理。The second processing unit is configured to perform single-item processing on the target content item in response to the fourth selection operation acting on the target content item in the second operation container.
在一些实施例中,所述单项处理子模块,包括:In some embodiments, the single-item processing submodule includes:
第四展示单元,用于响应作用于所述单项处理选项的第二选择操作,在所述目标应用界面内,展示第三操作容器;a fourth display unit, configured to display a third operation container in the target application interface in response to the second selection operation acting on the single processing option;
第五展示单元,用于在所述第二操作容器内展示所有目标内容项的操作选项,所述目标内容项为所述预设数据结构中的属性参数对应的内容项;a fifth display unit, configured to display the operation options of all target content items in the second operation container, where the target content items are content items corresponding to attribute parameters in the preset data structure;
第三处理单元,用于响应作用于所述操作选项的第五选择操作,依次对所述目标内容项进行相同的单项处理。The third processing unit is configured to sequentially perform the same single-item processing on the target content item in response to the fifth selection operation acting on the operation option.
在一些实施例中,所述预设数据结构为有序数组,所述添加模块602,包括:In some embodiments, the preset data structure is an ordered array, and the adding
获取子模块,用于响应作用于所述内容项的第一选择操作,获取所述第一选择操作所选中的多个内容项的属性参数;an acquisition submodule, configured to acquire attribute parameters of a plurality of content items selected by the first selection operation in response to the first selection operation acting on the content item;
存储子模块,用于基于预设排序策略,将所述属性参数存储至所述有序数组。A storage sub-module is configured to store the attribute parameters in the ordered array based on a preset sorting strategy.
在一些实施例中,所述处理装置还包括:In some embodiments, the processing device further includes:
第二展示模块,用于响应作用于所述单项处理选项的悬停操作,对所述内容列表区域内排序顺序最靠前或最靠后的目标内容项进行高亮展示,所述目标内容项为与所述预设数据结构中的属性参数对应的内容项;The second display module is configured to, in response to the hovering operation acting on the single-item processing option, highlight and display the target content item with the highest or lowest sorting order in the content list area, and the target content item is the content item corresponding to the attribute parameter in the preset data structure;
第三展示模块,用于响应作用于所述批量处理选项的悬停操作,对所述内容列表区域内的多个目标内容项进行高亮展示。The third display module is configured to highlight and display multiple target content items in the content list area in response to the hovering operation acting on the batch processing option.
在一些实施例中,所述处理装置还包括:In some embodiments, the processing device further includes:
重排模块,用于根据所述属性参数在所述预设数据结构中的排列顺序,对所述内容列表区域内的目标内容项进行重排,所述目标内容项为与所述预设数据结构中的属性参数对应的内容项。A rearrangement module, configured to rearrange the target content items in the content list area according to the arrangement order of the attribute parameters in the preset data structure, where the target content items are the same as the preset data The content item corresponding to the attribute parameter in the structure.
在一些实施例中,所述操作选项区域还包括批量处理选项,所述装置还包括:In some embodiments, the operation options area further includes batch processing options, and the apparatus further includes:
批量处理模块,用于响应作用于所述批量处理选项的第六选择操作,对所述预设数据结构所记录的多个内容项进行批量处理。A batch processing module, configured to perform batch processing on a plurality of content items recorded in the preset data structure in response to the sixth selection operation acting on the batch processing option.
上述的列表内容项的处理装置可实施上述方法实施例的列表内容项的处理方法。上述方法实施例中的可选项也适用于本实施例,这里不再详述。本申请实施例的其余内容可参照上述方法实施例的内容,在本实施例中,不再进行赘述。The foregoing apparatus for processing a list content item may implement the method for processing a list content item in the foregoing method embodiments. The options in the foregoing method embodiment are also applicable to this embodiment, and are not described in detail here. For the remaining contents of the embodiments of the present application, reference may be made to the contents of the foregoing method embodiments, which will not be repeated in this embodiment.
图7为本申请一实施例提供的终端设备的结构示意图。如图7所示,该实施例的终端设备7包括:至少一个处理器70(图7中仅示出一个)处理器、存储器71以及存储在所述存储器71中并可在所述至少一个处理器70上运行的计算机程序72,所述处理器70执行所述计算机程序72时实现上述任意方法实施例中的步骤。FIG. 7 is a schematic structural diagram of a terminal device according to an embodiment of the present application. As shown in FIG. 7 , the
所述终端设备7可以是智能手机、平板电脑和桌上型计算机等计算设备。该终端设备可包括但不仅限于处理器70、存储器71。本领域技术人员可以理解,图7仅仅是终端设备7的举例,并不构成对终端设备7的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件,例如还可以包括输入输出设备、网络接入设备等。The
所称处理器70可以是中央处理单元(Central Processing Unit,CPU),该处理器70还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。The so-called
所述存储器71在一些实施例中可以是所述终端设备7的内部存储单元,例如终端设备7的硬盘或内存。所述存储器71在另一些实施例中也可以是所述终端设备7的外部存储设备,例如所述终端设备7上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。进一步地,所述存储器71还可以既包括所述终端设备7的内部存储单元也包括外部存储设备。所述存储器71用于存储操作系统、应用程序、引导装载程序(BootLoader)、数据以及其他程序等,例如所述计算机程序的程序代码等。所述存储器71还可以用于暂时地存储已经输出或者将要输出的数据。The
另外,本申请实施例还提供一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时实现上述任意方法实施例中的步骤。In addition, an embodiment of the present application further provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, implements the steps in any of the foregoing method embodiments.
本申请实施例提供了一种计算机程序产品,当计算机程序产品在终端设备上运行时,使得终端设备执行时实现上述各个方法实施例中的步骤。The embodiments of the present application provide a computer program product, which, when the computer program product runs on a terminal device, enables the terminal device to implement the steps in each of the foregoing method embodiments.
在本申请所提供的几个实施例中,可以理解的是,流程图或框图中的每个方框可以代表一个模块、程序段或代码的一部分,所述模块、程序段或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意的是,在有些作为替换的实现方式中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个连续的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。In the several embodiments provided in this application, it should be understood that each block in the flowchart or block diagram may represent a module, program segment or part of code, and the module, program segment or part of code includes One or more executable instructions for implementing specified logical functions. It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved.
所述功能如果以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台终端设备执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。If the functions are implemented in the form of software function modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be embodied in the form of a software product in essence, or the part that contributes to the prior art or the part of the technical solution. The computer software product is stored in a storage medium, including Several instructions are used to make a terminal device execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage medium includes: 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 .
以上所述的具体实施例,对本申请的目的、技术方案和有益效果进行了进一步的详细说明,应当理解,以上所述仅为本申请的具体实施例而已,并不用于限定本申请的保护范围。特别指出,对于本领域技术人员来说,凡在本申请的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。The specific embodiments described above further describe the purpose, technical solutions and beneficial effects of the present application in detail. It should be understood that the above are only specific embodiments of the present application, and are not intended to limit the protection scope of the present application. . It is particularly pointed out that for those skilled in the art, any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present application should be included within the protection scope of the present application.
Claims (13)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210797658.4A CN115129200B (en) | 2022-07-07 | 2022-07-07 | Method, device, equipment and storage medium for processing list content items |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210797658.4A CN115129200B (en) | 2022-07-07 | 2022-07-07 | Method, device, equipment and storage medium for processing list content items |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN115129200A true CN115129200A (en) | 2022-09-30 |
| CN115129200B CN115129200B (en) | 2024-12-06 |
Family
ID=83382077
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202210797658.4A Active CN115129200B (en) | 2022-07-07 | 2022-07-07 | Method, device, equipment and storage medium for processing list content items |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN115129200B (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN116910738A (en) * | 2023-06-21 | 2023-10-20 | 启朔(深圳)科技有限公司 | User operation restriction methods, systems, computer equipment and media |
Citations (14)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101944210A (en) * | 2010-09-26 | 2011-01-12 | 用友软件股份有限公司 | Form batch processing method and device |
| CN102043630A (en) * | 2010-12-30 | 2011-05-04 | 国网电力科学研究院 | Method and system for generating multi-page in framework |
| CN108376333A (en) * | 2018-03-12 | 2018-08-07 | 网易(杭州)网络有限公司 | Document approvals method, medium, device and computing device |
| CN108646965A (en) * | 2018-05-14 | 2018-10-12 | 平安科技(深圳)有限公司 | Processing method, terminal device and the medium of service line |
| CN109766430A (en) * | 2018-12-17 | 2019-05-17 | 深圳壹账通智能科技有限公司 | Contract review method, device, computer equipment and storage medium |
| CN109816212A (en) * | 2018-12-29 | 2019-05-28 | 东软集团股份有限公司 | Creation method, device, storage medium and the electronic equipment of task list |
| CN110895745A (en) * | 2019-12-02 | 2020-03-20 | 深圳前海环融联易信息科技服务有限公司 | Method and device for polling and getting task, computer equipment and storage medium |
| CN111078736A (en) * | 2019-11-06 | 2020-04-28 | 用友网络科技股份有限公司 | Data aggregation processing method and device, terminal and storage medium |
| CN111460346A (en) * | 2020-03-30 | 2020-07-28 | 网易(杭州)网络有限公司 | Content auditing method and device, electronic equipment and storage medium |
| CN112035697A (en) * | 2020-09-01 | 2020-12-04 | 北京字节跳动网络技术有限公司 | Information processing method and device |
| CN112099706A (en) * | 2020-09-04 | 2020-12-18 | 深圳市欢太科技有限公司 | Page display method, apparatus, electronic device, and computer-readable storage medium |
| WO2021212761A1 (en) * | 2020-04-21 | 2021-10-28 | 武汉旷视金智科技有限公司 | Tag processing method and apparatus, and electronic device |
| CN114117303A (en) * | 2021-11-29 | 2022-03-01 | 杭州迪普科技股份有限公司 | Multi-selection list display device and method |
| CN114462980A (en) * | 2022-03-11 | 2022-05-10 | 金蝶蝶金云计算有限公司 | Receipt generation method and device, computer equipment and storage medium |
-
2022
- 2022-07-07 CN CN202210797658.4A patent/CN115129200B/en active Active
Patent Citations (14)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101944210A (en) * | 2010-09-26 | 2011-01-12 | 用友软件股份有限公司 | Form batch processing method and device |
| CN102043630A (en) * | 2010-12-30 | 2011-05-04 | 国网电力科学研究院 | Method and system for generating multi-page in framework |
| CN108376333A (en) * | 2018-03-12 | 2018-08-07 | 网易(杭州)网络有限公司 | Document approvals method, medium, device and computing device |
| CN108646965A (en) * | 2018-05-14 | 2018-10-12 | 平安科技(深圳)有限公司 | Processing method, terminal device and the medium of service line |
| CN109766430A (en) * | 2018-12-17 | 2019-05-17 | 深圳壹账通智能科技有限公司 | Contract review method, device, computer equipment and storage medium |
| CN109816212A (en) * | 2018-12-29 | 2019-05-28 | 东软集团股份有限公司 | Creation method, device, storage medium and the electronic equipment of task list |
| CN111078736A (en) * | 2019-11-06 | 2020-04-28 | 用友网络科技股份有限公司 | Data aggregation processing method and device, terminal and storage medium |
| CN110895745A (en) * | 2019-12-02 | 2020-03-20 | 深圳前海环融联易信息科技服务有限公司 | Method and device for polling and getting task, computer equipment and storage medium |
| CN111460346A (en) * | 2020-03-30 | 2020-07-28 | 网易(杭州)网络有限公司 | Content auditing method and device, electronic equipment and storage medium |
| WO2021212761A1 (en) * | 2020-04-21 | 2021-10-28 | 武汉旷视金智科技有限公司 | Tag processing method and apparatus, and electronic device |
| CN112035697A (en) * | 2020-09-01 | 2020-12-04 | 北京字节跳动网络技术有限公司 | Information processing method and device |
| CN112099706A (en) * | 2020-09-04 | 2020-12-18 | 深圳市欢太科技有限公司 | Page display method, apparatus, electronic device, and computer-readable storage medium |
| CN114117303A (en) * | 2021-11-29 | 2022-03-01 | 杭州迪普科技股份有限公司 | Multi-selection list display device and method |
| CN114462980A (en) * | 2022-03-11 | 2022-05-10 | 金蝶蝶金云计算有限公司 | Receipt generation method and device, computer equipment and storage medium |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN116910738A (en) * | 2023-06-21 | 2023-10-20 | 启朔(深圳)科技有限公司 | User operation restriction methods, systems, computer equipment and media |
Also Published As
| Publication number | Publication date |
|---|---|
| CN115129200B (en) | 2024-12-06 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US10510172B2 (en) | Automated combination of multiple data visualizations | |
| US10896192B2 (en) | Allowing in-line edit to data table of linked data of a data store | |
| US9563617B2 (en) | Custom validation of values for fields of submitted forms | |
| US9348563B1 (en) | Bi-directional editing between visual screen designer and source code | |
| US20180321830A1 (en) | Screen-based workflow configuration and execution platform | |
| US20210383370A1 (en) | Enhanced multi-party user data deletion | |
| US20130085961A1 (en) | Enterprise context visualization | |
| US9245256B2 (en) | Assigning and managing reviews of a computing file | |
| US20110010350A1 (en) | Automated viewable selectable change history manipulation | |
| CN108932188A (en) | A kind of data processing method and device | |
| WO2023044809A1 (en) | Method and device for creating quantitative transaction strategy | |
| US9678935B2 (en) | Facilitating dynamic cross-block joining of reports in an on-demand services environment | |
| US20250341960A1 (en) | Drag and drop interactions for an object tracking software application | |
| CN109614600B (en) | Report display method and device and computer storage medium | |
| US10884765B1 (en) | Object configuration dynamic graphical user interface | |
| CN115129200A (en) | Method, apparatus, device and storage medium for processing list content items | |
| CN114218455B (en) | A method, device, equipment and medium for fast reading of documents | |
| CN118674392B (en) | Process configuration and management methods and related equipment | |
| US12461892B2 (en) | Data deletion system and method | |
| US20250258654A1 (en) | Retrieval augmented generation based on process artifacts | |
| CN112862399A (en) | Method, device and equipment for changing material list table and storage medium | |
| US9384284B2 (en) | Value-added usage of process-oriented extension fields in business mashups | |
| US11644954B2 (en) | Method and apparatus for providing a document editing interface for providing resource information related to a document using a backlink button | |
| CN114153345B (en) | Multi-time node selection method, device, electronic equipment and storage medium | |
| CN118657486A (en) | Method and related device for configuring schedule |
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 | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |