CN107967248A - A kind of method that list is realized based on Bootstrap collocation types - Google Patents

A kind of method that list is realized based on Bootstrap collocation types Download PDF

Info

Publication number
CN107967248A
CN107967248A CN201711328165.1A CN201711328165A CN107967248A CN 107967248 A CN107967248 A CN 107967248A CN 201711328165 A CN201711328165 A CN 201711328165A CN 107967248 A CN107967248 A CN 107967248A
Authority
CN
China
Prior art keywords
list
input
electronic spreadsheet
user
item
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
CN201711328165.1A
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.)
SIPPR Engineering Group Co Ltd
Original Assignee
SIPPR Engineering 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 SIPPR Engineering Group Co Ltd filed Critical SIPPR Engineering Group Co Ltd
Priority to CN201711328165.1A priority Critical patent/CN107967248A/en
Publication of CN107967248A publication Critical patent/CN107967248A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/177Editing, e.g. inserting or deleting of tables; using ruled lines
    • G06F40/18Editing, e.g. inserting or deleting of tables; using ruled lines of spreadsheets

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

This application discloses a kind of method that list is realized based on Bootstrap collocation types, including:Receive form attributes input by user;List JQuery plug-in units are called according to form attributes, establish electronic spreadsheet;When detecting that user completes the input to electronic spreadsheet, judge whether input content meets default input rule;If it is not, then exporting prompt message, and receive the new input content of user's modification;Preserve electronic spreadsheet and new input content.This method is by pre-setting list JQuery plug-in units so that when user needs to establish list, only inputs form attributes;Default input rule is set for the electronic spreadsheet at the same time, when detecting that user completes the input to electronic spreadsheet, judges whether content input by user meets the default input rule, to avoid there is filling in nonstandard situation.The application additionally provides a kind of device, equipment and computer-readable recording medium that list is realized based on Bootstrap collocation types at the same time, has above-mentioned beneficial effect.

Description

A kind of method that list is realized based on Bootstrap collocation types
Technical field
It is more particularly to a kind of that list is realized based on Bootstrap collocation types this application involves information management system field Method, apparatus, equipment and computer-readable recording medium.
Background technology
With the development of computer industry, widely used, informationization of the electronic spreadsheet in all trades and professions of information system Extensive use in construction.Government, enterprise are made by building various electronic information systems (office system, operation system etc.) Various data are filled in and checked for user with electronic spreadsheet.
List of the prior art is generally be directed to a certain pattern or type customized development, it is necessary to be placed in list corresponding Label or the element such as input frame, and need to name for element, obtain input value, check input value, input value is preserved, by field Display data etc., often develops a list, these work repeat once, laborious time-consuming.And the pattern of electronic spreadsheet its Realize that structure is generally made by the developer of information system or administrative staff, it is most likely that demand occur and mismatched with function Situation.
Therefore, how to realize the rapid build of list is the current technical issues that need to address of those skilled in the art.
The content of the invention
The purpose of the application is to provide a kind of method, apparatus, equipment and meter that list is realized based on Bootstrap collocation types Calculation machine readable storage medium storing program for executing, this method can realize the rapid build of list.
In order to solve the above technical problems, the application provides a kind of method that list is realized based on Bootstrap collocation types, should Method includes:
Receive form attributes input by user;
List JQuery plug-in units are called according to the form attributes, establish electronic spreadsheet;
When detecting that user completes the input to the electronic spreadsheet, judge whether input content meets default input rule Then;
If it is not, then exporting prompt message, and receive the new input content of user's modification;
Preserve the electronic spreadsheet and the new input content.
Optionally, it is described according to the list when the form attributes include forms pages attribute and item of information attribute Attribute calls list JQuery plug-in units, establishes electronic spreadsheet, including:
Call the list in the list JQuery plug-in units to establish function according to the forms pages attribute, establish electronic watch It is single;
Item of information attribute configuration function in the list JQuery plug-in units is called according to described information item attribute, configures institute State the item of information attribute of electronic spreadsheet;
Wherein, described information item attribute preserves field name including input Value Types, item of information title, item of information, most greatly enhances At least one of in degree.
Optionally, judge whether input content meets default input rule, including:
Judge whether the input content is the content having to fill out;
If so, then judging whether the input content meets preset format requirement;
If the input content does not meet preset format requirement, the prompt message is exported;
Wherein, the preset format require to include phone number format requirement, electronic mail formats requirement, network address form will Ask, in postcode call format, ID card No. call format at least one of.
Optionally, further include:
When receive it is input by user check electronic spreadsheet order when, judge whether the user has authority;
If so, then pop-up plug-in unit in front end is called to show the electronic spreadsheet by electronic spreadsheet display interface.
The application also provides a kind of device that list is realized based on Bootstrap collocation types, which includes:
Receiving unit, for receiving form attributes input by user;
List establishes unit, for calling list JQuery plug-in units according to the form attributes, establishes electronic spreadsheet;
Detection unit, for detecting whether user completes input to the electronic spreadsheet;
First judging unit, for when detecting that user completes the input to the electronic spreadsheet, judging input content Whether default input rule is met;
Output unit, for when the input content does not meet default input rule, exporting prompt message, and receive use The new input content of family modification;
Storage unit, for preserving the electronic spreadsheet and the new input content.
Optionally, when the form attributes include forms pages attribute and item of information attribute, the list establishes unit Including:
Subelement is established, for calling the list in the list JQuery plug-in units to establish according to the forms pages attribute Function, establishes electronic spreadsheet;
Subelement is configured, for calling the item of information attribute in the list JQuery plug-in units according to described information item attribute Configuration function, configures the item of information attribute of the electronic spreadsheet;
Wherein, described information item attribute preserves field name including input Value Types, item of information title, item of information, most greatly enhances At least one of in degree.
Optionally, first judging unit includes:
First judgment sub-unit, for judging whether the input content is the content that has to fill out;
Second judgment sub-unit, for when the input content is the content having to fill out, judging the input content Whether preset format requirement is met;
Subelement is exported, for when the input content does not meet preset format requirement, exporting the prompt message;
Wherein, the preset format require to include phone number format requirement, electronic mail formats requirement, network address form will Ask, in postcode call format, ID card No. call format at least one of.
Optionally, described device further includes:
Second judging unit, for when receive it is input by user check electronic spreadsheet order when, judge the user Whether there is authority;
Display unit, for when the user has authority, by electronic spreadsheet display interface, calling front end pop-up to insert Part shows the electronic spreadsheet.
The application also provides a kind of equipment that list is realized based on Bootstrap collocation types, which includes:
Memory, for storing computer program;
Processor, is realized during for performing the computer program as described in any of the above-described based on Bootstrap configurations Formula realizes the step of method of list.
The application also provides a kind of computer-readable recording medium, and calculating is stored with the computer-readable recording medium Machine program, is realized real based on Bootstrap collocation types as described in any of the above-described when the computer program is executed by processor The step of method of existing list.
A kind of method that list is realized based on Bootstrap collocation types provided herein, it is defeated by receiving user The form attributes entered;List JQuery plug-in units are called according to form attributes, establish electronic spreadsheet;When detect user complete to electricity During the input of sublist list, judge whether input content meets default input rule;If it is not, then exporting prompt message, and receive use The new input content of family modification;Preserve electronic spreadsheet and new input content.
Technical solution provided herein, the list JQuery plug-in units of many kinds of function are packaged with by setting, are made in advance When proper user needs to establish list, it is not necessary to which manual configuration Form Element, only inputs form attributes, be based on Bootstrap collocation types realize that list program can directly invoke list JQuery plug-in units and establish corresponding electricity according to the form attributes Sublist list;Default input rule is set for the electronic spreadsheet at the same time, and judges whether the input content of user meets default input Rule;If it is not, then exporting prompt message, and the new input content of user's modification is received, to avoid occurring because of user's input error Caused by electronic spreadsheet fill in nonstandard situation.The application additionally provides a kind of real based on Bootstrap collocation types at the same time Device, equipment and the computer-readable recording medium of existing list, have above-mentioned beneficial effect, details are not described herein.
Brief description of the drawings
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, below will be to embodiment or existing There is attached drawing needed in technology description to be briefly described, it should be apparent that, drawings in the following description are only this The embodiment of application, for those of ordinary skill in the art, without creative efforts, can also basis The attached drawing of offer obtains other attached drawings.
A kind of flow for method that list is realized based on Bootstrap collocation types that Fig. 1 is provided by the embodiment of the present application Figure;
The knot for another method that list is realized based on Bootstrap collocation types that Fig. 2 is provided by the embodiment of the present application Composition;
Fig. 3 is realized the knot of the method for list by another that the embodiment of the present application provides based on Bootstrap collocation types Composition;
A kind of structure for device that list is realized based on Bootstrap collocation types that Fig. 4 is provided by the embodiment of the present application Figure;
The knot for another device that list is realized based on Bootstrap collocation types that Fig. 5 is provided by the embodiment of the present application Composition;
A kind of structure for equipment that list is realized based on Bootstrap collocation types that Fig. 6 is provided by the embodiment of the present application Figure.
Embodiment
The core of the application is to provide a kind of method, apparatus, equipment and meter that list is realized based on Bootstrap collocation types Calculation machine readable storage medium storing program for executing, this method can realize the rapid build of list.
To make the purpose, technical scheme and advantage of the embodiment of the present application clearer, below in conjunction with the embodiment of the present application In attached drawing, the technical solution in the embodiment of the present application is clearly and completely described, it is clear that described embodiment is Some embodiments of the present application, instead of all the embodiments.Based on the embodiment in the application, those of ordinary skill in the art All other embodiments obtained without making creative work, shall fall in the protection scope of this application.
Please refer to Fig.1, Fig. 1 a kind of realizes list by what the embodiment of the present application provided based on Bootstrap collocation types The flow chart of method.
It specifically comprises the following steps:
S101:Receive form attributes input by user;
List of the prior art is generally be directed to a certain pattern or type customized development, it is necessary to be placed in list corresponding Label or the element such as input frame, and need to name for element, obtain input value, check input value, input value is preserved, by field Display data etc., often develops a list, these work repeat once, laborious time-consuming, and the pattern of electronic spreadsheet its Realize that structure is generally made by the developer of information system or administrative staff, it is most likely that demand occur and mismatched with function Situation;
Based on this, this application provides a kind of method that list is realized based on Bootstrap collocation types, by pre-setting List JQuery plug-in units so that when user needs to establish list, it is not necessary to which manual configuration Form Element, only inputs form attributes It can complete the structure to list;
Optionally, form attributes mentioned herein can include forms pages attribute and item of information attribute;Wherein, item of information Attribute can include at least one in input Value Types, item of information title, item of information preservation field name, maximum length;
Optionally, forms pages attribute mentioned herein can include list display Name, width, height, several Column Layouts At least one of in (Bootstrap row);
The item of information attribute and forms pages attribute can be the input Value Types and possibility of analysis paper form attribute item Occupy what width was got;Further, if a certain item of information is single choice item of information, multiselect item of information, can also provide standby Option array or the network address for obtaining alternative item data;If a certain item of information uploads item for annex, reception can also be provided The program address of annex and allow annex suffix name, the affiliated type of service of annex etc. uploaded;
Optionally, list JQuery plug-in units mentioned herein can be a kind of plug-in unit based on Bootstrap configurations, Bootstrap is a kind of popular front end Development Framework of increasing income;Information options can also be included based on this item of information attribute (evaluation select expert), for this type of information item, has input-goup controls to realize sample in Bootstrap frames Formula, is reconfigured at expert data function selected by select expert function and preservation, displaying expert data function;Wherein, these letters The existing function of number reusable or separately definition are realized;
Such as:The input of form attributes can be as follows:
Whether list is existing:False, // acquiescence false, first constructs list, then check initialization etc.;During true, List, direct check item initialization are not constructed, list empties, and preserves form data, shows form data, display/hide list Window etc.;
Whether window:Ture, // acquiescence ture, default hidden when constructing list, when flase, directly show;
Button bar:[{btnName:' button one ', clickFunc:Func }, { btnName:' button two ', clickFunc:Func }, { btnName:' button three ', clickFunc:Func } ...], if // do not have, without configuration;
List title:' compare and check enterprise ',
List width:700,
List height:600,
Whether display label:Placeholder explanation will be shown when false, //false in input frame;
List columns:1,
Item of information attribute configuration:
[
{ preserve field name:" VerifyStandard ", display Name:" comparing and checking standard ", type:" checkbox ", must test Property:True },
{ preserve field name:" ExamPaper ", display Name:" evaluation questionnaire ", type:" radio ", must the property tested: True },
{ preserve field name:" DiaoyanPaper ", display Name:" investigation questionnaire ", type:" radio ", must the property tested: True },
{ preserve field name:" IsNeedUploadPic ", display Name:" whether uploading enterprise's picture ", type: " boolean ", must the property tested:True },
{ preserve field name:" BigType ", display Name:" type of business ", type:" radio ", must the property tested:True },
{ preserve field name:" Name ", display Name:" enterprise name ", type:" text ", must the property tested:True, most greatly enhances Degree:50 },
{ preserve field name:" OrganizationEcode ", display Name:Organization mechanism code or unified social credibility generation Code, type:" organization_code ", must the property tested:True },
{ preserve field name:" BigType ", display Name:" type of business ", type:" radio ", must the property tested:True },
...]。
S102:List JQuery plug-in units are called according to form attributes, establish electronic spreadsheet;
List JQuery plug-in units mentioned herein are the plug-in unit for being packaged with many kinds of function in advance so that defeated when receiving user During the form attributes entered, list JQuery plug-in units can be called directly to establish corresponding electronic spreadsheet;
Optionally, list JQuery plug-in units are called to establish the detailed process of electronic spreadsheet, Ke Yiwei:
Call the list in list JQuery plug-in units to establish function according to forms pages attribute, establish electronic spreadsheet;
Item of information attribute configuration function in list JQuery plug-in units is called according to item of information attribute, configures electronic spreadsheet Item of information attribute;
Wherein, item of information attribute is included in input Value Types, item of information title, item of information preservation field name, maximum length At least one of;
After the setting of list columns configuration item, list JQuery plug-in units acquiescence can be according to Bootstrap12 Column Layouts and table Single-row number carries out decile;Optionally, can be in attribute configuration if certain row pattern is special in list (not occupying full line width) Add line end mark;If each column width of list differs, it may specify that item of information occupies width;Afterwards according to list columns to 12 Row carry out decile, according to type field, using corresponding Bootstrap controls, complete list DOM structures, and be added to the page In.
S103:When detecting that user completes the input to electronic spreadsheet, judge whether input content meets default input Rule;
If it is not, then enter step S104;
According to type field in item of information attribute configuration input by user, must the information such as the property tested field, maximum length field, List inspection initialization is done, setting does not conform to rule event and prompt message (layer tip) and sign pattern (uses Bootstrap List verification state pattern), the systematicness inspection of common type is carried out to input content, it is default to judge whether input content meets Input rule;
Optionally, input content mentioned herein includes input value or selection content;Further, can be before judgement first Check that forms data object whether there is;When it be not present, the type field in item of information attribute configuration, obtains list category Property item input value or selection content, to construct forms data object, and be added to list;When it is present, it is form data pair Each field assignment of elephant;
Optionally, forms data object mentioned herein is specifically as follows javascript objects, and object is entitled:List ID_dataObj, different from list, which is unique in the same page, therefore form data is to as being also unique;
Optionally, input value mentioned herein, can include text-type, drop-down selection, the date, date section, single choice, more In choosing, floating type, integer, cell-phone number, fixed line, phone, Email, organization mechanism code, social credibility code, identification card number At least one of;
Optionally, when item of information attribute includes information options (evaluation select expert), forms data object can be with Including data entire object, data entire object can include expert ID, in expert's name, expert's cell-phone number, expert Email At least one of;
Optionally, when input content meets default input rule, electronic spreadsheet and input content can directly be preserved.
S104:Prompt message is exported, and receives the new input content of user's modification;
When input content does not meet default input rule, prompt message is exported, so that user repaiies input content Change, untill default input rule is met;
Optionally, the mode for exporting prompt message can be will sign pattern (input frame frame mark is red) and prompt message exhibition Show on list (input frame is displayed next to tip).
S105:Preserve electronic spreadsheet and new input content.
Optionally, when preserving form data, first forms data object can be returned at calling, and according to S103's Judging result selection preserves type;
If input content meets default input rule, it can submit and preserve electronic spreadsheet and input content;If in input Appearance does not meet default input rule, then can only select temporary input content (configurable whether to keep in), and provide and prompt in violation of rules and regulations.
Based on above-mentioned technical proposal, a kind of method that list is realized based on Bootstrap collocation types provided herein, It is packaged with the list JQuery plug-in units of many kinds of function in advance by setting so that when user needs to establish list, it is not necessary to hand Dynamic configuration Form Element, only inputs form attributes, realizes that list program can directly invoke table based on Bootstrap collocation types Single JQuery plug-in units establish corresponding electronic spreadsheet according to the form attributes;Default input rule are set for the electronic spreadsheet at the same time Then, and judge whether the input content of user meets default input rule;If it is not, then exporting prompt message, and receive user and repair The new input content changed, nonstandard situation is filled in avoid there is the electronic spreadsheet caused by user's input error.
Based on above-described embodiment, please refer to Fig.2, the another kind that Fig. 2 is provided by the embodiment of the present application is based on Bootstrap Collocation type realizes the structure chart of the method for list.
It specifically includes following steps:
S201:Judge whether input content is the content having to fill out;
Optionally, when input frame, options lose focus when form information item, judge whether input content is to fill out The content write;
If so, then enter step S202;If it is not, then enter step S203;
When input content is not the content having to fill out, electronic spreadsheet and new input content are directly preserved.
S202:Judge whether input content meets preset format requirement;
If so, then enter step S203;If it is not, then enter step S204;
When input content meets preset format requirement, electronic spreadsheet and new input content are directly preserved;Work as input When content does not meet preset format requirement, prompt message is exported;
Optionally, preset format requirement mentioned herein can include phone number format requirement, electronic mail formats are wanted Ask, in network address call format, postcode call format, ID card No. call format at least one of.
S203:Prompt message is exported, and receives the new input content of user's modification;
When input content does not meet default input rule, exportable prompt message, and receive the new input of user's modification Content, and return to step S202.
S204:Preserve electronic spreadsheet and input content.
In the prior art, common user-defined data table single system can also be utilized, using pulling mode designing form, however, The pattern of electronic spreadsheet and its realize that structure is generally made by the developer of information system or administrative staff, filled in user Form data separation storage, in existing Electronic Bill System, user checks form data if desired, it is necessary to passes through and is System integrates data and list pattern, is shown to user by browser or client, whole process is related to front end and service Device end so that the speed of list displaying is relatively slow and causes the wasting of resources, and the exploitation of user-defined data table single system is increasingly complex.
Based on this, on the basis of above-described embodiment, realized this application provides another based on Bootstrap collocation types The method of list;Please refer to Fig.3, by the embodiment of the present application provides, another realizes table to Fig. 3 based on Bootstrap collocation types The structure chart of single method.
It specifically includes following steps:
S301:Receive the order input by user for checking electronic spreadsheet;
S302:Judge whether user has authority;
If so, then enter step S303;
Optionally, authority mentioned herein can include modification authority and read-only authority, when user has modification authority, It can check electronic spreadsheet and the input content to electronic spreadsheet is made an amendment;When user has read-only authority, electricity can be only checked Sublist list;When user does not have modification authority and read-only authority, it is impossible to check electronic spreadsheet.
S303:By electronic spreadsheet display interface, pop-up plug-in unit in front end is called to show electronic spreadsheet.
The embodiment of the present application provides a kind of electronic spreadsheet display interface, and input by user electronic spreadsheet is checked when receiving Order when, judge whether user has authority, if having authority, according to the list width of configuration, height, the letter such as button bar Breath, is Form Element assignment, and calls front end pop-up plug-in unit, the list after assignment is shown, whole process is not related to clothes Business device end so that the speed of list displaying improves and will not cause the wasting of resources, and the pattern of electronic spreadsheet and its realization knot Structure can directly be made by user so that the process of list exploitation is i.e. for convenience.
Please refer to Fig.4, Fig. 4 a kind of realizes list by what the embodiment of the present application provided based on Bootstrap collocation types The structure chart of device.
The device can include:
Receiving unit 100, for receiving form attributes input by user;
List establishes unit 200, for calling list JQuery plug-in units according to form attributes, establishes electronic spreadsheet;
Detection unit 300, for detecting whether user completes input to electronic spreadsheet;
First judging unit 400, for when detecting that user completes the input to electronic spreadsheet, judging that input content is It is no to meet default input rule;
Output unit 500, for when input content meets default input rule, exporting prompt message, and receive user The new input content of modification;
Storage unit 600, for preserving electronic spreadsheet and new input content.
Fig. 5 is refer to, Fig. 5 realizes list by the another kind that the embodiment of the present application provides based on Bootstrap collocation types Device structure chart.
The list, which establishes unit 200, to be included:
Subelement is established, for calling the list in list JQuery plug-in units to establish function according to forms pages attribute, is built Vertical electronic spreadsheet;
Subelement is configured, for calling the item of information attribute configuration letter in list JQuery plug-in units according to item of information attribute Number, configures the item of information attribute of electronic spreadsheet;
Wherein, item of information attribute is included in input Value Types, item of information title, item of information preservation field name, maximum length At least one of.
First judging unit 400 can include:
First judgment sub-unit, for judging whether input content is the content that has to fill out;
Second judgment sub-unit, for when input content is the content having to fill out, judging whether input content meets Preset format requirement;
Subelement is exported, for when input content does not meet preset format requirement, exporting prompt message;
Wherein, preset format require to include phone number format requirement, electronic mail formats requirement, network address call format, At least one of in postcode call format, ID card No. call format.
The device can also include:
Second judging unit, for when receive it is input by user check electronic spreadsheet order when, whether judge user With authority;
Display unit, for when user has authority, by electronic spreadsheet display interface, calling pop-up plug-in unit in front end to show Show electronic spreadsheet.
Since the embodiment of device part is corresponded with the embodiment of method part, the embodiment of device part please Referring to the description of the embodiment of method part, wouldn't repeat here.
It refer to figure, Fig. 6 a kind of realizes setting for list by what the embodiment of the present application provided based on Bootstrap collocation types Standby structure chart.
The equipment can produce bigger difference because configuration or performance are different, can include one or more processing Device (central processing units, CPU) 722 (for example, one or more processors) and memory 732, one A or storage medium 730 of more than one storage application program 742 or data 744 (such as one or more mass memories Equipment).Wherein, memory 732 and storage medium 730 can be of short duration storage or persistently storage.It is stored in storage medium 730 Program can include one or more modules (diagram does not mark), and each module can include to a series of fingers in device Order operation.Further, central processing unit 722 could be provided as communicating with storage medium 730, match somebody with somebody based on Bootstrap The formula of putting realizes the series of instructions operation performed in the equipment 700 of list in storage medium 730.
The equipment 700 for realizing list based on Bootstrap collocation types can also include one or more power supplys 727, One or more wired or wireless network interfaces 750, one or more input/output interfaces 758, and/or, one Or more than one operating system 741, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM etc..
Step in the described methods for realizing list based on Bootstrap collocation types of above-mentioned Fig. 1 to Fig. 3 by based on Bootstrap collocation types realize that the equipment of list is realized based on the structure shown in the Fig. 6.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, may be referred to the corresponding process in preceding method embodiment, details are not described herein.
In several embodiments provided herein, it should be understood that disclosed device, apparatus and method, can be with Realize by another way.For example, device embodiment described above is only schematical, for example, the division of unit, Only a kind of division of logic function, can there is an other dividing mode when actually realizing, such as multiple units or component can be with With reference to or be desirably integrated into another system, or some features can be ignored, or not perform.It is another, it is shown or discussed Mutual coupling, direct-coupling or communication connection can be by some interfaces, the INDIRECT COUPLING of device or unit or Communication connection, can be electrical, machinery or other forms.
The unit illustrated as separating component may or may not be physically separate, be shown as unit Component may or may not be physical location, you can with positioned at a place, or can also be distributed to multiple networks On unit.Some or all of unit therein can be selected to realize the purpose of this embodiment scheme according to the actual needs.
In addition, each functional unit in each embodiment of the application can be integrated in a processing unit, can also That unit is individually physically present, can also two or more units integrate in a unit.Above-mentioned integrated list Member can both be realized in the form of hardware, can also be realized in the form of SFU software functional unit.
If integrated unit is realized in the form of SFU software functional unit and is used as independent production marketing or in use, can To be stored in a computer read/write memory medium.Based on such understanding, the technical solution of the application substantially or Saying all or part of the part to contribute to the prior art or the technical solution can be embodied in the form of software product Out, which is stored in a storage medium, including some instructions are used so that a computer equipment (can be personal computer, funcall device, or network equipment etc.) performs the whole of each embodiment method of the application Or part steps.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disc or CD etc. are various can be with storage program The medium of code.
Above to it is provided herein it is a kind of based on Bootstrap collocation types realize the method, apparatus of list, equipment and Computer-readable recording medium is described in detail.Used herein principle and embodiment of the specific case to the application It is set forth, the explanation of above example is only intended to help to understand the present processes and its core concept.It should be pointed out that For those skilled in the art, on the premise of the application principle is not departed from, can also to the application into Some improvement of row and modification, these are improved and modification is also fallen into the application scope of the claims.
It should also be noted that, in the present specification, relational terms such as first and second and the like be used merely to by One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation Between there are any actual relationship or order.Moreover, term " comprising ", "comprising" or its any other variant meaning Covering non-exclusive inclusion, so that process, method, article or equipment including a series of elements not only include that A little key elements, but also including other elements that are not explicitly listed, or further include for this process, method, article or The intrinsic key element of equipment.In the absence of more restrictions, the key element limited by sentence "including a ...", is not arranged Except also there are other identical element in the process including key element, method, article or equipment.

Claims (10)

  1. A kind of 1. method that list is realized based on Bootstrap collocation types, it is characterised in that including:
    Receive form attributes input by user;
    List JQuery plug-in units are called according to the form attributes, establish electronic spreadsheet;
    When detecting that user completes the input to the electronic spreadsheet, judge whether input content meets default input rule;
    If it is not, then exporting prompt message, and receive the new input content of user's modification;
    Preserve the electronic spreadsheet and the new input content.
  2. 2. according to the method described in claim 1, it is characterized in that, when the form attributes include forms pages attribute and information It is described to call list JQuery plug-in units according to the form attributes during item attribute, electronic spreadsheet is established, including:
    Call the list in the list JQuery plug-in units to establish function according to the forms pages attribute, establish electronic spreadsheet;
    Item of information attribute configuration function in the list JQuery plug-in units is called according to described information item attribute, configures the electricity The item of information attribute of sublist list;
    Wherein, described information item attribute is included in input Value Types, item of information title, item of information preservation field name, maximum length At least one of.
  3. 3. according to the method described in claim 1, it is characterized in that, judge whether input content meets default input rule, wrap Include:
    Judge whether the input content is the content having to fill out;
    If so, then judging whether the input content meets preset format requirement;
    If the input content does not meet preset format requirement, the prompt message is exported;
    Wherein, the preset format require to include phone number format requirement, electronic mail formats requirement, network address call format, At least one of in postcode call format, ID card No. call format.
  4. 4. according to the method described in claim 1-3 any one, it is characterised in that further include:
    When receive it is input by user check electronic spreadsheet order when, judge whether the user has authority;
    If so, then pop-up plug-in unit in front end is called to show the electronic spreadsheet by electronic spreadsheet display interface.
  5. A kind of 5. device that list is realized based on Bootstrap collocation types, it is characterised in that including:
    Receiving unit, for receiving form attributes input by user;
    List establishes unit, for calling list JQuery plug-in units according to the form attributes, establishes electronic spreadsheet;
    Detection unit, for detecting whether user completes input to the electronic spreadsheet;
    First judging unit, for when detecting that user completes the input to the electronic spreadsheet, whether judging input content Meet default input rule;
    Output unit, for when the input content does not meet default input rule, exporting prompt message, and receive user and repair The new input content changed;
    Storage unit, for preserving the electronic spreadsheet and the new input content.
  6. 6. device according to claim 5, it is characterised in that when the form attributes include forms pages attribute and information During item attribute, the list, which establishes unit, to be included:
    Subelement is established, for calling the list in the list JQuery plug-in units to establish letter according to the forms pages attribute Number, establishes electronic spreadsheet;
    Subelement is configured, for calling the item of information attribute configuration in the list JQuery plug-in units according to described information item attribute Function, configures the item of information attribute of the electronic spreadsheet;
    Wherein, described information item attribute is included in input Value Types, item of information title, item of information preservation field name, maximum length At least one of.
  7. 7. device according to claim 5, it is characterised in that first judging unit includes:
    First judgment sub-unit, for judging whether the input content is the content that has to fill out;
    Second judgment sub-unit, for when the input content is the content having to fill out, whether judging the input content Meet preset format requirement;
    Subelement is exported, for when the input content does not meet preset format requirement, exporting the prompt message;
    Wherein, the preset format require to include phone number format requirement, electronic mail formats requirement, network address call format, At least one of in postcode call format, ID card No. call format.
  8. 8. according to the device described in claim 5-7 any one, it is characterised in that further include:
    Second judging unit, for when receive it is input by user check electronic spreadsheet order when, whether judge the user With authority;
    Display unit, for when the user has authority, by electronic spreadsheet display interface, calling pop-up plug-in unit in front end to show Show the electronic spreadsheet.
  9. A kind of 9. equipment that list is realized based on Bootstrap collocation types, it is characterised in that including:
    Memory, for storing computer program;
    Processor, realizes during for performing the computer program and Bootstrap is based on as described in any one of Claims 1-4 Collocation type realizes the step of method of list.
  10. 10. a kind of computer-readable recording medium, it is characterised in that be stored with computer on the computer-readable recording medium Program, is realized when the computer program is executed by processor and is matched somebody with somebody as described in any one of Claims 1-4 based on Bootstrap The formula of putting realizes the step of method of list.
