CN118245148A - Data processing method and related equipment - Google Patents
Data processing method and related equipment Download PDFInfo
- Publication number
- CN118245148A CN118245148A CN202211688623.3A CN202211688623A CN118245148A CN 118245148 A CN118245148 A CN 118245148A CN 202211688623 A CN202211688623 A CN 202211688623A CN 118245148 A CN118245148 A CN 118245148A
- Authority
- CN
- China
- Prior art keywords
- approval
- document
- output
- content
- interface
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F3/04817—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F3/0482—Interaction with lists of selectable items, e.g. menus
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/04842—Selection of displayed objects or displayed text elements
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/10—Office automation; Time management
- G06Q10/103—Workflow collaboration or project management
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Business, Economics & Management (AREA)
- Human Resources & Organizations (AREA)
- Strategic Management (AREA)
- Software Systems (AREA)
- Entrepreneurship & Innovation (AREA)
- Operations Research (AREA)
- General Business, Economics & Management (AREA)
- Tourism & Hospitality (AREA)
- Quality & Reliability (AREA)
- Marketing (AREA)
- Economics (AREA)
- Data Mining & Analysis (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The embodiment of the application discloses a data processing method and related equipment, wherein the data processing method comprises the following steps: displaying a processing interface of the target approval document, wherein the processing interface displays at least one document content of the target approval document, and the document content comprises text content and multimedia content indicated by a link identifier; the processing interface comprises a triggering component for outputting a target approval document; selecting a triggering component, and displaying an output preview interface of the target approval document; the output preview interface is used for displaying text content in the target approval document and multimedia content indicated by the link identification; and outputting the target approval document according to the content displayed by the output preview interface when the target approval document is determined to be output. According to the embodiment of the application, the output content of the target approval document can be enriched, and the target approval document can be flexibly output.
Description
Technical Field
The present application relates to the field of computer technology, and in particular, to a data processing method, a data processing apparatus, a computer device, a computer readable storage medium, and a computer program product.
Background
With the rapid development of the internet, the appearance of various application programs brings great convenience to the production and life of people. Unlike the previous offline approval, the application program with the approval function can provide the functions of online submitting approval and online approving, and provides a convenient approval channel for various approval services (usually submitted by one person, other persons approve the approved services, such as leave application, business trip application, forward application, home office, and the like). The approval function is convenient for approval submission and also for superior approval.
The approval filled in when the approval application is submitted online, or the submitted approval information can be called an approval document, in some business scenes, the approval document has output requirements such as printing, exporting and the like, and the output approval document can be used for other links of flow execution and auditing. However, practice shows that the output of the current approval document also has the problem of inflexibility in output.
Disclosure of Invention
The embodiment of the application provides a data processing method and related equipment, which can enrich the output content of a target approval document and support the flexible output of the target approval document.
In one aspect, an embodiment of the present application provides a data processing method, including:
Displaying a processing interface of a target approval document, wherein the processing interface displays at least one document content of the target approval document, and the document content comprises text content and multimedia content indicated by a link identifier; the processing interface comprises a triggering component for outputting the target approval document;
Selecting the triggering component and displaying an output preview interface of the target approval document; the output preview interface is used for displaying text content in the target approval document and multimedia content indicated by the link identification;
And outputting the target approval document according to the content displayed by the output preview interface when the target approval document is determined to be output.
In one aspect, an embodiment of the present application provides a data processing apparatus, including:
The display module is used for displaying a processing interface of the target approval document, wherein the processing interface displays at least one document content of the target approval document, and the document content comprises text content and multimedia content indicated by a link identifier; the processing interface comprises a triggering component for outputting the target approval document;
The display module is also used for selecting the trigger assembly and displaying an output preview interface of the target approval document; the output preview interface is used for displaying text content in the target approval document and multimedia content indicated by the link identification;
And the output module is used for outputting the target approval document according to the content displayed on the output preview interface when the target approval document is determined to be output.
Accordingly, an embodiment of the present application provides a computer device, including:
A processor adapted to execute a computer program;
A computer readable storage medium having a computer program stored therein, which when executed by a processor, performs a data processing method of an embodiment of the present application.
Accordingly, an embodiment of the present application provides a computer-readable storage medium storing a computer program which, when executed by a processor, performs the data processing method of the embodiment of the present application.
Accordingly, embodiments of the present application provide a computer program product comprising a computer program or computer instructions which, when executed by a processor, implement a data processing method of embodiments of the present application.
In the embodiment of the application, a processing interface of the target approval document can be displayed, the processing interface displays at least one document content of the target approval document, the document content can comprise text content and multimedia content indicated by a link identifier, and the processing interface also comprises a triggering component for outputting the target approval document. When the trigger component is selected, an output preview interface of the target approval document can be displayed, the output preview interface can be used for displaying text content and multimedia content indicated by a link identifier in the target approval document, document content to be output in the target approval document can be previewed through the output preview interface, the document content to be output can comprise the text content of the target approval document and the multimedia content of the target approval document, so that the text content of the target approval document can be previewed, the multimedia content of the target approval document can be previewed, and not only the link identifier of the multimedia content can be previewed, so that the previewed content can be enriched. When the target approval document is determined to be output, the target approval document can be output according to the content displayed in the output preview interface, and then the text content and the multimedia content of the target approval document displayed in the output preview interface are output. In summary, based on the selection of the trigger component, output of text content included in the target approval document is supported, and output of multimedia content included in the target approval document is also supported. Therefore, on one hand, the target approval document can be flexibly output, the output content of the approval document can be enriched, and on the other hand, the multimedia content and the text content are output together based on the triggering component, and multiple contents can be output through one operation, so that a more flexible and convenient output mode is provided for the output of the multimedia content.
Drawings
In order to more clearly illustrate the embodiments of the application or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a block diagram of a data processing system according to an embodiment of the present application;
FIG. 2 is a schematic flow chart of a data processing method according to an embodiment of the present application;
FIG. 3a is a schematic diagram of an exemplary target approval document processing interface provided by an embodiment of the present application;
FIG. 3b is a schematic diagram of an exemplary output preview interface for a target approval document provided by an embodiment of the present application;
FIG. 3c is a schematic diagram illustrating an exemplary operation of validating an output target approval document provided by an embodiment of the present application;
FIG. 4 is a flowchart of another data processing method according to an embodiment of the present application;
FIG. 5a is a schematic diagram of an exemplary template configuration interface provided by an embodiment of the present application;
FIG. 5b is a schematic diagram of an exemplary control setup interface provided by an embodiment of the present application;
FIG. 5c is a schematic diagram of another exemplary control setup interface provided by an embodiment of the present application;
FIG. 5d is a schematic diagram of another exemplary control setup interface provided by an embodiment of the present application;
FIG. 5e is a schematic diagram illustrating another exemplary operation of triggering display of various controls in a to-be-selected state according to an embodiment of the present application;
FIG. 5f is a preview effect of another exemplary approval template provided by an embodiment of the present application;
FIG. 6 is a flowchart of another data processing method according to an embodiment of the present application;
FIG. 7a is a schematic diagram of an exemplary document management interface provided by an embodiment of the present application;
FIG. 7b is a schematic diagram of an exemplary document submission interface provided by an embodiment of the application;
FIG. 7c is a schematic diagram of another exemplary document submission interface provided by an embodiment of the application;
FIG. 7d is a schematic diagram of an exemplary screening approval document provided by an embodiment of the present application;
FIG. 7e is a schematic diagram of an exemplary output validation option provided by an embodiment of the present application;
FIG. 7f is a schematic diagram of an exemplary displayed link identification list provided by an embodiment of the present application;
FIG. 7g is a schematic diagram of exemplary document content in an alternative state of display provided by an embodiment of the present application;
FIG. 7h is a schematic diagram of an exemplary display typesetting style provided by an embodiment of the present application;
FIG. 8a is a schematic diagram of an exemplary display of multimedia content and text content in an output preview interface provided by an embodiment of the present application;
FIG. 8b is a schematic diagram of an exemplary display of multimedia content in an output preview interface provided by an embodiment of the present application;
FIG. 8c is a schematic diagram of an exemplary approval document after the merging process is displayed in the output preview interface according to an embodiment of the present application;
FIG. 9 is a schematic diagram of a data processing apparatus according to an exemplary embodiment of the present application;
Fig. 10 is a schematic structural diagram of a computer device according to an exemplary embodiment of the present application.
Detailed Description
According to the data processing method provided by the embodiment of the application, the computer equipment (such as the terminal equipment) can display the processing interface of the target approval document, the processing interface displays at least one document content of the target approval document, the document content can comprise text content and multimedia content indicated by the link identification, the multimedia content indicated by the link identification can be regarded as the incidental content of the target approval document, and the method can be used for carrying out supplementary explanation on the text content of the target approval document. The processing interface comprises a triggering component for outputting the target approval receipt, the computer equipment can respond to the selection of the triggering component to display an output preview interface of the target approval receipt, the output preview interface can be used for displaying text content in the target approval receipt and multimedia content indicated by a link identifier, the content displayed in the output preview interface can be regarded as receipt content to be output in the target approval receipt, and preview of the output effect corresponding to the receipt content to be output can be realized through the output preview interface, and content related to the target approval receipt can be displayed completely. When the computer equipment determines that the target approval document needs to be output, the target approval document can be output according to the content displayed on the output preview interface, so that the text content and/or the multimedia content of the target approval document displayed on the output preview interface can be output. Therefore, the text content of the target approval document and the multimedia content attached to the target approval document can be output through one-key triggering of the triggering component, so that the output of the target approval document is more flexible, the output of the complete document content is supported, and the output mode of the multimedia content can be expanded.
The data processing method can be applied to office scenes, education and teaching scenes and other scenes, the target approval document can be output through the mode, text content in the target approval document and multimedia content for supplementing the text content can be output, specific output can be printing, exporting and the like, the output content can be customized, namely the output of the text content or the multimedia content is flexibly set, and therefore flexible output of the content of the target approval document can be achieved. The output target approval document (for example, the printed target approval document) can be used for off-line flow execution and verification, the document content in the target approval document can be completely displayed and output, the accurate content of the off-line flow can be further provided for verification, the problem of misjudgment of the flow is avoided, and the usability of the approval flow is improved. In addition, unlike clicking the link identifier to output the multimedia content, the scheme can output the multimedia content together with the text content, so that the output way of the multimedia content in the target approval document is expanded, and meanwhile, the output content of the target approval document is enriched.
Based on the foregoing general description of the data processing method, an architecture of a data processing system according to an embodiment of the present application will be described below with reference to the accompanying drawings. With reference to FIG. 1, FIG. 1 is a block diagram illustrating an exemplary architecture of a data processing system according to an embodiment of the present application. As shown in fig. 1, the data processing system includes at least one terminal device (including a terminal device 101a, a terminal device 101b, and a terminal device 101 c) and a server 102; the respective terminal devices may establish communication connection with the server 102 by wired or wireless means.
Any of the terminal devices includes, but is not limited to: smart phones, tablet computers, smart wearable devices, smart voice interaction devices, smart home appliances, personal computers, vehicle terminals, smart cameras, and the like, to which the present application is not limited. The present application is not limited with respect to the number of terminal devices. The server 102 may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or may be a cloud server that provides cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDNs (Content Delivery Network, content delivery networks), basic cloud computing services such as big data and artificial intelligence platforms, but is not limited thereto. The present application is not limited with respect to the number of servers.
Any terminal equipment can run an application program with an approval function, each object in the application program can submit an approval document based on the approval function, an object with management authority (such as an object C) can approve the approval document submitted by other objects (such as an object A), and the object with management authority (such as an object B) can also configure an approval template required by the approval document. Any terminal device (e.g., terminal device 101a used by object a) may output a target approval document according to the data processing method described above, where the target approval document is any one of one or more approval documents provided by the application. In one embodiment, one or more approval documents submitted by different objects can be displayed in a terminal device used by the document management object, and any one of the approval documents can be output as a target approval document.
In one implementation, the target approval document is generated based on the input content of the target approval template, the target approval template refers to any one of one or more approval templates, different objects can generate different approval documents by applying the same approval template, an application program can provide the document management object with the capability of customizing the approval template, the output content of the approval document applying the approval template can be determined through customizing the approval template, so that the approval content required to be output in any one of the approval documents applying the target approval template is customized, the output content of the approval document can be flexibly controlled, and unified output content items can be specified for the same approval template, for example, the approval template can specify output multimedia content (can be regarded as the supplement content of the approval document, and is commonly referred to as an accessory in the approval document, such as an uploaded picture), and then the accessory content in each of the approval documents applying the approval template is supported to be output.
Server 102 may be used to provide service support for approval-enabled applications including, but not limited to: ① Managing approval documents submitted by different objects, where management includes, but is not limited to, the following: storing receipt contents of approval receipts submitted by all objects, wherein the receipt contents comprise text contents of the approval receipts and/or multimedia contents attached to the approval receipts; the document content is updated based on the approval state of the approved document, specifically, the approval node information (for indicating the progress of the approval process) is updated. ② Managing approval templates in an application, where managing includes, but is not limited to: the method comprises the steps of storing an approval template issued in an application program, and particularly storing template configuration information corresponding to the approval template; based on the modification of the existing approval template, updating the corresponding template configuration information, checking the template configuration information of the configured approval template to ensure that the configured parameters conform to the interface specification and legal configuration of the parameters, and the like. ③ The identity of an object (such as a receipt submitting object and a receipt management object) of the operation approval template is checked to ensure that the operation object has management authority on the approval template. ④ Identity authentication is carried out on an object for checking the target approval document by scanning the graphic code of the target approval document; and receiving a data acquisition request sent by the terminal equipment for scanning the graphic code, and returning the document content of the document corresponding to the graphic code.
By adopting the data processing system, any terminal equipment can display the processing interface of the target approval document, and initiate the process of outputting the target approval document in the processing interface through the triggering component for outputting the target approval document, namely, firstly display the output preview interface, display text content and/or multimedia content in the target approval document in the output preview interface, and overall preview the output content of the target approval document, and also can flexibly control the output content of the target approval document, when confirming that the target approval document needs to be output, the target approval document can be output according to the content displayed in the output preview interface, and the output preview interface can display the text content of the target approval document and the multimedia content of the target approval document, so that the output of the target approval document is more flexible based on the output content flexibly displayed in the output preview interface. If the multimedia content of the approval document is required to be output, the link identifier is not required to be triggered independently to output the multimedia content, and one-stop output is performed by selecting the trigger component, so that the high efficiency and convenience of operation are improved, and a new way is expanded for the output of the multimedia content.
The data processing method provided by the embodiment of the application is described in detail below.
Fig. 2 is a schematic flow chart of a data processing method according to an embodiment of the application. The data processing method may be performed by a terminal device (such as any of the terminal devices in fig. 1), and may include the following.
S201, displaying a processing interface of the target approval document.
The approval document is the approval filled in when the object submits the approval application online or the approval information after submitting. The object submitting the approval document is called a document submitting object, and the object verifying and approving the approval document is called a document approving object. The number of the bill approval objects can comprise one or more, the bill approval objects of different approval services can be different, the bill submission objects and the bill approval objects are different, but the bill submission objects and the bill approval objects have association relations, such as a superior-subordinate relation, a management relation and the like. The document approval object may be specified by a document management object, where the document management object refers to an object with management rights, and the management rights include, but are not limited to: setting an approval template corresponding to the approval business, designating bill approval objects required by each kind of approval business, managing approval bills submitted by each object, and the like. The approval document is provided with approval node information, and in the approval process, the approval node information can update the approval of the approval document based on the approval object, and the approval node information can be used for indicating the approval progress of the approval document.
Target approval documents refer to any one of one or more approval documents. Each approval document corresponds to an approval status that may be reflected by approval node information, including, but not limited to: approval, passed, rejected, revoked after passing, and the like. The approval status of the target approval document processed in the present application may be any of the above approval statuses, for example, in approval or passed.
The one or more approval documents may be approval documents of different approval services, such as approval documents applying for leave, approval documents applying for online office. Each approval document is generated based on the input content of an approval template, and the approval template is formed by combining all controls in the approval document, such as filling of text, selection of positions, selection of drop-down items and the like. The approval templates of different approval services are different, for example, the approval templates of the leave include leave-on time, leave-on event, leave-on evidence and the like, and the approval templates of the purchase of the article include the name of the article, the purpose of the article, the purchasing detail of the article and the like.
In one implementation, an application with approval functions may be run in the terminal device, including but not limited to: office applications, social applications, audiovisual applications, and the like. Any object of the application program can submit an approval document by using an approval function, the object can view the approval document in the application program based on the authority possessed by the object, for example, a document management object can view the approval document submitted by different objects, and a document submitting object can view the approval document related to the object, including: the self-submitted approval document is self-replaced by the self-submitted approval document, and the self-submitted approval document is replaced by the other.
The terminal device of the object (such as a document submitting object) with the document processing requirement can display a processing interface of the target approval document, wherein the processing interface displays at least one document content of the target approval document, and the document content comprises text content and multimedia content indicated by a link identifier.
The receipt content may be used to represent detailed information of a target approval receipt, where the target approval receipt is an approval receipt including multimedia content, and the multimedia content may be regarded as content attached to the approval receipt and used to supplement the approval receipt, for example, a screenshot attachment in the leave-leave approval receipt for explaining leave-leave is the multimedia content of the approval receipt. When checking the approval document or managing the submitted approval document, any one of the approval documents can be selected as a target approval document, and the target approval document can be output according to the technical scheme provided by the embodiment of the application.
Document content includes text content, categorized by content source, including but not limited to: the document is submitted to the content edited by the object (such as input text, time selected based on control, type of leave selected, etc.), text content set by the document management object (such as fixed display explanatory text, name of control, approval node information of approval process, etc.), information automatically identified or generated by the system (such as document number of target approval document, time of submitting target approval document, organization to which the document submitted object belongs, name of target approval document, etc.).
The receipt content also includes multimedia content indicated by a link identifier that is automatically generated based on the multimedia content uploaded by the receipt submission and that is displayable in a processing interface of the target approval receipt. The link identifier may be a text-form identifier, such as a name of a picture, a name of a document, etc., an image-form identifier, such as a thumbnail of a picture, a page thumbnail of a document, a logo icon representing different types of multimedia content, etc., or a text-and-image-combination identifier, such as a document name and a page thumbnail of a document. When the bill submitting object fills in the approval bill, the input of the multimedia content can be performed based on the control provided by the approval template, for example, the approval template comprises an attachment control, the local file can be displayed by clicking the attachment control, and if the document is selected and the uploading is confirmed, the name and the document type of the document exist in the edited approval bill. The target approval document contains contents such as a descriptive text control, an attachment indicated by a link identifier and the like, the attachment indicated by the link identifier supports click viewing, and for some attachments which do not support preview, the attachment can be guided to be opened and viewed by using a corresponding program.
The multimedia content indicated by the link identifier may be multimedia content in a file form and multimedia content in a non-file form, and the multimedia content in the file form includes, but is not limited to: image files, document files (e.g., txt documents, files with suffix dox, docx, pdf, etc.), spreadsheets, video, audio, slides, etc., and multimedia content in non-file form, e.g., plain pictures, pictures uploaded by photographs, content collected in an application, etc. By content source classification, the multimedia content may include locally uploaded multimedia content, such as locally uploaded documents, pictures, video, audio, etc., and multimedia content synchronized from the cloud, such as favorite documents, documents in the cloud, pictures, video, audio, etc.
The target approval document may include one or more link identifiers, one link identifier may indicate one multimedia content, the multimedia content indicated by different link identifiers may be different, but the types of different multimedia contents may be the same, for example, the types of the multimedia contents corresponding to the two link identifiers are text documents, but the contents of the text documents are different. The document content of the target approval document can be indicated to comprise multimedia content by displaying the link identifier in the processing interface of the target approval document, and the multimedia content is used as the incidental content of the target approval document and can be used for further supplementing and describing the document content of the target approval document.
The processing interface includes a triggering component for triggering the flow of the output target approval document, in one implementation, the triggering component may be a function option displayed in the processing interface, such as a print entry or a export option, when the function option is clicked, the triggering component may be considered to be selected so as to enter the flow of the output target approval document, in another implementation, the triggering component may also be an input interface provided in the processing interface, based on which a voice or text related to the output target approval document is input, such as a voice that the terminal device receives "print document", or the triggering component may be considered to be selected.
For example, referring to the schematic view of the processing interface of the target approval document shown in fig. 3a, as shown in (1) in fig. 3a, in the processing interface 3101, document content of the target approval document is displayed, the document content includes text content, such as document name (please three), approval status (in approval), approval number (202212150122), submission time (2022/12/15), department (marketing department), type of invitation (annual leave), approval process, etc., the document content further includes multimedia content, such as doc document, pdf document, video and other accessories included in the description accessory item, and each accessory supports viewing, downloading, and in addition, when the accessory includes a plurality of accessories, the processing interface 3101 may display all downloaded options 3102, thereby providing a quick downloading function, and if the accessory includes 1, the processing interface may not display all downloaded options, such as the processing interface 3 of the target approval document shown in (2) in fig. 3a may include one file, displaying all of the files, not downloaded.
S202, selecting a triggering component, and displaying an output preview interface of the target approval document.
And the output preview interface is used for displaying text content in the target approval document and multimedia content indicated by the link identification. The content displayed in the output preview interface is content for which there is an output demand and may include one or more of text content and multimedia content. In the embodiment of the application, if the multimedia content indicates that there is an output requirement, the text content in the target approval document can be displayed in the output preview interface, and the multimedia content indicated by the link identifier can be displayed, wherein the text content can be part of the text content or all of the text content of the target approval document, the multimedia content can also be part of the multimedia content or all of the multimedia content, for example, the multimedia content indicated by the link identifier is a picture, the picture is displayed in the output preview interface, for example, the multimedia content indicated by the link identifier is a document, the first page content or all of the page content of the document can be displayed in the output preview interface, for example, the multimedia content indicated by the link identifier is a video, and the key frame of the video or the first frame of the video can be displayed in the output preview interface.
For example, referring to the output preview interface of the target approval document shown in fig. 3b, text content included in the target approval document is currently displayed in the output preview interface 3202, and when the text content slides in the output preview interface, a picture of a picture attachment and a top page document content of a document attachment in the target approval document may also be displayed in the output preview interface.
In a possible embodiment, the terminal device may display a processing interface and an output preview interface of the target approval document, where the processing interface may be an interactive interface provided by an application program with an approval function, and the output preview interface may be an interface of an application program calling a browser, and the output preview interface of the target approval document and the processing interface of the target approval document are independent from each other. In another possible embodiment, the processing interface may be hidden when the output preview interface is displayed in the terminal device, where the output preview interface may be regarded as a new interface skipped by the processing interface, and the processing interface may be redisplayed when the output preview interface is exited or after the target approval document is completely output. The output preview interface may include one or more, different output preview interfaces may be used to display different ones of the document content, for example one interface for displaying text content and other interfaces for displaying multimedia content.
And S203, outputting the target approval document according to the content displayed on the output preview interface when the target approval document is determined to be output.
In one implementation, a confirmation option may be included in the output preview interface that, when triggered, such as by clicking on the confirmation option, may determine that the target approval document is to be output. In another implementation, when the terminal device receives the operation voice, for example, a voice of "print", it may also determine that the target approval document needs to be output. Illustratively, as shown in the operation schematic diagram of fig. 3c for confirming the target approval document to be output, the output preview interface 3301 includes a print button 3302, and clicking the print button 3302 can determine the target approval document to be output, so as to print the target approval document. In addition, some conventional printing parameters may be set in the output preview interface 3301, such as selecting a printer, setting the number of print copies, printing layout, page range, and the like.
For the text content in the target approval document, the text content displayed in the output preview interface can be used as the text content which is finally required to be output by the target approval document, and for the multimedia content in the target approval document, as part of the multimedia content, such as the first page of a document, is possibly displayed in the output preview interface, but the multimedia content which is finally required to be output by the target approval document comprises the complete content of the document. The output may refer to printing or exporting, typically the entire output for any multimedia content of the target approval document, e.g., the content of the entire document.
It should be noted that, the processing interface may be displayed in a terminal device of any object having a viewing authority for the target approval document, where the object having the viewing authority includes, but is not limited to: document submitting objects and document managing objects. By checking the target approval document, not only the document detail information can be displayed in the processing interface of the target approval document, but also a triggering component for outputting the target approval document can be provided, so that the document content with output requirements in the target approval document is output.
The data processing method provided by the embodiment of the application can display a processing interface of the target approval receipt, at least one receipt content of the target approval receipt is displayed in the processing interface, the receipt content can comprise text content and multimedia content indicated by a link identifier, and a triggering component for outputting the target approval receipt is also included in the processing interface. When the trigger component is selected, an output preview interface of the target approval document can be displayed, the output preview interface can be used for displaying text content and multimedia content indicated by a link identifier in the target approval document, document content to be output in the target approval document can be previewed through the output preview interface, the document content to be output can comprise the text content of the target approval document and the multimedia content of the target approval document, so that the text content of the target approval document can be previewed, the multimedia content of the target approval document can be previewed, and not only the link identifier of the multimedia content can be previewed, so that the previewed content can be enriched. When the target approval document is determined to be output, the target approval document can be output according to the content displayed in the output preview interface, and then the text content and the multimedia content of the target approval document displayed in the output preview interface are output. In summary, based on the selection of the trigger component, output of text content included in the target approval document is supported, and output of multimedia content included in the target approval document is also supported. Therefore, on one hand, the method can completely output the target approval document and enrich the output content of the approval document, and on the other hand, the method outputs the multimedia content and the text content together based on the trigger component, and can output various contents by one operation, thereby providing a convenient mode for outputting the multimedia content.
Fig. 4 is a flowchart of another data processing method according to an embodiment of the present application. The data processing method may be performed by a terminal device (such as any of the terminal devices in fig. 1), and may include the following.
In one embodiment, the target approval document is generated based on the content entered by the target approval template. The target approval template refers to any one of one or more approval templates provided by an application program, wherein the approval template is a combination of all controls in an approval document to be submitted in an approval business, and the controls refer to each option in the approval document, such as filling of text, selection of a position, selection of a drop-down item and the like. Any trial template can be configured by an object with management authority (namely, a document management object), and detailed configuration implementation manner can be introduced in the embodiment.
S401, a template configuration interface is displayed in a terminal device of a bill management object.
The template configuration interface is an interactive interface for providing approval of template configuration, which can be displayed when a document management object initiates a configuration requirement, for example, clicking on an entry to add a template, and displaying the template configuration interface. Configuration of approval templates in a template configuration interface includes, but is not limited to: basic attribute information (such as template name, template icon, service type of template, template grouping, etc.) of the approval template, control settings (such as accessory controls and descriptive controls) required by the approval template, approval process settings (such as approval person self-selection and copying person specification), template rule settings, etc. Wherein the control may be used to indicate an actionable item in the approval template, such as a drop-down item, a text fill-out item, etc., and the control information may include the name of the control, the type of control, whether the control is a mandatory item, whether the control is involved in printing, etc.
The template configuration interface comprises a control setting component, wherein the control setting component can be a component for adding controls required by the approval template, can also be a component for editing existing controls in the approval template, and can be used for configuring new controls for the approval template or changing the settings of the existing controls in the approval template. The control setting component can be an adding component displayed in a template configuration interface, can be a setting entry for any control, can be a control identifier, can enter the setting of the control by selecting the control identifier, can also be an entry displayed around each control identifier, and can enter the setting of the control by clicking the entry.
The template configuration interface may include control identifiers corresponding to P controls, where P is an integer. The control identification may be a combination of one or more of a name of the control, an icon of the control, or descriptive content of the control. When the template configuration interface comprises a control identifier of at least one control, the configuration information support corresponding to each control is modified based on the control identifier, and before the approval template is confirmed to be issued, the number of configuration information modification is not limited, so that the control can be flexibly set.
For example, referring to the template configuration interface shown in fig. 5a, the approval business related to the approval template is the article leading approval, and the template configuration interface 5101 of the approval template for article leading includes template setting, control setting, flow setting, and the like, where the template setting includes template name, template icon, and template grouping; the control settings comprise a purpose control, a detail control and an accessory control which need to be filled with contents, the controls can be further added, each control also has a setting option, clicking the setting option can enter a control setting interface corresponding to the control, for example, clicking the 'setting' 5102 of the accessory control can view or change the setting of the accessory control.
In one embodiment, the document management object may update the created approval template or adaptively change the requirements of the system default approval template matching the approval business. An approval template list can be displayed in the terminal equipment of the bill management object, the approval template list comprises one or more approval templates, and when any approval template in the approval template list is selected, a template configuration interface can be displayed. In another embodiment, the application may provide a template addition portal, which may be displayed in the interactive interface of the document management object, and when triggered, may display a template configuration interface, whereby a new approval template may be created through the template addition portal, and the content required for the approval template may be customized in the template configuration interface.
The approval templates included in the approval template list are obtained according to the management range of the document management object on the templates, when the approval templates are checked by the hierarchical management object (the object with a part of management authority capability), template configuration information corresponding to the checked approval templates can be obtained according to the identity marks and the identity notes of the hierarchical management object, and further controls configured by the checked approval templates, basic attribute information of the templates, approval flow settings corresponding to the approval templates and the like can be displayed in a template configuration interface.
S402, when the control setting component is triggered, a control setting interface is displayed.
The control setting component may be an add-on component displayed in the template configuration interface that when triggered, for example, clicking on the add-on component indicates that the control setting component is triggered; or when receiving the selection operation of the control identification in the template configuration interface, the control setting component is triggered.
When the control setting component is triggered, the terminal device of the bill management object can display a control setting interface, and the control setting interface is used for configuring the control. Illustratively, please refer to fig. 5b, which is a control setup interface displayed based on the setup options in the template configuration interface shown in fig. 5a being triggered. The control setting interface 5201 is a setting interface of an accessory control, and specifically can set a control name, set a control description, set a limitation condition of the accessory control, for example, open a limitation that a member can only take a photograph on a mobile phone end and upload, and set to participate in printing, so that the accessory uploaded based on the accessory control supports printing or exporting. It should be noted that, the modification of the setting of the control in the control setting interface may be embodied in the template setting interface, for example, the name of the control is modified to be "description attachment", and then the modified name of the control may be displayed in the template configuration interface.
In one implementation, based on the relationship between the control settings interface and the template configuration interface, the control settings interface includes any one of: the control setting interface is an area positioned in the template configuration interface; the control setting interface is an interface independent of the template configuration interface; the control setting interface is a window suspended in the template configuration interface.
When the control setting interface is used as an area in the template configuration interface, other settings of the template and the settings of the control are concentrated in the same interface, and the terminal equipment does not need to switch different interfaces to perform configuration, so that one-stop configuration can be realized very conveniently. The content needed to be carried by the same interface is more, and the display screen of the terminal equipment has certain requirement on the size, so the method can be applied to the terminal equipment with larger display screens such as personal computers and the like. For example, referring to the control setting interface shown in fig. 5c, the control setting interface is an area in the template configuration interface, as shown in (1) in fig. 5c, when the add control 5302 in the template configuration interface 5301 is clicked, multiple types of controls may be displayed, one type of control may be selected to be added, the control setting interface 5303 may be displayed, and in the control setting interface 5303, a control name, a control description, whether the control participates in printing, a limitation condition of the control is set, and so on may be set. After the control name is modified in the control setting interface 5301, the modified control name can be displayed in the template configuration interface in real time, the existing accessory 5303 in the template configuration interface 5302 can be selected, the control setting interface can be displayed, and the added control can be deleted quickly in the template configuration interface 5302. In addition, the content set by the different controls is different, as shown in (2) in fig. 5c, after the declarative text control 5304 is added, a control setting interface 5305 corresponding to the declarative text control may be displayed, where the setting of the declarative text control includes the content of the control and whether to participate in printing. In combination with the control setting interface shown in fig. 5c, the control setting area and the template setting area exist simultaneously in one interface, so that the setting of the template is also modified at any time in the process of setting the control, and the setting of the approval template and the visual viewing of the setting content can be realized on the same interface.
The control setting interface can also be an interface independent of the template configuration interface, at this time, the control setting interface and the template configuration interface are mutually isolated, the control setting interface can be regarded as a new interface based on the template configuration interface, after the control is configured in the control setting interface or the configuration is canceled, the control configured in the control setting interface can be returned to the template configuration interface, and the name and the simple description of the control can be displayed in the template configuration interface. The control setting interface shown in fig. 5b is an interface independent from the template configuration interface.
When the control setting interface is a floating window and is suspended above the template configuration interface, the control setting interface and the template configuration interface are isolated from each other, and the content in the template configuration interface can be edited only when the control configuration is completed or the control configuration is exited in the control setting interface. For example, referring to the control setting interface shown in fig. 5d, a floating window 5401 is displayed at the uppermost layer of the template configuration interface, a control, particularly a text control, may be set in the floating window 5401, the control content corresponding to the text control may be text content, and whether to participate in printing may also be set through a switch button, and the control content of the text control may be fixedly displayed in the approval template as some prompts or operation instructions of the approval template.
S403, configuring controls required by the trial templates in the control setting interface.
The control setting interface is a configuration interface of one control required for approving the template. The configuration performed at the control setting interface includes a business requirement configuration for indicating that the control is provided with an output requirement. When the control is provided with output requirements, attribute information (such as a control name) of the control and content input based on the control can be output when an approval document is output. The configuration of the output requirement can be realized through the setting of whether the control participates in printing, if so, the output requirement exists, otherwise, the output requirement does not exist. In addition, the configuration of the control setting interface further includes content configuration for indicating content information of the control, including but not limited to: control name, control-based input restrictions (e.g., members can only take a photograph and upload on the cell phone side), control type, control content (e.g., descriptive content), etc. For example, the configuration of the control in the control setting interface can be referred to as the configuration of whether the control participates in printing in any of the control setting interfaces shown in fig. 5b to 5 d.
The control can comprise a description control and an accessory control, wherein the description control is used for describing application content and can be plain text or an operable item carrying text, for example, in an approval template for article receiving, the name of the description control is 'purpose', and the text content for describing the purpose of applying for receiving the article can be filled in based on the purpose control. The attachment control is used for inputting compensation explanation content of the approval document, the attachment control can be used for explaining and guiding the input supplementary content, the content input based on the attachment control is multimedia content, which can be simply called an attachment, such as a picture, a document, a video, an audio and the like, the multimedia content is indicated in the approval document in the form of a link identifier, the attachment can be previewed in an application program through the link identifier, and for some attachments which do not support preview, such as a video and the like, the attachment can be guided to be opened for viewing by using a corresponding program.
In one embodiment, the different controls included in the approval template support linkage, the control linkage can be realized by configuring association relation for the controls in the approval template, the associated controls can be displayed under the condition that the corresponding values exist for the controls with the association relation, and otherwise, the associated controls are hidden and not displayed. For example, in an approval template for out of the business, a linkage can be formed between a control 1 and a control 2, the control 1 is a drop-down option for selecting whether a vehicle is used, and the control 2 is displayed when the control 1 is set to be "yes" and a specific vehicle model is selected based on the control 2.
Therefore, the configuration of the approval template can be customized by the bill management object, and the control to be output in the approval template can be configured to output requirements, such as whether to participate in printing, so that the content to be output by the approval bill can be customized by combining different approval services, and the method has higher flexibility. The configuration of the output requirements of the control is that the data analysis is performed through the function set by the data analysis and the approval template in the application program with the approval function, the custom approval template is taken as an example, the custom approval template in the application program has about 50w, each custom approval template contains 1 accessory field and 0.35 explanatory text field on average, each custom approval template contains 10 controls, more than 9 controls can participate in printing, the proportion of the controls which are used for printing in the approval process of the custom approval template is very high, and the object use frequency and the application scene are relatively wide, so that whether the control participates in printing or not can be controlled by setting the output requirements for the control, and the usability of the approval process can be improved.
In one possible implementation, the template configuration interface includes M controls and a service setting component, where M is an integer greater than 1. The service setting component can be used for carrying out unified configuration of corresponding service requirements on M configured controls in the template configuration interface, and the specific implementation mode is as follows: responding to the triggering of the service setting component, and displaying M controls in a to-be-selected state; the control support in the state to be selected is selected; when one or more of the M controls in the to-be-selected state is selected, an output requirement is set for each control selected.
The mode that the service setting component is triggered can be a gesture operation service setting component (such as clicking, sliding, long pressing and the like), or can be a voice operation service setting component, the terminal equipment can respond to the triggering of the service setting component in the template configuration interface to display M (i.e. at least two) controls in a to-be-selected state, wherein the at least two controls can be controls customized by a bill management object in the template configuration interface, or can be controls provided by default by a system, each control in the to-be-selected state can be displayed in a window suspended in the template configuration interface, or the M controls in the template configuration interface can be set to be in the to-be-selected state, for example, a hook option is displayed around the display position of each control in the template configuration interface, and the selection of the controls is realized based on the hook option.
Each control in the to-be-selected state can be selected, one or more controls in M controls in the to-be-selected state can be selected on the basis, each selected control is in the selected state, after the selection is confirmed, output requirements can be set for each selected control by the terminal equipment, the number of the selected controls can be less than or equal to M, and accordingly output requirements can be set for all controls or part of the controls, and accordingly when a target approval document based on the approval template is output, content information of the preview control and content input by the control can be based on the set output requirements, and text content and/or multimedia content of the target approval document can be output.
For example, referring to fig. 5e, an operation schematic diagram of each control in a to-be-selected state is triggered and displayed, an option 5501 of "one-key setting" is provided in a template configuration interface, after the "one-key setting" option 5501 is clicked, a control floating window 5502 may be popped up, where the control floating window 5502 includes a purpose control and a detail control that may be checked, after each control is checked, and when each control is opened to participate in printing, each checked control may be set to participate in printing, so as to print content corresponding to the purpose control and the detail control.
By the mode, the business requirements of a plurality of controls can be configured by one key, the output requirements of the controls are not required to be set independently, and the controls are set uniformly through the business setting component, so that the control with the output requirements to be configured by one key can be set, and the control configuration output requirements can be realized very conveniently and efficiently.
In one implementation, the business setting component and the output requirements set in the control setting interface may be linked, and if the control has set the output requirements in the control setting interface, when the business setting component is triggered, the control that has set the output requirements in the displayed to-be-selected state may be in the selected state. In this way, the service setting component can globally check the controls with the output requirements, so as to conveniently check which controls leak the output requirements or the controls which do not need to be set up the output requirements, and one or more controls which set the output requirements can also conveniently cancel the setting through the service setting component, for example, click the controls in the selected state to cancel the options of the controls, so as to cancel the setting of the output requirements. The global display of the output requirements of the control can greatly facilitate the customized setting of the output requirements, improve the setting efficiency and simultaneously meet the setting requirements in various scenes.
In one implementation, the configured approval template is published to the application to display the target approval document in the processing interface. The application program is an application program with an approval function, the application program comprises one or more approval templates with completed configuration, and the approval templates with completed configuration are also supported to be modified and reissued to the application program. The configured approval template can be an approval template which is created for the first time, or can be an approval template after the existing approval template is updated. The template configuration interface comprises a release option, when the release option is triggered (e.g. clicked), the terminal equipment can generate an approval template based on the template configuration information and release the approval template in the application program, so that any object can conveniently fill in the application content by applying the released approval template, and an approval document is generated and submitted. The template configuration information of the approval template comprises control information (such as control names, control limiting conditions, whether the control is set to participate in printing and the like) and other configuration information when the approval template is configured, a target approval document can be generated and displayed in a processing interface by using the approval template issued in the application program, and the target approval template supports input of multimedia content, for example, the target approval template comprises an accessory control, and pictures, videos, documents and the like can be uploaded based on the accessory control.
In another implementation, the configured approval template supports previews. The template configuration interface includes a preview option (e.g., "preview" in fig. 5 e) that, when triggered (e.g., clicked on), the terminal device may display the configured approval template. For an example, please refer to the preview effect diagram of the approval template shown in fig. 5 f. The preview effect diagram is a preview diagram of an approval template for article reception, wherein the preview effect diagram comprises various controls, such as a use control, a detail control, an accessory control and the like, which are arranged when the approval template is configured, and based on the settings of the various controls, corresponding contents can be input as required and approval documents about article reception can be generated.
The configuration effect of the approval template can be checked in advance before the approval template is released to the application program through previewing, so that the examination of the content of the approval template is facilitated, and the modification or the supplement is performed when the design effect of the approval template does not accord with the expectation.
It should be noted that, the configuration of the approval template can be configured by the document management object entering the management background from the application program, and the application program provides template configuration and low code editing capability for the document management object, so as to realize visual development of the approval template, and corresponding output requirements can be configured for each control, thereby realizing customization of the output content of the approval document. The content of the configuration of the approval template and the management background data of the application program can be kept synchronous, so that the approval template can be updated at any time by the bill management object conveniently, and other objects can submit the approval bill by using the latest approval template conveniently.
For the management configuration of the approval template, see the following implementation: receiving a configuration request initiated in a template configuration interface; the configuration request is generated based on the issuance of the trial template; based on the configuration request, sending the object identification of the bill management object and template configuration information corresponding to the configured approval template to a server, so that the server calls a template editing interface of the approval engine to authenticate the bill management object, and checking the template configuration information after authentication; and if the verification is passed, updating the configuration of the approval template based on the template configuration information.
The configured approval template can be operated in the template configuration interface by the bill management object and further issued to the application program, for example, the issuing option in the template configuration interface is clicked, the configured approval template is issued in the application program, the terminal equipment can generate a configuration request, and the object identification of the bill management object and the template configuration information of the approval template are sent to the server based on the configuration request, so that the server invokes the template editing interface of the approval template to perform identity authentication, and whether the bill management object has management authority on the configured approval template is checked. If the authentication is passed, the bill management object is indicated to have management authority on the configured approval template, and the template configuration information transmitted in the template configuration interface can be further checked, wherein the checking includes the accuracy checking of the template configuration information and the legality checking of the template configuration information. The verification of the accuracy can be executed by a template editing interface of the approval engine, whether parameters contained in the template configuration information meet interface specifications or not can be checked, whether missing fields exist or not and the like can be checked, and the approval engine is an internal self-built engine for processing state synchronization and event distribution of various controls in the approval template and displaying the controls on different platforms (such as an approval web platform and an approval applet), is suitable for processing various approval services, and can be deployed at one end of a server. After passing the accuracy check, the server can be requested to update the configuration of the approval template based on the received template configuration information, and then the validity check is performed to ensure the accuracy and the validity of the configuration of the approval template, so that the updated approval template is stored after passing the validity check, when the approval template is needed to be used subsequently, the latest template configuration information is acquired from the server, the approval template is displayed based on the template configuration information, and the approval template is input based on the approval template, so that the approval document is finally generated.
Each approval template is provided with a unique template identifier TEMPLATEID, the bill management object can modify all the controls in the approval template, the controls comprise texts, single choices, multiple choices, details, accessories, description controls and the like, each control is also provided with a unique control identifier in the approval template, and each control can configure service requirements. The template configuration information comprises template identification of the approval template, control identification of each control in the approval template and information whether each control configures output requirements or not. In one implementation mode, when the document management object configures the output requirement, the object identification of the document management object, the template identification of the approval template, the control identification of the accessory control, the control identification of the explanation control and the corresponding business requirement configuration of each control can be sent to the template editing interface of the approval engine, the template editing interface of the approval engine firstly carries out identity authentication, and then carries out accuracy check and validity check on the template configuration information, so that the configuration of the approval template is updated and the updated approval template is stored.
The data processing method provided by the embodiment of the application can be executed by the terminal equipment of the bill management object, can configure the control required by the approval template based on the template configuration interface displayed by the terminal equipment, and configures the business requirement of the control, so that the customizing capability of the bill management object to the approval template can be realized. The approval template can be customized through the configuration of the bill management object, the business requirements of various controls can be customized, for example, whether all controls are involved in printing can be configured, and because the approval template can be used for generating the approval bill, the output content of the approval bill generated by using the approval template can be controlled based on the configuration of the business requirements, the output content of the approval bill applying the approval template can be flexibly controlled, the customization of the output content is realized, and the output content of the target approval bill is more flexible and controllable.
Fig. 6 is a flowchart of another data processing method according to an embodiment of the application. The data processing method may be performed by a terminal device (such as any of the terminal devices in fig. 1), and may include the following.
S601, displaying a bill management interface.
The document management interface may be displayed in a terminal device of a document management object, where the document management interface includes one or more approval documents, and the one or more approval documents are submitted by different objects. Individual approvals may be managed in a document management interface, where management includes, but is not limited to: checking approval documents, approving the approval documents, deleting (or batch deleting) the approval documents, exporting (or batch exporting) the approval documents, and the like. For example, please refer to the document management interface shown in fig. 7 a. The document management interface 7101 is displayed when a document management object views an approval application record in the background, and includes application records 7102 of different approval documents and brief information of each approval document.
In one embodiment, the document management interface is an interactive interface in an application that provides an approval management portal, and the terminal device may display the document management interface in response to the approval management portal being triggered. The bill management interface comprises each approval bill submitted in history, so that the bill management object can check the approval bill submitted in history through an approval management entrance of the application program. The document management object can also log into a management background through an application program, and manage the examination and approval documents of the affiliated organization through the management background, wherein the management can comprise checking the examination and approval documents. In this way, the application may provide multiple ways of viewing the approved document and provide document output functionality when viewing the details of the approved document.
In one embodiment, the approval document may be submitted by any object in the application program, where the application program is an application program with an approval function, and may provide approval templates corresponding to multiple approval services, respectively, and any object may submit the approval document by filling in a form of the approval template. The generation of any approval document may include the following: displaying an approval business interface; when any one of the approval business interfaces is selected, displaying a bill submitting interface corresponding to the selected approval business; when the input of the content item in the document submission interface is confirmed to be completed, an approval document is generated. It can be appreciated that the above manner can be referred to for generating the target approval document, and a processing interface of the target approval document can be displayed after the target approval document is generated, so as to print or export the submitted target approval document.
The approval service interface includes one or more approval services, including but not limited to: leave, on-line office, article receiving, article purchasing, business trip and the like, and the approval templates corresponding to different approval businesses are different, so that one approval business can apply one approval template to realize the convenient generation of the approval document. The receipt submitting interface is triggered and displayed based on the selection of any one object to any one approval service in the approval service interface, and can be regarded as a form filling page of an approval template, and the receipt submitting interface comprises various content items to be input, wherein the content items to be input include but are not limited to: the date to be selected, the event to be filled in, the accessory to be added, etc., wherein the accessory to be added based on the accessory control in the document submitting interface can be one or more types of multimedia content, and can be used as a supplement to text content (such as an affirmation event) in an approval document, for example, please refer to the document submitting interface shown in fig. 7b, the document submitting interface 7201 is an interactive interface in an application program, and can be used for providing filling of the approval document, and the document submitting interface 7201 comprises each content item to be input, such as an affirmation event type to be selected, an affirmation event to be filled in, an accessory to be added, etc., and the content item to be input is a specific representation of the control required by configuring the approval template in the approval template. Before submitting the approval document, each content in the document submitting interface can be edited, and each attachment can default to show a cancel option, such as setting a cancel option 7202 after the document name with doc as a suffix. In addition, in the document submitting interface, when the cursor is around the attachment, corresponding icons 7301 such as "preview", "collection", "download" and the like may be displayed, so that clicking on the corresponding icons may perform corresponding operations on the added attachment, and in particular, see the document submitting interface shown in fig. 7 c.
In one possible implementation, after the multimedia content is input, the document submission interface may support real-time preview viewing of the multimedia content, the application may provide different preview capabilities for different types of multimedia content, and the terminal device may provide preview capabilities matching the multimedia content by identifying the types of different multimedia content. The respective multimedia content may be previewed based on the matched preview capabilities provided by the application, namely: if the multimedia content supports previewing in the application program, displaying the multimedia content in the application program according to the matched previewing mode; if the multimedia content does not support previewing in the application program, outputting the multimedia content in other application programs according to the previewing mode matched with the multimedia content, wherein the other application programs are any program different from the application programs. For example, the multimedia content is a picture, the matched preview mode is display, the multimedia content can be directly checked in a preview interface provided by an application program, the matched preview mode is playing, an audio playing module can be called in the application program to play the audio, the multimedia content is a document, the matched preview mode is a displayed document page, and the document can be previewed by a local document application after being downloaded locally because the real-time preview is not supported, so that the guidance of the correct viewing mode of the object is provided for the multimedia content which is not supported by the real-time preview. In addition, the preview of the multimedia content in real time is supported in other interfaces for displaying the receipt content of the approval receipt, such as a processing interface of the target receipt, and the preview of the multimedia content can be realized based on matched preview capability provided by the application program.
For the display of content in a document submission interface, the corresponding technical support may include the following: when receiving a selection operation of any approval service, the terminal equipment can acquire a template identifier TEMPLATEID of an approval template corresponding to the service information of the selected approval service and identification information of a document submitting object, wherein the identification information of the document submitting object comprises an object identifier (such as an identity identifier vid) of the document submitting object, an organization identifier corpid of an organization to which the document submitting object belongs and an identity ticket skey of the document submitting object; and then, the template identifier and the identification information of the document submitting object are sent to a server, so that the server calls a template information query interface of an approval engine, authentication processing is carried out based on the template identifier and the identification information of the document submitting object, and after the authentication is passed, the server can return template configuration information of the approval template and approval person node information related to the approval process to the terminal equipment. The approval engine may be a nodeb (a JavaScript running environment set on the server side and based on Chrome V8), and the template information query interface may be a CGI (Common GATEWAY INTERFACE ) for querying template information, and may perform data processing on an HTML (Hyper Text Markup Language ) page submitted by the application program (i.e. query template configuration information). When the template configuration information is returned to the terminal equipment, a receipt submitting interface can be displayed, and the content item to be input is displayed in the receipt submitting interface. In addition, the document submitting interface also displays approval node information, namely information of approval objects for approving the submitted approval document.
When all the content items to be input are input with corresponding content, the content to be input can be confirmed in the receipt submitting interface, and then the approval receipt is submitted. In one implementation, confirming completion of input of the content item to be input may include one or more of: gesture operation confirmation, voice confirmation, trigger confirmation of the submitting component in the document submitting interface. When the content corresponding to the content item to be input is confirmed to be submitted, an approval document can be generated based on the input content, and after the approval document is generated, a processing interface of the approval document can be displayed, and the document content of the submitted approval document can be displayed in detail in the processing interface, which can be particularly seen in the foregoing fig. 3a.
The template configuration information includes information about whether each control of the approval template configures output requirements, such as configuration information about whether the template participates in printing. When initializing the approval template, output data when submitting the approval document can be generated according to whether the control is configured with output requirements or not, and further when selecting the trigger component, the output data is displayed in an output preview interface, and logic for outputting related initialization is performed on the data of the control, for example, the name of the control and the content input based on the control are converted into the content displayed in the output preview interface. When output requirements are configured for each control (for example, the control and the accessory control participate in printing), the configured processing logic is consistent, but for different input contents indicated by the control, text contents and multimedia contents are related, processing of the text contents and processing of multiple types of multimedia contents are different, and particularly when processing of the different types of multimedia contents is related, differentiated processing needs to be realized in technical aspects of input, rendering and the like, so that the multimedia contents are output better.
S602, in response to selection of any one of one or more approval documents, displaying a processing interface of the selected approval document.
The selected approval document is targeted for approval. The selected processing interface of the approval document is the processing interface of the target approval document, and the processing interface of the target approval document can be triggered and displayed by selecting the approval document in the document management interface, so that the document details of the target approval document can be checked. Based on a triggering component of the output target approval document contained in the processing interface, a quick output entry (such as printing and export entry) can be provided for outputting text content and multimedia content in the target approval document by one key when the document details of the target approval document are checked.
In one embodiment, for one or more approved documents in the document management interface, the required data may be selected for unified output according to the corresponding screening rules. Specific implementations may include: receiving screening operation on each examination and approval bill, and displaying the examination and approval bill contained under the screening rule indicated by the screening operation; outputting each approval document contained under the screening rules indicated by the screening operation.
The screening operation herein may be a selection operation of screening rules, the number of screening rules indicated by the screening operation may include one or more selected, and different screening rules screen the audit document from different data dimensions. Screening rules include, but are not limited to: screening according to the submitting date, screening according to the time range, screening according to the service type, screening according to the service requirement, screening according to the organization to which the object belongs, and screening according to the approval state. For example, the approval documents on the same day can be screened according to the submitting date, the approval documents in a time interval (such as a week, a third day and a month) can be screened according to the time range, the approval documents (such as all leave-out approval documents) of the same business type can be screened according to the business type, the approval documents submitted by the objects belonging to the same department can be screened according to the object organization, the approval documents of the same business requirement can be screened according to the business requirement, and the approval documents under one or more approval states can be screened according to the approval state, such as screening the approval documents in all the approval.
After receiving the screening operation, the terminal device can display the approval document under the selected screening rule and select a corresponding output mode for outputting, wherein the output mode comprises printing and exporting. When at least two approval documents are included under the screening rules, the output may be batch output or single output. In one possible implementation, the approval documents under the selected screening rule may be uniformly exported to the electronic form and used as a local file, for example, one approval document corresponds to one Excel local file, or all the approval documents are combined to one Excel local file, and the exported local file may be used for organizing data backup or used for other management scenarios, for example, exporting a leave-for-leave approval document to manage attendance of organization members. For example, referring to the schematic diagram of screening approval documents shown in fig. 7d, the screened approval documents are screened in the dimension of approval state, so that each approved document passing through approval can be obtained, the application records of each approved document are displayed in the document management interface, and the document content of the approved document can be checked by clicking any record.
It should be noted that, in the scenario that the bill management object views the target approval bill, the content introduced according to the embodiment shown in fig. 2 may output the target approval bill, and after the target approval bill is successfully output, the bill management object may return to the processing interface of the target approval bill, and the bill management object may continuously view the bill content of other approval bills or continuously output the bill content related to the target approval bill. The terminal equipment of the bill submitting object can also support the checking and outputting of the approval bill, the checking of the approval bill can be executed according to the flow, the approval bill which can be checked by the bill submitting object comprises the approval bill related to the bill, and the approval bill submitted by the bill submitting object or the approval bill submitted by other people, such as the approval bill submitted by other people instead of the bill submitting object. Therefore, the processing interface of the target approval document can be displayed in the terminal equipment of the document submitting object, the document managing object is different from the document submitting object, and the document submitting object can also check the target approval document through the terminal equipment and output the target approval document according to the flow introduced in the figure 2.
Each object in the application program can submit approval documents in each terminal device running the application program, such as a personal computer (Personal Computer, belonging to a PC end) and a smart phone (belonging to a mobile end), and the approval documents submitted by different ends can be synchronized. In addition, the approval function in the application program is realized in different modes at different ends, the PC end can be realized in a web mode, and the mobile end can be realized in an installation-free program (such as an applet) mode in the application program. There may be some presentation difference for the respective interface designs provided by the different forms, but the various functions provided based on the interface are the same.
Technical support for displaying a processing interface of a target approval document may include the following: acquiring a receipt identifier of a target approval receipt and an object identifier of a checked object of the target approval receipt; the bill identification of the target approval bill and the object identification of the checked object of the target approval bill are sent to a server, so that the server calls an approval engine, and authentication processing is carried out based on the bill identification of the target approval bill and the object identification of the checked object of the target approval bill; if the authentication is passed, acquiring bill content of the target approval bill based on the bill identification of the target approval bill, and returning the bill content to the terminal equipment; and when receiving the bill content of the target approval bill, displaying a processing interface of the target approval bill.
The bill identification of the target approval bill has uniqueness, different bill identifications can be used for distinguishing different approval bills, and the bill identifications can be a string of characters or numbers. A viewing object of a target approval document refers to an object that views the target approval document, including, but not limited to: document management objects and document submission objects. The view scene can be that the document management object views when managing and approving the document, or that the document submitting object views the approval document submitted by the document submitting object. The object identification of the checked object can comprise the identity identification of the checked object in the organization, the identity identification of the organization to which the checked object belongs and an identity bill, wherein the identity bill skey is a bill issued by a server when the checked object logs in, and is information which is effective for a long time and can be used for verifying the identity of the object. In one implementation manner, when receiving a checking operation or a selecting operation of a target approval document, the terminal device can acquire a document identifier of the target approval document and an object identifier of a checking object.
The viewing authority of the viewing object on the examination and approval bill can define the viewing range of the corresponding examination and approval bill, and based on the viewing authority, the association relationship exists between the viewing object and the examination and approval bill. Thus, the receipt content of the target approval receipt can be queried based on the receipt identification of the target approval receipt and the object identification of the viewing object. In detail, the terminal device can send the acquired information to the server, the server firstly performs authentication processing based on the bill identification of the target approval bill and the object identification of the checking object, the authentication processing can verify whether the checking object has checking authority on the target approval bill, if the authentication is passed, the checking object can check the target approval bill, namely, the checking authority is provided, so that the bill content of the target approval bill can be returned to the terminal device, the terminal device can display a processing interface of the target approval bill, and the bill content of the target approval bill is displayed in the processing interface of the target approval bill.
S603, selecting a triggering component, and displaying an output preview interface of the target approval document.
In one embodiment, for whether the multimedia content included in the target approval document is output or not, before the target approval document is required to be output, the setting is performed after the trigger component is selected, which specifically includes the following implementation contents: and selecting a triggering component for outputting the target approval document, and triggering and displaying the multimedia content indicated by the link identifier in an output preview interface after outputting and confirming the multimedia content indicated by the link identifier.
The mode of output confirmation of the multimedia content indicated by the link identifier may be: a triggering component for selecting an output target approval document and displaying an output confirmation option; and carrying out output confirmation on the multimedia content indicated by the link identification based on the output confirmation option.
If the output confirmation option is confirmed, the output confirmation of the multimedia content indicated by the link identification can be indicated, and then an output preview interface of the target approval document can be displayed, the multimedia content indicated by the link identification is displayed in the output preview interface, and when the target approval document is required to be output, each multimedia content of the target approval document can be output. If the multimedia content indicated by the link identifier is not confirmed to be output, the multimedia content is not displayed in the output preview interface, specifically, by adopting the above-mentioned output confirmation mode, if the output confirmation option is not confirmed, it may be indicated that the multimedia content indicated by the link identifier is confirmed to be not output, and the multimedia content indicated by the link identifier in the target approval document may not be displayed in the output preview interface, so that each multimedia content may not be output when the target approval document is output subsequently. It will be appreciated that the multimedia content indicated by the link identifier is the multimedia content indicated by all the link identifiers included in the target approval document, for example, 3 attachments are included in the target approval document, and then the attachment content of the 3 attachments may be displayed in the output preview interface.
For example, please refer to the output validation option shown in fig. 7 e. The target approval document is a leave-on approval document of sheet three, after clicking a printing inlet 7501 in the processing interface, a printing prompt 7502 can be popped up, wherein the printing prompt comprises a text prompt of whether all accessories are printed and corresponding confirmation options, if yes, the contents of the accessories can be previewed in the output preview interface, and after operating and printing in the output preview interface, the contents of all accessories in the approval document are printed. If not, text content of the approval document can be previewed in the output preview interface without previewing the accessory content, and the accessory content is not printed after printing is operated in the output preview interface.
In this way, by confirming the output of the multimedia content in the target approval document before outputting the preview, the object for processing the target approval document can customize whether the multimedia content included in the target approval document is output, thereby customizing the output content of the target approval document.
In another embodiment, the document content of the target approval document includes a plurality of multimedia contents respectively indicated by the link identifiers, that is, the target approval document includes a plurality of multimedia contents, and different types of the multimedia contents may be the same or different, for example, include different pictures, or include pictures, documents, and videos. One link identification is used to indicate one of the document contents, and different multimedia contents are indicated by different link identifications. For a plurality of multimedia contents, after the triggering component is selected before the target approval document to be output is confirmed, the multimedia contents to be output are set, and part of the multimedia contents in each multimedia content can be specified to be output. The specific implementation content can comprise: selecting a triggering component for outputting a target approval document, and displaying a link identification list; the link identification list comprises a plurality of link identifications; when one or more link identifiers in the link identifier list are selected, an output preview interface of the target approval document is displayed, wherein the output preview interface comprises multimedia content indicated by the selected link identifiers.
When the triggering component for outputting the target approval document is selected, a link identifier list containing a plurality of link identifiers is displayed, wherein each link identifier included in the link identifier list is a link identifier used for indicating the multimedia content in the target approval document. The link identification list comprises that each link identification can be selected, one or more link identifications selected in the link identification list can be all link identifications or part link identifications in the target approval document, the multimedia contents indicated by the link identifications can be used as the multimedia contents to be output, the multimedia contents indicated by the selected link identifications can be displayed in the output preview interface, and when the text contents of the target approval document are confirmed to be output, the multimedia contents indicated by the selected link identifications are also output, so that the customization of the multimedia contents to be output in the target approval document is realized, and the more flexible setting of the multimedia contents output in the target approval document is realized.
For example, please refer to the schematic diagram of the display link identification list shown in fig. 7 f. 3 accessory names are displayed in the processing interface of the target approval document, the 3 accessory names respectively correspond to the 3 accessories, after a printing inlet 7601 in the processing interface is clicked, a printing prompt popup window 7602 can be displayed, the accessory names of the 3 accessories are displayed in the printing prompt popup window 7602, each accessory name can be checked, the accessory is selected when checked, the selected accessory can be used as the accessory to be output after a 'confirm' option is clicked, the content of each accessory can be previewed in the output preview interface, and finally the accessory content of each accessory which is confirmed to be output can be printed.
Therefore, all the link identifiers in the target approval document are displayed in a centralized manner through the link identifier list, the multimedia content to be output is confirmed in one step through the selection of the link identifiers, the function of customizing the multimedia content to be output is provided for the object, and the output setting of the multimedia content included in the document content is more flexible, so that the document content to be output can be designated by the document management object when the approval template is configured, and the object for processing the target approval document can also designate which multimedia content to output before confirming the output. On the whole, the flexibility of document content setting to be output in the target approval document is further enhanced, and different output requirements of the object are met.
In yet another embodiment, the setting of whether to output the multimedia content and the multimedia content to be output may be combined, that is, in a condition that the output of the multimedia content is confirmed, it may be further set which multimedia content is output. Namely: and selecting a triggering component for outputting the target approval document, and displaying a link identification list after outputting and confirming the multimedia content indicated by the link identification. Therefore, reasonable customization of multimedia content output can be realized, all multimedia contents are not required to be output by default after the output confirmation, and a link identification list is provided for an object to perform autonomous selection, so that the output customization of the multimedia contents is realized.
In one possible embodiment, the content displayed in the output preview interface is content with output requirements, and the output requirements are not limited to the document management object, but can be set by the document management object when the document management object configures the approval template, and can also be set in the processing interface of the target approval document, so that the output content can be customized for any object. The step of selecting the trigger component and displaying the output preview interface of the target approval document may include the following implementation contents: selecting a triggering component for outputting a target approval document, and displaying the document content in a selectable state; and when one or more bill contents in the optional state are confirmed to be selected, displaying an output preview interface of the target approval bill, wherein the output preview interface comprises the selected bill contents in the target approval bill.
The processing interface of the target approval document displays at least one document content of the target approval document, and when the trigger component for outputting the target approval document is selected, the terminal equipment can set part or all of the document content of the target approval document to be in a selectable state, so that the document content in the selectable state can be displayed in the processing interface. And each receipt content support in the selectable state is selected, one or more receipt contents can be selected from the target examination and approval receipt viewing object, and after confirmation, the terminal equipment can take the selected receipt contents as the receipt contents to be output, so that when an output preview interface of the target examination and approval receipt is displayed, the output preview interface comprises the selected receipt contents. The selected bill content comprises text content and/or multimedia content indicated by the link identifier, so that the bill content to be output can only comprise the text content, can only comprise the multimedia content indicated by the link identifier, and can also comprise the text content and the multimedia content indicated by the link identifier. For example, please refer to fig. 7g, which shows the document content in an alternative state. After clicking the export entry 7701 in the processing interface, a check box 7702 may be displayed around the receipt content included in the processing interface, and the receipt content to be output may be selected based on the check box, so that the output effect is previewed in the output preview interface and the selected content is output at the time of printing.
In this way, the output of the multimedia content to be output in the target approval document can be customized, and the text content to be output in the target approval document can be customized, so that the output customization capability of the document content can be provided for any object for processing the target approval document, and different objects can be provided with the output content in a personalized way.
In one embodiment, the content displayed in the output preview interface may be displayed in accordance with a corresponding typesetting style. Selecting a triggering component, displaying an output preview interface of a target approval document, comprising: selecting a triggering component for outputting the target approval document, and displaying various typesetting patterns; each typesetting style is used for indicating the content typesetting in the output preview interface; when any one of the typesetting styles is selected, displaying the bill content with output requirements in the target approval bill according to the selected typesetting style in the output preview interface of the target approval bill.
In order to further enrich the output effect, for document content with output requirements in the target approval document, for example, one or both of text content or multimedia content indicated by a link identifier, a style selection function may be provided to customize the typesetting style before being displayed on the output preview interface.
After the triggering component for outputting the target approval document is selected, a plurality of typesetting styles can be displayed first, one typesetting style can correspond to one content typesetting, and the content typesetting corresponding to different typesetting styles is different. According to different display modes, typesetting patterns can comprise transverse typesetting, longitudinal typesetting and the like; the typesetting style can also be center typesetting, symmetrical typesetting and the like according to different display positions. Any typesetting style can be applied to typesetting of the content in the output preview interface. The terminal equipment can display an output preview interface of the target approval document when detecting that any typesetting style of the plurality of typesetting styles is selected, and display document contents with output requirements in the target approval document according to the selected typesetting style in the output preview interface, so that the contents displayed in the output preview interface can be previewed according to the selected typesetting style. Wherein the document content for which there is an output demand includes text content and/or multimedia content indicated by a link identification. For the text content and/or the multimedia content indicated by the link identifier, the text content may be displayed according to the selected typesetting style, for example, the text content or the multimedia content indicated by the link identifier may be displayed according to the selected typesetting style, or the text content may be displayed according to the selected typesetting style, but the display of the multimedia content maintains the original style.
For example, referring to the schematic diagram showing typesetting patterns shown in fig. 7h, after clicking the print entry 7801 in the processing interface, a typesetting pattern list 7802 may be output, where multiple typesetting patterns are displayed in the typesetting pattern list 7802, any typesetting pattern is selected from the typesetting patterns, for example, after selecting pattern 1 and clicking "confirm", the output content may be previewed according to the pattern 1 in the output preview interface, and the target approval document is printed according to the pattern 1.
In one embodiment, the document content of the target approval document includes multimedia content respectively indicated by a plurality of link identifiers; the display mode of the text content and the multimedia content indicated by the link identifier in the target approval document in the output preview interface comprises any one of the following steps: displaying the interface of the text content and the multimedia content; or the text content and the multimedia content are displayed on the same interface.
The number of output preview interfaces may include a plurality, and in one implementation, the text content and the multimedia content may be displayed in different output preview interfaces, respectively. For example, all text content is displayed in one output preview interface while multimedia content is displayed in another output preview interface. The multimedia content to be output in the target approval document includes a document and a picture, the output preview interface is an interface of a browser called by an application program, a plurality of tabs can be arranged in the browser to represent different document contents, the text content of the target approval document is displayed in one HTML page, and the multimedia content of the target approval document is displayed in the other HTML page. In the above manner, by displaying the interface of the text content and the multimedia content, the previews of the text content and the multimedia content can be separated, so that when the target approval document is confirmed to be output, the text content of the target approval document is confirmed to be output and the multimedia content of the target approval document is confirmed to be output, and then the output is performed according to the content corresponding to the output preview interface.
When the text content and the multimedia content are displayed at interfaces, the multimedia content indicated by the different link identifiers is displayed at interfaces according to the types of the multimedia content, or the multimedia content indicated by the different link identifiers is displayed at interfaces according to the quantity of the multimedia content. Because the target approval document comprises a plurality of multimedia contents indicated by the link identifiers, and the multimedia contents have output requirements, in order to better preview different types of multimedia contents, the same type of multimedia contents can be displayed on the same interface, different types of multimedia contents can be displayed on different interfaces, one interface can comprise contents of a plurality of pages, and any page can be regarded as an output preview interface. For example, all pictures are displayed in one interface, and each page displays one picture, all text documents are displayed in another interface, and a corresponding number of pages are allocated to display according to the content height of the text documents. For example, referring to fig. 8a, as shown in fig. 8a, a schematic diagram of displaying multimedia content and text content in an output preview interface is shown, text content and attachment content of a target approval document are respectively displayed in different web pages, and different types of attachment content, such as a picture attachment and a document attachment, are respectively displayed in different web pages, and each attachment content can be switched by each tab as marked by 8101. The content displayed in the output preview-just-interface shown in (1) in fig. 8a is the text content of the target approval document shown under the tab of the text content, and the content displayed in the output preview interface shown in (2) in fig. 8a is the specific document content of the attachment document of the target approval document shown under the tab of "attachment content/document".
By classifying and displaying the multimedia content according to the type, the multimedia content of the same type can be previewed on the same interface rapidly, the automatic arrangement of the multimedia content is realized, and the output preview effect is improved. In addition, the multiple multimedia contents can be displayed according to the number of interfaces, namely one multimedia content can be displayed by using one interface, and different multimedia contents can not be displayed by using the same interface even though the different multimedia contents are of the same type, but are displayed separately, so that the preview effect of each multimedia content can be quickly reached. For example, referring to the schematic diagram of displaying multimedia content in the output preview interface shown in fig. 8b, the target approval document includes 3 attachments, which are respectively a picture, a text document and a video, so that the 3 interfaces in the browser can be used for respectively displaying, each multimedia content can be displayed in a switching manner through the corresponding tab, and each tab is prompted with the name and the type of the attachment. Shown in the current output preview interface is the specific document content under tab 8201 identifying attachment 2.
When the text content and the multimedia content are presented on the same interface, the text content and the multimedia content may be presented in separate planes in the output preview interface. For example, the text content may occupy one page for presentation, the rest of the multimedia content may be presented using a corresponding number of pages according to respective content heights, and the text content and the multimedia content may be sequentially viewed by sliding in a sequential interface. By setting the text content and the multimedia content in the same interface for display, the output effect can be integrally previewed in the same interface.
In another embodiment, the number of target approval documents includes a plurality, and the plurality of target approval documents relates to one or more business types. In the scenario of selecting a plurality of approval documents for batch output, each selected approval document may be referred to as a target approval document, the plurality of target approval documents may be all approval documents of the same business type, for example, the 3 selected approval documents are all leave-on approval documents, multiple target approval documents may also relate to different business types, for example 1 approval document is a leave approval document and 2 approval documents are on-line office approval documents, whereby 3 approval documents relate to 2 business types.
The text content displayed in the output preview interface is text content with output requirements in the target approval document, the text content with the output requirements is all text content or part of text content to be output in the target approval document, and the output content comprises the text content when the target approval document is confirmed to be output. The output requirement can be set by a bill administrator when configuring an approval template, and can also be set based on the selection of bill contents in optional states in a processing interface. The display mode of the text content included in the multiple target approval documents in the output preview interface comprises the following steps: text contents with output requirements in target approval documents of the same service type are combined and displayed in the same output preview interface; text contents with output requirements exist in target approval documents of different service types and are displayed in different output preview interfaces.
The merging processing can be that the text contents are merged in the same output preview interface, but the text contents in different target approval documents are displayed in different pages, so that the text contents of the same type of approval documents can be output by one key. Since the approval templates used for the same business type are the same, the approval documents of the same business type include the same content entry, e.g., different approval documents all require the entry of an attachment.
The text content corresponding to the same content input item may be different, and the merging process may further integrate the text content corresponding to the same content input item, so as to display the integrated text content in the same output preview interface. For example, please refer to a schematic diagram of the approval document after the merging process displayed on the output preview interface shown in fig. 8 c. The text content in the output preview interface is the combined text content of a plurality of target approval documents, each target approval document can be an approval document of the same object, and the text content corresponding to the same content item in each approval document is displayed after being counted, for example, the included number of times of asking for false, the single time duration of asking for false, the time range of asking for false and the like. It should be noted that the graphic code of the merged document displayed in the output preview interface may be used to check the document details of any target approval document participating in the merging.
And for the text content with output requirements in the target approval documents of different service types, displaying the text content on an interface without displaying the text content on the same output preview interface. For example, a plurality of HTML pages are used as output preview interfaces to respectively display text contents to be output in different target approval documents. In one implementation manner, the output modes of the target approval document include multiple modes, such as printing and exporting, format standards corresponding to different output modes can be consistent, the display of the content can be further optimized according to the paper size and typesetting of standard printing, and the output of the target approval document can be more flexible due to the capability of customizing the content support.
In the mode, text contents with output requirements in the target approval documents of the same business type are combined, and each target approval document can be intelligently arranged and then output, so that document contents of the target approval documents are managed. The target approval documents of different service types can be displayed by separating different interfaces, and further different approval documents can be previewed according to the service types.
In summary, for outputting the target approval document, not only output of text content (including a link identifier for indicating multimedia content, such as an attachment name) but also output of various types of multimedia content (such as printing of content of which attachment type is a picture, a picture file, etc.) can be supported, so that output can be supported even if the input instruction for the supplemental content as the target approval document or for a control is guided, thereby making the output content more complete. And supporting output of explanation contents (such as names of the controls) of various controls contained in the approval documents submitted in the approval process and contents input based on the controls (such as accessory contents uploaded based on accessory controls), and ensuring accurate judgment of the process based on the completely output contents when the output target approval document is applied to the offline process.
For the display of content in the output preview interface, the corresponding technical support can be seen in the following implementation: ① Acquiring template configuration information of a target approval template based on a template identifier of the target approval template corresponding to the target approval document; the template identification of the target approval template is returned by the server after passing authentication, ② converts document content with output requirements in at least one document content into output content in a preset format based on service requirement configuration indicated by template configuration information; ③ And rendering the output content to an output preview interface of the target approval document through a rendering interface.
When the target approval document is checked, the server can authenticate the identity of the checked object based on the object identifier of the checked object and the document identifier of the target approval document, and check whether the checked object has the checking authority for the target approval document, after passing the authentication, the server can return not only the document content of the target approval document but also the template identifier TEMPLATEID of the target approval template used by the target approval document, the template configuration information of the target approval template can be acquired through the template identifier, the template configuration information can be used for indicating the latest state (which can be simply called as the configuration state) of the current configuration of the target approval template, and the template configuration information comprises the configuration information for indicating the service requirement configuration of the target approval template, so that whether each control in the target approval template is configured and output requirements can be known based on the template configuration information.
The description content (such as a control name) of the control provided with the output requirement and the content (including a part of text content and each multimedia content) input by the control can be used as document content to be output based on the service requirement configuration indicated by the template configuration information, the preset format of the output can be generated according to the configuration state indicated by the template configuration information, then the document content to be output is converted into the output content in the preset format, the output content is different from the original document content in format, the output content can comprise all document content or part of document content on the content data, and the output content in the preset format is, for example, the content in an HTML structure which can be identified and previewed by the printing service. For example, see the content in the interfaces shown in fig. 3a and 3b, where the former is document content of the target approval document, and the latter is document content to be output after format conversion. After obtaining the output content in the preset format, the output content may be rendered into the output preview interface according to the preset format by using a rendering interface, where the rendering interface may be a CGI (Common GATEWAY INTERFACE ) for processing the rendering of the output preview interface. When confirming that the target approval document needs to be output, the target approval document can be output according to the content in the output preview interface, and the output preview interface can be an HTML interface displayed in the browser, so that the system can be triggered in the browser to output the content in the output preview interface, and the target approval document can be printed or exported.
In one possible implementation, the output content includes multimedia content indicated by a link identification; rendering the output content to an output preview interface of the target approval document through a rendering interface, comprising: analyzing the multimedia content indicated by the link identifier to obtain analysis content; the analytic content comprises the type of the multimedia content and the multimedia content to be output; and rendering the multimedia content to be output according to a rendering mode matched with the type of the multimedia content, so as to display the multimedia content indicated by the link identification on an output preview interface.
The processing principle for displaying different types of multimedia content in the output preview interface can be as follows: the multimedia content is analyzed firstly, then the first screen content pre-rendering of the multimedia content is carried out, and the multimedia content can be quickly displayed in the output preview interface through the first screen content pre-rendering. Corresponding analysis rules can be configured for analyzing the multimedia contents of different types, the types of the multimedia contents and the information contained in the multimedia contents can be analyzed based on the matched analysis rules, the multimedia contents of different types are also matched with corresponding rendering modes, and the multimedia contents to be output are prerendered based on the matched rendering modes, so that the multimedia contents can be displayed in an output preview interface.
In detail, if the multimedia content in the target approval document is a picture or a picture type file, the file identifier fileID of the file can be used to obtain the resource locator URL of the original file, and the picture control can be used to render the picture file content in the processing interface first, so that the picture can be displayed in a thumbnail manner in the processing interface of the target approval document, and then, when the output preview interface is created, a corresponding format can be designated for the picture, so that the picture can be displayed in the output preview interface, and the output of the picture can be realized. In one implementation manner, the output preview interface in the application may be an HTML webpage, if the multimedia content is a picture, a picture image tag may be added to display the picture in the output preview interface, in another implementation manner, the output preview interface may also be a preview interface provided by a system, at this time, a canvas may be created in the output preview interface, and the information of the picture may be drawn into the canvas, so that the picture is displayed in the output preview interface. If the multimedia content is a text document, node analysis can be performed on the text document to acquire node information in the text document, and then the content of the text document is restored in an output preview interface according to the node information. For other multimedia contents (such as pdf documents, doc documents and the like) with more contents and more complex formats, considering the cost required during analysis, the multimedia contents can be downloaded to a local end and analyzed at the local end, further, the analyzed contents are rendered into an output preview interface according to a document rendering mode, one page of the extracted document is supported for display, multiple pages can be extracted for display, and the display content of the document in the output preview interface does not influence the final complete output of the document.
By the method, the multimedia content in the target approval document can be identified, the prerendered is carried out according to the corresponding output format, and the output preview image is generated, wherein whether the multimedia content is output or not can be combined with the configuration of whether the document management object has output requirements on the control in the approval template, so that the final output effect can be dynamically generated. And for the output preview of the target approval document, besides the link identifier (such as the file name of the multimedia file) corresponding to the multimedia content in the target approval document, the output preview also comprises the multimedia content, so that the display of the output content can be enriched.
S604, outputting the target approval document according to the content displayed by the output preview interface when the target approval document is determined to be output.
In one embodiment, the output preview interface further includes a graphic code of the target approval document, where the graphic code may be used to examine the target approval document, and may specifically be a two-dimensional code, a bar code, etc., and the graphic code may be output when it is determined that the target approval document needs to be output.
The graphical code of the target approval document may be generated based on key information associated with the target approval document. The key information comprises a bill identification sp_id of the target approval bill, an organization identification of an organization to which the target approval bill belongs, a service type to which the target approval bill belongs, and a template identification of an approval template used by the target approval bill. Each examination and approval bill can be assigned with a bill identification, the bill identification has uniqueness, different examination and approval bills can be distinguished through the bill identification, and the bill identification can be a string of characters or numbers, so that the application is not limited to the characters or numbers. The organization identifier is used for representing a unique account body of the organization, which can be denoted by Corpid, and each approval document can be classified and stored in a server based on the affiliated organization. The service type refers to the service related to the document examination and approval, such as leave-out, office work and the like, the examination and approval templates used by different service types are different, and the application contents required to be submitted are also different, so that the examination and approval contents corresponding to the document examination and approval are different. The template identification is used for identifying the approval templates, and each approval template of each organization is represented by a unique template identification (TEMPLATEID) so that which approval template is operated by an object can be better identified in the service, and information display or information verification is facilitated.
In the following description, a process of generating key information associated with a target approval document is described, where key information associated with the target approval document may be encrypted to obtain an encrypted token (e.g., token), then a resource locator is generated based on the encrypted token, the resource locator supports a query, such as a queriable uniform resource locator URL (uniform resource locator, URL), and finally a graphic code is generated for the resource locator. The graphic code can be a dynamic graphic code, namely, any information behind the graphic code can be changed at any time after the graphic code is generated, and no change is needed to be carried out on the graphic code, so that if the approval process of the target approval document is not executed yet, the real-time approval state of the approval document can be checked very conveniently based on the graphic code, and the latest approval process is acquired. In addition, the graphic code may be time-efficient, such as permanently active, or active for a period of time (e.g., 3 days).
Any object can check the output target approval document based on the graphic code. The terminal equipment of any object can respond to the scanning operation of the graphic code to carry out identification processing on the graphic code, and then the processing interface of the target approval document is displayed according to the identification result obtained by the identification processing. And displaying bill content of the target approval bill in the processing interface. Specifically, the identification result obtained by carrying out identification processing on the graphic code comprises a resource locator and an encryption token corresponding to the resource locator, key information of the target approval document can be queried through the encryption token, the key information comprises a document identification sp_id of the target approval document, an organization identification corpid of an organization to which the target approval document belongs, a service type to which the target approval document belongs and a template identification of an approval template used by the target approval document, and then an object identification of an initiator (namely any object) of the scanning operation is obtained, wherein the object identification has uniqueness and can be used for identifying the identity of the object in the organization, such as vid for identifying an account number of the object in the organization. Because of the binding relation between the object identification of the object and the bill information (such as bill identification, service type and template identification) of the approval bill in the application program, the examination of the approval bill by the object is in a certain range, for example, the object A can only examine the approval bill of the self-price-raising and can not examine the approval bill submitted by other objects, therefore, the authentication processing can be carried out firstly based on the object identification of the initiator and the acquired key information to obtain an authentication result, and the authentication result can be used for indicating whether the initiator has the query authority of the target approval bill.
If the authentication result indicates that the initiator has the query authority for the target approval document, the document detail interface of the target approval document is skipped to according to the skip link of the resource locator, so that the document detail interface of the target approval document is displayed in the terminal equipment of the initiator, the document detail interface comprises the document content of the target approval document, and the document detail interface and the processing interface can be the same interface. If the authentication result indicates that the initiator does not have the query authority for the target approval document, a failure prompt can be displayed in the terminal equipment of the initiator, wherein the failure prompt is used for prompting that the target approval document is failed to be checked.
In summary, by displaying the graphic code of the target approval document in the output preview interface, on one hand, when the target approval document is confirmed to be output, the graphic code is output on the paper on which the document is printed according to the content output in the output preview interface, for example, the output mode is printing. Therefore, the method can be used for carrying out secondary verification on the target approval bill during offline flow confirmation, ensures the accuracy of information, and is convenient for other objects to audit the target approval bill offline. On the other hand, based on timeliness of the graphic code, the output target approval document can be flexibly applied to an actual office scene, so that more detailed document content of the approval document can be checked anytime and anywhere through the graphic code, an on-line approval process and an off-line process are combined, and office efficiency is effectively improved.
According to the data processing method provided by the embodiment of the application, the target approval document can be output under the scene of checking the approval document or managing the submitted approval document, for example, the document is printed, and the application program provides a standard output format for outputting the approval document, for example, a corresponding standard printing format is printed, so that the standard printing format is met, and the printing effect can be optimized. And the output target approval document is also added with a graphic code to link the document content of the target approval document, so that the accuracy of the target approval document is convenient to verify in an off-line process.
The data processing apparatus provided by the embodiments of the present application will be described in connection with the following.
Referring to fig. 9, fig. 9 is a schematic diagram of a data processing apparatus according to an exemplary embodiment of the present application. The data processing apparatus may be a computer program (including program code) running on a computer device (such as any one of the terminal devices in a data processing system), for example the data processing apparatus is an application software; the data processing device may be used to execute corresponding steps in the data processing method provided by the embodiment of the present application. As shown in fig. 9, the data processing apparatus 900 includes: a display module 901, an output module 902, a configuration module 903, an acquisition module 904, a transceiver module 905, a conversion module 906, and a rendering module 907.
The display module 901 is used for displaying a processing interface of the target approval document, wherein the processing interface displays at least one document content of the target approval document, and the document content comprises text content and multimedia content indicated by a link identifier; the processing interface comprises a triggering component for outputting a target approval document;
the display module 901 is further configured to select a triggering component, and display an output preview interface of the target approval document; the output preview interface is used for displaying text content in the target approval document and multimedia content indicated by the link identification;
And the output module 902 is used for outputting the target approval document according to the content displayed by the output preview interface when the target approval document is determined to be output.
In one embodiment, the target approval document is generated based on content entered by the target approval template; the display module 901 is further configured to: displaying a template configuration interface in terminal equipment of a bill management object; the template configuration interface comprises a control setting component; when the control setting component is triggered, a control setting interface is displayed; the configuration module 903 is configured to configure a control required by the trial template in the control setting interface; wherein the configuration includes a business requirement configuration; the business requirement configuration is used for indicating that the control is provided with an output requirement; the configured approval template is published to the application to display the target approval document in the processing interface.
In one embodiment, the template configuration interface comprises M controls and service setting components; m is an integer greater than 1; the display module 901 is further configured to: responding to the triggering of the service setting component, and displaying M controls in a to-be-selected state; the control support in the state to be selected is selected; the configuration module 903 is further configured to: when one or more of the M controls in the to-be-selected state is selected, an output requirement is set for each control selected.
In one embodiment, the display module 901 is specifically configured to: displaying a bill management interface, wherein the bill management interface comprises one or more examination and approval bills; one or more approval documents are submitted by different objects; in response to selection of any one of the one or more approval documents, a processing interface of the selected approval document is displayed, the selected approval document being the target approval document.
In one embodiment, the display module 901 is specifically configured to: a triggering component for selecting an output target approval document, and triggering and displaying the multimedia content indicated by the link identifier in an output preview interface after the multimedia content indicated by the link identifier is output and confirmed; and if the multimedia content indicated by the link identification is not confirmed to be output, the multimedia content is not displayed in the output preview interface.
In one embodiment, the document content of the target approval document includes multimedia content respectively indicated by a plurality of link identifiers; the display module 901 is specifically configured to: selecting a triggering component for outputting a target approval document, and displaying a link identification list; the link identification list comprises a plurality of link identifications, and one link identification is used for indicating one multimedia content in the bill content; when one or more link identifiers in the link identifier list are selected, an output preview interface of the target approval document is displayed, wherein the output preview interface comprises multimedia content indicated by the selected link identifiers.
In one embodiment, the document content of the target approval document includes multimedia content respectively indicated by a plurality of link identifiers; the display mode of the text content and the multimedia content indicated by the link identifier in the target approval document in the output preview interface comprises any one of the following steps: displaying the interface of the text content and the multimedia content; or the text content and the multimedia content are displayed on the same interface; when the interface of the text content and the multimedia content is displayed, the multimedia content indicated by the different link identifiers is displayed according to the type interface of the multimedia content, or the multimedia content indicated by the different link identifiers is displayed according to the quantity interface of the multimedia content.
In one embodiment, the number of target approval documents includes a plurality, and the plurality of target approval documents relates to one or more business types; the text content displayed in the output preview interface is the text content with output requirements in the target approval document; the display mode of the text content included in the multiple target approval documents in the output preview interface comprises the following steps: text contents with output requirements in target approval documents of the same service type are combined and displayed in the same output preview interface; text contents with output requirements exist in target approval documents of different service types and are displayed in different output preview interfaces.
In one embodiment, the display module 901 is specifically configured to: selecting a triggering component for outputting a target approval document, and displaying the document content in a selectable state; the individual document content support in the selectable state is selected; and when one or more receipt contents in the selectable state are confirmed to be selected, displaying an output preview interface of the target approval receipt, wherein the output preview interface comprises the selected receipt contents in the target approval receipt, and the selected receipt contents comprise text contents and/or multimedia contents indicated by a link identifier.
In one embodiment, the display module 901 is specifically configured to: selecting a triggering component for outputting the target approval document, and displaying various typesetting patterns; each typesetting style is used for indicating the content typesetting in the output preview interface; when any one of the typesetting styles is selected, displaying the receipt content with output requirements in the target approval receipt according to the selected typesetting style in an output preview interface of the target approval receipt, wherein the receipt content with output requirements comprises text content and/or multimedia content indicated by a link identifier.
In one embodiment, the obtaining module 904 is configured to: acquiring a receipt identifier of a target approval receipt and an object identifier of a checked object of the target approval receipt; the transceiver module 905 is configured to send a document identifier of the target approval document and an object identifier of the viewing object to the server, so that the server invokes the approval engine to perform authentication processing based on the document identifier of the target approval document and the object identifier of the viewing object; if the authentication is passed, acquiring bill content of the target approval bill based on the bill identification of the target approval bill, and returning the bill content to the terminal equipment; and when receiving the bill content of the target approval bill, displaying a processing interface of the target approval bill.
In one embodiment, the obtaining module 904 is configured to: acquiring template configuration information of a target approval template based on a template identifier of the target approval template corresponding to the target approval document; the template identification of the target approval template is returned by the server after passing the authentication, and the template configuration information comprises configuration information for indicating the service requirement configuration of the target approval template; a conversion module 906 for: converting document contents with output requirements in at least one document content into output contents in a preset format based on service requirement configuration indicated by the template configuration information; a rendering module 907 for: and rendering the output content to an output preview interface of the target approval document through a rendering interface.
In one embodiment, the output content includes multimedia content indicated by the link identification; the rendering module 907 is specifically configured to: analyzing the multimedia content indicated by the link identifier to obtain analysis content; the analytic content comprises the type of the multimedia content and the multimedia content to be output; and rendering the multimedia content to be output according to a rendering mode matched with the type of the multimedia content, so as to display the multimedia content indicated by the link identification on an output preview interface.
In one embodiment, the transceiver module 905 is configured to: receiving a configuration request initiated in a template configuration interface; the configuration request is generated based on the issuance of the trial template; based on the configuration request, sending the object identification of the bill management object and template configuration information corresponding to the configured approval template to a server, so that the server calls a template editing interface of the approval engine to authenticate the bill management object, and checking the template configuration information after authentication; and if the verification is passed, updating the configuration of the approval template based on the template configuration information.
It may be understood that the functions of each functional module of the data processing apparatus described in the embodiments of the present application may be specifically implemented according to the method in the embodiments of the method, and the specific implementation process may refer to the relevant description of the embodiments of the method and will not be repeated herein. In addition, the description of the beneficial effects of the same method is omitted.
Computer devices provided by embodiments of the present application are described in connection with the following.
In one embodiment, the computer device may be any of the terminal devices in the data processing system shown in FIG. 1. Referring to fig. 10, fig. 10 is a schematic structural diagram of a computer device according to an embodiment of the application. As shown in fig. 10, the computer device 1000 may include, in particular, an input device 1001, an output device 1002, a processor 1003, a memory 1004, a network interface 1005, and at least one communication bus 1006. Wherein: the processor 1003 may be a central processing unit (Central Processing Unit, CPU). The processor may further comprise a hardware chip. The hardware chip may be an Application-specific integrated Circuit (ASIC), a programmable logic device (Programmable Logic Device, PLD), or the like. The PLD may be a Field Programmable gate array (Field-Programmable GATE ARRAY, FPGA), general purpose array Logic (GENERIC ARRAY Logic, GAL), or the like.
The Memory 1004 may include Volatile Memory (RAM), such as Random-Access Memory (RAM); the Memory 1004 may also include a Non-Volatile Memory (Non-Volatile Memory), such as a Flash Memory (Flash Memory), a Solid state disk (Solid-state disk-STATE DRIVE, SSD), etc.; the Memory 1004 may be a high-speed RAM Memory or a Non-Volatile Memory (Non-Volatile Memory), such as at least one disk Memory. The memory 1004 may also optionally be at least one storage device located remotely from the processor 1003. Memory 1004 may also include a combination of the above types of memory. As shown in fig. 10, an operating system, a network communication module, an interface module, and a device control application may be included in the memory 1004, which is one type of computer-readable storage medium.
The network interface 1005 may include a standard wired interface, a wireless interface (e.g., WI-FI interface), as a communication interface, operable to provide data communication functionality; the communication bus 1006 is responsible for connecting the various communication elements; the input device 1001 receives instructions of object input to generate signal inputs related to object settings and function control of a computer device, in one embodiment, the input device 1001 includes one or more of a touch panel, a physical Keyboard or virtual Keyboard (Keyboard), function keys, a mouse, etc.; the output device 1002 is configured to output data information, where in embodiments of the present application, the output device 1002 may be configured to Display a processing interface of a target approval document, display an output preview interface, and so on, and the output device 1002 may include a Display screen (Display) or other Display devices; the processor 1003 is a control center of the computer device, and connects respective parts of the entire computer device by various interfaces and lines, and executes various functions by scheduling execution of a computer program stored in the memory 1004.
The processor 1003 may be configured to invoke a computer program in the memory 1004 to perform operations of displaying a processing interface of the target approval document, where the processing interface displays at least one document content of the target approval document, the document content including text content and multimedia content indicated by a link identifier; the processing interface comprises a triggering component for outputting a target approval document; selecting a triggering component, and displaying an output preview interface of the target approval document; the output preview interface is used for displaying text content in the target approval document and multimedia content indicated by the link identification; and outputting the target approval document according to the content displayed by the output preview interface when the target approval document is determined to be output.
In one embodiment, the target approval document is generated based on content entered by the target approval template; processor 1003 is further configured to: displaying a template configuration interface in terminal equipment of a bill management object; the template configuration interface comprises a control setting component; when the control setting component is triggered, a control setting interface is displayed; a processor 1003, configured to configure controls required by the trial templates in a control setting interface; wherein the configuration includes a business requirement configuration; the business requirement configuration is used for indicating that the control is provided with an output requirement; the configured approval template is published to the application to display the target approval document in the processing interface.
In one embodiment, the template configuration interface comprises M controls and service setting components; m is an integer greater than 1; processor 1003 is further configured to: responding to the triggering of the service setting component, and displaying M controls in a to-be-selected state; the control support in the state to be selected is selected; processor 1003 is further configured to: when one or more of the M controls in the to-be-selected state is selected, an output requirement is set for each control selected.
In one embodiment, the processor 1003 is specifically configured to: displaying a bill management interface, wherein the bill management interface comprises one or more examination and approval bills; one or more approval documents are submitted by different objects; in response to selection of any one of the one or more approval documents, a processing interface of the selected approval document is displayed, the selected approval document being the target approval document.
In one embodiment, the processor 1003 is specifically configured to: a triggering component for selecting an output target approval document, and triggering and displaying the multimedia content indicated by the link identifier in an output preview interface after the multimedia content indicated by the link identifier is output and confirmed; and if the multimedia content indicated by the link identification is not confirmed to be output, the multimedia content is not displayed in the output preview interface.
In one embodiment, the document content of the target approval document includes multimedia content respectively indicated by a plurality of link identifiers; the processor 1003 is specifically configured to: selecting a triggering component for outputting a target approval document, and displaying a link identification list; the link identification list comprises a plurality of link identifications, and one link identification is used for indicating one multimedia content in the bill content; when one or more link identifiers in the link identifier list are selected, an output preview interface of the target approval document is displayed, wherein the output preview interface comprises multimedia content indicated by the selected link identifiers.
In one embodiment, the document content of the target approval document includes multimedia content respectively indicated by a plurality of link identifiers; the display mode of the text content and the multimedia content indicated by the link identifier in the target approval document in the output preview interface comprises any one of the following steps: displaying the interface of the text content and the multimedia content; or the text content and the multimedia content are displayed on the same interface; when the interface of the text content and the multimedia content is displayed, the multimedia content indicated by the different link identifiers is displayed according to the type interface of the multimedia content, or the multimedia content indicated by the different link identifiers is displayed according to the quantity interface of the multimedia content.
In one embodiment, the number of target approval documents includes a plurality, and the plurality of target approval documents relates to one or more business types; the text content displayed in the output preview interface is the text content with output requirements in the target approval document; the display mode of the text content included in the multiple target approval documents in the output preview interface comprises the following steps: text contents with output requirements in target approval documents of the same service type are combined and displayed in the same output preview interface; text contents with output requirements exist in target approval documents of different service types and are displayed in different output preview interfaces.
In one embodiment, the processor 1003 is specifically configured to: selecting a triggering component for outputting a target approval document, and displaying the document content in a selectable state; the individual document content support in the selectable state is selected; and when one or more receipt contents in the selectable state are confirmed to be selected, displaying an output preview interface of the target approval receipt, wherein the output preview interface comprises the selected receipt contents in the target approval receipt, and the selected receipt contents comprise text contents and/or multimedia contents indicated by a link identifier.
In one embodiment, the processor 1003 is specifically configured to: selecting a triggering component for outputting the target approval document, and displaying various typesetting patterns; each typesetting style is used for indicating the content typesetting in the output preview interface; when any one of the typesetting styles is selected, displaying the receipt content with output requirements in the target approval receipt according to the selected typesetting style in an output preview interface of the target approval receipt, wherein the receipt content with output requirements comprises text content and/or multimedia content indicated by a link identifier.
In one embodiment, the processor 1003 is configured to: acquiring a receipt identifier of a target approval receipt and an object identifier of a checked object of the target approval receipt; the processor 1003 is configured to send a document identifier of the target approval document and an object identifier of the viewing object to the server, so that the server invokes the approval engine to perform authentication processing based on the document identifier of the target approval document and the object identifier of the viewing object; if the authentication is passed, acquiring bill content of the target approval bill based on the bill identification of the target approval bill, and returning the bill content to the terminal equipment; and when receiving the bill content of the target approval bill, displaying a processing interface of the target approval bill.
In one embodiment, the processor 1003 is configured to: acquiring template configuration information of a target approval template based on a template identifier of the target approval template corresponding to the target approval document; the template identification of the target approval template is returned by the server after passing the authentication, and the template configuration information comprises configuration information for indicating the service requirement configuration of the target approval template; processor 1003, for: converting document contents with output requirements in at least one document content into output contents in a preset format based on service requirement configuration indicated by the template configuration information; processor 1003, for: and rendering the output content to an output preview interface of the target approval document through a rendering interface.
In one embodiment, the output content includes multimedia content indicated by the link identification; the processor 1003 is specifically configured to: analyzing the multimedia content indicated by the link identifier to obtain analysis content; the analytic content comprises the type of the multimedia content and the multimedia content to be output; and rendering the multimedia content to be output according to a rendering mode matched with the type of the multimedia content, so as to display the multimedia content indicated by the link identification on an output preview interface.
In one embodiment, the processor 1003 is configured to: receiving a configuration request initiated in a template configuration interface; the configuration request is generated based on the issuance of the trial template; based on the configuration request, sending the object identification of the bill management object and template configuration information corresponding to the configured approval template to a server, so that the server calls a template editing interface of the approval engine to authenticate the bill management object, and checking the template configuration information after authentication; and if the verification is passed, updating the configuration of the approval template based on the template configuration information.
It should be understood that the computer device 1000 described in the embodiment of the present application may perform the description of the data processing method in the embodiment corresponding to the foregoing description, and may also perform the description of the data processing apparatus 900 in the embodiment corresponding to the foregoing description of fig. 9, which is not repeated herein. In addition, the description of the beneficial effects of the same method is omitted.
In addition, it should be noted that, in an exemplary embodiment of the present application, a storage medium is further provided, where a computer program of the foregoing data processing method is stored, where the computer program includes program instructions, and when one or more processors loads and executes the program instructions, descriptions of the data processing method in the embodiment may be implemented, and details of beneficial effects of the same method are not repeated herein, and are not repeated herein. It will be appreciated that the program instructions may be executed on one or more computer devices that are capable of communicating with each other.
The computer readable storage medium may be the data processing apparatus provided in any one of the foregoing embodiments or an internal storage unit of the computer device, for example, a hard disk or a memory of the computer device. The computer readable storage medium may also be an external storage device of the computer device, such as a plug-in hard disk, a smart memory card (SMART MEDIA CARD, SMC), a Secure Digital (SD) card, a flash memory card (FLASH CARD), etc. that are provided on the computer device. Further, the computer-readable storage medium may also include both internal storage units and external storage devices of the computer device. The computer-readable storage medium is used to store the computer program and other programs and data required by the computer device. The computer-readable storage medium may also be used to temporarily store data that has been output or is to be output.
In one aspect of the application, a computer program product or computer program is provided that includes computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device performs the method provided in an aspect of the embodiment of the present application.
The steps in the method of the embodiment of the application can be sequentially adjusted, combined and deleted according to actual needs.
The modules in the device of the embodiment of the application can be combined, divided and deleted according to actual needs.
The above disclosure is only a few examples of the present application, and it is not intended to limit the scope of the present application, but it is understood by those skilled in the art that all or a part of the above embodiments may be implemented and equivalents thereof may be modified according to the scope of the present application.
Claims (18)
1. A method of data processing, comprising:
Displaying a processing interface of a target approval document, wherein the processing interface displays at least one document content of the target approval document, and the document content comprises text content and multimedia content indicated by a link identifier; the processing interface comprises a triggering component for outputting the target approval document;
Selecting the triggering component and displaying an output preview interface of the target approval document; the output preview interface is used for displaying text content in the target approval document and multimedia content indicated by the link identification;
And outputting the target approval document according to the content displayed by the output preview interface when the target approval document is determined to be output.
2. The method of claim 1, wherein the target approval document is generated based on content entered by a target approval template; the method further comprises the steps of:
Displaying a template configuration interface in terminal equipment of a bill management object; the template configuration interface comprises a control setting component;
When the control setting component is triggered, a control setting interface is displayed;
Configuring controls required by the trial templates in the control setting interface;
Wherein the configuration comprises a business requirement configuration; the business requirement configuration is used for indicating that the control is provided with an output requirement; the configured approval template is issued to an application program to display the target approval document in the processing interface.
3. The method of claim 2, wherein the template configuration interface includes M controls and service setting components; m is an integer greater than 1; the method further comprises the steps of:
Responding to the triggering of the service setting component, and displaying M controls in a to-be-selected state; the control support in the state to be selected is selected;
When one or more of the M controls in the to-be-selected state are selected, setting the output requirements for the selected controls.
4. The method of claim 1, wherein the displaying the processing interface for the target approval document comprises:
displaying a bill management interface, wherein the bill management interface comprises one or more approval bills; the one or more approval documents are submitted by different objects;
And in response to selection of any one of the one or more approval documents, displaying a processing interface of the selected approval document, wherein the selected approval document is used as the target approval document.
5. The method of any one of claims 1-4, wherein the method further comprises:
The triggering component for outputting the target approval document is selected, and after the multimedia content indicated by the link identifier is output and confirmed, the multimedia content indicated by the link identifier is triggered and displayed in the output preview interface;
And if the multimedia content indicated by the link identification is not confirmed to be output, the multimedia content is not displayed in the output preview interface.
6. The method of any one of claims 1-4, wherein the document content of the target approval document comprises multimedia content respectively indicated by a plurality of link identifiers; the selecting the triggering component, displaying an output preview interface of the target approval document, includes:
Selecting a triggering component for outputting the target approval document, and displaying a link identification list; the link identification list comprises a plurality of link identifications, and one link identification is used for indicating one multimedia content in the receipt content;
And when one or more link identifiers in the link identifier list are selected, displaying an output preview interface of the target approval document, wherein the output preview interface comprises multimedia content indicated by the selected link identifiers.
7. The method of claim 1, wherein the document content of the target approval document comprises multimedia content respectively indicated by a plurality of link identifiers; the display mode of the text content in the target approval document and the multimedia content indicated by the link identifier in the output preview interface comprises any one of the following steps:
displaying the interface of the text content and the multimedia content; or alternatively
Displaying the text content and the multimedia content on the same interface;
when the text content and the multimedia content are displayed at interfaces, the multimedia content indicated by different link identifiers is displayed at interfaces according to the type of the multimedia content, or the multimedia content indicated by different link identifiers is displayed at interfaces according to the quantity of the multimedia content.
8. The method of claim 1, wherein the number of target approval documents includes a plurality, and wherein the plurality of target approval documents relate to one or more business types; the text content displayed in the output preview interface is the text content with output requirements in the target approval document;
The display mode of the text content included in the target approval documents in the output preview interface comprises the following steps:
Text contents with output requirements in target approval documents of the same service type are combined and displayed in the same output preview interface; text contents with output requirements exist in target approval documents of different service types and are displayed in different output preview interfaces.
9. The method of claim 1, wherein the selecting the trigger component to display an output preview interface of the target approval document comprises:
selecting a triggering component for outputting the target approval document, and displaying the document content in a selectable state; the document content support in the selectable state is selected;
And when one or more receipt contents in the optional state are confirmed to be selected, displaying an output preview interface of the target approval receipt, wherein the output preview interface comprises the selected receipt contents in the target approval receipt, and the selected receipt contents comprise text contents and/or multimedia contents indicated by the link identification.
10. The method of claim 1, wherein the selecting the trigger component to display an output preview interface of the target approval document comprises:
selecting a triggering component for outputting the target approval document, and displaying various typesetting patterns; each typesetting style is used for indicating the content typesetting in the output preview interface;
when any typesetting style of the multiple typesetting styles is selected, displaying bill contents with output requirements in the target approval bill according to the selected typesetting style in an output preview interface of the target approval bill, wherein the bill contents with the output requirements comprise text contents and/or multimedia contents indicated by the link identification.
11. The method of claim 1, wherein the displaying the processing interface for the target approval document comprises:
Acquiring a receipt identifier of the target approval receipt and an object identifier of a checked object of the target approval receipt;
The bill identification of the target approval bill and the object identification of the checked object are sent to a server, so that the server calls an approval engine, and authentication processing is carried out based on the bill identification of the target approval bill and the object identification of the checked object; if the authentication is passed, acquiring the receipt content of the target approval receipt based on the receipt identification of the target approval receipt, and returning the receipt content to the terminal equipment;
and when receiving the bill content of the target approval bill, displaying a processing interface of the target approval bill.
12. The method of claim 1, wherein the method further comprises:
acquiring template configuration information of a target approval template based on a template identifier of the target approval template corresponding to the target approval document; the template identification of the target approval template is returned by the server after passing authentication, and the template configuration information comprises configuration information for indicating the service requirement configuration of the target approval template;
Converting document contents with output requirements in the at least one document content into output contents in a preset format based on service requirement configuration indicated by the template configuration information;
and rendering the output content to an output preview interface of the target approval document through a rendering interface.
13. The method of claim 12, wherein the output content comprises multimedia content indicated by a link identification; the rendering the output content to the output preview interface of the target approval document through the rendering interface comprises the following steps:
analyzing the multimedia content indicated by the link identifier to obtain analysis content; the analysis content comprises the type of the multimedia content and the multimedia content to be output;
And rendering the content of the multimedia content to be output according to a rendering mode matched with the type of the multimedia content, so as to display the multimedia content indicated by the link identification on the output preview interface.
14. The method of claim 2, wherein the method further comprises:
Receiving a configuration request initiated in the template configuration interface; the configuration request is generated based on the issuance of the approval template;
based on the configuration request, sending an object identifier of the bill management object and template configuration information corresponding to the configured approval template to a server, so that the server calls a template editing interface of an approval engine to authenticate the bill management object, and after the authentication is passed, checking the template configuration information; and if the verification is passed, updating the configuration of the approval template based on the template configuration information.
15. A data processing apparatus, comprising:
The display module is used for displaying a processing interface of the target approval document, wherein the processing interface displays at least one document content of the target approval document, and the document content comprises text content and multimedia content indicated by a link identifier; the processing interface comprises a triggering component for outputting the target approval document;
The display module is also used for selecting the trigger assembly and displaying an output preview interface of the target approval document; the output preview interface is used for displaying text content in the target approval document and multimedia content indicated by the link identification;
And the output module is used for outputting the target approval document according to the content displayed on the output preview interface when the target approval document is determined to be output.
16. A computer device, comprising:
A processor adapted to execute a computer program;
a computer readable storage medium having stored therein a computer program which, when executed by the processor, performs the data processing method according to any of claims 1-14.
17. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program which, when executed by a processor, performs the data processing method of any of claims 1-14.
18. A computer program product, characterized in that the computer program product comprises a computer program or computer instructions which, when executed by a processor, perform the data processing method according to any of claims 1-14.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202211688623.3A CN118245148A (en) | 2022-12-23 | 2022-12-23 | Data processing method and related equipment |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202211688623.3A CN118245148A (en) | 2022-12-23 | 2022-12-23 | Data processing method and related equipment |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN118245148A true CN118245148A (en) | 2024-06-25 |
Family
ID=91555445
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202211688623.3A Pending CN118245148A (en) | 2022-12-23 | 2022-12-23 | Data processing method and related equipment |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN118245148A (en) |
-
2022
- 2022-12-23 CN CN202211688623.3A patent/CN118245148A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US11829702B2 (en) | Document architecture with fragment-driven role-based access controls | |
| US10671806B2 (en) | Customized customer relationship management platform method and devices | |
| US20220245328A1 (en) | Customizable data management form builder method and devices | |
| US10810365B2 (en) | Workflow system and method for creating, distributing and publishing content | |
| US11112958B2 (en) | Information processing system, service providing system, and flow setting method | |
| US10990642B2 (en) | Methods and systems for securely embedding dashboards into a content management system | |
| JP6770653B2 (en) | Spreadsheet-based software application development | |
| CN111819534B (en) | Spreadsheet-based software application development | |
| US20170169481A1 (en) | Internet-based display material system and internet-based display material producing method | |
| US10922473B1 (en) | System and method for distributed design of a variable data publication | |
| JP6525641B2 (en) | INFORMATION PROCESSING SYSTEM, CONTROL METHOD, AND COMPUTER PROGRAM | |
| US9846689B2 (en) | Method and system to provide portable database functionality in an electronic form | |
| US20090222721A1 (en) | Internet access GUI for mobile devices | |
| WO2009074974A1 (en) | System and process for producing a two-layer document, and a two-layer document produced accordingly | |
| CN118446746A (en) | Object material generation method, system and object material delivery platform | |
| US10200455B2 (en) | Information processing system and method | |
| US11698765B2 (en) | Print system having print content notification, control method, and storage medium | |
| CN102236614A (en) | Information processing apparatus and control method | |
| CN118245148A (en) | Data processing method and related equipment | |
| US20160210644A1 (en) | Marketing application including event and survey development and management | |
| US11880620B2 (en) | Image forming apparatus capable of obtaining and printing file stored in management system, control method therefor, and storage medium | |
| CN115934188B (en) | Online contract agreement configuration using method and system supporting dynamic adjustment | |
| JP2005107635A (en) | Electronic form input system, method, program and medium | |
| KR101499052B1 (en) | A method for building cardbook using knowledge card based on digital information | |
| KR101540605B1 (en) | A kiosk builder system, a tiosk system including the same, and a method of providing a tiosk system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication |