CN115186643A - Self-defined configuration method, device, equipment and storage medium of sign-up template - Google Patents

Self-defined configuration method, device, equipment and storage medium of sign-up template Download PDF

Info

Publication number
CN115186643A
CN115186643A CN202210862702.5A CN202210862702A CN115186643A CN 115186643 A CN115186643 A CN 115186643A CN 202210862702 A CN202210862702 A CN 202210862702A CN 115186643 A CN115186643 A CN 115186643A
Authority
CN
China
Prior art keywords
template
control
target
instruction
sign
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.)
Withdrawn
Application number
CN202210862702.5A
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.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen 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 Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN202210862702.5A priority Critical patent/CN115186643A/en
Publication of CN115186643A publication Critical patent/CN115186643A/en
Withdrawn legal-status Critical Current

Links

Images

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/186Templates
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/34Graphical or visual programming
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Computational Linguistics (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Artificial Intelligence (AREA)
  • Computer Security & Cryptography (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application provides a user-defined configuration method, a user-defined configuration device and a storage medium of a sign-on template, wherein the method comprises the following steps: receiving a first operation instruction which is used for carrying out self-defining operation on the sign-up template by a user on a template configuration interface; acquiring and displaying a template design interface according to the first operation instruction, wherein the template design interface comprises a design area, a control area and a control attribute area; selecting a target control from the control area according to the received dragging instruction, and associating and displaying the target control in the design area according to the layout effect indicated by the dragging instruction; setting the attribute of the target control selected in the design area according to the control editing instruction received in the control attribute area; and if the first confirmation instruction is received, generating a target label report template based on the target control displayed by the layout effect and the corresponding attribute. The method and the device achieve flexible self-definition of the sign-up template through the template configuration interface, and achieve the purpose of expanding and enriching the sign-up template.

Description

User-defined configuration method, device, equipment and storage medium of sign-up template
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method, an apparatus, a device, and a storage medium for custom configuration of a signature template.
Background
With the development of the internet, more and more industries enter digital transformation, and paperless office and remote office become daily necessities. Under the background, an office system which is convenient, efficient and meets multiple scenes is very important.
The traditional office system is usually directly customized and developed according to the common scenes of customers, and the corresponding signing template is only selectable by fixed templates. However, with the change of application scenes, the traditional office system with fixed templates cannot meet the requirements of increasingly different office scenes of users. In the prior art, the sign-up template is usually expanded through version iteration, which usually needs a large amount of code rewriting, thereby undoubtedly increasing the workload of developers, improving the product cost of product companies and greatly reducing the user experience.
Disclosure of Invention
The technical problem that the office system sign-up template in the prior art is fixed singly and cannot meet the requirements of users is solved. The application provides a self-defined configuration method, a device, equipment and a storage medium of a sign-report template, and mainly aims to realize flexible self-definition of the sign-report template and achieve the purpose of expanding and enriching the sign-report template.
In order to achieve the above object, the present application provides a custom configuration method for a signing template, including:
receiving a first operation instruction which is used for carrying out self-defining operation on the sign-up template by a user on a template configuration interface;
acquiring and displaying a template design interface according to the first operation instruction, wherein the template design interface comprises a design area, a control area and a control attribute area;
selecting a target control from the control area according to the received dragging instruction, and associating and displaying the target control in the design area according to the layout effect indicated by the dragging instruction;
performing attribute setting on the target control selected in the design area according to the control editing instruction received in the control attribute area;
and if the first confirmation instruction is received, generating a target label newspaper template based on the target control displayed by the layout effect and the corresponding attribute.
In addition, in order to achieve the above object, the present application further provides a self-defined configuration device for a signature template, the device comprising:
the system comprises a first receiving module, a second receiving module and a template configuration module, wherein the first receiving module is used for receiving a first operation instruction which is used for carrying out self-defining operation on a sign-up template in a template configuration interface by a user;
the first display module is used for acquiring and displaying a template design interface according to a first operation instruction, wherein the template design interface comprises a design area, a control area and a control attribute area;
the second display module is used for selecting a target control from the control area according to the received dragging instruction, and associating and displaying the target control in the design area according to the layout effect indicated by the dragging instruction;
the attribute setting module is used for setting the attribute of the target control selected in the design area according to the control editing instruction received in the control attribute area;
and the template generating module is used for generating a target label newspaper template based on the target control displayed by the layout effect and the corresponding attribute if the first confirmation instruction is received.
To achieve the above object, the present application further provides a computer device, which includes a memory, a processor and computer readable instructions stored in the memory and executable on the processor, wherein the processor executes the computer readable instructions to perform the steps of the method for custom configuration of a signature template as described in any one of the above.
To achieve the above object, the present application further provides a computer readable storage medium, on which computer readable instructions are stored, and when the computer readable instructions are executed by a processor, the processor executes the steps of the method for custom configuration of a tabbed panel as in any one of the above.
According to the self-defined configuration method, device, equipment and storage medium of the sign-report template, aiming at the problems existing in the traditional office system, possible service expansion is considered in advance, the absolute fixed method is not adopted for the sign-report template, the self-definition of the control and the control attribute in the sign-report template is realized through a template design interface, so that the template addition and modification inlets are provided, the flexible self-definition of the sign-report template is realized, and the purposes of expanding and enriching the sign-report template are achieved. According to the method and the device, code rewriting is not needed, version iteration is not needed to be carried out on the office system, code multiplexing is achieved through the universality of the control, development work of developers is reduced, the product cost of product companies is reduced, and the use experience of users is improved.
Drawings
Fig. 1 is a schematic flowchart illustrating a custom configuration method of a bulletin template according to an embodiment of the present application;
FIG. 2 is a schematic diagram of a template design interface in an embodiment of the present application;
FIG. 3 is a diagram illustrating an effect of a sign-on template according to an embodiment of the present application;
FIG. 4 is a block diagram illustrating a configuration of a custom configuration device for a ticketing template according to an embodiment of the present application;
fig. 5 is a block diagram illustrating an internal structure of a computer device according to an embodiment of the present application.
The implementation, functional features and advantages of the object of the present application will be further explained with reference to the embodiments, and with reference to the accompanying drawings.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application without making creative efforts shall fall within the protection scope of the present application. It should be understood that the specific embodiments described herein are merely illustrative of and not restrictive on the broad application.
Fig. 1 is a schematic flowchart of a custom configuration method of a bulletin template in an embodiment of the present application. Referring to fig. 1, the custom configuration method of the sign-up template includes the following steps S100 to S500.
S100: and receiving a first operation instruction which is used for carrying out self-defining operation on the sign-up template in the template configuration interface by a user.
Specifically, the approval of the endorsement is an indispensable office business scene of daily work, and with the increasing intellectualization, automation and wide application of an office system, employees can submit the endorsement to the approval system through different business systems according to approval rules so as to realize paperless circulation of the office process.
In an office system, a signature is a main office business bearer, a signature template serving as a standard of the signature business becomes a soul of the office business, and when a user of the office system uses the system, the user can self-define different signature templates according to the own signature requirements, so that the complexity of simple things is avoided.
The execution main body of the application is an office system, and a user can log in the office system to use an existing sign-on template to fill, create and submit a sign-on, and can also customize the sign-on template for a department with a specific authority. The user of the application can be any user or an authorized user, and is specifically defined according to the actual user scene of the client. If the authorized user is the authorized user, the administrator needs to issue the template customization permission for the authorized user in advance, so that the authorized user can customize the signing and reporting template in the office system after logging in the account.
And after the user logs in the office system, selecting to enter a visual template configuration interface in a menu of the office system. The user carries out first operation on the template configuration interface so as to send a first operation instruction to the office system. The first operation instruction may include a new operation of the target sign-on template to be generated, and may further include a basic information setting operation of the target sign-on template to be generated.
S200: and acquiring and displaying a template design interface according to the first operation instruction, wherein the template design interface comprises a design area, a control area and a control attribute area.
Specifically, the office system switches from the template configuration interface to the template design interface according to the first operation instruction. The design area of the template design interface is a display area, a layout area and a preview area of a target control configured for the target label newspaper template by a user. The control area is a display area and a selection area of the control in the control library, and the control library is constructed in advance after a developer disassembles the control of the common template. The template design interface loads and displays the controls in the control library during display.
Fig. 2 is a schematic diagram of a template design interface in an embodiment of the present application, and referring to fig. 2, a design area is located in the middle of the template design interface, and a control area and a control attribute area are located on the left side and the right side, respectively. Of course, the template design interface of the present application is not so limited. It is also possible that the control region and the control attribute region are located side by side on the upper side of the design region. The control area can show various controls in a folding mode, and a user selects the controls through unfolding operation.
In order to facilitate the user to quickly locate the required control, the control area can be divided into a plurality of sub-control areas such as a layout control, a basic control, a business control, an expansion control and a special control. Except that special controls need to be customized and developed, other controls are common controls, and control combination can cover most office business scenes.
Layout controls, such as layout boxes of 1 row and two columns, the base controls may include: form controls, single-line input boxes (textboxes), drop-down boxes, various function buttons, and the like; the service control comprises a mailbox input box, an amount input box and the like; and the development control can be used for uploading pictures, rating and the like, and the special control can be used for controlling fees, booking tickets and the like.
The design area can enable a user to preview the combination and interaction condition of the template in formal use, can find problems in time and make adjustments, and also avoids repeated new construction of the template.
The control properties area may set the required properties of the control.
S300: and selecting a target control from the control area according to the received dragging instruction, and associating and displaying the target control in the design area according to the layout effect indicated by the dragging instruction.
Specifically, the layout effect of the controls is the incidence relation among the controls, and the dragging instruction is used for performing at least one operation of selecting, adding, deleting, changing, moving and the like on the controls.
If the number of the controls in the control area is large, the controls can be displayed in a classified mode according to the types of the controls, some controls are folded or hidden in each sub-control area, and a user finds the controls hidden or folded in the sub-control areas in an unfolding or folding or clicking entering mode so as to select a target control. The office system identifies a dragging instruction of a user, drags a target control selected from the control area to the design area in a dragging mode, identifies the dragging instruction in the design area, and arranges the target control in the design area in the dragging mode to associate the target control or change the position of the target control in the design area. The office system can also move the target control of the design area out of the design area according to the dragging instruction. Certainly, the office system also supports operations such as copying or deleting the target control through copying, pasting, cutting and deleting instructions.
In the design area, a user can perform various dragging operations on the target control.
S400: and carrying out attribute setting on the target control selected in the design area according to the control editing instruction received in the control attribute area.
Specifically, a user can arbitrarily select a target control in the design area, and correspondingly display the attribute setting interface of the selected target control in the control attribute area. And the office system identifies the control editing instruction received on the attribute setting interface so as to set the attributes of the selected target control. The control editing instruction corresponds to the control type. For example, if the control is a text box, the control editing instruction includes setting operations on the font, color, size, character length of the character to be written in the text box and naming of the text box; and if the control is a button, the control editing instruction comprises setting operation on the color, the style, the button text and the remark explanation of the button.
S500: and if the first confirmation instruction is received, generating a target label report template based on the target control displayed by the layout effect and the corresponding attribute.
Specifically, after the user selects, lays out, and sets the properties of the target controls of the target sign-on template, the user may click a "confirm" or "submit" button of the template design interface to generate the first confirmation instruction. And after the office system identifies the first confirmation instruction, generating a target label newspaper template based on the target control in the design area, the display effect of the target control and the attribute of the target control. The target label newspaper template integrates a target control, attribute information of the target control and layout information of the target control.
The target label report template can be immediately effective after being generated and called by the user, namely the user can use the target label report template to fill and submit the content.
The embodiment considers possible service expansion in advance aiming at the problems of the traditional office system, does not adopt an absolute fixed method for the sign-on template, and realizes the self-definition of the control and the control attribute in the sign-on template through a template design interface so as to provide a template newly-added and modified inlet, further realize the flexible self-definition of the sign-on template and achieve the purposes of expanding and enriching the sign-on template. According to the method and the device, code rewriting is not needed, version iteration is not needed to be carried out on the office system, code multiplexing is achieved through the universality of the control, development work of developers is reduced, the product cost of product companies is reduced, and the use experience of users is improved.
In one embodiment, step S200 specifically includes:
and after determining a template tree associated with the target sign-up template to be generated according to the first operation instruction, loading and displaying a template design interface.
Specifically, the first operation instruction includes a selection of a template tree at a template configuration interface. And selecting a template tree to associate the generated target sign-on template with the selected template tree. The template tree is used for classifying the generated label template, so that a user can conveniently and quickly search when using the label template. The office scene has a plurality of business classifications, and the business classifications are defined according to business topics of the office scene of the label report template. Each service classification has a corresponding template tree, and each template tree can be associated with a signing template. When initiating a sign-on report, a user selects a service classification, then finds out a template tree under the service classification, and then can select a required sign-on template in the template tree.
After the template tree associated with the target sign-on template to be generated is selected, the template tree can be directly loaded and jumps to a template design interface.
According to the embodiment, the generated signature template can be quickly found by the user by associating the template tree with the signature template to be generated, so that the user experience is improved.
In one embodiment, before step S500, the method further comprises:
if a preview instruction is received, displaying a preview effect of the target sign-up template to be generated in a preview mode, wherein the preview effect is a form view mode or a table view mode;
and if a preview operation instruction of the user to the target control in the preview effect is received in the form view mode, operating the corresponding target control according to the preview operation instruction to display the corresponding interactive effect.
Specifically, the template design interface is provided with a preview button, and a user can request to preview the target sign-on template through the preview button.
After receiving a preview instruction generated by clicking a preview button by a user, the office system displays the preview effect of the target sign-up template to be generated in a full-screen mode or displays the preview effect of the target sign-up template to be generated in a design area. The form view mode is a mode in which content can be filled in when the sign-on is initiated, that is, the sign-on can be filled in and modified in the form view mode. The form view mode shows the effect when the user checks the sign-on details after completing the sign-on, and the form view mode is the sign-on view mode, which is equivalent to a set mode and cannot modify or edit the sign-on. The preview effect can be switched between a form view mode and a form view mode.
If the preview effect is displayed in the form view mode, the user can edit the target sign-on template in the preview effect. And the user previews the target sign-on model in the preview mode, and the office system correspondingly operates the target control indicated by the instruction according to the generated preview operation instruction, so that the interactive effect can be displayed in real time for the user to check. The user can find problems in time according to the interaction condition and make adjustment to perfect the sign-up template after quitting the preview.
In one embodiment, the attribute setting includes:
setting the numerical range of the control, setting the rows and columns of the control, setting the input length of the control, setting the type and the number of sub-controls which can be embedded in the control, setting the skip logic of the control, and setting the association relationship between the controls.
Specifically, different types of control attributes may be different, for example, an amount input box, which may set the range of the amount; for example, the length attribute of the container control can limit the number and the type of the embedded child controls (for example, the associated child controls for automatic operation); for example, the layout control may set the number of its ranks; for example, a text box may be limited in its maximum character entry length; for example, setting the jump logic of the control of the uploading attachment; for example, setting the jump logic of the control of the newly added associated template; for example, setting values of fields of the drop-down box. The association relationship between the controls includes, but is not limited to, a mutual exclusion relationship, a parallel relationship, a series relationship, a calculation relationship, an inclusion relationship, and the like.
The embodiment realizes the setting of various attributes of the control and realizes the multifunction of the control.
In one embodiment, after step S500, the method further comprises:
displaying an approval content configuration interface after the design is finished;
receiving a second operation instruction for performing custom operation on the approval content of the target label report template by the user in the approval content configuration interface;
and determining the number of the approval steps of the target label report template, a fixed approver corresponding to each approval step or setting the approval steps as a dynamic selection mode of the approver and an approval mode of the target label report template according to the second operation instruction, wherein the approval mode is one of sequential approval, parallel approval and collaborative approval.
Specifically, the office system can directionally distribute the execution progress of the approval process to office accounts corresponding to all approvers for approval.
For more important items, strict examination and approval are sometimes required to be carried out, and for standard management, a user can make examination and approval rules according to needs to restrict the signed examination and approval process.
The examination and approval content is not configured in the previous step, and the examination and approval content can be configured in a fixed examination and approval process mode, for example, a button of a default examination and approval mode is arranged on a template design interface, and a user clicks the button to automatically set the fixed examination and approval process for the target signing template without additional self-definition.
In the embodiment, after a 'next' instruction of a user is acquired, a visual approval content configuration interface is entered, wherein a 'next' button is arranged on a template design interface.
In the examination and approval content configuration interface, the user can define the number of examination and approval steps, and can also set a fixed examination and approval person for the examination and approval steps, or set a dynamic selection mode of the examination and approval person for the examination and approval steps, so that the user can independently add the examination and approval persons according to the needs when using the signing and reporting template. In addition, if there are a plurality of approval steps, it is further necessary to set whether the approval steps are sequentially circulated or can be circulated in parallel or completed cooperatively. If the flow is sequential flow, the flow sequence of the approval steps is also set.
The target label report template can be copied and re-edited after being generated, for example, the examination and approval content is changed, so that the label report template can be reused, and the self-defined program and time cost of the label report template are reduced.
The circulation direction of the signed report template can be defined by self-defining approval contents, and meanwhile, an approver can also be authorized to sign the report, so that the same signed report template can be used in different service scenes, and the multiplexing of the signed report template is realized.
In one embodiment, the configuration can be customized for the operation in the signature transfer process, for example, whether the signature can be filed in the approval process, whether the signature can be transferred to other systems after the approval is finished, and the like.
In one embodiment, the method further comprises:
after a second confirmation instruction for the examination and approval content configuration interface is received, generating a template file corresponding to the target label report template;
and storing the template file to the rear end so that the front end calls the template file to perform page rendering to obtain and display the target label newspaper template.
Specifically, the sign-on template is customized in a graphical representation mode on a template design interface, and the office system can generate a corresponding code according to the sign-on template graphically represented by the user. The template file is used for defining and storing the controls, the control attributes and the layout among the controls contained in the target sign-on template in a code form.
The template file is the bottom code of the target sign-on template. This may enable other users to invoke the tabbed newspaper template as well.
Other users at the front end may invoke the sign-on template by calling the template file to the back-end server. And the front end displays the sign-on template at the front end after performing page rendering according to the template file.
According to the embodiment, the generation and storage of the template file can enable other users to share the sign-on template, so that the wide calling and the use of the sign-on template are realized.
In one embodiment, before step S200, the method further comprises:
receiving a third operation instruction which is used for configuring basic information of the target sign-up template on a visual template configuration interface by a user;
and acquiring basic information of the target sign-up template to be generated according to the third operation instruction, wherein the basic information comprises at least one of a template identifier for uniquely indicating the target sign-up template, a management mechanism and a template responsible person to which the target sign-up template belongs, and a template application type.
Specifically, the template identification may be a template name or a template number. The template name is user-defined, and the template number can be user-defined or randomly distributed by the system. And the management mechanism is a right management mechanism and is used for limiting the use range of the target label report template. The department to which the user belongs is the department where the user who creates the bibliographic template is located. The template principal is the user who created the eye tag newspaper template. The type of template application, i.e., the service scenario to which the template is applied, for example, the internal work sheet, the red-head document draft, the foreign document handling sheet, and the like are not limited thereto.
Fig. 3 is a diagram illustrating an effect of a sign-on template in an embodiment of the present application, and referring to fig. 3, the sign-on template is displayed in a form view mode, and the sign-on template may be switched to a sign-on view, i.e., a form view. The signature template is specifically an internal work signature, which comprises 4 text boxes in total of file type, description, transmission object and copying, and also comprises two unnecessary items of 'uploading file' and 'newly adding associated signature', wherein the first three are marked with 'star' numbers in attribute setting and are set as indispensable items. The button of 'upload file' is also provided with a text for explanation 'please select upload file, online draft only allows upload of a file' and the text of the button 'upload file' is brief. The 'newly added association signature' button is provided with a text brief description of 'association flow'. The 'newly-added associated signature' button is used for associating other signatures, so that a corresponding approver can simultaneously check the associated signatures when checking the current signature, the approver can conveniently examine and approve a plurality of signatures of the same user at one time, signature examination and approval processes and time are saved, the user who fills in the signatures can conveniently establish and submit the plurality of signatures at one time, and great convenience is brought to the user. And displaying the template tree associated with the sign report and the specific branch of the sign report template in the template tree in a folding form of 'view details'. The user may click on "view details" to see the branches of the sign-on template in the template tree. In addition, the signature template is also provided with a 'deactivation' button and an 'editing' button, so that the signature can be paused and edited again.
Compared with the traditional fixed templates, fixed approvers, fixed approval steps and fixed circulation operation modes, the customized template is introduced into an office system, and from the perspective of research and development personnel, the secondary development cost of users caused by requirement change can be reduced; from the perspective of user use, the range influence granularity of the signpost can be controlled finely enough, in addition, the template can be flexibly defined according to the own scene requirements, and convenience, high efficiency and self-adaption can be achieved. From the perspective of operation and maintenance personnel, the problem responsible person can be quickly positioned. The office system large function is enabled by small change.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
Fig. 4 is a block diagram illustrating a configuration of a custom configuration device for a signature template according to an embodiment of the present application. Referring to fig. 4, the apparatus includes:
the system comprises a first receiving module 100, a second receiving module, a template configuration interface and a third receiving module, wherein the first receiving module is used for receiving a first operation instruction which is used for performing custom operation on a sign-on template by a user on the template configuration interface;
the first display module 200 is configured to obtain and display a template design interface according to a first operation instruction, where the template design interface includes a design area, a control area, and a control attribute area;
the second display module 300 is configured to select a target control from the control area according to the received drag instruction, associate the target control with a layout effect indicated by the drag instruction in the design area, and display the target control;
the attribute setting module 400 is configured to perform attribute setting on the target control selected in the design area according to the control editing instruction received in the control attribute area;
the template generating module 500 is configured to generate a target label template based on the target control and the corresponding attribute shown in the layout effect if the first confirmation instruction is received.
In an embodiment, the first displaying module 200 is specifically configured to load and display a template design interface after determining, according to the first operation instruction, a template tree associated with a target sign-on template to be generated.
In one embodiment, the apparatus further comprises:
the preview module is used for displaying the preview effect of the target sign-on template to be generated in a preview mode if a preview instruction is received, wherein the preview effect is a form view mode or a form view mode;
and the preview interaction module is used for operating the corresponding target control according to the preview operation instruction to display the corresponding interaction effect if the preview operation instruction of the user to the target control in the preview effect is received in the form view mode.
In one embodiment, the attribute setting includes:
setting the numerical range of the control, setting the rows and columns of the control, setting the input length of the control, setting the type and the number of sub-controls which can be embedded in the control, setting the jump logic of the control and setting the association relationship between the controls.
In one embodiment, the apparatus further comprises:
the third display module is used for displaying the examination and approval content configuration interface after the design is finished;
the second receiving module is used for receiving a second operation instruction for performing custom operation on the approval content of the target label report template on the approval content configuration interface by the user;
and the approval setting module is used for determining the number of approval steps of the target label report template, a fixed approver corresponding to each approval step or setting the approval step as a dynamic selection mode of the approver and an approval mode of the target label report template according to the second operation instruction, wherein the approval mode is one of sequential approval, parallel approval and collaborative approval.
In one embodiment, the apparatus further comprises:
the template file generating module is used for generating a template file corresponding to the target label report template after receiving a second confirmation instruction of the examination and approval content configuration interface;
and the storage module is used for storing the template file to the rear end so that the front end can call the template file to perform page rendering and obtain and display the target label newspaper template.
In one embodiment, the apparatus further comprises:
the third receiving module is used for receiving a third operation instruction which is used for configuring basic information of the target sign-up template on a visual template configuration interface by a user;
and the basic information acquisition module is used for acquiring basic information of the target sign-up template to be generated according to the third operation instruction, wherein the basic information comprises at least one of a template identifier for uniquely indicating the target label report template, a management mechanism and a template responsible person to which the target sign-up template belongs, and a template application type.
Wherein the meaning of "first" and "second" in the above modules/units is only to distinguish different modules/units, and is not used to define which module/unit has higher priority or other defining meaning. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or modules is not necessarily limited to those steps or modules explicitly listed, but may include other steps or modules not explicitly listed or inherent to such process, method, article, or apparatus, and such that a division of modules presented in this application is merely a logical division and may be implemented in a practical application in a further manner.
For specific limitation of the custom configuration device of the signature template, reference may be made to the above limitation on the custom configuration method of the signature template, and details are not described here. All or part of each module in the self-defining configuration device of the signing template can be realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
Fig. 5 is a block diagram illustrating an internal structure of a computer device according to an embodiment of the present application. As shown in fig. 5, the computer apparatus includes a processor, a memory, a network interface, an input device, and a display screen, which are connected through a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory includes a storage medium and an internal memory. The storage medium may be a nonvolatile storage medium or a volatile storage medium. The storage medium stores an operating system and may also store computer readable instructions which, when executed by the processor, may cause the processor to implement a custom configuration method for the sign-on template. The internal memory provides an environment for the operating system and the execution of computer-readable instructions in the storage medium. The internal memory may also have computer readable instructions stored therein that, when executed by the processor, cause the processor to perform a method of custom configuration of the signature template. The network interface of the computer device is used for communicating with an external server through a network connection. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on a shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
In one embodiment, a computer device is provided, which includes a memory, a processor, and computer readable instructions (e.g., a computer program) stored on the memory and executable on the processor, and when the processor executes the computer readable instructions, the steps of the method for custom configuration of a signing template in the above embodiments are implemented, for example, steps S100 to S500 shown in fig. 1 and other extensions of the method and related steps. Alternatively, the processor, when executing the computer readable instructions, implements the functions of the modules/units of the custom configuration device of the signing template in the above embodiments, such as the functions of the modules 100 to 500 shown in fig. 4. To avoid repetition, further description is omitted here.
The Processor may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. The general purpose processor may be a microprocessor or the processor may be any conventional processor or the like, the processor being the control center of the computer device and the various interfaces and lines connecting the various parts of the overall computer device.
The memory may be used to store computer readable instructions and/or modules, and the processor may implement various functions of the computer apparatus by executing or executing the computer readable instructions and/or modules stored in the memory and invoking data stored in the memory. The memory may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, video data, etc.) created according to the use of the cellular phone, etc.
The memory may be integrated in the processor or may be provided separately from the processor.
It will be appreciated by those skilled in the art that the configuration shown in fig. 5 is a block diagram of only a portion of the configuration associated with the present application, and is not intended to limit the computing device to which the present application may be applied, and that a particular computing device may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer readable storage medium is provided, having stored thereon computer readable instructions, which when executed by a processor, implement the steps of the method for custom configuration of a signing template in the above embodiments, such as the steps S100 through S500 shown in fig. 1 and extensions of other extensions and related steps of the method. Alternatively, the computer readable instructions, when executed by the processor, implement the functions of the modules/units of the custom configuration device of the signing template in the above embodiments, such as the functions of the modules 100 to 500 shown in fig. 4. To avoid repetition, further description is omitted here.
It will be understood by those of ordinary skill in the art that all or part of the processes of the methods of the embodiments described above may be implemented by instructing associated hardware to implement computer readable instructions, which may be stored in a computer readable storage medium, and when executed, may include processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double-rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link (SLDRAM), rambus (Rambus) direct RAM (RDRAM), direct bused dynamic RAM (DRDRAM), and Rambus Dynamic RAM (RDRAM).
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, apparatus, article, or method that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, apparatus, article, or method. Without further limitation, an element defined by the phrases "comprising a," "8230," "8230," or "comprising" does not exclude the presence of another identical element in a process, apparatus, article, or method comprising the element.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments. Through the description of the foregoing embodiments, it is clear to those skilled in the art that the method of the foregoing embodiments may be implemented by software plus a necessary general hardware platform, and certainly may also be implemented by hardware, but in many cases, the former is a better implementation. Based on such understanding, the technical solution of the present application may be substantially or partially embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present application.
The above description is only a preferred embodiment of the present application, and not intended to limit the scope of the present application, and all the equivalent structures or equivalent processes that can be directly or indirectly applied to other related technical fields by using the contents of the specification and the drawings of the present application are also included in the scope of the present application.

Claims (10)

1. A custom configuration method for a sign-up template is characterized by comprising the following steps:
receiving a first operation instruction which is used for carrying out self-defining operation on the sign-up template by a user on a template configuration interface;
acquiring and displaying a template design interface according to the first operation instruction, wherein the template design interface comprises a design area, a control area and a control attribute area;
selecting a target control from the control area according to a received dragging instruction, and associating and displaying the target control in the design area according to a layout effect indicated by the dragging instruction;
performing attribute setting on the target control selected in the design area according to the control editing instruction received in the control attribute area;
and if a first confirmation instruction is received, generating a target label newspaper template based on the target control displayed by the layout effect and the corresponding attribute.
2. The method of claim 1, wherein the obtaining and presenting a template design interface according to the first operation instruction comprises:
and after determining the template tree associated with the target label report template to be generated according to the first operation instruction, loading and displaying a template design interface.
3. The method of claim 1, wherein prior to receiving the first acknowledgement command, the method further comprises:
if a preview instruction is received, displaying a preview effect of a target sign-up template to be generated in a preview mode, wherein the preview effect is a form view mode or a form view mode;
and if a preview operation instruction of the user to the target control in the preview effect is received in the form view mode, operating the corresponding target control according to the preview operation instruction to display the corresponding interaction effect.
4. The method of claim 1, wherein the attribute setting comprises:
the control comprises at least one of setting the numerical range of the control, setting the rows and columns of the control, setting the input length of the control, setting the type and the number of sub-controls which can be embedded in the control, setting the jump logic of the control and setting the incidence relation between the controls.
5. The method of claim 1, wherein after the generating the eye-tag newspaper template, the method further comprises:
displaying an examination and approval content configuration interface after the design is finished;
receiving a second operation instruction for performing custom operation on the approval content of the target label report template by the user on the approval content configuration interface;
and determining the number of the approval steps of the target label report template, a fixed approver corresponding to each approval step or setting the approval steps as an approver dynamic selection mode and an approval mode of the target label report template according to the second operation instruction, wherein the approval mode is one of sequential approval, parallel approval and collaborative approval.
6. The method of claim 5, further comprising:
after a second confirmation instruction for the examination and approval content configuration interface is received, a template file corresponding to the target label report template is generated;
and storing the template file to the rear end so that the front end can call the template file to perform page rendering and obtain and display the target label newspaper template.
7. The method of claim 1, wherein prior to said obtaining and presenting a template design interface according to the first operating instructions, the method further comprises:
receiving a third operation instruction which is used for configuring basic information of the item label newspaper template by the user on a visual template configuration interface;
and acquiring basic information of the target label newspaper template to be generated according to the third operation instruction, wherein the basic information comprises at least one of a template identifier for uniquely indicating the target label newspaper template, a management organization and a template responsible person to which the target label newspaper template belongs, and a template application type.
8. An apparatus for custom configuration of a signature template, the apparatus comprising:
the system comprises a first receiving module, a second receiving module and a template configuration module, wherein the first receiving module is used for receiving a first operation instruction which is used for carrying out custom operation on a sign-up template on a template configuration interface by a user;
the first display module is used for acquiring and displaying a template design interface according to the first operation instruction, wherein the template design interface comprises a design area, a control area and a control attribute area;
the second display module is used for selecting a target control from the control area according to the received dragging instruction, and associating and displaying the target control in the design area according to the layout effect indicated by the dragging instruction;
the attribute setting module is used for setting the attribute of the target control selected in the design area according to the control editing instruction received in the control attribute area;
and the template generating module is used for generating a target label report template based on the target control displayed by the layout effect and the corresponding attribute if the first confirmation instruction is received.
9. A computer device comprising a memory, a processor, and computer readable instructions stored on the memory and executable on the processor, wherein the processor when executing the computer readable instructions performs the steps of the method for custom configuration of a signup template as recited in any of claims 1-7.
10. A computer readable storage medium having computer readable instructions stored thereon, which when executed by a processor, cause the processor to perform the steps of the method of custom configuration of a signup template as claimed in any of claims 1 to 7.
CN202210862702.5A 2022-07-21 2022-07-21 Self-defined configuration method, device, equipment and storage medium of sign-up template Withdrawn CN115186643A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210862702.5A CN115186643A (en) 2022-07-21 2022-07-21 Self-defined configuration method, device, equipment and storage medium of sign-up template

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210862702.5A CN115186643A (en) 2022-07-21 2022-07-21 Self-defined configuration method, device, equipment and storage medium of sign-up template

Publications (1)

Publication Number Publication Date
CN115186643A true CN115186643A (en) 2022-10-14

Family

ID=83519449

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210862702.5A Withdrawn CN115186643A (en) 2022-07-21 2022-07-21 Self-defined configuration method, device, equipment and storage medium of sign-up template

Country Status (1)

Country Link
CN (1) CN115186643A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117094300A (en) * 2023-10-17 2023-11-21 博智安全科技股份有限公司 Report data generation method and device, electronic equipment and storage medium
WO2024119990A1 (en) * 2022-12-07 2024-06-13 长城汽车股份有限公司 Method and apparatus for customizing vehicle functions, vehicle, and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2518745A (en) * 2013-08-08 2015-04-01 Palantir Technologies Inc Template system for custom document generation
CN106447295A (en) * 2016-09-29 2017-02-22 广州鹤互联网科技有限公司 Sign-off file template generation method and apparatus thereof
CN107562706A (en) * 2017-08-23 2018-01-09 深圳赛盒科技有限公司 Self-defined ticket templates method and system
US20180060551A1 (en) * 2016-08-23 2018-03-01 Lenovo (Singapore) Pte. Ltd. Using gas chromatography for authentication, advertisements, and therapies
CN108241595A (en) * 2017-11-15 2018-07-03 平安科技(深圳)有限公司 Reddish tone template construct method, application server and the computer storage media of official document
CN110362302A (en) * 2019-07-15 2019-10-22 软通动力信息技术有限公司 Configuration method, device, server and the storage medium of big data visualization interface
CN114116089A (en) * 2021-11-08 2022-03-01 广州鸿大智能科技有限公司 Data visualization method, device, equipment and storage medium
CN114254602A (en) * 2021-12-14 2022-03-29 航天信息股份有限公司 Design system and storage medium for custom forms

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2518745A (en) * 2013-08-08 2015-04-01 Palantir Technologies Inc Template system for custom document generation
US20180060551A1 (en) * 2016-08-23 2018-03-01 Lenovo (Singapore) Pte. Ltd. Using gas chromatography for authentication, advertisements, and therapies
CN106447295A (en) * 2016-09-29 2017-02-22 广州鹤互联网科技有限公司 Sign-off file template generation method and apparatus thereof
CN107562706A (en) * 2017-08-23 2018-01-09 深圳赛盒科技有限公司 Self-defined ticket templates method and system
CN108241595A (en) * 2017-11-15 2018-07-03 平安科技(深圳)有限公司 Reddish tone template construct method, application server and the computer storage media of official document
CN110362302A (en) * 2019-07-15 2019-10-22 软通动力信息技术有限公司 Configuration method, device, server and the storage medium of big data visualization interface
CN114116089A (en) * 2021-11-08 2022-03-01 广州鸿大智能科技有限公司 Data visualization method, device, equipment and storage medium
CN114254602A (en) * 2021-12-14 2022-03-29 航天信息股份有限公司 Design system and storage medium for custom forms

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024119990A1 (en) * 2022-12-07 2024-06-13 长城汽车股份有限公司 Method and apparatus for customizing vehicle functions, vehicle, and storage medium
CN117094300A (en) * 2023-10-17 2023-11-21 博智安全科技股份有限公司 Report data generation method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN109614424B (en) Page layout generation method, device, computing equipment and medium
JP6487282B2 (en) Method for developing application to be executed in workflow management system, and apparatus for supporting generation of application to be executed in workflow management system
CN114035773B (en) Configuration-based low-code form development method, system and device
US8904342B2 (en) System and method for rapid development of software applications
CN112632942B (en) Document processing method, device, equipment and medium
CN109408764B (en) Page area dividing method, device, computing equipment and medium
US10331765B2 (en) Methods and apparatus for translating forms to native mobile applications
US11475097B1 (en) Simplified website creation, configuration, and customization system
CN115186643A (en) Self-defined configuration method, device, equipment and storage medium of sign-up template
US8239226B2 (en) Methods and apparatus for combining properties and methods from a plurality of different data sources
US20070136357A1 (en) Methods and apparatus for designing a workflow process using inheritance
CN115712413B (en) Low code development method, device, equipment and storage medium
US8224853B2 (en) Methods and apparatus for updating a plurality of data fields in an electronic form
CN101320365A (en) Method and apparatus for dynamic layout of document page
JP2011503680A (en) Intelligent editing of relational models
CN112800370A (en) Business document processing method and device, computer equipment and storage medium
CN114564252A (en) Event configuration method, system, equipment and medium for low-code platform
CN114239524A (en) Questionnaire generation method, questionnaire generation device, computer equipment and storage medium
US7996758B2 (en) Methods and apparatus for storing data associated with an electronic form
US20160070832A1 (en) Modeling system and method for modeling a process or system
CN113111632A (en) Visual configuration method, device, equipment and medium for electronic manuscript paper
US20070143711A1 (en) Methods and apparatus for displaying a setup sequence
US20220270122A1 (en) Information delivery method, apparatus, and device, and computer-readable storage medium
CN114239525A (en) Contract template editing method and device, computer equipment and storage medium
KR20180060360A (en) Method and Apparatus of providing user-defined UI in administrative management program provided in cloud computing

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
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20221014