Examination and approval application processing method and device, equipment, storage medium and program product

By introducing an external option trigger control into the approval application, the options provided by the second application are directly displayed and submitted, which solves the problem of difficulty in adapting third-party applications to the approval application and improves adaptation efficiency and user experience.

CN118536918APending Publication Date: 2024-08-23TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310203303.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-02-23
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

In the existing technology, it is difficult to adapt between third-party applications and approved applications, resulting in low adaptation efficiency. It is necessary to develop dedicated API interfaces, authorization processing, data encryption and decryption and other processes, which increases development complexity.

Method used

By providing an external option trigger control in the approval application, users can trigger and select external options provided by the second application, display and submit the options directly in the approval application initiation page, and the developer of the second application only needs to develop an accessible page , there is no need to specifically develop external APIs or handle authorization, encryption and decryption.

Benefits of technology

It greatly simplifies the difficulty of adaptation between third-party applications and approved applications, improves adaptation efficiency, reduces development costs, and improves user experience and office efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118536918A
    Figure CN118536918A
Patent Text Reader

Abstract

The invention discloses an approval application processing method and device, equipment, a storage medium and a program product, and belongs to the technical field of user interface interaction. The method comprises the following steps: displaying an approval page of a first application; the approval page comprises a target approval application initiation control; in response to a received trigger operation on the target approval application initiation control, displaying an approval application initiation page based on an external option; displaying an external option selection page in response to a received triggering operation on a target control in the at least one external option triggering control; the external option selection page is a page provided by a second application; and in response to a received selection operation on a target approval option in the at least one approval option, submitting an approval application based on the target approval option to the first application. According to the scheme, the adaptation efficiency between the first application and the second application is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of user interface interaction technology, and in particular to an approval application processing method, device, equipment, storage medium and program product. Background Art

[0002] Currently, many office applications provide approval functions, through which enterprise employees can submit approval applications online, such as asking for leave, applying for the purchase of office supplies, etc.

[0003] In the related art, an application with an approval function (which may be referred to as an approval application) may provide approval options of a third-party application (such as leave type options, items to be purchased, etc.) for users to select when initiating approval. Specifically, the third-party application may develop an application programming interface (Application Programming Interface, API), and prepare data related to approval options for the API in accordance with the data format supported by the approval application; when a user initiates an approval application through the approval application, the approval application may call the above API, pull data from the third-party application, and generate approval options based on the pulled data for the user to select.

[0004] However, the above solution requires the developers of third-party applications to develop dedicated API interfaces, and also involves authorization processing, data encryption and decryption, business demand matching, etc., which makes the adaptation between third-party applications and approval applications difficult, affecting the adaptation efficiency between third-party applications and approval applications. Summary of the invention

[0005] This application provides a method, device, equipment, storage medium and program product for processing approval applications to improve the adaptation efficiency between third-party applications and approval applications. The technical solution is as follows:

[0006] According to one aspect of the present application, a method for processing an approval application is provided, the method being executed by a first terminal, the method comprising:

[0007] Displaying an approval page of a first application; the first application is an application program with an approval function; the approval page includes a target approval application initiation control;

[0008] In response to receiving a trigger operation on the target approval application initiation control, displaying an approval application initiation page based on external options; the approval application initiation page includes at least one external option trigger control;

[0009] In response to receiving a trigger operation on a target control in the at least one external option trigger control, displaying an external option selection page; the external option selection page is a page provided by a second application, and the external option selection page includes at least one approval option provided by the second application;

[0010] In response to receiving a selection operation of a target approval option among the at least one approval option, submitting an approval application based on the target approval option to the first application.

[0011] According to one aspect of the present application, a method for processing an approval application is provided, the method being executed by a second terminal, the method comprising:

[0012] Displaying an approval configuration page of a first application; the first application is an application program with an approval function; the approval configuration page includes an external option configuration control;

[0013] In response to receiving a trigger operation on the external option configuration control, displaying a configuration page of the external option trigger control;

[0014] Adding the external option trigger control to the approval application initiation page of the first application based on the page parameters received on the configuration page of the external option trigger control;

[0015] Among them, the external option trigger control is used to display the external option selection page corresponding to the external option trigger control when receiving a trigger operation; the external option selection page is a page provided by the second application, and the external option selection page contains at least one approval option provided by the second application.

[0016] According to one aspect of the present application, a device for processing an approval application is provided, the device comprising:

[0017] An approval page display module, used to display an approval page of a first application; the first application is an application program with an approval function; the approval page includes a target approval application initiation control;

[0018] An initiation page display module, configured to display an approval application initiation page based on external options in response to receiving a trigger operation on the target approval application initiation control; the approval application initiation page includes at least one external option trigger control;

[0019] A selection page display module is configured to display an external option selection page in response to receiving a trigger operation on a target control in the at least one external option trigger control; the external option selection page is a page provided by a second application, and the external option selection page includes at least one approval option provided by the second application;

[0020] The application submission module is used to submit an approval application based on the target approval option to the first application in response to receiving a selection operation of a target approval option among the at least one approval option.

[0021] According to one aspect of the present application, a device for processing an approval application is provided, the device comprising:

[0022] A first configuration page display module, used to display an approval configuration page of a first application; the first application is an application program with an approval function; the approval configuration page includes an external option configuration control;

[0023] A second configuration page display module, configured to display a configuration page of the external option trigger control in response to receiving a trigger operation on the external option configuration control;

[0024] A control adding module, configured to add the external option trigger control to the approval application initiation page of the first application based on the page parameters received on the configuration page of the external option trigger control;

[0025] Among them, the external option trigger control is used to display the external option selection page corresponding to the external option trigger control when receiving a trigger operation; the external option selection page is a page provided by the second application, and the external option selection page contains at least one approval option provided by the second application.

[0026] According to another aspect of the present application, a computer device is provided, which includes a processor and a memory, wherein at least one program is stored in the memory, and the at least one program is loaded and executed by the processor to implement the approval application processing method as described above.

[0027] According to another aspect of the present application, a computer-readable storage medium is provided, in which at least one program is stored. The at least one program is loaded and executed by a processor to implement the approval application processing method as described above.

[0028] According to another aspect of the present application, a computer program product is provided, which includes computer instructions stored in a computer-readable storage medium, and a processor reads and executes the computer instructions from the computer-readable storage medium to implement the above-mentioned method for processing approval applications.

[0029] The beneficial effects of the technical solution provided by this application include at least:

[0030] When a user initiates an approval application that supports external options through a first application, an external option trigger control is provided in the approval application initiation page of the first application. After the user triggers the external option trigger control, an external option selection page provided by a second application outside the first application can be displayed, which includes at least one approval option provided by the second application, so that the user can select a target approval option from outside the first application to initiate an approval application. In this solution, the second application directly provides the approval options outside the first application to the first application through a page. The developers of the second application only need to develop an accessible page, and do not need to specifically develop an external API, nor do they need development / implementation processes such as authorization processing, data encryption and decryption, and business needs matching. This greatly simplifies the difficulty of adaptation between the first application and the second application, and improves the adaptation efficiency between the first application and the second application. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0032] Figure 1 is a structural block diagram of a computer system provided by an exemplary embodiment of the present application;

[0033] Figure 2 is a flow chart of a method for processing an approval application provided by an exemplary embodiment of the present application;

[0034] Figure 3 yes Figure 2 A process framework diagram of application approval in the illustrated embodiment;

[0035] Figure 4 is a flow chart of a method for processing an approval application provided by an exemplary embodiment of the present application;

[0036] Figures 5 to 7 It is a schematic diagram of the three interface operations in the application approval process;

[0037] Figure 8 is a flow chart of a method for processing an approval application provided by an exemplary embodiment of the present application;

[0038] Fig. 9 yes Figure 8 A schematic diagram of a configuration page of an external option trigger control involved in the illustrated embodiment;

[0039] Fig.10 is a schematic diagram of displaying a customized container and a secondary page provided by an exemplary embodiment;

[0040] Fig.11 It is a timing diagram of the interaction detailed scheme;

[0041] Fig.12 This is the process framework diagram for the approval application involved in this application;

[0042] Fig.13 is a structural block diagram of an examination and approval application processing device provided by an exemplary embodiment of the present application;

[0043] Fig.14 is a structural block diagram of an examination and approval application processing device provided by an exemplary embodiment of the present application;

[0044] Fig.15 It is a structural block diagram of a computer device provided by an exemplary embodiment of the present application.

[0045] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application. DETAILED DESCRIPTION

[0046] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.

[0047] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.

[0048] The terms used in this disclosure are for the purpose of describing specific embodiments only and are not intended to limit the disclosure. The singular forms of "a", "said" and "the" used in this disclosure and the appended claims are also intended to include plural forms unless the context clearly indicates otherwise. It should also be understood that the term "and / or" used herein refers to and includes any or all possible combinations of one or more associated listed items.

[0049] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions. For example, the object behaviors such as attack operations involved in this application are all obtained with full authorization.

[0050] It should be understood that although the terms first, second, etc. may be used in the present disclosure to describe various information, such information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of the present disclosure, the first parameter may also be referred to as the second parameter, and similarly, the second parameter may also be referred to as the first parameter. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".

[0051] Figure 1 The structure block diagram of a computer system provided by an exemplary embodiment of the present application is shown. The computer system 100 includes: a first terminal 110, a server cluster 120, and a second terminal 130.

[0052] The first terminal 110 has an approval application 111 installed and running, and optionally, a third-party application 112 installed. The approval application 111 supports the functions of initiating an approval application, and approving / reviewing an approval application initiated by others.

[0053] Among them, approval can usually refer to the review and approval of matters submitted by the approval applicant by the approval personnel; correspondingly, the above-mentioned approval application can refer to the request initiated by the approval applicant to the approval personnel, requesting for review and approval of a certain matter.

[0054] Optionally, the above-mentioned approval application may include multiple types, such as leave, reimbursement, expenses, business trips, procurement, overtime, going out, seal use, payment, car use, performance, employment application, regularization application, transfer application, resignation application, etc. Each approval application may correspond to one or more approval options to be selected; for example, an approval application of the leave type may be provided with approval options of multiple leave types to be selected; an approval application of the reimbursement type may be provided with approval options of multiple reimbursement types and multiple expense types to be selected. The third-party application 112 is an application other than the approval application 111, and the third-party application 112 may provide approval options to the approval application 111 for the user to select when initiating an approval application through the approval application 111.

[0055] The second terminal 130 has an approval application 131 installed and running, and optionally, also has a third-party application 132 installed.

[0056] Optionally, the approval application and the third-party application clients installed on the first terminal 110 and the second terminal 130 are the same, or the approval application and the third-party application clients installed on the two terminals are the same type of clients on different operating system platforms (Android or IOS). The first terminal 110 may refer to one of a plurality of terminals, and the second terminal 130 may refer to another of a plurality of terminals. This embodiment is only illustrated by taking the first terminal 110 and the second terminal 130 as examples. The device types of the first terminal 110 and the second terminal 130 are the same or different, and the device types include: at least one of a smart phone, a tablet computer, an e-book reader, an MP3 player, an MP4 player, a laptop portable computer, and a desktop computer.

[0057] Figure 1 Only two terminals are shown, but in different embodiments, there are multiple other terminals 140 that can access the server cluster 120. Optionally, there are one or more terminals 140 that are terminals corresponding to developers, and a development and editing platform for the client of the approval application or the third-party application is installed on the terminal 140. The developer can edit and update the client of the approval application or the third-party application on the terminal 140, and transmit the updated client installation package to the server cluster 120 through a wired or wireless network. The first terminal 110 and the second terminal 130 can download the client installation package from the server cluster 120 to update the client.

[0058] The first terminal 110 , the second terminal 130 , and other terminals 140 are connected to the server cluster 120 via a wireless network or a wired network.

[0059] The server cluster 120 includes at least one of a single server, multiple servers, a cloud computing platform, and a virtualization center. The server cluster 120 includes an approval application server 121 and a third-party application server 122. The approval application server 121 provides background services for the approval application, and the third-party application server 122 provides background services for the third-party application. Optionally, the server cluster 120 undertakes the main computing work, and the terminal undertakes the secondary computing work; or, the server cluster 120 undertakes the secondary computing work, and the terminal undertakes the main computing work; or, the server cluster 120 and the terminal adopt a distributed computing architecture for collaborative computing.

[0060] The method provided in this application provides a solution for providing an approval application with approval options from outside the approval application through a third-party application. This solution can expand the capabilities of the approval application, allowing it to support data sources in other third-party applications in the enterprise other than the approval application as control options, such as selecting a customer from a customer relationship management (CRM) system application, or selecting goods to be purchased from a shopping application, etc. Based on the solution shown in this application, the data between the approval application and the third-party application can be connected, and the data in the third-party application can be directly introduced into the approval process. In addition, the transformation cost of the third-party application is low, and the adaptation efficiency between the third-party application and the approval application is high. At the same time, the professional advantages of each system can be maximized to improve the overall efficiency of the enterprise's online office.

[0061] For ease of understanding, some terms involved in this application are introduced below:

