CN114594946A - Method, device, system, equipment and medium for generating check box control - Google Patents

Method, device, system, equipment and medium for generating check box control Download PDF

Info

Publication number
CN114594946A
CN114594946A CN202011418533.3A CN202011418533A CN114594946A CN 114594946 A CN114594946 A CN 114594946A CN 202011418533 A CN202011418533 A CN 202011418533A CN 114594946 A CN114594946 A CN 114594946A
Authority
CN
China
Prior art keywords
check box
configuration
control
attribute
options
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011418533.3A
Other languages
Chinese (zh)
Inventor
雷久滩
史玉洁
袁志远
陈亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Flying Enterprise Internet Technology Co Ltd
Original Assignee
Guangdong Flying Enterprise Internet Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Flying Enterprise Internet Technology Co Ltd filed Critical Guangdong Flying Enterprise Internet Technology Co Ltd
Priority to CN202011418533.3A priority Critical patent/CN114594946A/en
Publication of CN114594946A publication Critical patent/CN114594946A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention provides a method, a device, a system, equipment and a medium for generating a check box control, wherein the method comprises the following steps: receiving a check box configuration label; the check box configuration label comprises a first configuration attribute, a second configuration attribute and a third configuration attribute; configuring the control and the check box configuration label in an associated manner to form a check box control; acquiring business data configured for the check box control, and establishing associated mapping between the check box control and the business data; displaying a check box frame according to the first configuration attribute value, configuring a group of options for each business subentry in the frame, sequencing the options according to the sequencing configuration of the business subentry, and displaying the business subentry according to the second configuration attribute value and the third configuration attribute value by each group of options; receiving the associated configuration data of the options, and updating and displaying the check box control; the data is data selected by configuring at least two selection parts simultaneously. The invention can conveniently design various check boxes and improve the manufacturing efficiency of the check boxes.

Description

Method, device, system, equipment and medium for generating check box control
Technical Field
The embodiment of the application relates to a form generation method, in particular to a check box control generation method, a check box control generation device, a check box control generation system, check box control generation equipment and a check box control generation medium.
Background
With the development of information technology, government offices are also gradually electronized, but forms related to government offices are diversified, so that when the government offices are electronized, forms needing to be made by a government electronic office system are more and more, check boxes are common parts in the forms, developers usually need to design and develop the check boxes of the forms one by one according to business data at present, and with the method, as the forms are more and more designed, the time for the developers to make the forms is longer and the development efficiency is low.
Disclosure of Invention
In order to overcome the problems in the related art, the application provides a method, a device, a system, equipment and a medium for generating a check box control, and the method, the device, the system, the equipment and the medium have the advantages of being convenient to design and develop and improving the manufacturing efficiency of the check box.
According to a first aspect of the embodiments of the present application, a method for generating a check box control is provided, which is applied to a business system, where the business system is configured with a form designer, and the method includes the following steps:
receiving a check box configuration label; the check box comprises a frame body and at least two groups of options in the frame body, each group of options comprises a selection part and a text part corresponding to the selection part, and the check box configuration label comprises a first configuration attribute for configuring the frame body, a second configuration attribute for configuring the selection part and a third configuration attribute for configuring the text part;
acquiring a first configuration attribute value configured for the first configuration attribute, a second configuration attribute value configured for the second configuration attribute, and a third attribute configuration value configured for the third configuration attribute;
configuring a control and the check box configuration label in a correlation manner to form a check box control, and displaying the check box control on the form display when the operation of the check box control is triggered on the form designer;
acquiring business data configured for the check box control, and establishing the associated mapping between the check box control and the business data; the service data comprises at least two service sub-items and corresponding service sub-item sequencing configuration;
receiving an operation of triggering updating of a check box control, and updating and displaying the check box control, wherein a check box frame is displayed according to the first configuration attribute value, a group of options is configured for each business subentry in the frame, the options are sequenced according to the business subentry sequencing configuration, and each group of options displays the business subentry according to the second configuration attribute value display selection part and the third configuration attribute value;
receiving the associated configuration data of the options, and updating and displaying the check box control; the associated configuration data of the options is data simultaneously selected by a selection part configuring at least two of the options.
According to a second aspect of the embodiments of the present application, there is provided an apparatus for generating a check box control, where the apparatus is applied to a business system, and the business system is configured with a form designer, and the apparatus includes:
the tag acquisition module is used for receiving the configuration tags of the check boxes; the check box comprises a frame body and at least two groups of options in the frame body, each group of options comprises a selection part and a text part corresponding to the selection part, and the check box configuration label comprises a first configuration attribute for configuring the frame body, a second configuration attribute for configuring the selection part and a third configuration attribute for configuring the text part;
an attribute value obtaining module, configured to obtain a first configuration attribute value configured for the first configuration attribute, a second configuration attribute value configured for the second configuration attribute, and a third attribute configuration value configured for the third configuration attribute;
the first association module is used for associating and configuring a control and the check box configuration label to form a check box control, and displaying the check box control on the form display when the operation of the check box control is triggered on the form designer;
the second association module is used for acquiring business data configured for the check box control and establishing association mapping between the check box control and the business data; the service data comprises at least two service sub-items and corresponding service sub-item sequencing configuration;
the display module is used for receiving an operation of triggering updating of a check box control and updating and displaying the check box control, wherein a check box frame body is displayed according to the first configuration attribute value, a group of options are configured for each business subentry in the frame body, the options are sequenced according to the business subentry sequencing configuration, each group of options display a selection part according to the second configuration attribute value, and the business subentry is displayed according to the third configuration attribute value;
receiving the associated configuration data of the options, and updating and displaying the check box control; the associated configuration data of the options is data simultaneously selected by a selection part configuring at least two of the options.
According to a third aspect of embodiments of the present application, there is provided a business system configured with a form designer, including: a processor and a memory; wherein the memory stores a computer program adapted to be loaded by the processor and to perform the method of check box control generation as described in any of the above.
According to a fourth aspect of embodiments of the present application, there is provided an electronic apparatus, including: a business system; the business system is provided with a form designer, a processor and a memory; wherein the memory stores a computer program adapted to be loaded by the processor and to execute a method of generating a checkbox control implementing any of the above.
According to a fifth aspect of embodiments of the present application, there is provided a computer-readable storage medium, on which a computer program is stored, wherein the computer program is executed by a processor to implement the check box control generation method according to any one of the above.
The method comprises the steps of setting check box labels, configuring controls and the check box configuration labels in an associated mode to form check box controls, acquiring business data configured for the check box controls, establishing associated mapping of the check box controls and the business data, receiving associated configuration data of options, and updating and displaying the check box controls; the associated configuration data of the options is data simultaneously selected by the selection parts configuring at least two options, so that various check boxes can be conveniently designed, the manufacturing efficiency of the check boxes is improved, and a user can conveniently select a plurality of service sub-option options in the check boxes. Furthermore, when the check box page made through the form control needs to be adjusted, only the check box label needs to be updated to update the service data, and the check box page of the electronic form does not need to be adjusted page by page, so that the maintenance of the check box is convenient.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application.
For a better understanding and practice, the present invention is described in detail below with reference to the accompanying drawings.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the embodiments or the prior art descriptions will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a flowchart illustrating a method for generating a check box control according to an embodiment of the present application;
FIG. 2 is a schematic diagram illustrating a configuration of associating a control with a check box configuration tab according to an embodiment of the present application;
fig. 3 is a display effect diagram of a check box control after associating a control with the check box configuration tab according to an embodiment of the present application;
fig. 4 is a flowchart illustrating the process of establishing the association mapping between the check box control and the service data according to the embodiment of the present application;
FIG. 5 is a schematic diagram of an example of an additive reference source;
fig. 6 is a schematic diagram illustrating adding a service sub-item according to an embodiment of the present application;
FIG. 7 is an effect diagram of a check box control shown in the embodiment of the present application;
fig. 8 is a schematic block diagram of a structure of a check box control generation apparatus according to an embodiment of the present application;
fig. 9 is a block diagram schematically illustrating a structure of a second association module according to an embodiment of the present application;
fig. 10 is a block diagram schematically illustrating a structure of an electronic device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
It should be understood that the embodiments described are only a few embodiments of the present application, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the application, as detailed in the appended claims.
In the description of the present application, it is to be understood that the terms "first," "second," "third," and the like are used solely to distinguish one from another and are not necessarily used to describe a particular order or sequence, nor are they to be construed as indicating or implying relative importance. The specific meaning of the above terms in the present application can be understood by those of ordinary skill in the art as appropriate. As used in this application and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. The word "if/if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination". In addition, in the description of the present application, "a plurality" means two or more unless otherwise specified. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
The application environment of the method for generating the check box control disclosed by the embodiment of the application comprises electronic equipment; the electronic device may be a terminal of an IOS, android, windows, or other system, and the terminal may specifically include: the device comprises a processor, a memory, a communication module and a display screen, wherein the above components may be connected through a bus or in other ways. The electronic equipment is internally operated with a business system, the business system is internally provided with a form designer, and check boxes can be conveniently designed and displayed through the form designer
The embodiment of the application discloses a method for generating a check box control, which is applied to electronic equipment. A method for generating a check box control according to an embodiment of the present application will be described in detail below with reference to fig. 1 to 7.
Please refer to fig. 1, which is a flowchart illustrating a method for generating a check box control according to an embodiment of the present application. The method for generating the check box control in the embodiment of the application is applied to a business system, the business system is provided with a form designer, in the embodiment of the application, the business system is an e-government system, and the method comprises the following steps:
step S110: receiving a check box configuration label; the check box comprises a frame body and at least two groups of options in the frame body, each group of options comprises a selection part and a text part corresponding to the selection part, and the check box configuration label comprises a first configuration attribute for configuring the frame body, a second configuration attribute for configuring the selection part and a third configuration attribute for configuring the text part.
The tag of the exemplary embodiment of the application is an XML element, and by the tag, a dynamic web page development technology (JSP) web page can be simplified and easily maintained, and it can be conveniently realized that the same JSP file supports multiple language versions. The check box tags of the embodiment of the application are elements for e-government affairs, mainly refer to JSP tags, are similar to javaBean in functional logic, encapsulate Java code, and are reusable control code, so that developers are allowed to provide logic names for complex operations.
The first configuration attributes corresponding to the frame body comprise title entering style, whether to display, control name, whether to read only, binding field, reference source and the like; the second configuration attribute corresponding to the selection part comprises the size, the shape and the like of the selection part, and the third configuration attribute corresponding to the text part is the color, the size and the like of characters corresponding to the text part. In step S110, the first configuration attribute corresponding to the frame, the second configuration attribute corresponding to the selection portion, and the third configuration attribute corresponding to the text portion default to null values, and specific values are filled in subsequent steps, or specific numerical values may be set in this step.
Step S120: and acquiring a first configuration attribute value configured for the first configuration attribute, a second configuration attribute value configured for the second configuration attribute, and a third attribute configuration value configured for the third configuration attribute.
Step S130: and configuring a control and the check box configuration label in a correlation manner to form a check box control, and displaying the check box control on the form display when the operation of the check box control is triggered on the form designer.
In the embodiment of the application, a plurality of reserved controls are arranged in a background tool of the business system, and a user can select the controls to associate the check box configuration labels according to needs.
Step S140: acquiring business data configured for the check box control, and establishing the associated mapping between the check box control and the business data; the service data comprises at least two service sub-items and corresponding service sub-item sequencing configuration.
Step S150: receiving an operation of triggering updating of a check box control, and updating and displaying the check box control, wherein a check box frame is displayed according to the first configuration attribute value, a group of options is configured for each business subentry in the frame, the options are sequenced according to the business subentry sequencing configuration, and each group of options displays the business subentry according to the second configuration attribute value display selection part and the third configuration attribute value.
Step S160: receiving the associated configuration data of the options, and updating and displaying the check box control; the associated configuration data of the options is data simultaneously selected by a selection part configuring at least two of the options.
The method comprises the steps that data which are simultaneously checked by selection parts for configuring at least two options are received, and then according to a check box obtained by a check box control, when the method is applied, a user can select the at least two options, specifically, the selection operation of the selection parts of the options in the check box in an electronic form page is monitored through a JS event, and when the user selects the selection part of one option and then selects the selection part of another option, the two options are determined to be simultaneously checked.
The method comprises the steps of setting check box labels, configuring controls and the check box configuration labels in an associated mode to form check box controls, acquiring business data configured for the check box controls, establishing associated mapping of the check box controls and the business data, receiving associated configuration data of options, and updating and displaying the check box controls; the associated configuration data of the options is data simultaneously selected by the selection parts configuring at least two options, so that various check boxes can be conveniently designed, the manufacturing efficiency of the check boxes is improved, and a user can conveniently select a plurality of service sub-option options in the check boxes. Furthermore, when the check box page made through the form control needs to be adjusted, only the check box label needs to be updated to update the service data, and the check box page of the electronic form does not need to be adjusted page by page, so that the maintenance of the check box is convenient.
In an alternative embodiment, after displaying the check-box control on the form display upon triggering the operation of the check-box control on the form designer, further comprising: displaying the attribute configuration box of the check box control; the attribute configuration boxes comprise a first attribute configuration box, a second attribute configuration box and a third attribute configuration box; and updating and displaying the check box control according to the first configuration attribute value, the second configuration attribute value and the third configuration attribute value which are correspondingly arranged on the first attribute configuration box, the second attribute configuration box and the third attribute configuration box. By displaying the attribute configuration box of the check box control, a user can configure the required check box according to the requirement so as to conveniently beautify and design the check box.
Referring to fig. 2 and 3, in an alternative embodiment, the check box label further includes a check box label name; configuring the control and the check box configuration label in an associated mode to form a check box control, wherein the method comprises the following steps: and detecting the control with the same name as the check box label, and configuring the control with the same name and the check box configuration label in an associated manner to form the check box control. The check box label name can be any characters capable of being recognized by a machine, such as numbers, letters, symbols and the like, and the label is an XML element, so that the check box label name in the embodiment of the application is case-sensitive. And configuring the control name into the name which is the same as the name of the check box label, and further quickly establishing the association mapping relation between the check box configuration label and the control.
In an alternative embodiment, the checkbox tab further includes a control property; the detecting the control with the same name as the check box label, and configuring the control with the same name and the check box configuration label in an associated manner to form the check box control comprises: receiving control attribute values of the controls with the same name, and if the control attribute corresponding to the control attribute values exists in the control attribute of the label, displaying a display effect corresponding to the control attribute values when the check box is displayed; and if the control attribute corresponding to the control attribute value does not exist in the control attribute of the label, not displaying the display effect corresponding to the control attribute value when the check box is displayed. The control of the business system in the embodiment of the application also has control attributes correspondingly, and the control attributes at this time need to be configured with the control attributes in the check box labels, that is, whether the label attributes of the custom labels have configuration or not needs to be configured, and if the label attributes are not configured, the correspondingly configured control attributes cannot be effective.
Referring to fig. 4 to fig. 7, in an alternative embodiment, the obtaining the service data configured for the check box control, and establishing an association mapping between the check box control and the service data includes:
step S141: acquiring a service data reference source configured for the check box control; the form designer is provided with a plurality of service data reference sources, and each service reference source is internally provided with a plurality of service sub-items.
The service data reference source may be a service data total name divided according to a service requirement or a service type, or may be a name of another flow table, or may be a name customized by a user. The reference source of the service data may also be referred to as a base reference. The service sub-item is an item into which the reference source of the service data can be specifically divided. For example, if the service data reference source is a maintenance type, the service data reference source is provided with service sub-items such as add-on forms, adjustment flows, and others in the OA.
Step S142: receiving an operation of triggering the service data reference source, and displaying a service sub item list of the service data reference source and the sequencing configuration of the service sub items.
Step S143: and determining at least two service sub-items which trigger the selection and the sequencing configuration of the service sub-items as service data.
The ordering sequence numbers such as 1,2 and 3 can be directly set for the service sub-items to order the service sub-items, and the ordering of the service sub-items can also be automatically determined according to the sequence of the selected service sub-items.
Step S144: and establishing the association mapping between the check box control and the service data.
The business data can be combined into a character string, the check box control is set as a character identifier, and the character string and the character identifier are correspondingly stored, so that the associated mapping of the check box control and the business data is established.
In an exemplary embodiment of the present application, the operation of triggering the check box control on the form designer comprises: dragging the check box control to a display page of the form designer. By dragging the check box control, a user can design check boxes on a display page of the form designer conveniently.
Referring to fig. 8, a schematic structural diagram of a device for generating a check box control according to an embodiment of the present application is shown. The check box control generating device 200 is applied to a business system, wherein the business system is configured with a form designer, and the device comprises:
a tag obtaining module 210, configured to receive a check box configuration tag; the check box comprises a frame body and at least two groups of options in the frame body, each group of options comprises a selection part and a text part corresponding to the selection part, and the check box configuration label comprises a first configuration attribute for configuring the frame body, a second configuration attribute for configuring the selection part and a third configuration attribute for configuring the text part;
an attribute value obtaining module 220, configured to obtain a first configuration attribute value configured for the first configuration attribute, a second configuration attribute value configured for the second configuration attribute, and a third attribute configuration value configured for the third configuration attribute;
a first associating module 230, configured to associate a control with the check box configuration tab to form a check box control, and when an operation of the check box control is triggered on the form designer, display the check box control on the form display;
a second association module 240, configured to acquire service data configured for the check box control, and establish an association mapping between the check box control and the service data; the service data comprises at least two service sub-items and corresponding service sub-item sequencing configuration;
and the display module 250 is configured to receive an operation of triggering updating of a check box control, and update and display the check box control, where a check box frame is displayed according to the first configuration attribute value, a group of options is configured for each business subentry in the frame, the options are sorted according to the business subentry sorting configuration, and each group of options displays a selection part according to the second configuration attribute value, and displays the business subentry according to the third configuration attribute value.
An updating module 260, configured to receive the associated configuration data of the option, and update and display the check box control; the associated configuration data of the options is data simultaneously selected by a selection part configuring at least two of the options.
The method comprises the steps of setting check box labels, configuring controls and the check box configuration labels in an associated mode to form check box controls, acquiring business data configured for the check box controls, establishing associated mapping of the check box controls and the business data, receiving associated configuration data of options, and updating and displaying the check box controls; the associated configuration data of the options is data which is simultaneously selected by the selection parts configuring at least two options, so that various check boxes can be conveniently designed, the manufacturing efficiency of the check boxes is improved, and a user can conveniently select a plurality of business sub-item options in the check boxes. Furthermore, when the check box page made through the form control needs to be adjusted, only the check box label needs to be updated to update the service data, and the check box page of the electronic form does not need to be adjusted page by page, so that the maintenance of the check box is convenient.
In an optional embodiment, further comprising: a property configuration module (not shown) for displaying property configuration boxes of the check box control; the attribute configuration boxes comprise a first attribute configuration box, a second attribute configuration box and a third attribute configuration box; and an attribute value updating module (not shown) configured to update and display the check box control according to the first configuration attribute value, the second configuration attribute value, and the third configuration attribute value that are correspondingly set on the first attribute configuration box, the second attribute configuration box, and the third attribute configuration box. By displaying the attribute configuration box of the check box control, a user can configure the required check box according to the requirement so as to conveniently beautify and design the check box.
In an alternative embodiment, the check box tag further comprises a check box tag name; the first association module 230 includes: and the detection module (not shown in the figure) is used for detecting the control with the same name as the check box label, and configuring the control with the same name and the check box configuration label in an associated manner to form the check box control. The check box label name can be any characters capable of being recognized by a machine, such as numbers, letters, symbols and the like, and the label is an XML element, so that the check box label name in the embodiment of the application is case-sensitive. And the control name is configured to be the same as the check box label name, so that the association mapping relation between the check box configuration label and the control is quickly established.
In an alternative embodiment, the checkbox tab further includes a control property; the detection module is further configured to receive control attribute values of the controls with the same name, and if the control attribute corresponding to the control attribute value exists in the control attribute of the tag, display a display effect corresponding to the control attribute value when the check box is displayed; and if the control attribute corresponding to the control attribute value does not exist in the control attribute of the label, not displaying the display effect corresponding to the control attribute value when the check box is displayed. The control of the business system in the embodiment of the application also has control attributes correspondingly, and the control attributes at this time need to be configured with the control attributes in the check box labels, that is, whether the label attributes of the custom labels have configuration or not needs to be configured, and if the label attributes are not configured, the correspondingly configured control attributes cannot be effective.
Referring to fig. 9, in an alternative embodiment, the second associating module 240 includes:
a reference source obtaining module 241, configured to obtain a service data reference source configured for the check box control; the form designer is provided with a plurality of service data reference sources, and each service reference source is internally provided with a plurality of service sub-items.
And a triggering module 242, configured to receive an operation of triggering the service data reference source, and display a service sub-item list of the service data reference source and a service sub-item ordering configuration.
The service data determining module 243 is configured to determine the at least two service sub-items selected by triggering and the ordering configuration of the service sub-items as service data.
And an association mapping module 244, configured to establish an association mapping between the check box control and the service data.
In an exemplary embodiment of the present application, the operation of triggering the check box control on the form designer comprises: dragging the check box control to a display page of the form designer. By dragging the check box control, a user can design check boxes on a display page of the form designer conveniently.
The following are embodiments of the apparatus of the present application that may be used to perform embodiments of the methods of the present application. For details which are not disclosed in the embodiments of the apparatus of the present application, reference is made to the embodiments of the method of the present application.
Referring to fig. 10, the present application further provides an electronic device 300, where the electronic device 300 may be any smart terminal including a touch display screen, for example, a computer, a mobile phone, a tablet computer, an interactive smart tablet, and the like. The electronic device 300 may include: at least one processor 301, at least one memory 302, at least one network interface 303, a user interface 304, and at least one communication bus 305, and the electronic device 300 includes a touch-sensitive display screen.
The user interface 304 is mainly used for providing an input interface for a user, and acquiring data input by the user, and may include a display terminal and a camera terminal. Optionally, the user interface 304 may also include a standard wired interface, a wireless interface.
The network interface 303 may optionally include a standard wired interface or a wireless interface (e.g., WI-FI interface).
Wherein the communication bus 305 is used for realizing connection communication between the controls.
The processor 301 may include one or more processing cores. The processor 301, using various interfaces and lines to connect various parts throughout the electronic device 300, performs various functions of the electronic device 300 and processes data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 302, and calling data stored in the memory 302. Optionally, the processor 301 may be implemented in at least one hardware form of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). The processor 301 may integrate one or more of a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a modem, and the like. The CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing the content required to be displayed by the display layer; the modem is used to handle wireless communications. It is understood that the modem may not be integrated into the processor 301, but may be implemented by a single chip.
The Memory 302 may include a Random Access Memory (RAM) or a Read-Only Memory (Read-Only Memory). Optionally, the memory 302 includes a non-transitory computer-readable medium. The memory 302 may be used to store instructions, programs, code, sets of codes, or sets of instructions. The memory 302 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing the above-described method embodiments, and the like; the storage data area may store data and the like referred to in the above respective method embodiments. The memory 302 may alternatively be at least one storage device located remotely from the processor 301. As shown in fig. 10, the memory 302, which is a kind of computer storage medium, may include therein an operating system, a network communication module, and a user.
The processor 301 of the present application may be configured to execute any one of the above-described check box control generation methods by an application program calling the check box control generation method stored in the memory 302.
The present application further provides a computer-readable storage medium, on which a computer program is stored, where the instructions are suitable for being loaded by a processor and executing the method steps of the check box control of the above-mentioned illustrated embodiments, and are not described herein again. The device where the storage medium is located can be an electronic device such as a personal computer, a notebook computer, a smart phone and a tablet computer.
For the apparatus embodiment, since it basically corresponds to the method embodiment, reference may be made to the partial description of the method embodiment for relevant points. The above-described device embodiments are merely illustrative, wherein the controls illustrated as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, may be located in one place, or may be distributed on multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the scheme of the application. One of ordinary skill in the art can understand and implement it without inventive effort.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart block or blocks and/or flowchart block or blocks. These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). The memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium, such as a modulated data signal and a carrier wave
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in the process, method, article, or apparatus that comprises the element.
The above are merely examples of the present application and are not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (10)

1. A method for generating check box controls is applied to a business system, and the business system is provided with a form designer, and is characterized by comprising the following steps:
receiving a check box configuration label; the check box comprises a frame body and at least two groups of options in the frame body, each group of options comprises a selection part and a text part corresponding to the selection part, and the check box configuration label comprises a first configuration attribute for configuring the frame body, a second configuration attribute for configuring the selection part and a third configuration attribute for configuring the text part;
acquiring a first configuration attribute value configured for the first configuration attribute, a second configuration attribute value configured for the second configuration attribute, and a third attribute configuration value configured for the third configuration attribute;
configuring a control and the check box configuration label in a correlation manner to form a check box control, and displaying the check box control on the form display when the operation of the check box control is triggered on the form designer;
acquiring business data configured for the check box control, and establishing the associated mapping between the check box control and the business data; the service data comprises at least two service sub-items and corresponding service sub-item sequencing configuration;
receiving an operation of triggering updating of a check box control, and updating and displaying the check box control, wherein a check box frame is displayed according to the first configuration attribute value, a group of options is configured for each business subentry in the frame, the options are sequenced according to the business subentry sequencing configuration, and each group of options displays the business subentry according to the second configuration attribute value display selection part and the third configuration attribute value.
Receiving the associated configuration data of the options, and updating and displaying the check box control; the associated configuration data of the options is data simultaneously selected by a selection part configuring at least two of the options.
2. The method for generating the check box control according to claim 1, wherein the obtaining business data configured for the check box control and establishing the association mapping between the check box control and the business data comprises:
acquiring a service data reference source configured for the check box control; the form designer is internally provided with a plurality of service data reference sources, and each service reference source is internally provided with a plurality of service sub-items;
receiving an operation of triggering the service data reference source, and displaying a service sub item list of the service data reference source and the sequencing configuration of the service sub items;
determining at least two service sub-items selected by triggering and sequencing configuration of the service sub-items as service data;
and establishing the association mapping between the check box control and the service data.
3. The method of generating a check box control according to claim 2,
the method further comprises, after displaying the check box control on the form display when the operation of the check box control is triggered on the form designer:
displaying a property configuration box of the check box control; the attribute configuration box comprises a first attribute configuration box, a second attribute configuration box and a third attribute configuration box;
and updating and displaying the check box control according to the first configuration attribute value, the second configuration attribute value and the third configuration attribute value which are correspondingly arranged on the first attribute configuration box, the second attribute configuration box and the third attribute configuration box.
4. The method for generating a check-box control according to claim 3,
the check box label also comprises a check box label name;
the associating and configuring the control and the check box configuration label to form a check box control comprises the following steps:
and detecting the control with the same name as the check box label, and configuring the control with the same name and the check box configuration label in an associated manner to form the check box control.
5. The method of generating a check box control according to claim 4,
the check box tab further comprises a control attribute;
the detecting the control with the same name as the check box label, and configuring the control with the same name and the check box configuration label in an associated manner to form the check box control comprises:
receiving control attribute values of the controls with the same name, and if the control attribute corresponding to the control attribute values exists in the control attribute of the label, displaying a display effect corresponding to the control attribute values when the check box is displayed; and if the control attribute corresponding to the control attribute value does not exist in the control attribute of the label, not displaying the display effect corresponding to the control attribute value when the check box is displayed.
6. The method of generating a check box control of claim 5, wherein said operation of triggering the check box control on the form designer comprises: dragging the check box control to a display page of the form designer.
7. A check box control generation device is applied to a business system, the business system is provided with a form designer, and the device is characterized by comprising:
the tag acquisition module is used for receiving the configuration tags of the check boxes; the check box comprises a frame body and at least two groups of options in the frame body, each group of options comprises a selection part and a text part corresponding to the selection part, and the check box configuration label comprises a first configuration attribute for configuring the frame body, a second configuration attribute for configuring the selection part and a third configuration attribute for configuring the text part;
an attribute value obtaining module, configured to obtain a first configuration attribute value configured for the first configuration attribute, a second configuration attribute value configured for the second configuration attribute, and a third attribute configuration value configured for the third configuration attribute;
the first association module is used for associating and configuring a control and the check box configuration label to form a check box control, and displaying the check box control on the form display when the operation of the check box control is triggered on the form designer;
the second association module is used for acquiring business data configured for the check box control and establishing association mapping between the check box control and the business data; the service data comprises at least two service sub-items and corresponding service sub-item sequencing configuration;
the display module is used for receiving an operation of triggering updating of a check box control and updating and displaying the check box control, wherein the check box frame is displayed according to the first configuration attribute value, a group of options are configured for each business subentry in the frame, the options are sequenced according to the business subentry sequencing configuration, and each group of options display the selection part according to the second configuration attribute value and display the business subentry according to the third configuration attribute value;
the updating module is used for receiving the associated configuration data of the options and updating and displaying the check box control; the associated configuration data of the options is data simultaneously selected by a selection part configuring at least two of the options.
8. A business system configured with a form designer, comprising: a processor and a memory; wherein the memory stores a computer program adapted to be loaded by the processor and to perform the method of check box control generation according to any of claims 1 to 6.
9. An electronic device, comprising: a business system; the business system is provided with a form designer, a processor and a memory; wherein the memory stores a computer program adapted to be loaded by the processor and to perform the method of check box control generation according to any of claims 1 to 6.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements a method of generating a checkbox control according to any one of claims 1 to 6.
CN202011418533.3A 2020-12-07 2020-12-07 Method, device, system, equipment and medium for generating check box control Pending CN114594946A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011418533.3A CN114594946A (en) 2020-12-07 2020-12-07 Method, device, system, equipment and medium for generating check box control

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011418533.3A CN114594946A (en) 2020-12-07 2020-12-07 Method, device, system, equipment and medium for generating check box control

