Movatterモバイル変換


[0]ホーム

URL:


CN112558957B - Method and device for generating webpage form, electronic equipment and readable storage medium - Google Patents

Method and device for generating webpage form, electronic equipment and readable storage medium
Download PDF

Info

Publication number
CN112558957B
CN112558957BCN202011421048.1ACN202011421048ACN112558957BCN 112558957 BCN112558957 BCN 112558957BCN 202011421048 ACN202011421048 ACN 202011421048ACN 112558957 BCN112558957 BCN 112558957B
Authority
CN
China
Prior art keywords
webpage
web page
basic
program
setting operation
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.)
Active
Application number
CN202011421048.1A
Other languages
Chinese (zh)
Other versions
CN112558957A (en
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.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group 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 China United Network Communications Group Co LtdfiledCriticalChina United Network Communications Group Co Ltd
Priority to CN202011421048.1ApriorityCriticalpatent/CN112558957B/en
Publication of CN112558957ApublicationCriticalpatent/CN112558957A/en
Application grantedgrantedCritical
Publication of CN112558957BpublicationCriticalpatent/CN112558957B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

The embodiment of the application provides a method, a device, electronic equipment and a readable storage medium for generating a webpage form, which comprise the steps of responding to a form creation instruction and creating a visualized basic webpage form in a webpage according to a pre-edited initial form program; receiving a setting operation instruction triggered in the webpage, adjusting the basic webpage form according to the setting operation instruction, and updating the initial form program based on the adjusted basic webpage form; and responding to the form output instruction, and outputting the target webpage form according to the initial form program updated last time. When the webpage table is generated, the visualized basic webpage table is firstly created in the webpage according to the initial table program, then the basic webpage table is adjusted in the webpage based on actual requirements, and the initial table program is updated based on the adjusted basic webpage table, so that manual writing of table codes is not needed, and the working efficiency of generating the webpage table can be effectively improved.

Description

Translated fromChinese
生成网页表格的方法、装置、电子设备及可读存储介质Method, device, electronic device and readable storage medium for generating web page form

技术领域Technical field

本申请实施例涉及计算机技术领域,尤其涉及一种生成网页表格的方法、装置、电子设备及可读存储介质。Embodiments of the present application relate to the field of computer technology, and in particular, to a method, device, electronic device, and readable storage medium for generating a web page form.

背景技术Background technique

随着互联网技术的普及,各行各业的企业用户往往会通过超级文本标记语言(Hyper Text Markup Language,HTML)页面中的HTML表格来展示不同类型数据。With the popularization of Internet technology, business users from all walks of life often display different types of data through HTML tables in Hyper Text Markup Language (HTML) pages.

在现有技术中,HTML表格通常需要开发人员根据用户需求,手动编写代码来生成,例如通过编写以下代码来生成下面的“表1”:In the existing technology, HTML tables usually require developers to manually write code to generate based on user needs. For example, the following "Table 1" is generated by writing the following code:

表1Table 1

然而在实际应用场景中,不同的企业、同一企业的不同部门、甚至是不同的运行设备,通常都会需要开发人员提供不同样式的HTML表格,而由于不同的HTML表格需要编写不同的代码,因此工作效率较低。However, in actual application scenarios, different enterprises, different departments of the same enterprise, and even different operating devices usually require developers to provide different styles of HTML tables. Since different HTML tables require writing different codes, the work Less efficient.

发明内容Contents of the invention

本申请实施例提供一种生成网页表格的方法、装置、电子设备及可读存储介质,可以解决目前生成网页表格的方式效率较低的技术问题。Embodiments of the present application provide a method, device, electronic device, and readable storage medium for generating a web page form, which can solve the technical problem of low efficiency in current methods of generating web page forms.

第一方面,本申请实施例提供一种生成网页表格的方法,该方法包括:In a first aspect, embodiments of the present application provide a method for generating a web page form. The method includes:

响应于表格创建指令,根据预先编辑的初始表格程序在网页中创建可视化的基础网页表格;In response to the form creation instruction, create a visual basic web page form in the web page according to the pre-edited initial form program;

接收在所述网页中触发的设置操作指令,根据所述设置操作指令调整所述基础网页表格,并基于调整后的基础网页表格更新所述初始表格程序;Receive a setting operation instruction triggered in the web page, adjust the basic web page form according to the setting operation instruction, and update the initial form program based on the adjusted basic web page form;

响应于表格输出指令,根据最近一次更新后的初始表格程序,输出目标网页表格。In response to the form output instruction, the target web page form is output according to the latest updated initial form program.

在一种可能的设计方式中,所述接收在所述网页中触发的设置操作指令,根据所述设置操作指令调整所述基础网页表格,并基于调整后的基础网页表格更新所述初始表格程序,包括:In a possible design method, the step is to receive a setting operation instruction triggered in the web page, adjust the basic web page form according to the setting operation instruction, and update the initial form program based on the adjusted basic web page form. ,include:

接收在所述网页中触发的对所述基础网页表格中目标单元格的编辑操作,将所述编辑操作输入的内容添加到所述目标单元格中;Receive an editing operation on the target cell in the basic web page table triggered in the web page, and add the content input by the editing operation to the target cell;

基于所述目标单元格中已添加的内容,更新所述初始表格程序中所述目标单元格对应的程序代码。Based on the added content in the target cell, the program code corresponding to the target cell in the initial table program is updated.

在一种可能的设计方式中,所述接收在所述网页中触发的设置操作指令,根据所述设置操作指令调整所述基础网页表格,并基于调整后的基础网页表格更新所述初始表格程序,包括:In a possible design method, the step is to receive a setting operation instruction triggered in the web page, adjust the basic web page form according to the setting operation instruction, and update the initial form program based on the adjusted basic web page form. ,include:

接收在所述网页中触发的对所述基础网页表格的拖拽操作,根据所述拖拽操作,调整所述基础网页表格的行高和/或列宽;Receive a drag operation on the basic web page table triggered in the web page, and adjust the row height and/or column width of the basic web page table according to the drag operation;

基于所述基础网页表格调整后的行高和/或列宽,更新所述初始表格程序中与所述基础网页表格的行高和/或列宽对应的程序代码。Based on the adjusted row height and/or column width of the basic web page table, update the program code corresponding to the row height and/or column width of the basic web page table in the initial table program.

在一种可能的设计方式中,所述接收在所述网页中触发的设置操作指令,根据所述设置操作指令调整所述基础网页表格,并基于调整后的基础网页表格更新所述初始表格程序,包括:In a possible design method, the step is to receive a setting operation instruction triggered in the web page, adjust the basic web page form according to the setting operation instruction, and update the initial form program based on the adjusted basic web page form. ,include:

接收在所述网页中触发的对所述基础网页表格的增删操作,根据所述增删操作,增加或者删减所述基础网页表格的行数和/或列数;Receive an add or delete operation on the basic web page table triggered in the web page, and increase or delete the number of rows and/or columns of the basic web page table according to the add or delete operation;

基于所述基础网页表格增加或者删减后的行数和/或列数,更新所述初始表格程序中与所述基础网页表格的行数和/或列数对应的程序代码。Based on the added or deleted number of rows and/or columns of the basic web page table, update the program code in the initial table program corresponding to the number of rows and/or columns of the basic web page table.

在一种可能的设计方式中,所述接收在所述网页中触发的设置操作指令,根据所述设置操作指令调整所述基础网页表格,并基于调整后的基础网页表格更新所述初始表格程序,包括:In a possible design method, the step is to receive a setting operation instruction triggered in the web page, adjust the basic web page form according to the setting operation instruction, and update the initial form program based on the adjusted basic web page form. ,include:

接收在所述网页中触发的对所述基础网页表格的显示参数的设置操作,根据所述设置操作,设置所述基础网页表格的显示参数;所述显示参数包括以下各项参数中的一种或多种:背景颜色参数、边框参数及字体参数;Receive a setting operation for display parameters of the basic web page table triggered in the web page, and set the display parameters of the basic web page table according to the setting operation; the display parameters include one of the following parameters Or more: background color parameters, border parameters and font parameters;

基于所述基础网页表格设置后的显示参数,更新所述初始表格程序中与所述显示参数对应的程序代码。Based on the set display parameters of the basic web page form, update the program code corresponding to the display parameters in the initial form program.

在一种可能的设计方式中,所述接收在所述网页中触发的设置操作指令,根据所述设置操作指令调整所述基础网页表格,并基于调整后的基础网页表格更新所述初始表格程序,包括:In a possible design method, the step is to receive a setting operation instruction triggered in the web page, adjust the basic web page form according to the setting operation instruction, and update the initial form program based on the adjusted basic web page form. ,include:

接收在所述网页中触发的对所述基础网页表格中目标单元格的访问路径设置操作,根据所述访问路径设置操作设置所述目标单元格的访问路径;Receive an access path setting operation for the target cell in the basic web page table triggered in the web page, and set the access path for the target cell according to the access path setting operation;

基于所述目标单元格设置后的访问路径,更新所述初始表格程序中所述目标单元格的访问路径对应的程序代码。Based on the set access path of the target cell, update the program code corresponding to the access path of the target cell in the initial table program.

在一种可能的设计方式中,所述接收在所述网页中触发的设置操作指令,根据所述设置操作指令调整所述基础网页表格,并基于调整后的基础网页表格更新所述初始表格程序,包括:In a possible design method, the step is to receive a setting operation instruction triggered in the web page, adjust the basic web page form according to the setting operation instruction, and update the initial form program based on the adjusted basic web page form. ,include:

接收在所述网页中触发的对所述基础网页表格中表单项的设置操作,根据所述表单项的设置操作在所述基础网页表格中设置网页表单;Receive a setting operation for a form item in the basic web page form triggered in the web page, and set a web page form in the basic web page form according to the setting operation of the form item;

基于设置后的网页表单,在所述初始表格程序中添加与所述网页表单对应的程序代码。Based on the set web form, program code corresponding to the web form is added to the initial form program.

在一种可能的设计方式中,所述根据预先编辑的初始表格程序在网页中创建可视化的基础网页表格之后,还包括:In a possible design method, after creating a visual basic web page form in the web page according to the pre-edited initial form program, the method further includes:

将所述初始表格程序显示在所述网页中;Display the initial form program in the web page;

所述基于调整后的基础网页表格更新所述初始表格程序,包括:The procedure for updating the initial form based on the adjusted basic web page form includes:

基于调整后的基础网页表格更新所述网页中显示的所述初始表格程序。The initial form program displayed in the web page is updated based on the adjusted basic web page form.

第二方面,本申请实施例提供一种生成网页表格的装置,该装置包括:In a second aspect, embodiments of the present application provide a device for generating a web page form. The device includes:

创建模块,用于响应于表格创建指令,根据预先编辑的初始表格程序在网页中创建可视化的基础网页表格;A creation module, configured to respond to the form creation instruction and create a visual basic web page form in the web page according to the pre-edited initial form program;

控制模块,用于接收在所述网页中触发的设置操作指令,根据所述设置操作指令调整所述基础网页表格,并基于调整后的基础网页表格更新所述初始表格程序;A control module configured to receive a setting operation instruction triggered in the web page, adjust the basic web page form according to the setting operation instruction, and update the initial form program based on the adjusted basic web page form;

输出模块,用于响应于表格输出指令,根据最近一次更新后的初始表格程序,输出目标网页表格。The output module is configured to respond to the form output instruction and output the target web page form according to the latest updated initial form program.

第三方面,本申请实施例提供一种电子设备,包括:至少一个处理器和存储器;In a third aspect, embodiments of the present application provide an electronic device, including: at least one processor and a memory;

所述存储器存储计算机执行指令;The memory stores computer execution instructions;

所述至少一个处理器执行所述存储器存储的计算机执行指令,使得所述至少一个处理器执行如第一方面提供的生成网页表格的方法。The at least one processor executes the computer execution instructions stored in the memory, so that the at least one processor executes the method for generating a web page table as provided in the first aspect.

第四方面,本申请实施例提供一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机执行指令,当处理器执行所述计算机执行指令时,实现如第一方面提供的生成网页表格的方法。In a fourth aspect, embodiments of the present application provide a computer-readable storage medium. Computer-executable instructions are stored in the computer-readable storage medium. When the processor executes the computer-executable instructions, the generation provided in the first aspect is implemented. Web form method.

本申请实施例所提供的生成网页表格的方法、装置、电子设备及可读存储介质,包括响应于表格创建指令,根据预先编辑的初始表格程序在网页中创建可视化的基础网页表格;接收在上述网页中触发的设置操作指令,根据该设置操作指令调整上述基础网页表格,并基于调整后的基础网页表格更新上述初始表格程序;响应于表格输出指令,根据最近一次更新后的初始表格程序,输出目标网页表格。本申请实施例在生成网页表格时,先根据初始表格程序在网页中创建可视化的基础网页表格,然后基于用户在网页中的设置操作对该基础网页表格进行调整,并基于调整后的基础网页表格更新上述初始表格程序,在调整完后,基于最近一次更新后的初始表格程序,即可输出目标网页表格,不需要手动去编写代码,即使是非专业的软件开发人员也能够轻易的创建出符合自身需求的网页表格,可以有效提升生成网页表格的工作效率。The method, device, electronic device and readable storage medium for generating a web page form provided by embodiments of the present application include responding to a form creation instruction and creating a visual basic web page form in a web page according to a pre-edited initial form program; received in the above The setting operation instruction triggered in the web page adjusts the above-mentioned basic web page form according to the setting operation instruction, and updates the above-mentioned initial form program based on the adjusted basic web page form; in response to the form output instruction, according to the latest updated initial form program, output Landing page form. When generating a web page form in the embodiment of this application, a visual basic web page form is first created in the web page according to the initial form program, and then the basic web page form is adjusted based on the user's setting operation on the web page, and the basic web page form is adjusted based on the adjusted basic web page form. Update the above initial form program. After the adjustment, based on the latest updated initial form program, the target web page form can be output. There is no need to manually write code. Even non-professional software developers can easily create a form that suits their own needs. The required web form can effectively improve the efficiency of generating web forms.

附图说明Description of the drawings

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

图1为本申请实施例中提供的生成网页表格的方法的流程示意图;Figure 1 is a schematic flowchart of a method for generating a web page form provided in an embodiment of the present application;

图2为本申请实施例中提供的一种生成网页表格的操作界面示意图;Figure 2 is a schematic diagram of an operation interface for generating a web page form provided in an embodiment of the present application;

图3为本申请实施例中提供的另一种生成网页表格的操作界面示意图;Figure 3 is a schematic diagram of another operation interface for generating web forms provided in the embodiment of the present application;

图4为本申请实施例中提供的生成网页表格的装置的程序模块示意图;Figure 4 is a schematic diagram of a program module of a device for generating a web page form provided in an embodiment of the present application;

图5为本申请实施例提供的一种电子设备的硬件结构示意图。FIG. 5 is a schematic diagram of the hardware 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 the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments These are part of the embodiments of this application, but not all of them. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative efforts fall within the scope of protection of this application.

目前广泛使用的HTML表格的创建过程一般是由开发人员根据实际需求,手动编写代码来完成,但是,由于不同的表格样式需要编写不同的代码,如果完全只依赖于开发人员手动编写代码来完成,效率会比较低。The creation process of currently widely used HTML tables is generally completed by developers manually writing codes according to actual needs. However, since different table styles require writing different codes, if it is completely dependent on developers manually writing codes, The efficiency will be lower.

为了解决上述技术问题,本申请实施例提供一种生成网页表格的方法,在制作网页表格时,先根据初始表格程序在网页中创建可视化的基础网页表格,然后基于用户在网页中的设置操作对该基础网页表格进行调整,并基于调整后的基础网页表格更新上述初始表格程序,在调整完后,基于最近一次更新后的初始表格程序,即可输出目标网页表格,不需要手动去编写代码,即使是非专业的软件开发人员也能够轻易的创建出符合自身需求的网页表格,可以有效提升生成网页表格的工作效率。In order to solve the above technical problems, embodiments of the present application provide a method for generating a web page form. When making a web page form, a visual basic web page form is first created in the web page according to the initial form program, and then based on the user's setting operation in the web page. The basic web page form is adjusted, and the above-mentioned initial form program is updated based on the adjusted basic web page form. After the adjustment, based on the latest updated initial form program, the target web page form can be output, without the need to manually write code. Even non-professional software developers can easily create web forms that meet their own needs, which can effectively improve the efficiency of generating web forms.

可以理解的是,本申请实施例中所提供的生成网页表格的方法,可以由任意配置有操作显示界面的电子设备执行,该电子设备可以是电脑、电视机、手机等,本申请实施例中不进行任何限制,下面采用详细的实施例进行详细说明。It can be understood that the method for generating a web page form provided in the embodiment of the present application can be executed by any electronic device equipped with an operation display interface. The electronic device can be a computer, a television, a mobile phone, etc. In the embodiment of the present application, Without any limitation, detailed examples will be used for detailed description below.

参照图1,图1为本申请实施例中提供的生成网页表格的方法的流程示意图,上述生成网页表格的方法包括:Referring to Figure 1, Figure 1 is a schematic flowchart of a method for generating a web page form provided in an embodiment of the present application. The method for generating a web page form includes:

S101、响应于表格创建指令,根据预先编辑的初始表格程序在网页中创建可视化的基础网页表格。S101. In response to the form creation instruction, create a visual basic web page form in the web page according to the pre-edited initial form program.

在本申请实施例中,当用户需要在电子设备上建立网页表格时,可以先在该电子设备中创建一个网页,然后触发表格创建指令。当电子设备接收到该表格创建指令后,获取预先编辑的初始表格程序,然后根据该初始表格程序在网页中创建可视化的基础网页表格。In this embodiment of the present application, when the user needs to create a web page form on an electronic device, he or she can first create a web page in the electronic device and then trigger the form creation instruction. After receiving the form creation instruction, the electronic device obtains the pre-edited initial form program, and then creates a visual basic web page form in the web page based on the initial form program.

例如,预先编辑一个n×m的网页表格所对应的表格程序,并保存在电子设备本地或者网络服务器中,当电子设备在接收到表格创建指令后,从电子设备本地或者网络服务器中获取已保存的上述表格程序,然后根据该表格程序在网页中自动创建一个n×m的网页表格。For example, pre-edit a form program corresponding to an n×m web page form and save it locally on the electronic device or in the network server. After receiving the form creation instruction, the electronic device obtains the saved form from the local area of the electronic device or the network server. The above form program is used, and then an n×m web page form is automatically created in the web page according to the form program.

S102、接收在上述网页中触发的设置操作指令,根据该设置操作指令调整上述基础网页表格,并基于调整后的基础网页表格更新上述初始表格程序。S102. Receive the setting operation instruction triggered in the above-mentioned web page, adjust the above-mentioned basic web page form according to the setting operation instruction, and update the above-mentioned initial form program based on the adjusted basic web page form.

本申请实施例中,当网页中创建可视化的基础网页表格之后,用户即可根据实际需求,通过一些设置操作对该基础网页表格进行调整,例如调整基础网页表格的行高、列宽、行数、列数等。In the embodiment of this application, after a visual basic web page table is created in the web page, the user can adjust the basic web page table through some setting operations according to actual needs, such as adjusting the row height, column width, and row number of the basic web page table. , number of columns, etc.

其中,电子设备在接收到用户在上述网页中触发的设置操作指令时,根据该设置操作指令调整上述基础网页表格,并基于调整后的基础网页表格更新上述初始表格程序。例如,电子设备在接收到用户在上述网页中触发的增大基础网页表格的行高的设置操作指令时,根据该设置操作指令增大上述网页中基础网页表格的行高,同时修改上述初始表格程序中行高对应的程序代码,使修改后的程序代码中的行高与网页中调整后实际显示的行高一致。Wherein, when the electronic device receives the setting operation instruction triggered by the user in the above-mentioned webpage, it adjusts the above-mentioned basic webpage form according to the setting operation instruction, and updates the above-mentioned initial form program based on the adjusted basic webpage form. For example, when the electronic device receives a setting operation instruction to increase the row height of the basic web page table triggered by the user in the above-mentioned web page, the electronic device increases the row height of the basic web page table in the above-mentioned web page according to the setting operation instruction, and at the same time modifies the above-mentioned initial table. The program code corresponding to the row height in the program makes the row height in the modified program code consistent with the row height actually displayed on the web page after adjustment.

S103、响应于表格输出指令,根据最近一次更新后的初始表格程序,输出目标网页表格。S103. In response to the table output command, output the target web page table according to the latest updated initial table program.

本申请实施例中,当用户完成对上述基础网页表格的调整之后,即可触发表格输出指令来得到所需要的目标网页表格。In the embodiment of the present application, after the user completes the adjustment of the above basic web page form, the form output command can be triggered to obtain the required target web page form.

其中,电子设备在接收到用户在上述网页中触发的表格输出指令时,获取最近一次更新后的初始表格程序,然后基于获取到的表格程序输出上述目标网页表格。Wherein, when receiving the form output instruction triggered by the user in the above-mentioned web page, the electronic device obtains the latest updated initial form program, and then outputs the above-mentioned target web page form based on the obtained form program.

本申请实施例所提供的生成网页表格的方法,在生成网页表格时,先根据初始表格程序在网页中创建可视化的基础网页表格,然后基于用户在网页中的设置操作对该基础网页表格进行调整,并基于调整后的基础网页表格更新上述初始表格程序,在调整完后,基于最近一次更新后的初始表格程序,即可输出目标网页表格,不需要手动去编写代码,即使是非专业的软件开发人员也能够轻易的创建出符合自身需求的网页表格,可以有效提升生成网页表格的工作效率。The method for generating a web page form provided by the embodiment of the present application first creates a visual basic web page form in the web page according to the initial form program, and then adjusts the basic web page form based on the user's setting operations in the web page. , and update the above-mentioned initial form program based on the adjusted basic web page form. After the adjustment, based on the latest updated initial form program, the target web page form can be output, without the need to manually write code, even for non-professional software development People can also easily create web forms that meet their own needs, which can effectively improve the efficiency of generating web forms.

基于上述实施例中所描述的内容,在本申请一种可行的实施方式中,上述步骤S102中描述的接收在上述网页中触发的设置操作指令,根据该设置操作指令调整上述基础网页表格,并基于调整后的基础网页表格更新上述初始表格程序,具体包括:Based on the contents described in the above embodiments, in a feasible implementation manner of the present application, the above step S102 described above receives the setting operation instruction triggered in the above web page, adjusts the above basic web page form according to the setting operation instruction, and Update the above initial form procedure based on the adjusted basic web form, including:

接收在网页中触发的对基础网页表格中目标单元格的编辑操作,将该编辑操作输入的内容添加到目标单元格中;基于目标单元格中已添加的内容,更新初始表格程序中目标单元格对应的程序代码。Receive the editing operation on the target cell in the basic web page table that is triggered in the web page, and add the content entered by the editing operation to the target cell; based on the added content in the target cell, update the target cell in the initial table program The corresponding program code.

示例性的,当用户通过鼠标点击目标单元格时,目标单元格自动变成可编辑状态,以接收用户输入的内容;当鼠标光标移出目标单元格时,无刷新保存用户输入的内容。其中,当用户通过鼠标点击目标单元格时,如果该目标单元格为不可编辑的状态,则进行无感知的文本框与目标单元格的替换,然后在检测到鼠标光标移出目标单元格时,将文本框内输入的内容填入目标单元格,且移除上述文本框。For example, when the user clicks the target cell with the mouse, the target cell automatically becomes editable to receive user input; when the mouse cursor moves out of the target cell, the user input is saved without refreshing. Among them, when the user clicks the target cell with the mouse, if the target cell is in an uneditable state, the text box and the target cell are replaced imperceptibly, and then when the mouse cursor is detected to move out of the target cell, the text box is replaced with the target cell. The content entered in the text box is filled in the target cell, and the above text box is removed.

其中,在目标单元格中添加内容之后,基于目标单元格中已添加的内容,更新初始表格程序中目标单元格对应的程序代码。例如,当在目标单元格中添加“姓名”时,在上述目标单元格对应的程序代码中添加“姓名”。After adding content in the target cell, the program code corresponding to the target cell in the initial table program is updated based on the added content in the target cell. For example, when adding "Name" to the target cell, add "Name" to the program code corresponding to the above target cell.

可选的,上述步骤S102中描述的接收在上述网页中触发的设置操作指令,根据该设置操作指令调整上述基础网页表格,并基于调整后的基础网页表格更新上述初始表格程序,具体还包括:Optionally, the step S102 described above receives the setting operation instruction triggered in the above-mentioned web page, adjusts the above-mentioned basic web page form according to the setting operation instruction, and updates the above-mentioned initial form program based on the adjusted basic web page form, specifically also includes:

接收在网页中触发的对基础网页表格的拖拽操作,根据该拖拽操作,调整基础网页表格的行高和/或列宽;基于基础网页表格调整后的行高和/或列宽,更新初始表格程序中与基础网页表格的行高和/或列宽对应的程序代码。Receive the drag operation on the basic web table triggered in the web page, adjust the row height and/or column width of the basic web table according to the drag operation; update based on the adjusted row height and/or column width of the basic web table The program code in the initial table program that corresponds to the row height and/or column width of the underlying web table.

示例性的,用户可以通过鼠标对基础网页表格中的某一行单元格进行拖拽,以增大或者缩小该行单元格的行高;可以通过鼠标对基础网页表格中的某一列单元格进行拖拽,以增大或者缩小该行单元格的列宽。For example, the user can use the mouse to drag a certain row of cells in the basic web table to increase or reduce the row height of the row of cells; the user can use the mouse to drag a certain column of cells in the basic web table. Drag to increase or decrease the column width of the row of cells.

另外,用户还可以在网页中对整个基础网页表格进行拖拽,以调整上述基础网页表格在网页中的显示位置。In addition, the user can also drag and drop the entire basic web page table on the web page to adjust the display position of the above basic web page table on the web page.

可选的,上述步骤S102中描述的接收在上述网页中触发的设置操作指令,根据该设置操作指令调整上述基础网页表格,并基于调整后的基础网页表格更新上述初始表格程序,具体还包括:Optionally, the step S102 described above receives the setting operation instruction triggered in the above-mentioned web page, adjusts the above-mentioned basic web page form according to the setting operation instruction, and updates the above-mentioned initial form program based on the adjusted basic web page form, specifically also includes:

接收在网页中触发的对基础网页表格的增删操作,根据该增删操作,增加或者删减基础网页表格的行数和/或列数;基于基础网页表格增加或者删减后的行数和/或列数,更新初始表格程序中与所基础网页表格的行数和/或列数对应的程序代码。Receive the addition and deletion operations of the basic web page table triggered in the web page, and according to the addition and deletion operation, increase or delete the number of rows and/or columns of the basic web page table; based on the number of rows and/or the number of rows and/or columns after adding or deleting the basic web page table Column number, update the program code in the initial table program corresponding to the number of rows and/or columns of the underlying web table.

示例性的,用户可以通过鼠标在基础网页表格中的某一行单元格之上或者之下添加若干行表格,也可以通过鼠标在基础网页表格中的某一列单元格左侧或者右侧添加若干列表格。For example, the user can use the mouse to add several rows of tables above or below a certain row of cells in the basic web page table, or can use the mouse to add several lists to the left or right side of a certain column of cells in the basic web page table. grid.

可选的,电子设备在接收到用户触发的增加行的操作指令时,如果基础网页表格已经设置单元格样式,则按照已设置的样式进行新增单元行;电子设备在接收到用户触发的增加列按钮时,判断最后一列是否已经增加可操作性按钮,若是,则在可操作性按钮列前进行新增一列。Optionally, when the electronic device receives the user-triggered operation command to add a row, if the basic web page table has set a cell style, the new cell row will be added according to the set style; when the electronic device receives the user-triggered operation command to add a row, When row buttons are added, it is judged whether the operability button has been added to the last column. If so, a new column is added before the operability button column.

可选的,上述步骤S102中描述的接收在上述网页中触发的设置操作指令,根据该设置操作指令调整上述基础网页表格,并基于调整后的基础网页表格更新上述初始表格程序,具体还包括:Optionally, the step S102 described above receives the setting operation instruction triggered in the above-mentioned web page, adjusts the above-mentioned basic web page form according to the setting operation instruction, and updates the above-mentioned initial form program based on the adjusted basic web page form, specifically also includes:

接收在网页中触发的对基础网页表格的显示参数的设置操作,根据该设置操作,设置基础网页表格的显示参数;该显示参数包括以下各项参数中的一种或多种:背景颜色参数、边框参数及字体参数;基于基础网页表格设置后的显示参数,更新初始表格程序中与上述显示参数对应的程序代码。Receive the setting operation of the display parameters of the basic web form triggered in the web page, and set the display parameters of the basic web form according to the setting operation; the display parameters include one or more of the following parameters: background color parameter, Border parameters and font parameters; based on the display parameters set by the basic web page table, update the program code corresponding to the above display parameters in the initial table program.

示例性的,用户可以通过鼠标在网页中对已经创建的基础网页表格的显示参数进行设置,例如对基础网页表格的背景颜色、斑马线格式、边框样式、字体参数等进行设置。其中,上述字体参数可以包括字体、字号、字体颜色、粗细、倾斜等。For example, the user can use the mouse to set the display parameters of the created basic web page table on the web page, such as setting the background color, zebra pattern, border style, font parameters, etc. of the basic web page table. The above font parameters may include font, font size, font color, thickness, inclination, etc.

可选的,上述步骤S102中描述的接收在上述网页中触发的设置操作指令,根据该设置操作指令调整上述基础网页表格,并基于调整后的基础网页表格更新上述初始表格程序,具体还包括:Optionally, the step S102 described above receives the setting operation instruction triggered in the above-mentioned web page, adjusts the above-mentioned basic web page form according to the setting operation instruction, and updates the above-mentioned initial form program based on the adjusted basic web page form, specifically also includes:

接收在网页中触发的对基础网页表格中目标单元格的访问路径设置操作,根据该访问路径设置操作设置目标单元格的访问路径;基于目标单元格设置后的访问路径,更新初始表格程序中目标单元格的访问路径对应的程序代码。Receive the access path setting operation for the target cell in the basic web page table triggered in the web page, set the access path of the target cell according to the access path setting operation; update the target in the initial table program based on the set access path of the target cell The program code corresponding to the access path of the cell.

本申请实施例中,用户可以通过鼠标在网页中对已经创建的基础网页表格的任意单元格的访问路径进行设置。例如,设置某个单元格对应的访问路径为某个特定的网站,当用户在实际使用过程中,点击该单元格即可自动跳转到该网站。In this embodiment of the present application, the user can use the mouse to set the access path of any cell of the created basic web page table in the web page. For example, set the access path corresponding to a certain cell to a specific website. When the user clicks on the cell during actual use, it will automatically jump to the website.

示例性的,用户可以通过鼠标在上述基础网页表格的任意单元格内填写请求访问路径,设置该单元格的主键、请求成功的返回值、按钮的样式等。For example, the user can use the mouse to fill in the request access path in any cell of the above-mentioned basic web page form, and set the primary key of the cell, the return value of the successful request, the style of the button, etc.

可选的,上述步骤S102中描述的接收在上述网页中触发的设置操作指令,根据该设置操作指令调整上述基础网页表格,并基于调整后的基础网页表格更新上述初始表格程序,具体还包括:Optionally, the step S102 described above receives the setting operation instruction triggered in the above-mentioned web page, adjusts the above-mentioned basic web page form according to the setting operation instruction, and updates the above-mentioned initial form program based on the adjusted basic web page form, specifically also includes:

接收在网页中触发的对基础网页表格中表单项的设置操作,根据该表单项的设置操作在基础网页表格中设置网页表单;基于设置后的网页表单,在初始表格程序中添加与网页表单对应的程序代码。Receive the setting operation of the form item in the basic web form triggered in the web page, set the web form in the basic web form according to the setting operation of the form item; based on the set web form, add the corresponding web form in the initial form program program code.

其中,表单在网页中主要负责数据采集功能。一个表单有三个基本组成部分:表单标签:这里面包含了处理表单数据所用公共网关接口(Common Gateway Interface,CGI)程序的统一资源定位符(Uniform Resource Locator,URL)以及数据提交到服务器的方法;表单域:包含了文本框、密码框、隐藏域、多行文本框、复选框、单选框、下拉选择框和文件上传框等;表单按钮:包括提交按钮、复位按钮和一般按钮,用于将数据传送到服务器上的CGI脚本或者取消输入,还可以用表单按钮来控制其他定义了处理脚本的处理工作。Among them, the form is mainly responsible for the data collection function in the web page. A form has three basic components: Form tag: This contains the Uniform Resource Locator (URL) of the Common Gateway Interface (CGI) program used to process form data and the method for submitting data to the server; Form fields: include text boxes, password boxes, hidden fields, multi-line text boxes, check boxes, radio boxes, drop-down selection boxes and file upload boxes; form buttons: include submit buttons, reset buttons and general buttons, used For sending data to a CGI script on the server or canceling input, you can also use form buttons to control other processing tasks for which processing scripts are defined.

示例性的,用户可以通过鼠标在上述基础网页表格中自定义表单项为文本框、下拉框、单选、多选、多行文本、时间、按钮等控件,可点击控件进行设置,且可对已设置的控件进行名称编辑及其可选内容的编辑、删除等操作。其中,可以左侧设置表单编辑框,右侧放置表单控件,点击表单控件后,自动复制表单控件已定义的模板到左侧表单编辑框,所有控件皆可编辑控件的标签(label)及其占位符(placeholder)。编辑完成后点击设置,去掉编辑框内所有的多余控件。For example, the user can use the mouse to customize the form items in the above-mentioned basic web form as text boxes, drop-down boxes, radio selections, multi-selections, multi-line text, time, buttons and other controls. The controls can be clicked to set, and the controls can be set. The controls that have been set can perform operations such as name editing and editing and deletion of optional content. Among them, you can set the form edit box on the left and place the form control on the right. After clicking the form control, the defined template of the form control will be automatically copied to the form edit box on the left. All controls can edit the label and occupancy of the control. placeholder. After editing, click Settings to remove all redundant controls in the edit box.

为了更好的理解本申请实施例,参照图2,图2为本申请实施例中提供的一种生成网页表格的操作过程示意图。在图2中,电子设备可以接收在网页中触发的对基础网页表格中表单项“任务查询”的设置操作,根据该表单项的设置操作在基础网页表格中设置网页表单。例如,该网页表单中可以包括“创建人”、“负责人”“部门”、“起始日期”、“截止日期”等编辑框,以及表单控件“查询”。In order to better understand the embodiment of the present application, refer to FIG. 2 , which is a schematic diagram of an operation process of generating a web page form provided in the embodiment of the present application. In Figure 2, the electronic device can receive the setting operation of the form item "task query" in the basic web page table triggered in the web page, and set the web page form in the basic web page table according to the setting operation of the form item. For example, the web form can include edit boxes such as "Creator", "Responsible Person", "Department", "Start Date", "End Date", etc., as well as the form control "Query".

另外,本申请实施例中,在网页中创建可视化的基础网页表格之后,还可以在网页中显示一个代码框,并将基础网页表格对应的程序代码显示在该代码框中,当用户对网页中的基础网页表格进行调整时,基于调整后的基础网页表格更新上述代码框中显示的初始表格程序,从而可以使用户能够实时查看到基础网页表格的程序代码的更新过程。In addition, in the embodiment of this application, after creating a visual basic web page table in the web page, a code box can also be displayed in the web page, and the program code corresponding to the basic web page table is displayed in the code box. When the user views the web page When the basic web page table is adjusted, the initial table program displayed in the above code box is updated based on the adjusted basic web page table, so that the user can view the update process of the program code of the basic web page table in real time.

为了更好的理解本申请实施例,参照图3,图3为本申请实施例中提供的另一种生成网页表格的操作过程示意图。在图3中,网页31中可以划分成两个显示区域:表格显示区域32与代码显示区域33。其中,表格显示区域32用于显示已生成的基础网页表格,代码显示区域33用于显示表格显示区域32中当前显示的基础网页表格对应的表格程序。In order to better understand the embodiment of the present application, refer to FIG. 3 , which is a schematic diagram of another operation process of generating a web page form provided in the embodiment of the present application. In FIG. 3 , the web page 31 can be divided into two display areas: a table display area 32 and a code display area 33 . Among them, the table display area 32 is used to display the generated basic web page table, and the code display area 33 is used to display the table program corresponding to the basic web page table currently displayed in the table display area 32 .

基于上述实施例中所描述的内容,本申请实施例中还提供一种生成网页表格的装置,参照图4,图4为本申请实施例中提供的生成网页表格的装置的程序模块示意图,本申请实施例中,生成网页表格的装置40包括创建模块401、控制模块402、输出模块403,其中:Based on the content described in the above embodiments, the embodiment of the present application also provides a device for generating a web page table. Refer to Figure 4. Figure 4 is a schematic diagram of the program module of the device for generating a web page table provided in the embodiment of the present application. In the application embodiment, the device 40 for generating a web page form includes a creation module 401, a control module 402, and an output module 403, wherein:

创建模块401,用于响应于表格创建指令,根据预先编辑的初始表格程序在网页中创建可视化的基础网页表格。The creation module 401 is configured to respond to the form creation instruction and create a visual basic web page form in the web page according to the pre-edited initial form program.

控制模块402,用于接收在网页中触发的设置操作指令,根据该设置操作指令调整基础网页表格,并基于调整后的基础网页表格更新所述初始表格程序。The control module 402 is configured to receive a setting operation instruction triggered in a web page, adjust the basic web page form according to the setting operation instruction, and update the initial form program based on the adjusted basic web page form.

输出模块403,用于响应于表格输出指令,根据最近一次更新后的初始表格程序,输出目标网页表格。The output module 403 is configured to respond to the form output instruction and output the target web page form according to the latest updated initial form program.

本申请实施例所提供的生成网页表格的装置40,在生成网页表格时,先根据初始表格程序在网页中创建可视化的基础网页表格,然后基于实际需求在网页中对该基础网页表格进行调整,并基于调整后的基础网页表格更新上述初始表格程序,在调整完后,根据最近一次更新后的初始表格程序,即可输出目标网页表格,不需要手动编写表格代码,能够有效提升生成网页表格的工作效率。The device 40 for generating a web page form provided by the embodiment of the present application first creates a visual basic web page form in the web page according to the initial form program, and then adjusts the basic web page form in the web page based on actual needs. And update the above-mentioned initial form program based on the adjusted basic web form. After the adjustment, the target web form can be output based on the latest updated initial form program. There is no need to manually write the form code, which can effectively improve the efficiency of generating web forms. Work efficiency.

在一种可行的实施方式中,控制模块402具体用于:In a feasible implementation, the control module 402 is specifically used to:

接收在所述网页中触发的对所述基础网页表格中目标单元格的编辑操作,将所述编辑操作输入的内容添加到所述目标单元格中;基于所述目标单元格中已添加的内容,更新所述初始表格程序中所述目标单元格对应的程序代码。Receive an editing operation on the target cell in the basic web page table triggered in the web page, and add the content input by the editing operation to the target cell; based on the added content in the target cell , update the program code corresponding to the target cell in the initial table program.

在一种可行的实施方式中,控制模块402具体还用于:In a feasible implementation, the control module 402 is also specifically used to:

接收在所述网页中触发的对所述基础网页表格的拖拽操作,根据所述拖拽操作,调整所述基础网页表格的行高和/或列宽;基于所述基础网页表格调整后的行高和/或列宽,更新所述初始表格程序中与所述基础网页表格的行高和/或列宽对应的程序代码。Receive a drag operation on the basic web page table triggered in the web page, and adjust the row height and/or column width of the basic web page table according to the drag operation; based on the adjusted row height and/or column width of the basic web page table Row height and/or column width, update the program code corresponding to the row height and/or column width of the basic web page table in the initial form program.

在一种可行的实施方式中,控制模块402具体还用于:In a feasible implementation, the control module 402 is also specifically used to:

接收在所述网页中触发的对所述基础网页表格的增删操作,根据所述增删操作,增加或者删减所述基础网页表格的行数和/或列数;基于所述基础网页表格增加或者删减后的行数和/或列数,更新所述初始表格程序中与所述基础网页表格的行数和/或列数对应的程序代码。Receive an add or delete operation on the basic web page table triggered in the web page, and increase or delete the number of rows and/or columns of the basic web page table according to the add or delete operation; add or delete the number of rows and/or columns of the basic web page table based on the basic web page table. The number of rows and/or columns after deletion is used to update the program code corresponding to the number of rows and/or columns of the basic web page table in the initial form program.

在一种可行的实施方式中,控制模块402具体还用于:In a feasible implementation, the control module 402 is also specifically used to:

接收在所述网页中触发的对所述基础网页表格的显示参数的设置操作,根据所述设置操作,设置所述基础网页表格的显示参数;所述显示参数包括以下各项参数中的一种或多种:背景颜色参数、边框参数及字体参数;基于所述基础网页表格设置后的显示参数,更新所述初始表格程序中与所述显示参数对应的程序代码。Receive a setting operation for display parameters of the basic web page table triggered in the web page, and set the display parameters of the basic web page table according to the setting operation; the display parameters include one of the following parameters or more: background color parameters, border parameters and font parameters; based on the display parameters set by the basic web page form, update the program code corresponding to the display parameters in the initial form program.

在一种可行的实施方式中,控制模块402具体还用于:In a feasible implementation, the control module 402 is also specifically used to:

接收在所述网页中触发的对所述基础网页表格中目标单元格的访问路径设置操作,根据所述访问路径设置操作设置所述目标单元格的访问路径;基于所述目标单元格设置后的访问路径,更新所述初始表格程序中所述目标单元格的访问路径对应的程序代码。Receive an access path setting operation for the target cell in the basic web page table triggered in the web page, and set the access path of the target cell according to the access path setting operation; based on the set target cell Access path, update the program code corresponding to the access path of the target cell in the initial table program.

在一种可行的实施方式中,控制模块402具体还用于:In a feasible implementation, the control module 402 is also specifically used to:

接收在所述网页中触发的对所述基础网页表格中表单项的设置操作,根据所述表单项的设置操作在所述基础网页表格中设置网页表单;基于设置后的网页表单,在所述初始表格程序中添加与所述网页表单对应的程序代码。Receive a setting operation for a form item in the basic web page form triggered in the web page, and set a web page form in the basic web page form according to the setting operation of the form item; based on the set web page form, in the The program code corresponding to the web page form is added to the initial form program.

应当理解的是,上述创建模块401、控制模块402及输出模块403所执行的各项功能,可参照上述实施例中所描述的生成网页表格的方法中的各个步骤,其实现原理与方式均相同,在此不再赘述。It should be understood that the various functions performed by the creation module 401, the control module 402 and the output module 403 can be referred to the various steps in the method of generating a web page table described in the above embodiments, and the implementation principles and methods are the same. , which will not be described in detail here.

进一步的,本申请还提供一种电子设备,包括:至少一个处理器和存储器;Further, this application also provides an electronic device, including: at least one processor and a memory;

上述存储器存储计算机执行指令;The above-mentioned memory stores computer execution instructions;

上述至少一个处理器执行上述存储器存储的计算机执行指令,使得上述至少一个处理器执行如上述实施例中所描述的生成网页表格的方法。The above-mentioned at least one processor executes the computer execution instructions stored in the above-mentioned memory, so that the above-mentioned at least one processor executes the method of generating a web page table as described in the above embodiment.

为了更好的理解本申请实施例,参照图5,图5为本申请实施例中提供的一种电子设备的硬件结构示意图。如图5所示,本实施例提供的电子设备50包括:处理器501以及存储器502;其中In order to better understand the embodiment of the present application, refer to FIG. 5 , which is a schematic diagram of the hardware structure of an electronic device provided in the embodiment of the present application. As shown in Figure 5, the electronic device 50 provided in this embodiment includes: a processor 501 and a memory 502; where

存储器502,用于存储计算机执行指令;Memory 502, used to store computer execution instructions;

处理器501,用于执行存储器存储的计算机执行指令,以实现上述方法实施例中的各个步骤。具体可以参见前述方法实施例中的相关描述。The processor 501 is configured to execute computer execution instructions stored in the memory to implement each step in the above method embodiment. For details, please refer to the relevant descriptions in the foregoing method embodiments.

可选地,存储器502既可以是独立的,也可以跟处理器501集成在一起。Optionally, the memory 502 can be independent or integrated with the processor 501 .

当存储器502独立设置时,该电子设备还包括总线503,用于连接存储器502和处理器501。When the memory 502 is provided independently, the electronic device also includes a bus 503 for connecting the memory 502 and the processor 501 .

应当理解的是,本实施例提供的电子设备,可用于执行上述方法实施例中的技术方案,其实现原理和技术效果类似,本实施例此处不再赘述。It should be understood that the electronic device provided in this embodiment can be used to execute the technical solution in the above method embodiment, and its implementation principles and technical effects are similar, and will not be described again in this embodiment.

进一步的,本申请实施例还提供一种计算机可读存储介质,该计算机可读存储介质中存储有计算机执行指令,当处理器执行该计算机执行指令时,实现如上述实施例中所描述的生成网页表格的方法。Furthermore, embodiments of the present application also provide a computer-readable storage medium that stores computer-executable instructions. When the processor executes the computer-executable instructions, the generation described in the above embodiments is implemented. Web form method.

在本申请所提供的几个实施例中,应该理解到,所揭露的设备和方法,可以通过其它的方式实现。例如,以上所描述的设备实施例仅仅是示意性的,例如,所述模块的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个模块可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或模块的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of modules is only a logical function division. In actual implementation, there may be other division methods, for example, multiple modules may be combined or integrated. to another system, or some features can be ignored, or not implemented. On the other hand, the coupling or direct coupling or communication connection between each other shown or discussed may be through some interfaces, indirect coupling or communication connection of devices or modules, and may be in electrical, mechanical or other forms.

所述作为分离部件说明的模块可以是或者也可以不是物理上分开的,作为模块显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical units, that is, they may be located in one place, or they may be distributed to multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

另外,在本申请各个实施例中的各功能模块可以集成在一个处理单元中,也可以是各个模块单独物理存在,也可以两个或两个以上模块集成在一个单元中。上述模块成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。In addition, each functional module in each embodiment of the present application can be integrated into a processing unit, or each module can exist physically alone, or two or more modules can be integrated into one unit. The units formed by the above modules can be implemented in the form of hardware or in the form of hardware plus software functional units.

上述以软件功能模块的形式实现的集成的模块,可以存储在一个计算机可读取存储介质中。上述软件功能模块存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器(英文:processor)执行本申请各个实施例所述方法的部分步骤。The above integrated modules implemented in the form of software function modules can be stored in a computer-readable storage medium. The above-mentioned software function modules are stored in a storage medium and include a number of instructions to cause a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor (English: processor) to execute the various embodiments of this application. Some steps of the method.

应理解,上述处理器可以是中央处理单元(英文:Central Processing Unit,简称:CPU),还可以是其他通用处理器、数字信号处理器(英文:Digital Signal Processor,简称:DSP)、专用集成电路(英文:Application Specific Integrated Circuit,简称:ASIC)等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合申请所公开的方法的步骤可以直接体现为硬件处理器执行完成,或者用处理器中的硬件及软件模块组合执行完成。It should be understood that the above-mentioned processor may be a central processing unit (English: Central Processing Unit, abbreviation: CPU), or other general-purpose processor, a digital signal processor (English: Digital Signal Processor, abbreviation: DSP), or an application-specific integrated circuit. (English: Application Specific Integrated Circuit, abbreviation: ASIC), etc. A general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc. The steps of the method disclosed in the application can be directly implemented by a hardware processor, or executed by a combination of hardware and software modules in the processor.

存储器可能包含高速RAM存储器,也可能还包括非易失性存储NVM,例如至少一个磁盘存储器,还可以为U盘、移动硬盘、只读存储器、磁盘或光盘等。The memory may include high-speed RAM memory, and may also include non-volatile storage NVM, such as at least one disk memory, which may also be a USB flash drive, a mobile hard disk, a read-only memory, a magnetic disk, or an optical disk.

总线可以是工业标准体系结构(Industry Standard Architecture,ISA)总线、外部设备互连(Peripheral Component,PCI)总线或扩展工业标准体系结构(ExtendedIndustry Standard Architecture,EISA)总线等。总线可以分为地址总线、数据总线、控制总线等。为便于表示,本申请附图中的总线并不限定仅有一根总线或一种类型的总线。The bus may be an Industry Standard Architecture (Industry Standard Architecture, ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (Extended Industry Standard Architecture, EISA) bus, etc. The bus can be divided into address bus, data bus, control bus, etc. For ease of presentation, the bus in the drawings of this application is not limited to only one bus or one type of bus.

上述存储介质可以是由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。存储介质可以是通用或专用计算机能够存取的任何可用介质。The above storage medium can be implemented by any type of volatile or non-volatile storage device or their combination, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable Except programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk. Storage media can be any available media that can be accessed by a general purpose or special purpose computer.

一种示例性的存储介质耦合至处理器,从而使处理器能够从该存储介质读取信息,且可向该存储介质写入信息。当然,存储介质也可以是处理器的组成部分。处理器和存储介质可以位于专用集成电路(Application Specific Integrated Circuits,简称:ASIC)中。当然,处理器和存储介质也可以作为分立组件存在于电子设备或主控设备中。An exemplary storage medium is coupled to the processor such that the processor can read information from the storage medium and write information to the storage medium. Of course, the storage medium can also be an integral part of the processor. The processor and storage medium may be located in Application Specific Integrated Circuits (ASIC). Of course, the processor and the storage medium may also exist as discrete components in an electronic device or a host control device.

本领域普通技术人员可以理解:实现上述各方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成。前述的程序可以存储于一计算机可读取存储介质中。该程序在执行时,执行包括上述各方法实施例的步骤;而前述的存储介质包括:ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。Persons of ordinary skill in the art can understand that all or part of the steps to implement the above method embodiments can be completed by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the steps including the above-mentioned method embodiments are executed; and the aforementioned storage media include: ROM, RAM, magnetic disks, optical disks and other media that can store program codes.

最后应说明的是:以上各实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述各实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present application, but not to limit it; 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: The technical solutions described in the foregoing embodiments can still be modified, or some or all of the technical features can be equivalently replaced; and these modifications or substitutions do not deviate from the essence of the corresponding technical solutions from the technical solutions of the embodiments of the present application. scope.

Claims (6)

CN202011421048.1A2020-12-082020-12-08Method and device for generating webpage form, electronic equipment and readable storage mediumActiveCN112558957B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202011421048.1ACN112558957B (en)2020-12-082020-12-08Method and device for generating webpage form, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202011421048.1ACN112558957B (en)2020-12-082020-12-08Method and device for generating webpage form, electronic equipment and readable storage medium

Publications (2)

Publication NumberPublication Date
CN112558957A CN112558957A (en)2021-03-26
CN112558957Btrue CN112558957B (en)2024-02-13

Family

ID=75059384

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202011421048.1AActiveCN112558957B (en)2020-12-082020-12-08Method and device for generating webpage form, electronic equipment and readable storage medium

Country Status (1)

CountryLink
CN (1)CN112558957B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN113900561B (en)*2021-10-272023-07-25北京字跳网络技术有限公司Form processing method, form processing device, electronic equipment, medium and program product
CN115186205A (en)*2022-06-212022-10-14广东艾矽易信息科技有限公司 Web page form data extraction method, device and terminal device

Citations (8)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101446938A (en)*2008-12-042009-06-03金蝶软件(中国)有限公司Method for generating table and processing device thereof
WO2016073479A1 (en)*2014-11-032016-05-12Automated Clinical Guidelines, LlcMethod and platform/system for creating a web-based form that incorporates an embedded knowledge base, wherein the form provides automatic feedback to a user during and following completion of the form
CN106557496A (en)*2015-09-252017-04-05北京奇虎科技有限公司A kind of form collocation method and device
CN109408783A (en)*2018-09-062019-03-01广州城市信息研究所有限公司Electronic document online editing method and system
CN110705243A (en)*2019-10-102020-01-17深圳前海微众银行股份有限公司Web page table setting method, device, equipment and computer storage medium
CN111104635A (en)*2019-12-232020-05-05上海众源网络有限公司Table webpage generation method and device
CN111191423A (en)*2019-12-262020-05-22广东飞企互联科技股份有限公司Method and system suitable for on-line editing of official document text
CN111444171A (en)*2018-12-282020-07-24航天信息股份有限公司Method, device and storage medium for generating value-added tax return form

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US9009582B2 (en)*2004-11-192015-04-14Google Inc.Converting spreadsheet applications to web-based applications
US9910843B2 (en)*2015-02-032018-03-06Intuit Inc.Systems, methods and articles for a web-based spreadsheet application

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101446938A (en)*2008-12-042009-06-03金蝶软件(中国)有限公司Method for generating table and processing device thereof
WO2016073479A1 (en)*2014-11-032016-05-12Automated Clinical Guidelines, LlcMethod and platform/system for creating a web-based form that incorporates an embedded knowledge base, wherein the form provides automatic feedback to a user during and following completion of the form
CN106557496A (en)*2015-09-252017-04-05北京奇虎科技有限公司A kind of form collocation method and device
CN109408783A (en)*2018-09-062019-03-01广州城市信息研究所有限公司Electronic document online editing method and system
CN111444171A (en)*2018-12-282020-07-24航天信息股份有限公司Method, device and storage medium for generating value-added tax return form
CN110705243A (en)*2019-10-102020-01-17深圳前海微众银行股份有限公司Web page table setting method, device, equipment and computer storage medium
CN111104635A (en)*2019-12-232020-05-05上海众源网络有限公司Table webpage generation method and device
CN111191423A (en)*2019-12-262020-05-22广东飞企互联科技股份有限公司Method and system suitable for on-line editing of official document text

Non-Patent Citations (5)

* Cited by examiner, † Cited by third party
Title
A page-transition framework for image-oriented Web programming;Takao Shimomura;ACM SIGSOFT Software Engineering Notes;第29卷(第2期);第1-10页*
Usability and usefulness of internet mapping platforms in participatory spatial planning;Michal Rzeszewski等;Applied Geography;第103卷;第56-69页*
WEB端可视化表单生成引擎的设计与实现;宋奕爽;中国优秀硕士学位论文全文数据库 信息科技辑(第11期);I139-128*
一键转换Excel表格内容为HTML格式;王彦博;网友世界(第11期);第14-15页*
企业级在线报表工具的设计与实现;吕晨涛;中国优秀硕士学位论文全文数据库 信息科技辑(第3期);I138-821*

Also Published As

Publication numberPublication date
CN112558957A (en)2021-03-26

Similar Documents

PublicationPublication DateTitle
US8694904B2 (en)Cross-browser rich text editing via a hybrid client-side model
CN109933322B (en)Page editing method and device and computer readable storage medium
US20100318894A1 (en)Modifications to Editable Elements of Web Pages Rendered in Word Processor Applications
US20100251143A1 (en)Method, system and computer program for creating and editing a website
CN107291736A (en)A kind of method and system of edit page
CN112558957B (en)Method and device for generating webpage form, electronic equipment and readable storage medium
US10417317B2 (en)Web page profiler
CN106155654B (en)Method and device for shielding webpage operation and electronic equipment
CN110286971B (en)Processing method and system, medium and computing device
CN109040767A (en)A kind of direct broadcasting room loading method, system, server and storage medium
CN100444163C (en) A method for configuring a webpage display page
CN114168875B (en) A method, device, computer equipment and storage medium for generating a page program
KR102644170B1 (en)Method for assisting select of screen components and collect of coordinate information
US8510651B1 (en)Page editing and trial of network site
CN113868565A (en)Skin style file editing method and device
US20080016458A1 (en)Smart page with prescribed format, layout and function boxes
CN116204267B (en)Method and device for generating intellectual property flow form
CN112256244A (en)Innovative technology of extremely-fast simple green Linux browser
CN117608445A (en) Application page rendering method, rendering device, electronic device and storage medium
US20230045229A1 (en)Method and System for Conflict Resolution in Multi-User Document Collaboration
CN112181396A (en) RN code automatic generation system, method, device and medium
CN117075892A (en)Visual page generation method and visual template editor
CN115543288A (en)Code information generation method, device, equipment and storage medium
CN115169315A (en) Method, device, device and storage medium for generating marketing content page
CN104063118B (en)A kind of the click display methods and device of web page contents

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp