CN108628812A - Method, apparatus, electronic equipment and the readable storage medium storing program for executing of self-defined face single mode plate - Google Patents
Method, apparatus, electronic equipment and the readable storage medium storing program for executing of self-defined face single mode plate Download PDFInfo
- Publication number
- CN108628812A CN108628812A CN201710156255.0A CN201710156255A CN108628812A CN 108628812 A CN108628812 A CN 108628812A CN 201710156255 A CN201710156255 A CN 201710156255A CN 108628812 A CN108628812 A CN 108628812A
- Authority
- CN
- China
- Prior art keywords
- position coordinates
- absolute position
- browser
- template
- server
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 59
- 230000000007 visual effect Effects 0.000 claims abstract description 21
- 230000015654 memory Effects 0.000 claims description 18
- 238000007639 printing Methods 0.000 claims description 16
- 235000014510 cooky Nutrition 0.000 claims description 10
- 230000009471 action Effects 0.000 claims description 6
- 238000013507 mapping Methods 0.000 claims description 6
- 238000012800 visualization Methods 0.000 claims description 2
- 238000005516 engineering process Methods 0.000 abstract description 6
- 238000010586 diagram Methods 0.000 description 10
- 230000006870 function Effects 0.000 description 7
- 230000007613 environmental effect Effects 0.000 description 4
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 230000001815 facial effect Effects 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 238000012790 confirmation Methods 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000008713 feedback mechanism Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 230000009191 jumping Effects 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/166—Editing, e.g. inserting or deleting
- G06F40/186—Templates
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/12—Digital output to print unit, e.g. line printer, chain printer
- G06F3/1201—Dedicated interfaces to print systems
- G06F3/1202—Dedicated interfaces to print systems specifically adapted to achieve a particular effect
- G06F3/1203—Improving or facilitating administration, e.g. print management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/12—Digital output to print unit, e.g. line printer, chain printer
- G06F3/1201—Dedicated interfaces to print systems
- G06F3/1223—Dedicated interfaces to print systems specifically adapted to use a particular technique
- G06F3/1237—Print job management
- G06F3/1244—Job translation or job parsing, e.g. page banding
- G06F3/1246—Job translation or job parsing, e.g. page banding by handling markup languages, e.g. XSL, XML, HTML
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/12—Digital output to print unit, e.g. line printer, chain printer
- G06F3/1201—Dedicated interfaces to print systems
- G06F3/1223—Dedicated interfaces to print systems specifically adapted to use a particular technique
- G06F3/1237—Print job management
- G06F3/1253—Configuration of print job parameters, e.g. using UI at the client
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Computational Linguistics (AREA)
- General Health & Medical Sciences (AREA)
- Processing Or Creating Images (AREA)
Abstract
The embodiment of the present invention provides a kind of method, apparatus, electronic equipment and the readable storage medium storing program for executing of self-defined face single mode plate, technology opposite single mode plate, which can be pulled, based on HTML carries out visual edit, the self-defined setting of face single mode plate is realized, while eliminating the flow for publication of reaching the standard grade in server-side.This method includes:It is obtained from server end according to business odd numbers and face list essential information is loaded into browser end;The object that can be pulled is obtained from server end, by pulling required object in browser end, to carry out the visual edit of face single mode plate;The object pulled is to initialize each property element of the face list essential information and obtained after adding dragging event respectively;The absolute location coordinates of object needed for being preserved after the completion of editor.
Description
Technical Field
The invention relates to the technical field of computers, in particular to a method and a device for customizing a surface sheet template, electronic equipment and a readable storage medium.
Background
In the e-commerce after-sale service, a plurality of scenes for delivering and printing express waybills are provided, a large number of waybills of three-party express are required, the waybills are of a single type and a plurality of types, the style is updated, and a convenient and flexible waybills printing template management device is required. The flow of printing the express bill among the prior art does: measuring the size of each cell in the facial form, and modeling into an HTML form by adopting an HTML < table > equal proportion; binding a back-end variable in a < td > cell where an element to be printed is located; the method comprises the steps that a single-side template is issued to a server side, contact person variable information binding specific values are read from a back-end database according to selected consignee information, and the contact person variable information binding specific values are sent to the single-side template instance; and previewing the print content at the browser end, and calling the print function of the browser to print.
In the process of implementing the invention, the inventor finds that at least the following problems exist in the prior art:
(1) every single face all need a single face template of modeling, and the printer model of each regional storehouse is not unified throughout the country, and the printer setting is also not unified, and same single face template still need be for each regional modeling and fine setting again alone, and the debugging feedback mechanism is troublesome.
(2) Each time of template adjustment, the template needs to be repeatedly communicated with a client for confirmation and re-issued at a server, so that the maintenance workload of the template is large.
(3) The size and position of the client cannot be adjusted independently during printing, and the single panel cannot be flexibly configured.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method and an apparatus for customizing a form template, an electronic device, and a readable storage medium, where visual editing is performed on the form template based on an HTML draggable technology, so as to implement the customized setting of the form template, and a client may flexibly draw the form template according to the template of each carrier and the characteristics of its own printer, and at the same time, omit the process of online publishing on a server.
To achieve the above object, according to one aspect of the present invention, a method of customizing a facebook template is provided.
The method for customizing the surface form template comprises the following steps: acquiring basic information of the bill from a server side according to the service bill number and loading the basic information of the bill to a browser side; the method comprises the steps that a draggable object is obtained from a server end, and visual editing of a surface template is carried out by dragging a required object at a browser end; the draggable object is obtained by initializing each attribute element of the basic information of the menu and adding a dragging event respectively; and saving the absolute position coordinates of the required object after the editing is finished.
Optionally, the obtaining from the server according to the service ticket number includes: and the application server acquires the service information from the database server according to the service information number.
Optionally, the method further comprises: after basic information of the menu is acquired from the server side and loaded to the browser side according to the service menu number, the server side judges whether absolute position coordinates of each object of the current menu exist in the browser side, if not, judges whether absolute position coordinates exist in the browser side, and if yes, reads the absolute position coordinates and stores the absolute position coordinates in the browser side; if not, the absolute position coordinates of the default facesheet template are loaded.
Optionally, the object is a DIV object, and the dragging event is used to save the absolute position coordinates of each DIV object to the browser end after a dragging action occurs.
Optionally, the saving the absolute position coordinates of the desired object includes: and storing the absolute position coordinates of each object to be required to a browser end, endowing the absolute position coordinates of each object to be required stored in the browser end with a unique identifier, and submitting the unique identifier to a server end for storage, wherein the unique identifier is used for identifying the mapping relation between the absolute position coordinates and a surface single template.
Optionally, the absolute position coordinates are saved in a Cookie of the browser.
Optionally, the setting rule of the unique identifier is: current user ID and carrier brevity code.
To achieve the above object, according to another aspect of the present invention, there is provided an apparatus for customizing a form template.
The device for customizing the surface form template of the embodiment of the invention comprises the following components: the initialization module is used for acquiring basic information of the menu from the server side according to the service menu number and loading the basic information of the menu to the browser side; the visual template editing module is used for acquiring a draggable object from the server end so as to carry out visual editing on the surface template by dragging a required object at the browser end; the draggable object is obtained by initializing each attribute element of the basic information of the menu and adding a dragging event respectively; and the template storage module is used for storing the absolute position coordinates of the required object after the editing is finished.
Optionally, the obtaining from the server side according to the service ticket number is: and the application server acquires the service information from the database server according to the service information number.
Optionally, the visual template editing module is further configured to determine, by the server, whether the browser end stores absolute position coordinates of each object of the current shipping list, and if not, determine whether the browser end stores the absolute position coordinates, and if so, read the absolute position coordinates and store the absolute position coordinates in the browser end; if not, the absolute position coordinates of the default facesheet template are loaded.
Optionally, the object is a DIV object, and the dragging event is used to save the absolute position coordinates of each DIV object to the browser end after a dragging action occurs.
Optionally, the absolute position coordinates of the object required for saving are: and storing the absolute position coordinates of each object to be required to a browser end, endowing the absolute position coordinates of each object to be required stored in the browser end with a unique identifier, and submitting the unique identifier to a server end for storage, wherein the unique identifier is used for identifying the mapping relation between the absolute position coordinates and a surface single template.
Optionally, the absolute position coordinates are saved in a Cookie of the browser.
Optionally, the setting rule of the unique identifier is: current user ID and carrier brevity code.
To achieve the above object, according to still another aspect of the present invention, there is provided a sheet printing method.
The method for printing the bill of the embodiment of the invention comprises the following steps: printing the single-mode panel obtained by the method for customizing the single-mode panel.
To achieve the above object, according to still another aspect of the present invention, an electronic apparatus is provided.
An electronic device of an embodiment of the present invention includes: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform a method of customizing a form template of an embodiment of the present invention.
To achieve the above object, according to still another aspect of the present invention, there is provided a non-transitory computer-readable storage medium.
A non-transitory computer-readable storage medium of an embodiment of the present invention stores computer instructions for causing a computer to perform a method of customizing a facebook template of an embodiment of the present invention.
According to the technical scheme of the invention, one embodiment of the invention has the following advantages or beneficial effects: the method has the advantages that visual editing is carried out on the single panel based on an HTML dragging technology, custom setting of the single panel is achieved, the single panel can be customized by a client according to the environmental characteristics of a user, debugging is convenient, and configuration is flexible; the absolute position coordinates of each object of the surface single template are synchronously stored at the browser end and the server end, so that the server end only needs to be deployed once, can support various surface single templates without frequent publishing, and is simple to maintain.
Further effects of the above-mentioned non-conventional alternatives will be described below in connection with the embodiments.
Drawings
The drawings are included to provide a better understanding of the invention and are not to be construed as unduly limiting the invention. Wherein:
FIG. 1 is a schematic diagram of the main flow of a method of customizing a facebook template according to an embodiment of the invention;
FIG. 2 is a schematic diagram of the main steps of a method for customizing a waybill template according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of the main modules of a custom surface single-mode board apparatus according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of an application of a custom surface single template method/apparatus according to an embodiment of the present invention;
fig. 5 is a schematic hardware structure diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present invention are described below with reference to the accompanying drawings, in which various details of embodiments of the invention are included to assist understanding, and which are to be considered as merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
In the embodiment of the invention, the previous method for manufacturing the surface single template is improved, and a solution for customizing the surface single template is realized. The embodiment is realized by writing in an HTML language based on a B/S architecture.
Fig. 1 is a schematic diagram of the main steps of an automated security testing method according to an embodiment of the present invention.
As shown in fig. 1, the method for customizing a facebook template of the embodiment of the present invention mainly includes the following steps:
step S11: and acquiring basic information of the menu from the server side according to the service menu number and loading the basic information of the menu to the browser side. Before jumping to the print page, the operation page (for example, the to-be-printed task list page) in the previous step generally transmits a service order number, or the service order number may be manually input in the previous step. The service order number is a service primary key number in the service system, such as an order number or an after-sales service application order number (usually a string of numbers), and functions in that the application server can retrieve corresponding service data (basic information of a service order and the like) from the database server according to the transmitted service order number. The basic information of the bill comprises a sender name, a sender address, a sender telephone, a commodity remark, a receiver name, a receiver address, a receiver telephone, a postcode and the like.
After the loading of the basic information of the menu is completed in step S11, the editing and saving of the custom menu template is started from step S12.
Step S12: the method comprises the steps that a draggable object is obtained from a server end, and visual editing of a surface template is carried out by dragging a required object at a browser end; the draggable object is obtained by initializing each attribute element of the basic information of the menu and adding a dragging event respectively. And the server side initializes each attribute element of the basic information of the menu into a drawable DIV object and respectively adds a dragging event. The browser end obtains the dragged DIV object from the server end, and the user drags the DIV object corresponding to the basic information of the menu through a mouse, so that the layout and the position of the DIV object are changed.
Step S13: and saving the absolute position coordinates of the required object after the editing is finished. And after editing is finished, storing the absolute position coordinates of each object needing DIV to the browser end, endowing the absolute position coordinates of each object needing DIV stored in the browser end with a unique identifier, and submitting the unique identifier to the server end for storage, wherein the unique identifier is used for identifying the mapping relation between the absolute position coordinates and the surface single template.
Fig. 2 is a schematic diagram of a main flow of a method for customizing a facebook template according to an embodiment of the present invention.
As shown in fig. 2, in the embodiment of the present invention, a specific implementation flow of the custom surface single template method is as follows: the browser end transmits a service order number to the application server; the application server acquires basic information of the bill from the database server according to the service bill number and loads the basic information of the bill to the browser end; initializing each attribute element of the basic information of the menu into a draggable DIV object by the server side and adding a dragging event respectively; the browser end acquires the draggable object from the server end, and a user drags the required object at the browser end to carry out visual editing of the surface template; and after the editing is finished, storing the absolute position coordinates of the DIV objects to be required into the Cookie of the browser, giving a unique identifier to the absolute position coordinates of the DIV objects to be required stored in the Cookie of the browser, and submitting the unique identifier to a server side for storage.
The basic information of the bill comprises a sender name, a sender address, a sender telephone, a commodity remark, a receiver name, a receiver address, a receiver telephone, a postcode and the like. The dragging event is used for storing the absolute position coordinates of each DIV object to the browser end after the dragging action occurs. The setting rule of the unique identifier is as follows: current user ID and carrier brevity code.
After acquiring and loading the basic information of the menu from the server end to the browser end according to the service menu number, the method further comprises the following steps: the application server judges whether absolute position coordinates of all DIV objects of the current carrying menu exist in the browser Cookie, if not, judges whether the absolute position coordinates exist in the database server, and if so, reads the absolute position coordinates and stores the absolute position coordinates in the browser Cookie; if not, loading the absolute position coordinates of the default surface single template, and then initializing all DIV objects into draggable DIV objects; when there are cases, each DIV object is directly initialized to a draggable DIV object.
In addition, the printer can do two tasks when entering the browser operation: the first is the whole template and the second is printing, and the two tasks are independent. That is, the printer may be in order to adjust the lower template to save the lower template without printing, or in order to print.
According to the method for customizing the single mode board, the single mode board is visually edited based on an HTML dragging technology, so that the user-defined setting of the single mode board is realized, a client can customize the single mode board according to the self environmental characteristics of a user, the debugging is convenient, and the configuration is flexible; the absolute position coordinates of each object of the surface single template are synchronously stored at the browser end and the server end, so that the server end only needs to be deployed once, can support various surface single templates without frequent publishing, and is simple to maintain.
Fig. 3 is a schematic diagram of main modules of a custom surface single-mode board device according to an embodiment of the present invention.
As shown in fig. 3, the custom surface single mode board apparatus 30 of the embodiment of the present invention mainly includes: the initialization module 301 is configured to obtain basic information of the service ticket from the server side according to the service ticket number and load the basic information of the service ticket to the browser side; a visual template editing module 302, configured to obtain a draggable object from a server end, and perform visual editing on a surface template by dragging a desired object at a browser end; the draggable object is obtained by initializing each attribute element of the basic information of the menu and adding a dragging event respectively; and the template storage module 303 is configured to store the absolute position coordinates of the required object after the editing is completed. The visual template editing module 302 comprises the following visual template editing function implementation processes: initializing each attribute element of the basic information of the surface list into a drawable DIV object by the server side and respectively adding a dragging event; and the browser end acquires the draggable object from the server end, and the user drags the required object at the browser end to carry out visual editing on the menu template.
The specific steps obtained from the server side according to the service order number are as follows: and the application server acquires the service information from the database server according to the service information number.
The visual template editing module is also used for judging whether the absolute position coordinates of each object of the current carrying menu exist in the browser end by the server end, judging whether the absolute position coordinates exist in the browser end when the absolute position coordinates do not exist in the browser end, and reading the absolute position coordinates and storing the absolute position coordinates in the browser end if the absolute position coordinates exist in the browser end; if not, the absolute position coordinates of the default facesheet template are loaded.
In addition, the object is a DIV object, and the dragging event is used for saving the absolute position coordinates of each DIV object to the browser end after the dragging action occurs.
In addition, the template storage module is further configured to: and storing the absolute position coordinates of each object to be required in the browser Cookie, endowing the absolute position coordinates of each object to be required stored in the browser Cookie with a unique identifier, and submitting the unique identifier to a server for storage, wherein the unique identifier is used for identifying the mapping relation between the absolute position coordinates and the surface single template. The setting rule of the unique identifier is as follows: current user ID and carrier brevity code.
As can be seen from the above description, visual editing is performed on the single panel based on the HTML dragging technology, so that the user-defined setting of the single panel is realized, the client can customize the single panel according to the environmental characteristics of the user, and the method is convenient to debug and flexible to configure; the absolute position coordinates of each object of the surface single template are synchronously stored at the browser end and the server end, so that the server end only needs to be deployed once, can support various surface single templates without frequent publishing, and is simple to maintain.
Fig. 4 is an application schematic diagram of a custom surface single template method/apparatus according to an embodiment of the present invention.
As shown in fig. 4, the overall system is divided into two parts, namely a Browser-Browser side and a Server-Server side. The browser end is responsible for displaying a customer interactive interface, visually editing a single panel, interacting single panel data with the server end, and sending a printer instruction. The server is divided into an application server and a database server, the application server is responsible for processing request instructions sent by the browser, and simultaneously coordinates and communicates with the database server, and basic information (contact information, template coordinate position information and the like) of the list is stored and loaded from the database server.
The invention further provides a method for printing the facial sheet according to the embodiment of the invention.
The invention relates to a method for printing a receipt, which comprises the following steps: after the user-defined receipt printing method is used for obtaining the receipt template, print contents are previewed on the browser side, and the printing function of the browser is called for printing.
The invention also provides an electronic device and a readable storage medium according to the embodiment of the invention.
The electronic device of the present invention includes: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to cause the at least one processor to perform the method of customizing a form template provided by the present invention.
The non-transitory computer readable storage medium of the present invention stores computer instructions for causing the computer to perform the method of customizing a facebook template provided by the present invention.
Fig. 5 is a schematic diagram of a hardware structure of an electronic device according to the method for customizing a surface single mode board in the embodiment of the present invention. As shown in fig. 5, the electronic device includes: one or more processors 52 and a memory 51, one processor 52 being exemplified in fig. 5. The memory 51 is a non-transitory computer readable storage medium provided by the present invention.
The electronic device of the method for customizing the facebook template may further include: an input device 53 and an output device 54.
The memory 51, the processor 52, the input device 53 and the output device 54 may be connected by a bus or other means, and the bus connection is exemplified in fig. 5.
The memory 51, which is a non-transitory computer-readable storage medium, may be used to store non-transitory software programs, non-transitory computer-executable programs, and modules, such as program instructions/modules corresponding to the method for customizing a facebook template in the embodiment of the present invention (for example, as shown in fig. 3, the initialization module 301, the visualization template editing module 302, and the template storage module 303). The processor 52 executes various functional applications of the server and data processing by running non-transitory software programs, instructions and modules stored in the memory 51, namely, a method of implementing the customized facebook template in the above method embodiment.
The memory 51 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created from use of a device of the custom sheet template, and the like. Further, the memory 51 may include high speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, memory 51 optionally includes memory located remotely from processor 52, and these remote memories may be connected to the means for customizing the facebook template via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 53 may receive input numeric or character information and generate key signal inputs related to user settings and function controls of the device for customizing the facebook template. The output device 54 may include a display device such as a display screen.
The one or more modules are stored in the memory 51 and, when executed by the one or more processors 52, perform the method of customizing a form template of any of the method embodiments described above.
According to the technical scheme of the invention, visual editing is carried out on the single panel based on an HTML dragging technology, so that the user-defined setting of the single panel is realized, the client can define the single panel according to the self environmental characteristics of a user, the debugging is convenient, and the configuration is flexible; the absolute position coordinates of each object of the surface single template are synchronously stored at the browser end and the server end, so that the server end only needs to be deployed once, can support various surface single templates without frequent publishing, and is simple to maintain.
The product can execute the method provided by the embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method. For technical details that are not described in detail in this embodiment, reference may be made to the method provided by the embodiment of the present invention.
The above-described embodiments should not be construed as limiting the scope of the invention. Those skilled in the art will appreciate that various modifications, combinations, sub-combinations, and substitutions can occur, depending on design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims (17)
1. A method for customizing a facebook template, comprising:
acquiring basic information of the bill from a server side according to the service bill number and loading the basic information of the bill to a browser side;
the method comprises the steps that a draggable object is obtained from a server end, and visual editing of a surface template is carried out by dragging a required object at a browser end; the draggable object is obtained by initializing each attribute element of the basic information of the menu and adding a dragging event respectively;
and saving the absolute position coordinates of the required object after the editing is finished.
2. The method of claim 1, wherein the obtaining from the server according to the service ticket number comprises: and the application server acquires the service information from the database server according to the service information number.
3. The method of claim 1, further comprising: after basic information of the menu is acquired from the server side and loaded to the browser side according to the service menu number, the server side judges whether absolute position coordinates of each object of the current menu exist in the browser side, if not, judges whether absolute position coordinates exist in the browser side, and if yes, reads the absolute position coordinates and stores the absolute position coordinates in the browser side; if not, the absolute position coordinates of the default facesheet template are loaded.
4. The method according to claim 1 or 3, wherein the object is a DIV object, and the drag event is used to save the absolute position coordinates of each DIV object to the browser end after a drag action occurs.
5. The method of claim 1, wherein saving the absolute position coordinates of the desired object comprises: and storing the absolute position coordinates of each object to be required to a browser end, endowing the absolute position coordinates of each object to be required stored in the browser end with a unique identifier, and submitting the unique identifier to a server end for storage, wherein the unique identifier is used for identifying the mapping relation between the absolute position coordinates and a surface single template.
6. A method according to claim 1 or 3, wherein the absolute position coordinates are stored in a Cookie of the browser.
7. The method according to claim 5, wherein the setting rule of the unique identifier is: current user ID and carrier brevity code.
8. An apparatus for customizing a facebook template, comprising:
the initialization module is used for acquiring basic information of the menu from the server side according to the service menu number and loading the basic information of the menu to the browser side;
the visual template editing module is used for acquiring a draggable object from the server end so as to carry out visual editing on the surface template by dragging a required object at the browser end; the draggable object is obtained by initializing each attribute element of the basic information of the menu and adding a dragging event respectively;
and the template storage module is used for storing the absolute position coordinates of the required object after the editing is finished.
9. The apparatus according to claim 8, wherein the obtaining from the server side according to the service ticket number is: and the application server acquires the service information from the database server according to the service information number.
10. The apparatus of claim 8, wherein the visualization template editing module is further configured to determine, by the server side, whether the browser side stores absolute position coordinates of each object of the current shipping list, and if not, determine whether the browser side stores the absolute position coordinates, and if so, read the absolute position coordinates and store the absolute position coordinates in the browser side; if not, the absolute position coordinates of the default facesheet template are loaded.
11. The apparatus of claim 8 or 10, wherein the object is a DIV object, and the drag event is configured to save absolute position coordinates of each DIV object to the browser end after a drag action occurs.
12. The apparatus of claim 8, wherein the absolute position coordinates of the object required for saving are: and storing the absolute position coordinates of each object to be required to a browser end, endowing the absolute position coordinates of each object to be required stored in the browser end with a unique identifier, and submitting the unique identifier to a server end for storage, wherein the unique identifier is used for identifying the mapping relation between the absolute position coordinates and a surface single template.
13. The apparatus of claim 8 or 10, wherein the absolute position coordinates are stored in a Cookie of the browser.
14. The apparatus according to claim 12, wherein the setting rule of the unique identifier is: current user ID and carrier brevity code.
15. A method of printing a simplex, comprising: printing a single faceplate obtained according to the method of any of claims 1-7.
16. An electronic device, comprising:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the one processor to cause the at least one processor to perform the method of any one of claims 1-7.
17. A non-transitory computer-readable storage medium storing computer instructions for causing a computer to perform the method of any one of claims 1-7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710156255.0A CN108628812A (en) | 2017-03-16 | 2017-03-16 | Method, apparatus, electronic equipment and the readable storage medium storing program for executing of self-defined face single mode plate |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710156255.0A CN108628812A (en) | 2017-03-16 | 2017-03-16 | Method, apparatus, electronic equipment and the readable storage medium storing program for executing of self-defined face single mode plate |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108628812A true CN108628812A (en) | 2018-10-09 |
Family
ID=63686294
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710156255.0A Pending CN108628812A (en) | 2017-03-16 | 2017-03-16 | Method, apparatus, electronic equipment and the readable storage medium storing program for executing of self-defined face single mode plate |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108628812A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107463348A (en) * | 2017-07-05 | 2017-12-12 | 深圳市坐标软件开发有限公司 | Web ends user-defined format print method and system are realized based on B/S frameworks |
CN111597489A (en) * | 2020-05-12 | 2020-08-28 | 湖北美和易思教育科技有限公司 | Realization method and device based on mobile terminal draggable user-defined form component |
CN111610943A (en) * | 2020-06-11 | 2020-09-01 | 上海乾臻信息科技有限公司 | Method, device and system for managing and using panel board |
CN111782157A (en) * | 2020-06-17 | 2020-10-16 | 上海乾臻信息科技有限公司 | Express bill printing management method, device and system |
CN111949229A (en) * | 2020-07-29 | 2020-11-17 | 唯品会(珠海)电子商务有限公司 | Method and device for printing bill, computer equipment and storage medium |
CN112596728A (en) * | 2020-12-26 | 2021-04-02 | 中国农业银行股份有限公司 | Page generation method and device |
CN113760871A (en) * | 2020-08-17 | 2021-12-07 | 北京沃东天骏信息技术有限公司 | Template synchronization method and device |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101957936A (en) * | 2009-07-15 | 2011-01-26 | 深圳市艾派应用系统有限公司 | Method and system for implementing workflow form |
CN102074080A (en) * | 2009-11-25 | 2011-05-25 | 航天信息股份有限公司 | Customization and management method of visual management invoice template |
US20150012818A1 (en) * | 2013-07-07 | 2015-01-08 | Ana Rink | System and method for semantics-concise interactive visual website design |
CN105511818A (en) * | 2015-11-25 | 2016-04-20 | 中国建设银行股份有限公司 | Voucher template generating method, and device and system |
CN106407170A (en) * | 2016-09-30 | 2017-02-15 | 上海冰穹网络科技有限公司 | Rapid generation method and system for data report |
CN106469047A (en) * | 2015-08-18 | 2017-03-01 | 中兴通讯股份有限公司 | A kind of list implementation method and device |
-
2017
- 2017-03-16 CN CN201710156255.0A patent/CN108628812A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101957936A (en) * | 2009-07-15 | 2011-01-26 | 深圳市艾派应用系统有限公司 | Method and system for implementing workflow form |
CN102074080A (en) * | 2009-11-25 | 2011-05-25 | 航天信息股份有限公司 | Customization and management method of visual management invoice template |
US20150012818A1 (en) * | 2013-07-07 | 2015-01-08 | Ana Rink | System and method for semantics-concise interactive visual website design |
CN106469047A (en) * | 2015-08-18 | 2017-03-01 | 中兴通讯股份有限公司 | A kind of list implementation method and device |
CN105511818A (en) * | 2015-11-25 | 2016-04-20 | 中国建设银行股份有限公司 | Voucher template generating method, and device and system |
CN106407170A (en) * | 2016-09-30 | 2017-02-15 | 上海冰穹网络科技有限公司 | Rapid generation method and system for data report |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107463348A (en) * | 2017-07-05 | 2017-12-12 | 深圳市坐标软件开发有限公司 | Web ends user-defined format print method and system are realized based on B/S frameworks |
CN107463348B (en) * | 2017-07-05 | 2021-04-27 | 深圳坐标软件集团有限公司 | Method and system for realizing Web end custom format printing based on B/S architecture |
CN111597489A (en) * | 2020-05-12 | 2020-08-28 | 湖北美和易思教育科技有限公司 | Realization method and device based on mobile terminal draggable user-defined form component |
CN111597489B (en) * | 2020-05-12 | 2023-09-29 | 武汉美和易思数字科技有限公司 | Realization method and device for draggable custom form component based on mobile terminal |
CN111610943A (en) * | 2020-06-11 | 2020-09-01 | 上海乾臻信息科技有限公司 | Method, device and system for managing and using panel board |
CN111782157A (en) * | 2020-06-17 | 2020-10-16 | 上海乾臻信息科技有限公司 | Express bill printing management method, device and system |
CN111782157B (en) * | 2020-06-17 | 2024-04-09 | 上海乾臻信息科技有限公司 | Express delivery face list printing management method, device and system |
CN111949229A (en) * | 2020-07-29 | 2020-11-17 | 唯品会(珠海)电子商务有限公司 | Method and device for printing bill, computer equipment and storage medium |
CN113760871A (en) * | 2020-08-17 | 2021-12-07 | 北京沃东天骏信息技术有限公司 | Template synchronization method and device |
CN113760871B (en) * | 2020-08-17 | 2024-04-16 | 北京沃东天骏信息技术有限公司 | Template synchronization method and device |
CN112596728A (en) * | 2020-12-26 | 2021-04-02 | 中国农业银行股份有限公司 | Page generation method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108628812A (en) | Method, apparatus, electronic equipment and the readable storage medium storing program for executing of self-defined face single mode plate | |
US10705942B1 (en) | Simulated testing of API | |
US10353999B2 (en) | Information processing system, server apparatus, control method, and storage medium | |
US20190073350A1 (en) | Non-Transitory Computer-Readable Medium, Data Processing Device and Data Processing Method | |
CN104508622A (en) | Epos printing | |
CN107133001A (en) | A kind of face singles impression method, device and client | |
CN108073435B (en) | Multi-information integrated display method and system | |
KR101443304B1 (en) | System and method for printer emulation | |
US10951486B2 (en) | Terminal device, UI expansion method, and UI expansion program | |
CN104238970A (en) | image forming apparatus and print control method | |
CN109857388A (en) | Code generating method, device, server and computer-readable medium | |
JP6525641B2 (en) | INFORMATION PROCESSING SYSTEM, CONTROL METHOD, AND COMPUTER PROGRAM | |
JP2016162200A (en) | Information processing system, information processing device, control method and computer program | |
CN111367607A (en) | Dynamic electronic contract generating and signing system and implementation method thereof | |
US10353998B2 (en) | Information processing apparatus with real time update related to data edited while form document data is browsed, control method, and storage medium | |
JP2017097686A (en) | Information processing unit, control method thereof and program | |
CN110941401A (en) | Printing method and device | |
JP6668868B2 (en) | Information processing apparatus and information processing program | |
US20220414325A1 (en) | Universal content for email template | |
CN112699654A (en) | Electronic surface single output method, device, equipment and storage medium | |
JP2017027319A (en) | Display/editing/storage method, device, and processing program of document documentation data | |
JP2017102536A (en) | Information processing system, method for controlling information processing system, information processing device and program | |
JP2011233104A (en) | Information processing system, information processor, information processing method, program, and recording medium | |
CN112926294A (en) | Template file generation method and device | |
CN116795243A (en) | Label printing method and system, computer equipment and medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181009 |