Publications (1)

Publication Number Publication Date
CN114594946A true CN114594946A (en) 2022-06-07

Family

ID=81802335

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011418533.3A Pending CN114594946A (en) 2020-12-07 2020-12-07 Method, device, system, equipment and medium for generating check box control

Country Status (1)

Country Link
CN (1) CN114594946A (en)

Similar Documents

Publication Publication Date Title
CN107133052B (en) Flow creation method and device
CN112068911B (en) Electronic form generation method, device, system, equipment and medium
CN111414166B (en) Code generation method, device, equipment and storage medium
CN110941614A (en) Form generation method and device, electronic equipment and computer readable storage medium
CN110647322B (en) List rendering method and device, electronic equipment and computer readable medium
CN111736884A (en) Componentization method and system
CN109857964B (en) Thermodynamic diagram drawing method and device for page operation, storage medium and processor
CN105915615A (en) Method for displaying application information in mobile equipment and device thereof
CN114693226A (en) Approval process construction method, device, equipment and storage medium
CN105739717B (en) Data inputting method and device
CN112817595A (en) Interface rendering method and device, storage medium and electronic equipment
CN114594945A (en) Method, device, system, equipment and medium for generating advanced popup selection frame
CN112068828A (en) Title control generation method, device, system, equipment and medium
CN111142990A (en) WeChat applet page display method and device and storage medium
CN112579066A (en) Chart display method and device, storage medium and equipment
CN113485746B (en) Method and device for generating application program interface document
CN114594946A (en) Method, device, system, equipment and medium for generating check box control
CN114594926A (en) Radio box control generating method, device, system, equipment and medium
CN112748917B (en) Graph display method and device
US7805715B2 (en) Model publishing framework
CN114461960A (en) Page generation method, page display method and device
CN114281310A (en) Page frame setting method, device, equipment, storage medium and program product
CN114692581A (en) Electronic form sub-table display method, device, equipment and storage medium
CN114594948A (en) Method, device, system, equipment and medium for generating dynamic drop-down box control
CN112068910B (en) Method, device and system for generating accessory control with downloading function

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