CN201711328165.1A 2017-12-13 2017-12-13 A kind of method that list is realized based on Bootstrap collocation types Pending CN107967248A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711328165.1A CN107967248A (en) 2017-12-13 2017-12-13 A kind of method that list is realized based on Bootstrap collocation types

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711328165.1A CN107967248A (en) 2017-12-13 2017-12-13 A kind of method that list is realized based on Bootstrap collocation types

Publications (1)

Publication Number Publication Date
CN107967248A true CN107967248A (en) 2018-04-27

Family

ID=61995153

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711328165.1A Pending CN107967248A (en) 2017-12-13 2017-12-13 A kind of method that list is realized based on Bootstrap collocation types

Country Status (1)

Country Link
CN (1) CN107967248A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111209739A (en) * 2020-01-03 2020-05-29 北京字节跳动网络技术有限公司 Electronic form, electronic device, storage medium, and electronic form verification method
CN113448660A (en) * 2020-03-25 2021-09-28 北京京东振世信息技术有限公司 Data processing method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103324475A (en) * 2013-05-28 2013-09-25 机械工业第六设计研究院有限公司 Building information model (BIM) rendering optimization system and method based on IFC standard
US20150213392A1 (en) * 2012-09-27 2015-07-30 Carnegie Mellon University System and Method of Using Task Fingerprinting to Predict Task Performance
CN106294301A (en) * 2016-08-09 2017-01-04 广州唯品会信息科技有限公司 Report form generation method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150213392A1 (en) * 2012-09-27 2015-07-30 Carnegie Mellon University System and Method of Using Task Fingerprinting to Predict Task Performance
CN103324475A (en) * 2013-05-28 2013-09-25 机械工业第六设计研究院有限公司 Building information model (BIM) rendering optimization system and method based on IFC standard
CN106294301A (en) * 2016-08-09 2017-01-04 广州唯品会信息科技有限公司 Report form generation method and device

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
WANGXI1995: "一个基于bootstrap的jquery插件,用于生成form表单", 《GITHUB》 *
北京义驰美迪技术开发有限责任公司: "《Lotus Notes 4.5的开发和应用》", 31 May 1997, 中国水利水电出版社 *
石磊,等;: "《Javascript特效实战》", 31 August 2014, 重庆大学出版社 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111209739A (en) * 2020-01-03 2020-05-29 北京字节跳动网络技术有限公司 Electronic form, electronic device, storage medium, and electronic form verification method
CN113448660A (en) * 2020-03-25 2021-09-28 北京京东振世信息技术有限公司 Data processing method and device

Similar Documents

Publication Publication Date Title
CN107369075B (en) Commodity display method and device and electronic equipment
US11036615B2 (en) Automatically performing and evaluating pilot testing of software
CN107220094A (en) Page loading method and device and electronic equipment
CN108628741A (en) Webpage test method, device, electronic equipment and medium
EP3074863B1 (en) System and method for testing data representation for different mobile devices
CN108427731B (en) Page code processing method and device, terminal equipment and medium
US10296552B1 (en) System and method for automated identification of internet advertising and creating rules for blocking of internet advertising
CN101193007A (en) Testing method, scenario testing method and corresponding device for URL command
CN107507036A (en) The method and terminal of a kind of data prediction
US20220309546A1 (en) Ad Simulator Browser Extension
CN104503877A (en) Method and device for evaluating intelligent terminal
CN107798001A (en) Web page processing method, device and equipment
US10331442B2 (en) Visual design evaluation
CN107666435A (en) A kind of method and device for shielding message
CN111782758A (en) Drawing review result viewing method based on CAD and related device
EP3654175A1 (en) Terminal device, ui extension method, and ui extension program
CN107341027A (en) The generation method and generating means of user interface
CN107967248A (en) A kind of method that list is realized based on Bootstrap collocation types
CN103544150A (en) Method and system for providing recommendation information for mobile terminal browser
CN106598379A (en) Method and device for managing application program
US20170293938A1 (en) Interactive competitive advertising commentary
CN107257358A (en) A kind of information-pushing method, terminal and server
US20220366138A1 (en) Rule-based machine learning classifier creation and tracking platform for feedback text analysis
CN113591881A (en) Intention recognition method and device based on model fusion, electronic equipment and medium
US9104573B1 (en) Providing relevant diagnostic information using ontology rules

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20180427

RJ01 Rejection of invention patent application after publication