[0062] 1) API, or Application Programming Interface, is a set of standards that applications can use to exchange information and commands with a computer operating system.

[0063] 2) JSAPI: JavaScript API, an interface provided by terminal applications to web applications, which allows web applications to use capabilities that only terminal applications have.

[0064] 3) URL: Uniform Resource Locator is a method of indicating the location of information on the World Wide Web service program of the Internet.

[0065] 4) Webview: Web view, which can be embedded in terminal applications to display web content and is used to achieve hybrid development.

[0066] 5) OAuth: A secure, open and easy-to-use authorization standard.

[0067] 6) Third-party applications: refers to applications other than approval applications and self-built applications of approval applications. Third-party applications can be developed by the enterprise itself, or developed by professional application development companies and provided to the enterprise for use, such as CRM system applications, financial system applications, procurement system applications, etc.

[0068] 7) Administrator: refers to the person who configures the approval template in the approval application. He can edit the control configuration in the template and allow employees to submit approval requests (or approval documents) according to the template after publishing.

[0069] 8) Employee: Submit approval request using the approval template set by the administrator.

[0070] Figure 2The flowchart of the approval application processing method provided by an exemplary embodiment of the present application is shown. The method can be executed by a first terminal, which is a terminal used by the approval initiator user (i.e., the above-mentioned employee). For example, the first terminal can be the above-mentioned Figure 1 The first terminal 110 in the system shown. The method includes:

[0071] Step 210: Display the approval page of the first application; the first application is an application program with an approval function; the approval page includes a target approval application initiation control.

[0072] The above-mentioned approval function may refer to the function of providing the logic and interface for submitting the approval application and the review and approval of the approval application. Figure 1 The approval application installed in the terminal in the system shown.

[0073] In the approval application, there may be one or more approval types of approval pages; the above-mentioned approval types may include leave, reimbursement, expenses, business trips, procurement, overtime, going out, seal use, payment, car use, performance, employment application, regularization application, transfer application, resignation application, etc. The embodiment of this application does not limit the approval type.

[0074] In an embodiment of the present application, when the approval type corresponding to the approval page supports external options, the approval page includes a target approval application initiation control. Optionally, the target approval application initiation control can also be called an approval application initiation control based on external options.

[0075] The external options mentioned above refer to approval options provided by other applications other than the first application.

[0076] Step 220: In response to receiving a trigger operation on a target approval application initiation control, displaying an approval application initiation page based on external options; the approval application initiation page includes at least one external option trigger control.

[0077] In an embodiment of the present application, in an approval application initiation page corresponding to an approval type that supports external approval options, at least one external option trigger control for triggering display of an external option is included.

[0078] Step 230: In response to receiving a trigger operation on a target control in at least one external option trigger control, display an external option selection page; the external option selection page is a page provided by the second application, and the external option selection page includes at least one approval option provided by the second application.

[0079] The second application may be run in the first terminal, or the second application may be run in other computer devices other than the first terminal. For example, the second application may be run in a server in a local area network or the Internet.

[0080] In the embodiment of the present application, different external option trigger controls may correspond to different external option selection methods and / or option sources.

[0081] For example, different external option trigger controls can be used to trigger viewing of single-select or multiple-select external options; or, different external line selection trigger controls can be used to trigger different sets of external options, where different sets of external options can come from one or more third-party applications.

[0082] For example, different external option trigger controls can trigger the display of different external option selection pages. After the user triggers the target control, the first application can display the external option selection page corresponding to the target control.

[0083] Exemplarily, the above-mentioned different external option trigger controls may include at least one external option trigger control supporting a single selection, and an external option trigger control supporting multiple selections.

[0084] The external option selection page may be provided by a third-party application (ie, the second application) other than the first application, that is, developed and set by other developers other than the developers of the first application.

[0085] For example, taking the case where the third-party application is a customer management system application and the approval option in the external option selection page corresponds to the customer in the customer management system application, the external option selection page can be developed and set by the developer of the customer management system application, for example, the enterprise where the user of the approval application is located entrusts the developer of the customer management system application to develop and set it; or, the external option selection page can also be developed and set by the developer of the enterprise where the user is located according to the customers involved in the customer management system application, and imported into the customer management system application.

[0086] Step 240: In response to receiving a selection operation of a target approval option among the at least one approval option, submitting an approval application based on the target approval option to the first application.

[0087] Among them, the above-mentioned approval application can also be called an approval document.

[0088] Optionally, after the user selects the above-mentioned target approval option and clicks OK in the external option selection page, the first application will return to the approval application initiation page, and fill in the target approval option selected by the user from outside the first application (that is, from the second application) in the returned approval application initiation page. After the user selects the approver, cc recipient and other information in the approval application initiation page and clicks OK, the front end of the first application can submit the approval document containing the target approval option to the back end of the first application, and the back end of the first application will send the approval document to the terminals corresponding to the approver and cc recipient for approval.

[0089] In a possible implementation, the above-mentioned approval application includes an access address corresponding to the target approval option; the access address is used to access the option details page; the option details page includes introduction information of the target approval option.

[0090] In an embodiment of the present application, since the target approval option is provided by the second application, the first application may not contain detailed information about the target approval option, and subsequent approvers / cc recipients may need to view the detailed information of the target approval option. In this regard, the approval document submitted by the front end of the first application to the back end of the first application may also carry an access address corresponding to the target approval option so that the approver / cc recipient can view the detailed information of the target approval option through the access address.

[0091] For example, taking the above-mentioned third-party application as a customer management system application, and the above-mentioned access option details page corresponding to the customer details page in the customer management system application, the above-mentioned access option details page can be developed and set by the developer of the customer management system application, for example, the enterprise where the user of the approval application is located entrusts the developer of the customer management system application to develop and set it; or, the above-mentioned access option details page can also be developed and set by the developer of the user's enterprise according to the customers involved in the customer management system application, and imported into the customer management system application.

[0092] Please refer to Figure 3 , which shows a process framework diagram of the application approval process involved in the embodiment of this application. Figure 3 As shown, the process is as follows:

[0093] 1) The first application 31 displays an approval page 31a to the user, and the approval page 31a includes a target approval application initiation control 31a1;

[0094] 2) After the user clicks the target approval application initiation control 31a1, the first application 31 displays the approval application initiation page 31b to the user, and the approval application initiation page 31b includes at least one external option trigger control 31b1;

[0095] 3) After the user clicks on a target control 31b2 in at least one external option trigger control 31b1, the first application 31 requests the second application 32 to obtain an external option selection page 32a corresponding to the target control 31b2, and the external option selection page 32a includes at least one approval option 32a1;

[0096] 4) The first application 31 displays the external option selection page 32a returned by the second application 32 to the user;

[0097] 5) After the user selects at least one target approval option 32b in the external option selection page 32a, the first application 31 submits an approval application based on the target approval option 32b.

[0098] To summarize, in the scheme shown in the embodiment of the present application, when a user initiates an approval application that supports external options through a first application, an external option trigger control is provided in the approval application initiation page of the first application. After the user triggers the external option trigger control, an external option selection page provided by a second application outside the first application can be displayed, which includes at least one approval option provided by the second application, so that the user can select a target approval option from outside the first application to initiate an approval application. In this scheme, the second application directly provides the approval options outside the first application to the first application through a page. The developer of the second application only needs to develop an accessible page, and does not need to specifically develop an external API, nor does it need development / implementation processes such as authorization processing, data encryption and decryption, and business demand matching. This greatly simplifies the difficulty of adaptation between the first application and the second application, and improves the adaptation efficiency between the first application and the second application.

[0099] In addition, in the solution shown in the embodiment of the present application, since the external option selection page is provided by the second application, it will not be restricted to the data format supported by the first application. The developer of the second application can freely customize the external option selection page. For example, different types of approval options such as text, pictures, and videos can be implemented, thereby improving the freedom of implementation of approval options, maximizing the professional advantages of each system, and improving the overall efficiency of the company's online office.

[0100] Based on the above Figure 2 The embodiment shown, Figure 4 A flowchart of a method for processing an approval application provided by an exemplary embodiment of the present application is shown. The method can be executed by a first terminal. Figure 2 In the illustrated embodiment, step 230 may be implemented as step 230a and step 230b:

[0101] Step 230a: In response to receiving a trigger operation on a target control in at least one external option trigger control, calling a first application programming interface API to open a web page view container.

[0102] The WebView container is used to access web pages.

[0103] The first API may be a JSAPI, and the first application may call the first API to open a WebView container, and request access to the external option selection page through the WebView container. In other words, the external option selection page is actually a web page provided by the second application.

[0104] Step 230b: Obtain and display the external option selection page from the second application through the web view container.

[0105] When the WebView container successfully accesses the external option selection page, the external option selection page can be displayed in the WebView container.

[0106] In a possible implementation, the first API is used to pass a page parameter corresponding to a target control to the web page view container;

[0107] The above method of obtaining and displaying the external option selection page from the second application through the web view container includes:

[0108] Requesting an external option selection page from the second application based on the page parameters through the web page view container;

[0109] The external option selection page returned by the second application is displayed through the web view container.

[0110] In an embodiment of the present application, the WebView container can accept the injection of page parameters through the first API, and request access to the external option selection page provided by the second application based on the injected page parameters, so that the first application can accurately open the external page corresponding to the current control, thereby opening up data interaction between the first application and the second application.

[0111] In a possible implementation, the page parameters include the address of the external option selection page and the rendering parameters of the external option selection page;

[0112] Requesting an external option selection page from the second application based on the page parameters through the web page view container includes:

[0113] Accessing the address of the external option selection page through the web view container to pass rendering parameters of the external option selection page to the second application;

[0114] The external option selection page returned by the second application is displayed through the web view container, including:

[0115] The external option selection page rendered and returned by the second application based on the rendering parameters is displayed through the web view container.

[0116] In an embodiment of the present application, in addition to including address information for accessing the external option selection page, the above-mentioned page parameters may also include rendering parameters for instructing the second application to render the external option selection page, so that the content and rendering method of the external option selection page can be customized, thereby improving the display effect of the external option selection page.

[0117] For example, different external option trigger controls correspond to different rendering methods. For example, different external option trigger controls may correspond to different fonts, font sizes, typesetting methods, single selection / multiple selection methods, etc. The second application may render the corresponding external option selection page according to the rendering parameters.

[0118] Correspondingly, when the WebView container accesses the external option selection page through the address of the external option selection page, the rendering parameters can be passed to the second application.

[0119] Optionally, the above page parameters may not include rendering parameters. In this case, the second application may render the external option selection page according to a preset rendering method.

[0120] In a possible implementation, the rendering parameters include at least one of the following:

[0121] The control ID of the target control and the selection type of the approval option in the external option selection page;

[0122] Among them, the selection type includes single selection or multiple selection.

[0123] In the embodiment of the present application, the second application can determine the rendering mode of the external option selection page according to the control identifier of the target control and at least one of the selection types of the approval option in the external option selection page. In other words, the above scheme can indicate the rendering mode through the control identifier and the selection type, providing a new rendering mode indication scheme, which can indicate the rendering effect of the external option selection page from other applications by indirect indication.

[0124] In a possible implementation, the first API is further used to pass historical selection information corresponding to the target control to the webpage view container, where the historical selection information is used to indicate the approval option historically selected in the first terminal in the external option selection page;

[0125] Before displaying the external option selection page rendered and returned by the second application based on the rendering parameters through the web view container, it also includes:

[0126] In response to the second application calling the second API, the historical selection information is sent to the second application through the web view container, so that the second application renders and returns the external option selection page based on the historical selection information and the rendering parameters.

[0127] In a possible implementation, in the external option selection page, the approval option corresponding to the historical selection information is selected by default.

[0128] In an embodiment of the present application, the second application may set the approval option corresponding to the historical selection information to be selected by default in the initially rendered external option selection page.

[0129] A user may initiate multiple approvals in succession. For the same user, the user may temporarily exit the external option selection page during an approval application process. If the user is required to reselect the approval option each time he enters the external option selection page during an approval application process, it will undoubtedly affect the efficiency of initiating the approval application. In addition, for the same user, there is a high probability that the user will select the same target approval option for multiple approvals. If the user is required to select the same target approval option from the external option selection page each time he initiates an approval application, it will also affect the efficiency of initiating the approval application. For this reason, the first application / second application needs to be able to remember the user's historical selection records, and in the subsequent approval application process, render the external option selection page according to the user's historical selection records. For example, in the rendered external option selection page, the approval option that the user may select is in the default selected state. When the user enters the external option selection page multiple times during an approval application process, or selects the same external option multiple times, the user's operation complexity can be reduced and the interaction efficiency can be improved.

[0130] In addition to setting the approval option corresponding to the historical selection information to the selected state by default, the second application can also perform other processing on the initially rendered external option selection page based on the historical selection information. For example, in the external option selection page, the approval option corresponding to the historical selection information is arranged at the top of the external option selection page, etc.

[0131] In a possible implementation, the method further includes:

[0132] In response to the second application calling the third API, the historical selection information is updated based on the target approval option.

[0133] After the user completes the selection operation of the target approval option each time, the second application can call the third API to update the historical selection information in the first terminal according to the target approval option selected this time. For example, the identifier of the target approval option is added to the historical selection information, or the historical selection information is replaced with the identifier of the target approval option selected this time.

[0134] In a possible implementation, after the first terminal submits the approval application through the first application, the first terminal may delete the temporarily stored historical selection information. That is, the historical selection information is used in the current submission of the approval application.

[0135] In another possible implementation, after the first terminal submits the approval application through the first application, the first terminal may retain the above historical selection information so that the user can use the historical selection information the next time he uses the approval submission function. In other words, the above historical selection information may affect the subsequent approval application process.

[0136] The solution provided in the embodiment of the present application can be applied to the process in which an employee of an enterprise initiates an approval application. For example, based on the above solution, the operation interface on the employee side can be as follows:

[0137] Please refer to Figures 5 to 7 , which shows a schematic diagram of three interface operations in the application approval process.

[0138] like Figure 5 As shown, when the current operator has the option control editing authority, if the option comes from an external data source, after clicking the corresponding single-choice control 51 / multiple-choice control 52 (corresponding to the above-mentioned external option trigger control), it will jump to the secondary page.

[0139] like Figure 6 As shown, the secondary page container structure displays "Cancel", "Confirm" buttons and prompt text by default (this page can be configured by the enterprise administrator). In addition, the secondary page container also displays an external option selection page 61.

[0140] like Figure 7 As shown, after the employee makes a selection in the external system, he clicks OK and returns to the approval process, and the selection on the previous page will be filled into the corresponding external option trigger control 71.

[0141] When the employee clicks the selection control again, the selected control will be automatically checked on the external page (adaptation is completed by the external system (i.e. the above-mentioned third-party application)).

[0142] Figure 8 The flowchart of the approval application processing method provided by an exemplary embodiment of the present application is shown. The method can be executed by a second terminal, which is a terminal used by the administrator user (i.e., the above-mentioned administrator). For example, the second terminal can be the above-mentioned Figure 1 The second terminal 130 in the system shown. The method includes:

[0143] Step 810: Display the approval configuration page of the first application; the first application is an application program with an approval function; the approval configuration page includes an external option configuration control.

[0144] In an embodiment of the present application, an administrator user can configure an external option trigger control in the approval application initiation page in the first application so that a subsequent approval requester user can initiate an approval request based on external options based on the external option trigger control.

[0145] Step 820: In response to receiving a trigger operation on the external option configuration control, display a configuration page of the external option trigger control.

[0146] In an embodiment of the present application, when the administrator user triggers the external option configuration control in the approval configuration page, the first application can display the configuration page of the external option trigger control to accept the page parameters of the external option trigger control configuration to be added by the administrator user.

[0147] Step 830: Based on the page parameters received in the configuration page of the external option trigger control, add an external option trigger control in the approval application initiation page of the first application; the external option trigger control is used to display the external option selection page corresponding to the external option trigger control when a trigger operation is received; the external option selection page is a page provided by the second application, and the external option selection page includes at least one approval option provided by the second application.

[0148] The solution provided in the embodiment of the present application can be applied to the administrator of the enterprise to configure the page for employees to initiate approval applications, so that employees can select external options when initiating approval applications. For example, the configuration interface on the administrator side can be as follows:

[0149] Please refer to Fig. 9 , which shows a schematic diagram of the configuration page of the external option trigger control involved in the embodiment of the present application. Fig. 9 As shown, when configuring the template, set the option type through the control setting item 91; for single-select & multi-select controls, two types of option sources are supported: the manually added option 92 is selected by default, and can be switched to configure the associated external option 93. After selecting the associated external option 93, 2 contents can be displayed:

[0150] 1) Displaying a prompt 94, such as "After configuration, clicking the control will jump to the external option selection page. View API documentation". The content of "View API documentation" may be a text link, which will jump to the interface documentation for configuring external options after clicking it;

[0151] 2) Display the external option selection page address input box 95, and check the protocol header (starting with http: / / or https: / / ) when out of focus. If the check is illegal, an error prompt will be given. For example, the prompt can be: Please fill in a legal URL starting with http: / / or https: / / .

[0152] In summary, the solution shown in the embodiment of the present application provides a solution for configuring external options that can be selected by users when initiating an approval application, thereby ensuring the configurability of external options that can be selected by users, and thereby improving the flexibility of providing external options for approval applications.

[0153] In the related art, when providing data in a format supported by the approval application, the option display capability is limited to the selection controls in the approval application, and it is difficult to provide a richer option display method. For example, tree structures, pictures, videos and other options are difficult to support. In addition, since the external system needs to provide a background interface and needs to handle authorization, encryption and decryption, and business needs, the transformation cost is high and the adaptation is difficult. Third-party applications are generally unwilling to connect to the approval, and enterprises have to manually maintain data synchronization between the two systems, which is costly and inefficient.

[0154] In the solution shown in the above-mentioned embodiment of the present application, third-party applications can use the existing page and, after slight adaptation, use it as an external option selection page for approval. The access cost is low, and the option display capability can be fully customized.

[0155] For example, the solution shown in the above embodiment can be implemented on the technical side as follows:

[0156] 1. Management side:

[0157] The option control of template configuration adds option type definition. When the option source is configured as external option, the address of the external option selection page needs to be set at the same time. If it is not set, saving is blocked.

[0158] 2. User terminal side:

[0159] 1) The approval front end initiates the URL to open the external option. The terminal provides a JSAPI to open a customized Webview container. The prompt text is passed in through the JSAPI parameters to solve the customized scenario of submitting scenario text on behalf of the applicant.

[0160] A. When the front-end initiates a new window, add anti-shake to avoid opening multiple windows, and add the control identifier key and selection type when opening a third-party page;

[0161] B. The Webview window needs to support OAuth and open JSAPI injection, and provide two buttons:

[0162] I) Cancel - Close the window directly, which is consistent with swiping right to close;

[0163] II) Confirmation - Do not click before the third-party service notifies you to submit data. For data submission, another JSAPI open to the outside world is agreed upon (see the introduction of point 2) below).

[0164] 2) Provide two open JSAPIs in the customized WebView container, saveApprovalSelectedItems and getApprovalSelectedItems. You need to access the open JSAPI for authentication and wx.config process to allow calls:

[0165] A. saveApprovalSelectedItems: The third-party business actively writes the selected data, which is used to pass to the approval business when the terminal submits the "OK" button;

[0166] B. getApprovalSelectedItems: The third-party service actively reads the selected data and is used to initialize the selected data during the second selection.

[0167] Please refer to Fig.10 , which shows a display diagram of a customized container and a secondary page provided by an exemplary embodiment of the present application. Fig.10 As shown, the custom container 1001 is located at the top of the page, and the secondary page 1002 is located at the lower middle portion of the page.

[0168] 3) When the user clicks the "OK" button on the terminal, the data written by saveApprovalSelectedItems will be called and returned to the approval front end through the success callback of wwapp.approval.openExternalWebview.

[0169] In the approval request process, the detailed interaction sequence diagram between the approval background (the background of the approval application), the approval application subject (the subject of the approval application), and the third-party application can be as follows: Fig.11 As shown:

[0170] S1, the approval background loads the template containing external options and renders the option controls;

[0171] S2, the user clicks the above option control; the approval background calls the JSAPIopenExternalWebview provided by the approval application, passing the external option web page address, the control key, and the control selection type in the parameters;

[0172] S3: The approval application opens a Webview container and requests the third-party application to load the external option selection page in the Webview according to the parameters passed in by the approval backend.

[0173] S4, the third-party application uses its own data to render an external option selection page containing an option list according to the parameters; then, the third-party application returns the external option selection page to the approval application body, which displays it in the Webview container;

[0174] S5, when the user makes a selection in the above-mentioned option list displayed on the external option selection page, the third-party application calls JSAPI (i.e., saveApprovalSelectedItems) to save the user's selection, for example, the approval application temporarily saves the identifier of the option selected by the user;

[0175] The approval application body may temporarily store the identifier of the option selected by the user corresponding to the option control. That is, when there are multiple option controls corresponding to external options, the multiple option controls respectively store their own identifiers of the option selected by the user.

[0176] S6, when the user clicks confirm, the approval application body passes the user's selected option to the approval backend through the callback function of openExternalWebview; the approval backend then submits the approval request based on the option selected by the user;

[0177] S7, when the user clicks on the option control that has been set for the approval option again, the approval background calls the JSAPI openExternalWebview of the approval application body again to open the Webview. At this time, in addition to passing the external option web page address, the control key and the control type, it also carries the identifier of the option that the user has selected and temporarily stored in the approval application body;

[0178] S8, the approval application opens the Webview and loads the external option selection page;

[0179] S9, same as S4, renders the external option selection page;

[0180] S10, the third-party application calls JSAPI (ie, getApprovalSelectedItems) to obtain the temporarily stored identifiers of the options selected by the user from the approval application body;

[0181] S11, the approval application entity returns the identifier of the temporarily stored option to the third-party application;

[0182] S12, the third-party application sets the corresponding option as selected in the external option selection page according to the identifier of the option;

[0183] S13, the third-party application can continue to operate the options selected by the user, and repeat step S5; that is, when the user makes a new selection in the above option list displayed on the external option selection page, the third-party application calls saveApprovalSelectedItems to save the user's new selection, and the approval application temporarily saves the identifier of the option newly selected by the user;

[0184] S14, same as S6; the approval application body transmits the option finally selected by the user to the approval background through a callback, and the approval background updates the option corresponding to the selection control.

[0185] Take the example of an enterprise employee using an approval application to initiate an approval. Please refer to Fig.12 , which shows the process framework diagram of the application approval process involved in this application. Fig.12 As shown, the process is as follows:

[0186] 1) The first application displays the approval application initiation page 1201 to the user.

[0187] 2) After the user clicks on an external option trigger control 1201a (ie, the target control) in the approval application initiation page 1201, the first application opens the webview container 1202 and requests the second application to obtain the external option selection page 1203 corresponding to the target control.

[0188] In this process, the first application may check whether there is a local cache of the identifier 1201b of the option selected by the user stored corresponding to the external option trigger control 1201a;

[0189] If the identifier 1201b exists, when requesting the second application to obtain the external option selection page 1203 corresponding to the target control, the identifier 1201b is also sent to the second application;

[0190] If the identifier 1201b does not exist locally, when requesting the second application to obtain the external option selection page 1203 corresponding to the target control, the identifier of the option selected by the user is not sent.

[0191] 3) The second application renders the external option selection page 1203 , which includes at least one approval option 1203 a .

[0192] If the first application sends the above-mentioned identifier 1201b, then when the second application renders the external option selection page 1203, the identifier corresponding to the identifier 1201b is rendered as a selected state in the external option selection page 1203;

[0193] If the first application does not send the identifier of the option selected by the user, all approval options in the external option selection page 1203 rendered by the second application are in an unselected state.

[0194] 4) The first application presents the external option selection page 1203 to the user.

[0195] 5) The user can select / reselect at least one target approval option 1203b in the external option selection page 1203.

[0196] If all approval options in the external option selection page 1203 are in an unselected state, the user can select one or more approval options as the target approval options.

[0197] If one or more approval options in the external option selection page 1203 are already selected before the user selects them, and the one or more approval options are the options that the user wants to select this time, the user may not select other approval options in the external option selection page 1203;

[0198] If one or more approval options in the external option selection page 1203 are already selected before the user selects them, and the one or more approval options are not the options the user wants to select this time, the user can click on the one or more approval options to cancel the selected status of the one or more approval options, and click on another one or more approval options as the target approval options for this selection.

[0199] If the user performs a selection operation in the external option selection page 1203, the first application uses the identifier of the approval option that is in a selected state after the selection operation to update the identifier 1201b.

[0200] 6) After the user confirms to submit for approval, the first application submits the approval application based on the target approval option 1203b.

[0201] The technical solution shown in the embodiment of the present application has the following beneficial effects:

[0202] Through this solution, third-party applications can provide their own data as options to approval applications without major technical changes. Most third-party applications can use their existing data display pages with slight modifications. And the approval itself does not require major changes. By adding additional configurations on the basis of the original controls, external option support is achieved, and the original layout, printing and other functions are fully retained. The entire docking process is smooth and the user experience is good, achieving a good balance between development costs and user experience. To sum up, there are mainly the following aspects:

[0203] 1) The capabilities of approval applications have been expanded. Data sources are no longer limited to system configuration and user input, which expands the scope of approval;

[0204] 2) It improves the data value of third-party applications, so that third-party data is no longer closed in the system and can play a role in external systems at the same time;

[0205] 3) Improve the office efficiency of enterprises by integrating approval and third-party applications.

[0206] Fig.13 A block diagram of an approval application processing device provided by an exemplary embodiment of the present application is shown.

[0207] The device includes:

[0208] The approval page display module 1301 is used to display the approval page of the first application; the first application is an application program with an approval function; the approval page includes a target approval application initiation control;

[0209] The initiation page display module 1302 is used to display an approval application initiation page based on external options in response to receiving a trigger operation on the target approval application initiation control; the approval application initiation page includes at least one external option trigger control;

[0210] A selection page display module 1303 is configured to display an external option selection page in response to receiving a trigger operation on a target control in the at least one external option trigger control; the external option selection page is a page provided by the second application, and the external option selection page includes at least one approval option provided by the second application;

[0211] The application submission module 1304 is configured to submit an approval application based on the target approval option to the first application in response to receiving a selection operation on a target approval option among the at least one approval option.

[0212] In a possible implementation, the selection page display module 1303 is used to:

[0213] In response to receiving a trigger operation on a target control in the at least one external option trigger control, calling a first application programming interface API to open a web page view container;

[0214] The external option selection page is obtained and displayed from the second application through the web page view container.

[0215] In a possible implementation, the first API is used to pass a page parameter corresponding to the target control to the web page view container;

[0216] The selection page display module 1303 is used to:

[0217] Requesting the external option selection page from the second application based on the page parameters through the web page view container;

[0218] The external option selection page returned by the second application is displayed through the web view container.

[0219] In a possible implementation, the page parameters include the address of the external option selection page and rendering parameters of the external option selection page;

[0220] The selection page display module 1303 is used to:

[0221] Accessing the address of the external option selection page through the web page view container to pass rendering parameters of the external option selection page to the second application;

[0222] The external option selection page rendered and returned by the second application based on the rendering parameters is displayed through the web page view container.

[0223] In a possible implementation, the rendering parameter includes at least one of the following:

[0224] The control identifier of the target control, and the selection type of the approval option in the external option selection page;

[0225] The selection type includes single selection or multiple selection.

[0226] In a possible implementation, the first API is further used to transmit historical selection information corresponding to the target control to the webpage view container, wherein the historical selection information is used to indicate the approval option historically selected in the first terminal in the external option selection page;

[0227] The device also includes: an information sending module, which is used to send the historical selection information to the second application through the web view container in response to the second application calling a second API before the selection page display module 1303 displays the external option selection page rendered and returned by the second application based on the rendering parameters through the web view container, so that the second application renders and returns the external option selection page based on the historical selection information and the rendering parameters.

[0228] In a possible implementation, in the external option selection page, the approval option corresponding to the historical selection information is selected by default.

[0229] In a possible implementation manner, the device further includes:

[0230] An updating module is used for updating the historical selection information based on the target approval option in response to the second application calling a third API.

[0231] In a possible implementation, the approval application includes an access address corresponding to the target approval option; the access address is used to access an option details page; and the option details page includes introduction information of the target approval option.

[0232] To summarize, in the scheme shown in the embodiment of the present application, when a user initiates an approval application that supports external options through a first application, an external option trigger control is provided in the approval application initiation page of the first application. After the user triggers the external option trigger control, an external option selection page provided by a second application outside the first application can be displayed, which includes at least one approval option provided by the second application, so that the user can select a target approval option from outside the first application to initiate an approval application. In this scheme, the second application directly provides the approval options outside the first application to the first application through a page. The developer of the second application only needs to develop an accessible page, and does not need to specifically develop an external API, nor does it need development / implementation processes such as authorization processing, data encryption and decryption, and business demand matching. This greatly simplifies the difficulty of adaptation between the first application and the second application, and improves the adaptation efficiency between the first application and the second application.

[0233] Fig.14 A block diagram of an approval application processing device provided by an exemplary embodiment of the present application is shown.

[0234] The device includes:

[0235] The first configuration page display module 1401 is used to display the approval configuration page of the first application; the first application is an application program with an approval function; the approval configuration page includes an external option configuration control;

[0236] A second configuration page display module 1402, configured to display a configuration page of the external option trigger control in response to receiving a trigger operation on the external option configuration control;

[0237] A control adding module 1403, configured to add the external option trigger control to the approval application initiation page of the first application based on the page parameters received on the configuration page of the external option trigger control;

[0238] Among them, the external option trigger control is used to display the external option selection page corresponding to the external option trigger control when receiving a trigger operation; the external option selection page is a page provided by the second application, and the external option selection page contains at least one approval option provided by the second application.

[0239] In summary, the solution shown in the embodiment of the present application provides a solution for configuring external options that can be selected by users when initiating an approval application, thereby ensuring the configurability of external options that can be selected by users, and thereby improving the flexibility of providing external options for approval applications.

[0240] One point that needs to be explained is that the device provided in the above embodiment only uses the division of the above-mentioned functional modules as an example to implement its functions. In actual applications, the above-mentioned functions can be assigned to different functional modules according to actual needs, that is, the content structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0241] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method; the technical effects achieved by each module performing operations are the same as those in the embodiment of the method, and will not be elaborated here.

[0242] Fig.15 The block diagram of the structure of a computer device 1500 provided by an exemplary embodiment of the present application is shown. The computer device 1500 may be a portable mobile terminal, such as a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III), an MP4 player (Moving Picture Experts Group Audio Layer IV). The computer device 1500 may also be called a user device, a portable terminal, or other names.

[0243] Typically, the computer device 1500 includes a processor 1501 and a memory 1502 .

[0244] The memory 1502 may include one or more computer-readable storage media, which may be tangible and non-transitory. The memory 1502 may also include a high-speed random access memory, and a non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 1502 is used to store at least one instruction, which is used to be executed by the processor 1501 to implement the approval application processing method provided in the embodiment of the present application.

[0245] In some embodiments, the computer device 1500 may further include: a peripheral device interface 1503 and at least one peripheral device. Specifically, the peripheral device includes: at least one of a radio frequency circuit 1504 , a touch display screen 1505 , a camera 1506 , an audio circuit 1507 and a power supply 1508 .

[0246] The peripheral device interface 1503 may be used to connect at least one peripheral device related to I / O (Input / Output) to the processor 1501 and the memory 1502. In some embodiments, the processor 1501, the memory 1502, and the peripheral device interface 1503 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 1501, the memory 1502, and the peripheral device interface 1503 may be implemented on a separate chip or circuit board, which is not limited in this embodiment.

[0247] In some embodiments, the computer device 1500 further includes one or more sensors 1509 , including but not limited to: an acceleration sensor 1510 , a gyroscope sensor 1511 , a pressure sensor 1512 , an optical sensor 1513 , and a proximity sensor 1514 .

[0248] Those skilled in the art will appreciate that the structure shown above does not limit the computer device 1500 , and may include more or fewer components than shown in the figure, or combine certain components, or adopt a different component arrangement.

[0249] In an exemplary embodiment, a chip is also provided, which includes a programmable logic circuit and / or program instructions. When the chip runs on a computer device, it is used to implement the approval application processing method described in the above aspects.

[0250] In an exemplary embodiment, a computer program product is also provided, the computer program product includes computer instructions, the computer instructions are stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor reads and executes the computer instructions from the computer-readable storage medium to implement the approval application processing method provided in the above-mentioned method embodiments.

[0251] In an exemplary embodiment, a computer-readable storage medium is also provided, in which a computer program is stored. The computer program is loaded and executed by a processor to implement the approval application processing method provided by the above-mentioned method embodiments.

[0252] A person skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware or by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk or an optical disk, etc.

[0253] Those skilled in the art should be aware that in one or more of the above examples, the functions described in the embodiments of the present application can be implemented with hardware, software, firmware, or any combination thereof. When implemented using software, these functions can be stored in a computer-readable medium or transmitted as one or more instructions or codes on a computer-readable medium. Computer-readable media include computer storage media and communication media, wherein the communication media include any media that facilitates the transmission of a computer program from one place to another. The storage medium can be any available medium that a general or special-purpose computer can access.

[0254] The above description is only an optional embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application.

Claims

1. A method for processing an approval application, It is characterized in that The method is performed by a first terminal, and includes: Displaying an approval page of a first application; the first application is an application program with an approval function; the approval page includes a target approval application initiation control; In response to receiving a trigger operation on the target approval application initiation control, displaying an approval application initiation page based on external options; the approval application initiation page includes at least one external option trigger control; In response to receiving a trigger operation on a target control in the at least one external option trigger control, displaying an external option selection page; the external option selection page is a page provided by a second application, and the external option selection page includes at least one approval option provided by the second application; In response to receiving a selection operation of a target approval option among the at least one approval option, submitting an approval application based on the target approval option to the first application.

2. The method according to claim 1, It is characterized in that The step of displaying an external option selection page in response to receiving a trigger operation on a target control in the at least one external option trigger control comprises: In response to receiving a trigger operation on a target control in the at least one external option trigger control, calling a first application programming interface API to open a web page view container; The external option selection page is obtained and displayed from the second application through the web page view container.

3. The method according to claim 2, It is characterized in that The first API is used to pass page parameters corresponding to the target control to the web page view container; The acquiring and displaying the external option selection page from the second application through the webpage view container includes: Requesting the external option selection page from the second application based on the page parameters through the web page view container; The external option selection page returned by the second application is displayed through the web view container.

4. The method according to claim 3, It is characterized in that The page parameters include the address of the external option selection page and the rendering parameters of the external option selection page; The requesting the external option selection page from the second application based on the page parameter through the web page view container includes: Accessing the address of the external option selection page through the web page view container to pass rendering parameters of the external option selection page to the second application; The step of displaying the external option selection page returned by the second application through the web page view container includes: The external option selection page rendered and returned by the second application based on the rendering parameters is displayed through the web page view container.

5. The method according to claim 4, It is characterized in that The rendering parameters include at least one of the following: The control identifier of the target control, and the selection type of the approval option in the external option selection page; The selection type includes single selection or multiple selection.

6. The method according to claim 4, It is characterized in that The first API is further used to transfer historical selection information corresponding to the target control to the webpage view container, wherein the historical selection information is used to indicate the approval option historically selected in the first terminal in the external option selection page; Before displaying the external option selection page rendered and returned by the second application based on the rendering parameters through the web page view container, the method further includes: In response to the second application calling the second API, the historical selection information is sent to the second application through the web view container, so that the second application renders and returns the external option selection page based on the historical selection information and the rendering parameters.

7. The method according to claim 6, It is characterized in that In the external option selection page, the approval option corresponding to the historical selection information is selected by default.

8. The method according to claim 6, It is characterized in that The method further comprises: In response to the second application calling a third API, the historical selection information is updated based on the target approval option.

9. The method according to claim 1, It is characterized in that The approval application includes an access address corresponding to the target approval option; the access address is used to access an option details page; and the option details page includes introduction information of the target approval option.

10. A method for processing an approval application, It is characterized in that The method is performed by a second terminal, and the method includes: Displaying an approval configuration page of a first application; the first application is an application program with an approval function; the approval configuration page includes an external option configuration control; In response to receiving a trigger operation on the external option configuration control, displaying a configuration page of the external option trigger control; Adding the external option trigger control to the approval application initiation page of the first application based on the page parameters received on the configuration page of the external option trigger control; Among them, the external option trigger control is used to display the external option selection page corresponding to the external option trigger control when receiving a trigger operation; the external option selection page is a page provided by the second application, and the external option selection page contains at least one approval option provided by the second application.

11. A device for processing approval applications, It is characterized in that The device comprises: An approval page display module, used to display an approval page of a first application; the first application is an application program with an approval function; the approval page includes a target approval application initiation control; An initiation page display module, configured to display an approval application initiation page based on external options in response to receiving a trigger operation on the target approval application initiation control; the approval application initiation page includes at least one external option trigger control; A selection page display module is configured to display an external option selection page in response to receiving a trigger operation on a target control in the at least one external option trigger control; the external option selection page is a page provided by a second application, and the external option selection page includes at least one approval option provided by the second application; The application submission module is used to submit an approval application based on the target approval option to the first application in response to receiving a selection operation of a target approval option among the at least one approval option.

12. A device for processing approval applications, It is characterized in that The device comprises: A first configuration page display module, used to display an approval configuration page of a first application; the first application is an application program with an approval function; the approval configuration page includes an external option configuration control; A second configuration page display module, configured to display a configuration page of the external option trigger control in response to receiving a trigger operation on the external option configuration control; A control adding module, configured to add the external option trigger control to the approval application initiation page of the first application based on the page parameters received on the configuration page of the external option trigger control; Among them, the external option trigger control is used to display the external option selection page corresponding to the external option trigger control when receiving a trigger operation; the external option selection page is a page provided by the second application, and the external option selection page contains at least one approval option provided by the second application.

13. A computer device, It is characterized in that The computer device includes: a processor and a memory, wherein at least one program is stored in the memory; the processor is used to execute the at least one program in the memory to implement the approval application processing method as described in any one of claims 1 to 10.

14. A computer-readable storage medium, It is characterized in that The readable storage medium stores executable instructions, and the executable instructions are loaded and executed by a processor to implement the approval application processing method according to any one of claims 1 to 10.

15. A computer program product, It is characterized in that The computer program product includes computer instructions, which are stored in a computer-readable storage medium. A processor reads and executes the computer instructions from the computer-readable storage medium to implement the approval application processing method as described in any one of claims 1 to 10.