Methods, devices, storage media, and electronic equipment for configuring business template editing permissions
By displaying an editing interface in the business approval application and assigning editing permissions to the first account, the problem of complex business template editing processes is solved, enabling flexible editing and efficient approval.
Patent Information
- Application Number
- CN202210225915.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-07
- Publication Date
- 2026-11-17
- Estimated Expiration
- 2042-03-07
AI Technical Summary
The existing technology has a complex editing process for business templates, resulting in low approval efficiency. Super administrators are not familiar with the business, and adjustments to business templates require reporting through multiple levels.
In the business approval application, a business template editing interface is displayed. The target editing operation is performed through the first type of account to modify the business template and set it to be allowed to be used by the target type of account. The information used by the target type of account is not visible to the first account. Editing permissions are pre-assigned to the first type of account through the second type of account.
The process of editing business templates has been simplified, approval efficiency has been improved, and the first account is allowed to customize and edit business templates, preventing information from being viewed by the first account and meeting business needs.
Smart Images

Figure CN116776302B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of computers, and more specifically, to a method and apparatus for configuring business template editing permissions, a storage medium, and an electronic device. Background Technology
[0002] Users can submit various pending approval information based on business templates in the business approval application. In related technologies, after submitting pending approval information, users select the required business template from the existing templates, and then submit the pending approval information based on the selected template. After the pending approval information is submitted, the client processes the pending approval information based on the selected business template.
[0003] However, the aforementioned technologies can only submit and process applications for approval using existing business templates. The submission and processing methods for information pending approval are fixed and inflexible. When business personnel need to adjust the business template, they usually need to submit the request to the business supervisor, who then reports it to the template management department. The super administrator then modifies the business template. However, the super administrator is not familiar with the business, so all adjustments to the business template based on business needs need to be reported layer by layer, making the process of editing the business template quite complex.
[0004] There is currently no effective solution to the above problems. Summary of the Invention
[0005] This application provides a method and apparatus for configuring business template editing permissions, a storage medium, and an electronic device, to at least solve the technical problem in the related art where the process of editing business templates is too complicated, resulting in low approval efficiency.
[0006] According to one aspect of the embodiments of this application, a method for configuring business template editing permissions is provided, comprising: displaying a business template editing interface in a business approval application, wherein the login account of the business approval application is a first account of a first type, the first account is an account of a second account pre-assigned with a first editing permission, and the type of the second account is a second type different from the first type; obtaining a target editing operation performed by the first account on the business template editing interface; and, in the case where the first editing permission includes the permission to modify an existing business template, and the target editing operation is a modification operation performed on an existing first business template, in response to the target editing operation, modifying the first business template into a second business template, and setting the second business template to be allowed to be used by an account of the target type, wherein information generated by the target type account using the second business template is set to be invisible to the first account.
[0007] Optionally, the method further includes: when the first editing permission includes the permission to create a business template, and the target editing operation is an editing operation for creating a third business template, in response to the target editing operation, creating the third business template, and setting the third business template to be allowed to be used by the target type of account, wherein the information generated by the target type of account using the third business template is set to be invisible to the first account.
[0008] Optionally, displaying the business template editing interface in the business approval application includes one of the following: when the first editing permission is the permission to modify an existing business template, the business template editing interface is displayed in the business approval application, and a set of business template identifiers is displayed on the business template editing interface, wherein each business template identifier in the set of business template identifiers is used to represent a business template that has been created and is allowed to be modified by the first account; when the first editing permission is the permission to create a business template, the business template editing interface is displayed in the business approval application, and a target control is displayed on the business template editing interface, wherein the target control is used to create a business template; when the first editing permission includes the permission to modify an existing business template and the permission to create a business template, the business template editing interface is displayed in the business approval application, and the set of business template identifiers and the target control are displayed on the business template editing interface.
[0009] Optionally, setting the second business template to be usable by accounts of the target type includes: when accounts of the first type other than those assigned the first editing permission are prohibited from modifying the created business template, setting the second business template to be usable by accounts of the first type, wherein the target type of account is an account of the first type, and information generated by accounts of the first type other than the first account using the second business template is set to be invisible to the first account; or when the target type of account is an account of the third type, and accounts of the third type are prohibited from modifying the created business template, setting the second business template to be usable by accounts of the third type, wherein the first type, the second type, and the third type are different types.
[0010] Optionally, setting the third business template to be usable by the target type of account includes: setting the third business template to be usable by the first type of account when accounts other than those assigned the first editing permission are prohibited from creating business templates, or prohibited from creating business templates and modifying existing business templates, wherein the target type of account is the first type of account, and information generated by accounts other than the first account using the third business template is set to be invisible to the first account; or setting the third business template to be usable by the third type of account when the target type of account is the third type of account, the third type of account is prohibited from creating business templates, or prohibited from creating business templates and modifying existing business templates, wherein the first type, the second type, and the third type are different types.
[0011] Optionally, the method further includes: when the first business template is modified into a second business template, setting the information generated by the target type account using the second business template to be visible to the second account.
[0012] Optionally, the method further includes: obtaining the permission configuration operation performed by the second account on the permission configuration interface of the second account; and in response to the permission configuration operation, assigning the first editing permission to the first account.
[0013] Optionally, assigning the first editing permission to the first account includes one of the following: assigning the first account permission to modify an existing business template, wherein information generated when the modified business template is used is invisible to the first account; assigning the first account permission to create a business template, wherein information generated when the business template created by the first account is used is invisible to the first account; or assigning the first account both permission to modify an existing business template and permission to create a business template, wherein information generated when the modified business template is used is invisible to the first account, and information generated when the business template created by the first account is used is invisible to the first account.
[0014] Optionally, granting the first account permission to modify the created business template includes at least one of the following: granting the first account permission to modify the processing rules of the created business template, wherein the processing rules are used to indicate the processing method for the pending approval information corresponding to the created business template; granting the first account permission to modify the functional controls of the created business template, wherein the functional controls refer to the controls used when editing the pending approval information; granting the first account permission to modify the processing flow of the created business template, wherein the processing flow is used to indicate the processing steps for the pending approval information.
[0015] According to another aspect of the embodiments of this application, a method for configuring business template editing permissions is also provided, comprising: obtaining a permission configuration operation performed by the second account on the permission configuration interface of the second account, wherein the type of the second account is a second type, and the second account is an account that is allowed to be assigned business template editing permissions; in response to the permission configuration operation, assigning a first editing permission to a first account, wherein the type of the first account is a first type different from the second type, and when the first editing permission includes the permission to modify an already created business template, the information generated when the modified business template by the first account is used is invisible to the first account.
[0016] Optionally, assigning the first editing permission to the first account includes one of the following: assigning the first account permission to modify an existing business template, wherein information generated when the modified business template is used is invisible to the first account; assigning the first account permission to create a business template, wherein information generated when the business template created by the first account is used is invisible to the first account; or assigning the first account both permission to modify an existing business template and permission to create a business template, wherein information generated when the modified business template is used is invisible to the first account, and information generated when the business template created by the first account is used is invisible to the first account.
[0017] Optionally, granting the first account permission to modify the created business template includes at least one of the following: granting the first account permission to modify the processing rules of the created business template, wherein the processing rules are used to indicate the processing method for the pending approval information corresponding to the created business template; granting the first account permission to modify the functional controls of the created business template, wherein the functional controls refer to the controls used when editing the pending approval information; granting the first account permission to modify the processing flow of the created business template, wherein the processing flow is used to indicate the processing steps for the pending approval information.
[0018] According to another aspect of the embodiments of this application, a configuration device for business template editing permissions is also provided, comprising: a display module, configured to display a business template editing interface in a business approval application, wherein the login account of the business approval application is a first account of a first type, the first account is an account of a second account pre-assigned with a first editing permission, and the type of the second account is a second type different from the first type; a first acquisition module, configured to acquire a target editing operation performed by the first account on the business template editing interface; and a modification module, configured to, in response to the target editing operation, modify the first business template into a second business template and set the second business template to be allowed to be used by an account of the target type when the first editing permission includes the permission to modify an existing business template and the target editing operation is a modification operation performed on an existing first business template, and set the second business template to be allowed to be used by an account of the target type, wherein information generated by the account of the target type using the second business template is set to be invisible to the first account.
[0019] Optionally, the device is further configured to: when the first editing permission includes the permission to create a business template and the target editing operation is an editing operation for creating a third business template, in response to the target editing operation, create the third business template and set the third business template to be allowed to be used by the target type of account, wherein the information generated by the target type of account using the third business template is set to be invisible to the first account.
[0020] Optionally, the device is configured to display a business template editing interface in a business approval application in one of the following ways: when the first editing permission is the permission to modify an existing business template, the business template editing interface is displayed in the business approval application, and a set of business template identifiers is displayed on the business template editing interface, wherein each business template identifier in the set of business template identifiers is used to represent a business template that has been created and is allowed to be modified by the first account; when the first editing permission is the permission to create a business template, the business template editing interface is displayed in the business approval application, and a target control is displayed on the business template editing interface, wherein the target control is used to create a business template; when the first editing permission includes the permission to modify an existing business template and the permission to create a business template, the business template editing interface is displayed in the business approval application, and the set of business template identifiers and the target control are displayed on the business template editing interface.
[0021] Optionally, the device is configured to set the second business template to be usable by accounts of the target type in the following manner: when accounts of the first type other than those assigned the first editing permission are prohibited from modifying the created business template, the second business template is set to be usable by accounts of the first type, wherein the target type of account is an account of the first type, and information generated by accounts of the first type other than the first account using the second business template is set to be invisible to the first account; or when the target type of account is an account of the third type, and the accounts of the third type are prohibited from modifying the created business template, the second business template is set to be usable by accounts of the third type, wherein the first type, the second type, and the third type are different types.
[0022] Optionally, the device is configured to set the third business template to be usable by accounts of the target type in the following manner: when accounts of the first type other than those assigned the first editing permission are prohibited from creating business templates, or are prohibited from creating business templates and modifying existing business templates, the third business template is set to be usable by accounts of the first type, wherein the target type of account is an account of the first type, and information generated by accounts of the first type other than the first account using the third business template is set to be invisible to the first account; or when the target type of account is an account of the third type, and the account of the third type is prohibited from creating business templates, or is prohibited from creating business templates and modifying existing business templates, the third business template is set to be usable by accounts of the third type, wherein the first type, the second type, and the third type are different types.
[0023] Optionally, the device is further configured to: when the first business template is modified into a second business template, set the information generated by the target type account using the second business template to be visible to the second account.
[0024] Optionally, the device is further configured to: obtain the permission configuration operation performed by the second account on the permission configuration interface of the second account; and in response to the permission configuration operation, assign the first editing permission to the first account.
[0025] Optionally, the device is configured to assign the first editing permission to the first account in one of the following ways: assigning the first account permission to modify an existing business template, wherein information generated when the modified business template is used by the first account is invisible to the first account; assigning the first account permission to create a business template, wherein information generated when the business template created by the first account is used is invisible to the first account; assigning the first account both permission to modify an existing business template and permission to create a business template, wherein information generated when the modified business template is used by the first account is invisible to the first account, and information generated when the business template created by the first account is used is invisible to the first account.
[0026] Optionally, the device is configured to grant the first account permission to modify the created business template in one of the following ways: granting the first account permission to modify the processing rules of the created business template, wherein the processing rules are used to indicate the processing method for the pending approval information corresponding to the created business template; granting the first account permission to modify the functional controls of the created business template, wherein the functional controls refer to the controls used when editing the pending approval information; granting the first account permission to modify the processing flow of the created business template, wherein the processing flow is used to indicate the processing steps for the pending approval information.
[0027] According to another aspect of the embodiments of this application, a configuration device for business template editing permissions is also provided, including:
[0028] The second acquisition module is used to acquire the permission configuration operation performed by the second account on the permission configuration interface of the second account, wherein the type of the second account is the second type, and the second account is an account that is allowed to be assigned the permission to edit business templates;
[0029] The allocation module is used to allocate a first editing permission to a first account in response to the permission configuration operation. The first account is of a first type that is different from the second type. When the first editing permission includes the permission to modify the created business template, the information generated when the modified business template is used by the first account is invisible to the first account.
[0030] Optionally, the device is used to assign the first editing permission to the first account in one of the following ways:
[0031] The first account is granted permission to modify the created business templates, wherein the information generated when the modified business templates are used by the first account is invisible to the first account.
[0032] The first account is granted permission to create business templates, wherein the information generated when the business template created by the first account is used is invisible to the first account.
[0033] The first account is granted permissions to modify existing business templates and to create new business templates. Information generated when a modified business template is used by the first account is invisible to the first account, and information generated when a business template created by the first account is used is also invisible to the first account.
[0034] Optionally, the device is configured to grant the first account permission to modify the created business template in one of the following ways:
[0035] The first account is granted permission to modify the processing rules for the created business template, wherein the processing rules are used to indicate the processing method for the pending approval information corresponding to the created business template;
[0036] Assign the first account permission to modify the functional controls of the created business template, wherein the functional controls refer to the controls used when editing the information to be approved;
[0037] The first account is granted permission to modify the processing flow of the created business template, wherein the processing flow is used to indicate the processing steps for the information to be approved.
[0038] According to another aspect of the embodiments of this application, a computer-readable storage medium is also provided, wherein a computer program is stored in the computer program, and the computer program is configured to execute the above-mentioned configuration method for business template editing permissions at runtime.
[0039] According to another aspect of the embodiments of this application, a computer program product or computer program is provided, which includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the configuration method for business template editing permissions as described above.
[0040] According to another aspect of the embodiments of this application, an electronic device is also provided, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to execute the above-described configuration method for business template editing permissions through the computer program.
[0041] In this embodiment, a business template editing interface is displayed in the business approval application. The login account for the business approval application is a first account of a first type. The first account is an account pre-assigned with first editing permissions by a second account. The second account is of a different type than the first account. On the business template editing interface, the target editing operation performed by the first account is obtained. If the first editing permissions include the permission to modify an existing business template, and the target editing operation is a modification operation performed on the existing first business template, in response to the target editing operation, the first business template is modified into a second business template, and the second business template is set to be allowed to be used by accounts of the target type. The target type account uses the first... The information generated by the second business template is set to be invisible to the first account. By pre-assigning first editing permissions to the first account of the first type by the second type of second account, the first account is allowed to edit the first business template. After the first account edits the first business template, the information generated by the target type account using the second business template is invisible to the first account. This allows the first account to edit the business template while preventing the first account from viewing the information generated by the business template. This achieves the technical effect of simplifying the business template editing process and improving approval efficiency. In turn, it solves the technical problem of the business template editing process being too complicated, resulting in low approval efficiency in related technologies. Attached Figure Description
[0042] The accompanying drawings, which are included to provide a further understanding of this application and form part of this application, illustrate exemplary embodiments and are used to explain this application, but do not constitute an undue limitation of this application. In the drawings:
[0043] Figure 1 This is a schematic diagram of an application environment for an optional business template editing permission configuration method according to an embodiment of this application;
[0044] Figure 2 This is a flowchart illustrating an optional method for configuring business template editing permissions according to an embodiment of this application;
[0045] Figure 3 This is a schematic diagram illustrating an optional method for configuring business template editing permissions according to an embodiment of this application;
[0046] Figure 4 This is a schematic diagram illustrating another optional method for configuring business template editing permissions according to an embodiment of this application;
[0047] Figure 5 This is a schematic diagram illustrating another optional method for configuring business template editing permissions according to an embodiment of this application;
[0048] Figure 6 This is a schematic diagram illustrating another optional method for configuring business template editing permissions according to an embodiment of this application;
[0049] Figure 7 This is a schematic diagram illustrating another optional method for configuring business template editing permissions according to an embodiment of this application;
[0050] Figure 8 This is a schematic diagram illustrating another optional method for configuring business template editing permissions according to an embodiment of this application;
[0051] Figure 9 This is a schematic diagram illustrating another optional method for configuring business template editing permissions according to an embodiment of this application;
[0052] Figure 10 This is a schematic diagram illustrating another optional method for configuring business template editing permissions according to an embodiment of this application;
[0053] Figure 11 This is a schematic diagram illustrating another optional method for configuring business template editing permissions according to an embodiment of this application;
[0054] Figure 12 This is a schematic diagram illustrating another optional method for configuring business template editing permissions according to an embodiment of this application;
[0055] Figure 13 This is a schematic diagram illustrating another optional method for configuring business template editing permissions according to an embodiment of this application;
[0056] Figure 14 This is a schematic diagram illustrating another optional method for configuring business template editing permissions according to an embodiment of this application;
[0057] Figure 15 This is a schematic diagram illustrating another optional method for configuring business template editing permissions according to an embodiment of this application;
[0058] Figure 16 This is a schematic diagram illustrating another optional method for configuring business template editing permissions according to an embodiment of this application;
[0059] Figure 17 This is a schematic diagram illustrating another optional method for configuring business template editing permissions according to an embodiment of this application;
[0060] Figure 18 This is a schematic diagram illustrating another optional method for configuring business template editing permissions according to an embodiment of this application;
[0061] Figure 19This is a schematic diagram illustrating another optional method for configuring business template editing permissions according to an embodiment of this application;
[0062] Figure 20 This is a schematic diagram illustrating another optional method for configuring business template editing permissions according to an embodiment of this application;
[0063] Figure 21 This is a schematic diagram illustrating another optional method for configuring business template editing permissions according to an embodiment of this application;
[0064] Figure 22 This is a schematic diagram illustrating another optional method for configuring business template editing permissions according to an embodiment of this application;
[0065] Figure 23 This is a schematic diagram illustrating another optional method for configuring business template editing permissions according to an embodiment of this application;
[0066] Figure 24 This is a schematic diagram illustrating another optional method for configuring business template editing permissions according to an embodiment of this application;
[0067] Figure 25 This is a schematic diagram illustrating another optional method for configuring business template editing permissions according to an embodiment of this application;
[0068] Figure 26 This is a schematic diagram illustrating another optional method for configuring business template editing permissions according to an embodiment of this application;
[0069] Figure 27 This is a schematic diagram illustrating another optional method for configuring business template editing permissions according to an embodiment of this application;
[0070] Figure 28 This is a schematic diagram of the structure of an optional business template editing permission configuration device according to an embodiment of this application;
[0071] Figure 29 This is a structural diagram of a product with an optional business template editing permission configuration according to an embodiment of this application;
[0072] Figure 30 This is a schematic diagram of the structure of an optional electronic device according to an embodiment of this application. Detailed Implementation
[0073] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort should fall within the scope of protection of the present application.
[0074] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0075] First, some nouns or terms that appear in the description of the embodiments of this application shall be interpreted as follows:
[0076] Administrators of business approval applications can be categorized into the following roles:
[0077] Super Administrator (Super Manager): Similar to the enterprise super administrator, possessing the ability to edit configuration rules and view records for all templates and configurations of business approval applications;
[0078] Application Administrator: The super administrator can assign the role of business approval application manager to members. They can manage the approval templates created by the business approval application and have full permissions to edit configuration rules and view export records for the approval templates they create.
[0079] Template Assistant: Super admins can assign the Template Assistant role to members, who can help manage the editing configuration rules of a specified template and view export records. They cannot manage other templates besides the specified template.
[0080] Template Editor: Super admins can grant members template editing permissions. They can create and edit templates on mobile devices, but can only edit their own templates and do not have permission to view related records.
[0081] The present application will be described below with reference to embodiments:
[0082] According to one aspect of the embodiments of this application, a method for configuring business template editing permissions is provided. Optionally, in the embodiments of this application, the above-described method for configuring business template editing permissions can be applied to, for example... Figure 1 The hardware environment shown consists of server 101 and terminal device 103. For example... Figure 1 As shown, server 101 is connected to terminal 103 via a network and can be used to provide services to terminal devices or applications installed on terminal devices. The applications can be video applications, instant messaging applications, browser applications, educational applications, game applications, etc. Database 105 can be set up on the server or independently of the server to provide data storage services for server 101, such as a business data storage server. The network can include, but is not limited to, wired networks and wireless networks. The wired network includes local area networks, metropolitan area networks, and wide area networks. The wireless network includes Bluetooth, WIFI, and other networks that enable wireless communication. Terminal device 103 can be a terminal configured with an application, and can include, but is not limited to, at least one of the following: mobile phones (such as Android phones, iOS phones, etc.), laptops, tablets, PDAs, MIDs (Mobile Internet Devices), PADs, desktop computers, smart TVs, wearable devices, in-vehicle devices, and other computer devices. The server can be a single server, a server cluster composed of multiple servers, or a cloud server. The application 107 using the above-mentioned configuration method for business template editing permissions is displayed through terminal device 103 or other connected display devices. The application 107 can be any application with template configuration function.
[0083] Combination Figure 1 As shown, the configuration method for the above-mentioned business template editing permissions can be implemented on terminal device 103 through the following steps:
[0084] S1, The business template editing interface is displayed in the business approval application of the terminal device 103. The login account of the business approval application is the first account of the first type. The first account is the account of the second account that has been pre-assigned the first editing permission. The type of the second account is the second type, which is different from the first type.
[0085] S2, obtain the target editing operation to be performed by the first account on the business template editing interface of terminal device 103;
[0086] S3, if the first editing permission includes the permission to modify the created business template, and the target editing operation is a modification operation performed on the created first business template, in response to the target editing operation, the terminal device 103 modifies the first business template into a second business template, and sets the second business template to be allowed to be used by the target type account, wherein the information generated by the target type account using the second business template is set to be invisible to the first account.
[0087] Optionally, in this embodiment, the user can customize the service template on terminal 103. For example, such as... Figure 1 As shown, terminal 103 includes a UI (User Interface) layer, a logic layer, and a storage layer. During the configuration of the business template (same as the editing below), the logic layer obtains data from the storage layer and renders the UI layer using its engine to display the configuration interface of the business template. The logic layer includes a rule engine for parsing rule configurations to display processing rules, a control engine for parsing control configurations to display functional controls, and a process engine for parsing process configurations to display the processing flow. The storage layer includes a rule storage module for storing all rule information and configured rule configuration information, a control storage module for storing all control information and configured control configuration information, and a process configuration module for storing all process information and configured process information.
[0088] Optionally, in this embodiment of the application, the above-mentioned method for configuring business template editing permissions can also be implemented through a server, for example, Figure 1 It can be implemented in server 101 shown; or it can be implemented jointly by the user terminal and the server.
[0089] The above is merely an example, and this embodiment does not impose any specific limitations.
[0090] Alternatively, as an alternative implementation method, such as Figure 2 As shown, the configuration method for the above-mentioned business template editing permissions includes:
[0091] S202, The business template editing interface is displayed in the business approval application. The login account of the business approval application is the first account of the first type. The first account is the account of the second account that has been pre-assigned the first editing permission. The type of the second account is a second type that is different from the first type.
[0092] S204, Obtain the target editing operation to be performed by the first account on the business template editing interface;
[0093] S206, if the first editing permission includes the permission to modify the created business template, and the target editing operation is a modification operation performed on the created first business template, in response to the target editing operation, the first business template is modified into a second business template, and the second business template is set to be allowed to be used by the target type account, wherein the information generated by the target type account using the second business template is set to be invisible to the first account.
[0094] Optionally, in this application embodiment, the above-mentioned business approval application may include, but is not limited to, a business approval application pre-installed on the terminal or server. It may include, but is not limited to, an approval application configured to be associated with one or more business combinations. The approval application may be any application with approval template function, and this application embodiment does not limit this.
[0095] Optionally, in this embodiment, the application can be an application that needs to be downloaded and installed, or it can be an application that can be used immediately. This embodiment does not limit the application in this way.
[0096] Optionally, in this embodiment of the application, the business template editing interface displayed in the above-mentioned business approval application may include, but is not limited to, business templates associated with one or more business combinations. The above-mentioned login account is an account registered on the server or a mobile phone number or other account that is allowed to log in to the above-mentioned business approval application. The above-mentioned first type of account is an account that uses the above-mentioned business template. The above-mentioned first account is an account in the first type of account that has been pre-assigned first editing permissions by the second account, for example, a regular account. The above-mentioned second type of account is an account that is allowed to be assigned editing permissions, for example, a super administrator account.
[0097] For example, Figure 3 This is a schematic diagram illustrating an optional method for configuring business template editing permissions according to an embodiment of this application, as shown below. Figure 3 As shown, taking a business approval application as an example of a company's office business approval application, the second account assigns the first editing permission to the first account in the following way:
[0098] S1, through the permission allocation interface, set permissions and determine the first account in the first type of account;
[0099] S2 assigns first editing permissions to the first account, where the first account is... Figure 3 The second account shown is the super administrator account for logging into the business approval application.
[0100] Optionally, in this embodiment of the application, the first editing permission may include, but is not limited to, the permission to modify, delete, or add to the business template.
[0101] For example, Figure 4 This is a schematic diagram illustrating another optional method for configuring business template editing permissions according to an embodiment of this application, such as... Figure 4 As shown, taking a business approval application as an example of a company's office business approval application, the first editing permission mentioned above is the permission to edit the approval process of the business approval template. After obtaining the "+" interaction operation for adding an approval process in the approval process interface, the options included in the allowed approval processes are displayed, including but not limited to "Add Approver" and "Add Copy Person". After performing the interaction operation for "Add Approver", the display interface of the current business approval application can be switched to the display interface for setting the approver.
[0102] For example, Figure 5 This is a schematic diagram illustrating another optional method for configuring business template editing permissions according to an embodiment of this application, as shown below. Figure 5 As shown, this may include, but is not limited to, the application of... Figure 4 After performing the "Add Approver" interactive operation, the editing interface for setting approvers is displayed. Users can interact with the included interactive controls to add the corresponding approver process to the workflow. Figure 5 The approval process is shown below.
[0103] The above is merely an example; other editing methods are not specifically limited in this application embodiment.
[0104] Optionally, in this embodiment, the aforementioned business template editing interface may include, but is not limited to, an interface for modifying, deleting, and adding business templates. During the modification, deletion, and addition process, the editing may specifically include, but is not limited to, editing the processing rules, functional controls, and processing flow of the business template through the editing interface. This embodiment provides a method for configuring business template editing permissions. A second account pre-assigns a first editing permission to a first account, allowing the first account to customize the business template it uses. When the first account uses a target editing operation to modify the first business template into a second business template, users can flexibly edit business templates that meet their own business needs. Simultaneously, it prevents the account authorized to modify the business template from viewing related business information. This allows business department members to edit business templates promptly in a visual interface, reducing the need for layer-by-layer approval processes from the template management department when editing business templates. It also ensures that the editing of business templates better meets the usage needs of business department members, simplifies user operations, effectively reduces the difficulty of editing business templates in code, and improves the efficiency of business template editing.
[0105] Optionally, in this embodiment, the aforementioned first business template refers to a template that is being edited. In this embodiment, when editing the first business template, an editing interface for the first business template is displayed. The editing interface refers to the interface used to edit the first business template, and this editing interface includes a rule editing area, a control editing area, and a process editing area.
[0106] Optionally, the first business template may be a template that has never been edited before, and the user can edit the first business template through its editing interface; or, the first business template may be a template that has been edited before, and the user can edit and modify it through its editing interface. The previously edited template may be a system-recommended template or an existing template edited by any user.
[0107] In one possible implementation, the first business template is a template that has never been edited before. Optionally, when the client detects that a user has triggered a template creation operation, it obtains the display elements of the editing interface and displays the corresponding interface for the first business template based on those display elements.
[0108] In another possible implementation, the first service template is a previously edited template. Optionally, when the client detects that a user has triggered a template creation operation for the first service template, it obtains the template editing information of the first service template and displays the corresponding interface based on the template editing information.
[0109] Optionally, the template creation operation described above can be a touch operation (such as a click operation, a drag operation, etc.), a voice operation, a gesture operation, etc., and this application embodiment does not limit this.
[0110] Optionally, in this embodiment of the application, the user can also edit other information in the editing interface.
[0111] For example, Figure 6 This is a schematic diagram illustrating another optional method for configuring business template editing permissions according to an embodiment of this application, as shown below. Figure 6 As shown, in the editing interface 60, the user can edit the template name 61, template icon 62, and template group 63, etc. When the user's editing operation on the template icon 62 is detected, the template icon display interface 64 is displayed, which includes at least one template icon selection option 65. The aforementioned template group 63 may include administrative, financial, human resources, etc., but this embodiment does not limit this.
[0112] Optionally, in this embodiment of the application, the second business template being set to be usable by the target type of account may include, but is not limited to, the second business template being set to be usable by members corresponding to one or more business combinations, the members of the business team being pre-configured as target type accounts, and when the target type account uses the second business template, the generated business data and other information are set to be invisible to the first account.
[0113] For example, Figure 7 This is a schematic diagram illustrating another optional method for configuring business template editing permissions according to an embodiment of this application, as shown below. Figure 7 As shown, when the first account of the first type enters the business template editing interface, by performing the "Request Leave" interaction, the display interface switches to the lower interface associated with the "Request Leave" interaction button. Taking the leave request account as "**" as an example, all information related to this leave request account is set to be invisible to the first account. At the same time, in the interface corresponding to "Request Leave", information related to the leave request business, such as leave type, start time, end time, and reason for leave, is hidden and invisible to the first account.
[0114] For example, Figure 8 This is a schematic diagram illustrating another optional method for configuring business template editing permissions according to an embodiment of this application, as shown below. Figure 8 As shown, when the first account of the first type enters the business template editing interface, by performing the interactive operation on "Reimbursement", the display interface switches to the lower interface associated with the "Reimbursement" interactive button. Taking the query account as "**" as an example, all information related to this account is set to be invisible to the first account. At the same time, in the interface corresponding to "Reimbursement", information related to the reimbursement business, such as reimbursement type, reimbursement time, loan duration, and purpose of funds, is hidden and invisible to the first account.
[0115] The above is merely an example, and the embodiments in this application do not impose any specific limitations.
[0116] In this embodiment, a business template editing interface is displayed in a business approval application. The login account for the business approval application is a first account of a first type. The first account is a second account with pre-assigned first editing permissions. The second account is of a different type than the first account. On the business template editing interface, the target editing operation performed by the first account is obtained. If the first editing permissions include the permission to modify an existing business template, and the target editing operation is a modification operation performed on the existing first business template, in response to the target editing operation, the first business template is modified into a second business template, and the second business template is set to be allowed to be used by accounts of the target type. The target type account uses the first... The information generated by the second business template is set to be invisible to the first account. By pre-assigning first editing permissions to the first account of the first type by the second type of second account, the first account is allowed to edit the first business template. After the first account edits the first business template, the information generated by the target type account using the second business template is invisible to the first account. This allows the first account to edit the business template while preventing the first account from viewing the information generated by the business template. This achieves the technical effect of simplifying the business template editing process and improving approval efficiency. In turn, it solves the technical problem of the business template editing process being too complicated, resulting in low approval efficiency in related technologies.
[0117] As an alternative approach, the method also includes:
[0118] If the first editing permission includes the permission to create a business template, and the target editing operation is an editing operation for creating a third business template, in response to the target editing operation, a third business template is created, and the third business template is set to be allowed to be used by the target type of account, wherein the information generated by the target type of account using the third business template is set to be invisible to the first account.
[0119] Optionally, in this embodiment, the permission to create business templates may include, but is not limited to, creating business templates associated with the business processed by the first account. For example, if the first account is an account used by a finance personnel, the permission to create business templates may be configured to allow the creation of finance-related business templates, specifically including, but not limited to, expense reimbursement templates and payroll templates. The permission to create business templates may also include, but is not limited to, creating third business templates that can be used by accounts of the target type.
[0120] Optionally, in this embodiment, the target type may include, but is not limited to, the same as the first type, or a type at the same level or a different branch of the first type in the organizational structure. For example, when the first account is used by the human resources department, the target type account can be all employees; however, information generated by all employees using the third business template is set to be invisible to the first account. As another example, when the first account is used by a first-level employee in the human resources department, the target type account can be used by a second-level employee. Since the first-level employee's business permissions are lower than the second-level employee's, information generated by the second-level employee using the third business template is set to be invisible to the first account.
[0121] Optionally, in this embodiment, the creation of a third business template in response to a target editing operation, and the setting of the third business template to be usable by accounts of the target type, can be performed, including but not limited to, through the interface associated with the first account for creating the third business template. The target editing operation can consist of one or more operations. For example, multiple operations can include, but are not limited to, performing interactive operations multiple times on different controls in different interfaces of the business approval interface to create the third business template. Optionally, the target editing operation can be a touch operation (such as a click operation, drag operation, swipe operation, etc.), a voice operation, a gesture operation, etc., and this embodiment does not limit this.
[0122] For example, Figure 9 This is a schematic diagram illustrating another optional method for configuring business template editing permissions according to an embodiment of this application, as shown below. Figure 9 As shown, this may include, but is not limited to, opening the business template editing interface for the third business template, and creating a third business template by filling in the template name, selecting the template icon, executing template grouping, and editing the template title.
[0123] It should be noted that the display interface used to create the third business template is the interface of the first account logging into the business approval application. In other words, the first account is not the network administrator account, but the employee who handles the actual business.
[0124] Figure 10 This is a schematic diagram of another optional configuration method for business template editing permissions according to an embodiment of this application. When the first editing permission includes the permission to create a business template and the target editing operation is an editing operation for creating a third business template, in response to the target editing operation, a third business template is created on the editing interface 1001 and the third business template is set to be allowed to be used by the target type of account.
[0125] It should be noted that after setting the third business template to be allowed to be used by accounts of the target type, a notification message can also be sent to the accounts of the target type. This notification message is used to indicate that the third business template has been successfully created. When the client detects a user's click on the publish control 1002 in the editing interface 1001, it determines to perform a publish operation on the third business template and sends a notification message 1004 to the target type account group 1003.
[0126] The above is merely an example, and the embodiments in this application do not impose any specific limitations.
[0127] Through the embodiments of this application, after the first account has the first editing permission, it can edit the template and publish it to the target type account. The information generated when the target type account uses the third business template is set to be invisible to the first account, so as to enable the first account to edit the template, while preventing the first account from seeing the information generated when the target type account uses the third business template. This improves the editing efficiency of the business template while ensuring the security of business information.
[0128] As an optional solution, a business template editing interface can be displayed in the business approval application, including one of the following:
[0129] When the first editing permission is the permission to modify the created business template, the business template editing interface is displayed in the business approval application, and a set of business template identifiers are displayed on the business template editing interface. Each business template identifier in the set of business template identifiers is used to represent a business template that has been created and is allowed to be modified by the first account.
[0130] When the first editing permission is to create a business template, the business template editing interface is displayed in the business approval application, and the target control is displayed on the business template editing interface. The target control is used to create the business template.
[0131] When the first editing permission includes the permission to modify existing business templates and the permission to create new business templates, the business template editing interface is displayed in the business approval application, and a set of business template identifiers and target controls are displayed on the business template editing interface.
[0132] Optionally, in this embodiment of the application, the first editing permission mentioned above, which is the permission to modify the created business template, can be understood as only allowing modification of the created business template, or both allowing modification of the created business template and the permission to create a new business template.
[0133] Optionally, in the embodiments of this application, the above-mentioned set of business template identifiers may include, but are not limited to, business template identifiers associated with the business processed by the first account, and may also include, but are not limited to, business template identifiers common to all business templates.
[0134] For example, Figure 11 This is a schematic diagram illustrating another optional method for configuring business template editing permissions according to an embodiment of this application, as shown below. Figure 11 As shown, when the first editing permission is the permission to modify an existing business template, a business template editing interface is displayed in the business approval application. A set of business template identifiers is displayed on this interface, where each identifier represents a created business template that can be modified by the first account. Interacting with these identifiers triggers the start of editing the corresponding business template. When the first editing permission is the permission to create a business template, a business template editing interface is displayed in the business approval application, and a target control is displayed. This target control is used to create a business template, and interacting with it triggers the start of template creation. When the first editing permission includes both the permission to modify existing business templates and the permission to create business templates, a business template editing interface is displayed in the business approval application, along with a set of business template identifiers and a target control.
[0135] Through the embodiments of this application, a first account can quickly edit an existing business template and create a new business template. This achieves the technical effect of allowing the first account to edit the template while preventing the first account from seeing the information generated when a target type account uses a third business template. This improves the efficiency of business template editing while ensuring the security of business information.
[0136] As an optional solution, the second business template can be configured to be used by accounts of the target type, including:
[0137] In the case where accounts other than those with primary editing permissions are prohibited from modifying created business templates within the first type of accounts, the second business template is set to be allowed to be used by accounts of the first type. Here, the target type of account is the first type of account, and information generated by accounts other than the first account using the second business template within the first type of account is set to be invisible to the first account; or
[0138] If the target account is a third-type account and third-type accounts are prohibited from modifying existing business templates, the second business template will be set to be allowed to be used by third-type accounts. Here, the first, second, and third types are different types.
[0139] Through the embodiments of this application, a first account can quickly edit an existing business template and create a new business template. This achieves the technical effect of allowing the first account to edit the template while preventing the first account from seeing the information generated when a target type account uses a third business template. This improves the efficiency of business template editing while ensuring the security of business information.
[0140] As an optional solution, the third-party service template can be configured to be used by accounts of the target type, including:
[0141] In cases where accounts other than those with primary editing permissions in the first type of account are prohibited from creating business templates, or prohibited from creating business templates or modifying existing business templates, the third business template will be set to be allowed to be used by accounts of the first type. Here, the target type of account is the first type of account, and information generated by accounts other than the first account using the third business template in the first type of account will be set to be invisible to the first account; or
[0142] If the target account is a third-type account, a third-type account is prohibited from creating business templates, or is prohibited from creating business templates and from modifying existing business templates, the third business template will be set to be allowed to be used by third-type accounts. Here, the first, second, and third types are different types.
[0143] Optionally, in this embodiment of the application, the prohibition of creating business templates for accounts other than those assigned the first editing permission in the first type of accounts may include, but is not limited to, other accounts in the first type of accounts other than the first account, and other accounts in the first type of accounts other than the first account and other accounts with the first editing permission. The prohibition of creating business templates and the prohibition of modifying existing business templates may include, but is not limited to, accounts in the first type of accounts that do not have the first editing permission or other permissions to create or modify business templates.
[0144] Optionally, in this embodiment of the application, setting the third service template to be allowed to be used by the first type of account may include, but not be limited to, setting the third service template to be allowed to be used by the first type of account, but the information generated by the first type of account using the third service template is not visible to the first account.
[0145] For example, Figure 12 This is a schematic diagram illustrating another optional method for configuring business template editing permissions according to an embodiment of this application, as shown below. Figure 12 As shown, after the first account completes the "Group Leave Request" business template in the business template editing interface, it can click the "Use" interactive control to start using the "Group Leave Request" business template as a first-type account. Other first-type accounts that are prohibited from creating business templates, or prohibited from modifying existing business templates, can directly click the "Use" interactive control to start using the "Group Leave Request" business template as a first-type account.
[0146] It should be noted that accounts with primary editing privileges in the first type of account can display as follows: Figure 12 The business template editing interface shown indicates that accounts in the first type that are prohibited from creating business templates, or prohibited from creating business templates, or prohibited from modifying existing business templates, will directly display the following: Figure 12 Use the interface shown.
[0147] Optionally, in this embodiment of the application, accounts that are prohibited from creating business templates, or prohibited from creating business templates and from modifying existing business templates, are also allowed to use the third business template. However, the third type of account is different from the first type of account. For example, when the first type of account is a regular employee, the second type of account can be a network administrator, and the third type of account can be a customer or a third-party member.
[0148] Through the embodiments of this application, since accounts that are prohibited from creating business templates, or prohibited from creating business templates, or prohibited from modifying existing business templates, can use the edited business templates, the information generated when they use the edited business templates is set to be invisible to the first account. This achieves the technical effect of allowing the first account to edit the template while preventing the first account from seeing the information generated when accounts that are prohibited from creating business templates, or prohibited from creating business templates, or prohibited from modifying existing business templates, use the third business template, thereby improving the editing efficiency of business templates while ensuring the security of business information.
[0149] As an alternative approach, the method also includes:
[0150] When the first business template is modified to the second business template, the information generated by the target type account using the second business template is set to be visible to the second account.
[0151] Optionally, in this application embodiment, the target type of account can be the same as the first type of account, but different from the second type of account. That is, the second account is an account that can be assigned editing permissions and can also view information generated by using business templates, such as the account of a super administrator, company manager, or other non-ordinary member.
[0152] For example, Figure 13 This is a schematic diagram illustrating another optional method for configuring business template editing permissions according to an embodiment of this application, as shown below. Figure 13 As shown, when the second account enters the business template editing interface, by performing an interactive operation on the "Reimbursement" button, the display interface switches to the lower-level interface associated with the "Reimbursement" interactive button. Taking the account "Zhang San" as an example, all information related to this account is set to be visible to the first account. At the same time, in the interface corresponding to "Reimbursement," information related to the reimbursement business, such as reimbursement type, reimbursement time, loan duration, and purpose of funds, is displayed and is visible to the second account. However, for the first account, it is as follows: Figure 8 As shown, information generated by related business processes is replaced with "**" to avoid information security issues caused by information leakage.
[0153] Through the embodiments of this application, when the first business template is modified into the second business template, the information generated by the target type account using the second business template is set to be visible to the second account. This achieves the technical effect of allowing the first account to edit the template while preventing the first account from seeing the information generated by other accounts using the second business template, and allowing the second account to see the information generated by other accounts using the second business template. This ensures the security of business information, improves the editing efficiency of business templates, and further optimizes the management method of the second account.
[0154] As an optional option, assign first-level editing permissions to the first account, including one of the following:
[0155] Assign the first account permission to modify the created business templates. However, the information generated when the modified business templates are used by the first account is not visible to the first account.
[0156] Assign permission to create business templates to the first account. Information generated when the business templates created by the first account are used is invisible to the first account.
[0157] Assign the first account permission to modify existing business templates and permission to create new business templates. Information generated when a business template modified by the first account is used is invisible to the first account, and information generated when a business template created by the first account is used is also invisible to the first account.
[0158] Optionally, in the embodiments of this application, the above-mentioned permission to modify the created business template for the first account may include, but is not limited to, assigning the above-mentioned permission to a single first account, or may include, but is not limited to, assigning the above-mentioned permission to a group of first accounts or a collection of first accounts. In other words, the above-mentioned first account may be a single account, a group account, or a selection of accounts from multiple accounts.
[0159] For example, Figure 14 This is a schematic diagram illustrating another optional method for configuring business template editing permissions according to an embodiment of this application, as shown below. Figure 14 As shown, when the second account enters the business approval application, it can perform interactive operations on the API interface to enter the approval editing permission display interface. It can then perform interactive operations on the interactive controls in the approval editing permission display interface used to determine whether members are allowed to edit the approval template, in order to begin assigning the first account the permission to edit the business template.
[0160] Optionally, in the embodiments of this application, the above-mentioned allocation of the permission to create a business template for the first account may include, but is not limited to, allocating the above-mentioned permission to a single first account, or may include, but is not limited to, allocating the above-mentioned permission to a group of first accounts or a collection of first accounts. In other words, the above-mentioned first account may be a single account, a group account, or a selection of accounts from multiple accounts.
[0161] For example, Figure 15 This is a schematic diagram illustrating another optional method for configuring business template editing permissions according to an embodiment of this application, as shown below. Figure 15 As shown, when the second account enters the business approval application, it can perform interactive operations on the API interface to enter the approval creation permission display interface. It can then perform interactive operations on the interactive controls in the approval creation permission display interface used to determine whether members are allowed to create approval templates, in order to begin allocating the permission to create business templates to the first account.
[0162] Optionally, in the embodiments of this application, the above-mentioned allocation of the first account to the permission to modify the created business template and the permission to create a business template may include, but is not limited to, allocating the above-mentioned permissions to a single first account, or may include, but is not limited to, allocating the above-mentioned permissions to a group of first accounts or a collection of first accounts. In other words, the above-mentioned first account may be a single account, a group account, or a selection of accounts from multiple accounts.
[0163] For example, Figure 16 This is a schematic diagram illustrating another optional method for configuring business template editing permissions according to an embodiment of this application, as shown below. Figure 16 As shown, when the second account enters the business approval application, it can perform interactive operations on the API interface to enter the display interface for approval creation and editing permissions. It can then perform interactive operations on the interactive controls in the approval creation permission display interface used to determine whether members are allowed to create and edit approval templates, in order to begin assigning permissions to the first account to create and edit business templates.
[0164] As an alternative approach, the method also includes:
[0165] Obtain the permission configuration operations performed by the second account on the permission configuration interface of the second account;
[0166] In response to the permission configuration operation, assign the first editing permission to the first account.
[0167] Optionally, in the embodiments of this application, the above-mentioned permission configuration interface may include, but is not limited to, assigning the above-mentioned permissions to a first account, or may include, but is not limited to, assigning the above-mentioned permissions to a first account group or a first account set. In other words, the above-mentioned first account may be a single account or a group account, or may be a selection of accounts from multiple accounts.
[0168] For example, Figure 17 This is a schematic diagram illustrating another optional method for configuring business template editing permissions according to an embodiment of this application, as shown below. Figure 17 As shown, taking the allocation of permissions to create business templates to the first account as an example, the process may include, but is not limited to, the following:
[0169] S1, perform an interactive operation on the target control that allows members to create approval templates, and switch the display interface to the member selection interface that can create business templates;
[0170] S2, in the above selection interface, select the corresponding member tag, and select the first type of account set corresponding to the member tag as the above first account.
[0171] For example, Figure 18 This is a schematic diagram illustrating another optional method for configuring business template editing permissions according to an embodiment of this application, as shown below. Figure 18 As shown, taking the allocation of permissions to create business templates to the first account as an example, the process may include, but is not limited to, the following:
[0172] S1, perform an interactive operation on the target control that allows members to create approval templates, and switch the display interface to the member selection interface that can create business templates;
[0173] S2, in the above selection interface, select the corresponding group member tag, and the display interface will switch to the selection interface corresponding to the group member tag;
[0174] S3, select the first type of account in the selection interface corresponding to the group member label.
[0175] After selecting a group or a subset of Type 1 accounts, the selected member list can be displayed on the screen.
[0176] For example, Figure 19 This is a schematic diagram illustrating another optional method for configuring business template editing permissions according to an embodiment of this application, as shown below. Figure 19 As shown, the account used by member Zhang San is the first account with first editing privileges among the first type of accounts mentioned above.
[0177] As an optional solution, the first account may be granted permission to modify existing business templates, including at least one of the following:
[0178] Assign the first account permission to modify the processing rules of the created business templates. The processing rules are used to indicate how to process the pending approval information corresponding to the created business templates.
[0179] Assign the first account permission to modify the functional controls of the created business template. The functional controls refer to the controls used when editing information to be approved.
[0180] Assign the first account permission to modify the processing flow of the created business template, where the processing flow is used to indicate the processing steps for information to be approved.
[0181] According to another aspect of the embodiments of this application, a method for configuring business template editing permissions is also provided, including:
[0182] On the permission configuration interface of the second account, obtain the permission configuration operations performed by the second account. The type of the second account is the second type, and the second account is an account that is allowed to be assigned the permission to edit business templates.
[0183] In response to the permission configuration operation, the first editing permission is assigned to the first account. The first account is of a different type than the second type. When the first editing permission includes the permission to modify the created business template, the information generated when the modified business template is used by the first account is invisible to the first account.
[0184] As an optional option, assign first-level editing permissions to the first account, including one of the following:
[0185] Assign the first account permission to modify the created business templates. However, the information generated when the modified business templates are used by the first account is not visible to the first account.
[0186] Assign permission to create business templates to the first account. Information generated when the business templates created by the first account are used is invisible to the first account.
[0187] Assign the first account permission to modify existing business templates and permission to create new business templates. Information generated when a business template modified by the first account is used is invisible to the first account, and information generated when a business template created by the first account is used is also invisible to the first account.
[0188] As an optional solution, the first account may be granted permission to modify existing business templates, including at least one of the following:
[0189] Assign the first account permission to modify the processing rules of the created business templates. The processing rules are used to indicate how to process the pending approval information corresponding to the created business templates.
[0190] Assign the first account permission to modify the functional controls of the created business template. The functional controls refer to the controls used when editing information to be approved.
[0191] Assign the first account permission to modify the processing flow of the created business template, where the processing flow is used to indicate the processing steps for information to be approved.
[0192] The following section introduces the permission granted to the first account to modify the processing rules for the created business templates.
[0193] 1. In response to operations performed on the rule modification area, display the rule modification interface.
[0194] In this embodiment, after displaying the modification interface, the client detects the rule modification area within that interface. If an operation targeting the rule modification area is detected, a rule modification interface is displayed. This rule modification interface is used to modify the processing rules of the target approval template. For example, Figure 20 This is a schematic diagram illustrating another optional method for configuring business template editing permissions according to an embodiment of this application, as shown below. Figure 20 As shown, when a user clicks on the rule modification control 2002 in the modification interface 2001 is detected, the rule modification interface 2003 is displayed. This rule modification interface includes at least one modification item, through which the user modifies the processing rules of the target approval template.
[0195] Optionally, in this embodiment of the application, after the client detects an operation on the rule modification area, it obtains historical modification data for the processing rule, and then, based on the historical modification data, determines the processing rule with the largest number of historical modifications as the default processing rule, and displays the rule modification interface, which includes the default processing rule.
[0196] Optionally, the aforementioned historical modification data can be obtained based on a single user or based on all users.
[0197] In one possible implementation, the aforementioned historical modification data is obtained based on the modification information of the target approval template by the user. Optionally, when obtaining historical modification data, template modification information of the modification user for at least one approval template is obtained to generate historical modification data.
[0198] In another possible implementation, the aforementioned historical modification data is based on data obtained from all users.
[0199] Optionally, when obtaining historical modification data, template modification information for at least one approval template from all users can be obtained to generate historical modification data.
[0200] Of course, in the exemplary embodiment, the method for obtaining historical modification data can be flexibly selected according to the actual situation. For example, when obtaining historical modification data, the number of approval templates modified by the user is obtained. Further, if the number is greater than or equal to a certain target value, historical modification data is obtained based on the user; if the number is less than a certain target value, historical modification data is obtained based on all users.
[0201] Optionally, the aforementioned historical modification data may include modification information for each modification item; or, the aforementioned historical modification data may include modification information for the processing rules at each modification.
[0202] In one possible implementation, the aforementioned historical modification data includes modification information for each modification item. Optionally, after obtaining the historical modification data, the client obtains the modification information for each modification item, and then, for the target modification item, determines the modification information with the highest number of historical modifications as the default modification information for that target modification item. Based on the default modification information for each modification item, the client generates and displays the aforementioned default processing rules.
[0203] In another possible implementation, the aforementioned historical modification data includes modification information of the processing rules at each modification. Optionally, after obtaining the historical modification data, the client obtains the modification information of the processing rules at each modification, determines the modification information with the highest number of historical modifications as the modification information of the default processing rule, and then generates and displays the default processing rule based on the modification information of the default processing rule.
[0204] Of course, in another possible implementation, the historical modification data includes modification information for each modification item, as well as modification information for the processing rules at each modification. Optionally, after the client obtains the historical modification data, if there is modification information for the processing rule with the highest number of historical modifications, then the processing rule with the highest number of historical modifications is determined as the default processing rule; if there is no modification information for the processing rule with the highest number of historical modifications, then the default processing rule is determined based on the modification information of each modification item.
[0205] It should be noted that the rule modification interface mentioned above can be a new interface relative to the modification interface;
[0206] Alternatively, the rule modification interface can also be a pop-up window within the modification interface displaying the aforementioned modification items.
[0207] 2. Based on the modification operations in the rule modification interface, the display style of the modification items in the rule modification interface is adjusted.
[0208] In this embodiment of the application, after the client displays the rule modification interface, it detects the rule modification interface. If a modification operation is detected on the rule modification interface, the display style of the modified items in the rule modification interface is adjusted.
[0209] Optionally, for the first modification item corresponding to a processing rule (such as...) Figure 20 In Rule Modification Item 2004, when the client detects a modification operation on the first modification item in the rule modification interface, it controls the first modification item to switch from a first display style to a second display style in the rule modification interface. The display style is used to indicate whether the processing rule corresponding to the first modification item is enabled or disabled.
[0210] Optionally, for modification items that correspond to multiple candidate processing rules (such as...) Figure 20In the modification item 2005, when the client detects an operation on the second modification item in the rule modification interface, it displays multiple candidate processing rules corresponding to the second modification item; further, when the client detects an operation on the target processing rule among the multiple candidate processing rules, it displays the selected target processing rule in the rule setting interface. Optionally, the above-mentioned multiple candidate processing rules can be displayed directly in the rule modification interface in the form of a pop-up window, or they can be displayed in a new interface. This application embodiment does not limit this.
[0211] Optionally, in this embodiment, when displaying the multiple candidate processing rules, the client obtains the historical selection counts corresponding to each candidate processing rule, and then determines the display order of the multiple candidate processing rules based on the historical selection counts, and displays the multiple candidate processing rules in the display order. Optionally, the display order is positively correlated with the historical selection count, that is, the larger the historical selection count, the earlier the display order. Optionally, similar to the historical modification data mentioned above, the historical selection counts corresponding to the multiple candidate processing rules can be obtained based on the modification user or based on all users, and this embodiment does not limit this.
[0212] 3. In response to the confirmation operation based on the rule modification interface, the processing rules are displayed in the rule modification area.
[0213] Optionally, in this embodiment of the application, after the client displays the rule modification interface, it detects the rule modification interface. If a confirmation operation based on the rule modification interface is detected, it determines that the rule modification is completed, generates and displays the processing rule for the target approval template modification in the rule modification area.
[0214] In one possible implementation, the processing rules are generated based on the display style of the modified items. Optionally, after detecting the confirmation operation, the client generates the processing rules based on the display style of each modified item and displays the processing rules in the rule modification interface. In another possible implementation, the processing rules are generated based on the modification information of the modified items. Optionally, after detecting the confirmation operation, the client generates the processing rules based on the modification information of the modified items stored in the storage layer and displays the processing rules in the rule modification interface.
[0215] Optionally, in this embodiment of the application, the above processing rules include, but are not limited to, at least one of the following: submission rules and approval rules. The submission rules are used to indicate the submission method of the information to be approved, and the approval rules are used to indicate the approval method of the information to be approved.
[0216] In summary, the technical solution provided in this application provides a visual way to customize the processing rules of the approval template by modifying the rules through the rule modification interface. This customization method allows users to flexibly modify the processing rules to meet their own needs, thereby improving the flexibility of approval template creation. The visual modification method simplifies user operations, effectively reduces the difficulty of code modification, and improves the efficiency of processing rule modification.
[0217] Furthermore, during the modification process, the display style of the modified items is changed based on the modification information, realizing the visualization of each rule modification and enabling users to modify each rule more intuitively. Moreover, for modification items with multiple candidate processing rules, the display order of the candidate processing rules is determined based on the historical selection frequency of the candidate processing rules. A higher selection frequency indicates that the candidate processing rule has been used more often. In other words, the candidate processing rule with a higher selection frequency has a higher probability of being the processing rule needed by the user. The candidate processing rule with a higher selection frequency is displayed first, saving the time of browsing and selecting candidate processing rules. For example, in the absence of special requirements, users can directly select the most frequently used processing rule at the top of the list as the processing rule for the approval template.
[0218] In addition, the default processing rule displayed in the rule modification interface is determined by historical modification data, which is similar to the display method of the candidate processing rules mentioned above, saving time and improving the efficiency of processing rule modification.
[0219] The following section describes how to grant the first account permission to modify the functional controls of the created business template.
[0220] 1. In response to an operation on the control's modification area, display at least one selection option for a functional control.
[0221] In the application embodiment, after displaying the aforementioned modification interface, the client detects the control modification area within that interface. If an operation on the control modification area is detected, at least one selection option for a functional control is displayed. For example, Figure 21 This is a schematic diagram illustrating another optional method for configuring business template editing permissions according to an embodiment of this application, as shown below. Figure 21 As shown, when a user clicks on the control 212 in the modification interface 211, at least one selection option 213 of a function control is displayed.
[0222] Optionally, when displaying the selection of at least one of the above-mentioned functional controls, the selection of at least one functional control can be displayed in a completely new interface, or it can be displayed in a pop-up window that modifies the interface (e.g., Figure 21 The pop-up window 214 in this application embodiment is not limited in this respect.
[0223] 2. In response to an operation on a selection item of a target functional control in at least one functional control, display the function modification interface corresponding to the target functional control.
[0224] Optionally, in this embodiment of the application, when the client detects an operation on a selection item of a target functional control in at least one functional control, it displays the function modification interface corresponding to the target functional control.
[0225] Optionally, similar to the rule modification interface described above, when the client displays the function modification interface, it can display the historical modification data of the function controls.
[0226] Of course, in another possible implementation, when the client detects an operation on the selection of a target functional control in at least one functional control, the target functional control is displayed in the control modification area; further, when a modification operation on the target functional control is detected, the aforementioned function modification interface is displayed.
[0227] 3. In response to modification operations on the function modification interface, determine the functions of the target function control.
[0228] In this embodiment of the application, after the client displays the above-mentioned function modification interface, it detects the function modification interface. If a modification operation is detected on the function modification interface, the client determines the function of the target function control.
[0229] Optionally, when the client detects a text modification operation on the function modification interface, it determines that the target function control has text input functionality of the target type. For example, Figure 22 This is a schematic diagram illustrating another optional method for configuring business template editing permissions according to an embodiment of this application, as shown below. Figure 22 As shown, Figure 22 As shown, for the text function control, in the function modification interface 2202, the user can modify the text type through the text modification area, so that the text function control has the text input function of the target type.
[0230] Optionally, when the client detects a scope modification operation on the function modification interface, it determines that the target function control has selection functionality within the target scope. For example, Figure 23 This is a schematic diagram illustrating another optional method for configuring business template editing permissions according to an embodiment of this application, as shown below. Figure 23As shown, for the duration function control, in the function modification interface 2302, the user can modify the duration selection range through the duration modification area, so that the duration function control has the function of selection within the target range. Optionally, in this case, the selection function can restrict the options available to the user, or it can restrict the range of data that the user can input; this embodiment of the application does not limit this.
[0231] Optionally, upon detecting an option modification operation on the function modification interface, the client determines that the target function control has the selection function within the target options. For a single-selection function control, the user modifies the options available for selection through the option modification area, thus enabling the single-selection function control to have the selection function within the target options. Of course, corresponding to single-selection function controls, there are also multi-selection function controls. Optionally, in this embodiment, single-selection function controls and multi-selection controls can be mutually converted. For example, Figure 24 This is a schematic diagram illustrating another optional method for configuring business template editing permissions according to an embodiment of this application, as shown below. Figure 24 As shown, for member function controls, users can select whether the member function control has a single-selection function control or a multi-selection function control through the control type modification area 2402.
[0232] It should be noted that the above description of functional price control is merely exemplary and explanatory. In the exemplary embodiment, the target approval template may correspond to various modifiable functional controls, and the modification interfaces for different functional controls are different. For the location functional control, the user can modify the range of locations that can be selected by the user through the location modification area; for the attachment functional control, the user can modify the upload method of attachments through the attachment modification area.
[0233] 4. In response to the confirmation operation based on the function modification interface, display the function control in the control modification area.
[0234] Optionally, in this embodiment of the application, after the client displays the above-mentioned function modification interface, it detects the function modification interface. If a confirmation operation based on the function modification interface is detected, it determines that the function control modification is completed, and generates and displays the function control modified for the target approval template in the control modification area.
[0235] In summary, the technical solution provided in this application provides a visual way to customize the functional controls of the approval template by modifying the control modification interface. This customization method allows users to flexibly modify the processing rules to meet their own needs, thereby improving the flexibility of approval template creation. The visual modification method simplifies user operations, effectively reduces the difficulty of code modification, and improves the efficiency of functional control modification.
[0236] The following section describes the permission granted to the first account to modify the processing flow of the created business templates.
[0237] 1. In response to operations performed on the process modification area, display the process modification interface.
[0238] In the application embodiment, after displaying the aforementioned modification interface, the client detects the process modification area within that interface. If an operation targeting the process modification area is detected, the client displays the process modification interface, which is used to modify the processing flow of the target approval template. For example, Figure 25 This is a schematic diagram illustrating another optional method for configuring business template editing permissions according to an embodiment of this application, as shown below. Figure 25 As shown, when a user clicks on the process modification control 2502 in the modification interface 2501, the process modification interface 2503 is displayed.
[0239] Optionally, in this embodiment, when displaying the process modification interface, at least one process node for the target approval template and the execution order of each process node are obtained, and the process nodes are displayed in the process modification interface according to the execution order of the process nodes. Optionally, similar to the rule modification interface, when the client displays the process modification interface, the historical modification data of the processing flow is displayed on the process modification interface.
[0240] In this embodiment, the processing flow includes a default flow and at least one conditional flow. The default flow refers to the processing steps executed when the information to be approved does not meet a first condition, and the conditional flow refers to the processing steps executed when the information to be approved meets a second condition. The first condition refers to the union of the second conditions corresponding to each conditional flow included in the processing flow; that is, after the target approval template is successfully created, after obtaining the information to be approved submitted based on the target approval template, it is determined whether the information to be approved meets a certain second condition. If the information to be approved meets the second target condition, the information to be approved is processed based on the conditional flow corresponding to the second target condition; if the information to be approved does not meet all the second conditions, the information to be approved is processed based on the default flow.
[0241] Optionally, for the above default process, the process nodes include an application node, an approval node, and a copy node; wherein, the approval node is used to modify the approver of the target application template, and the copy node is used to modify the copy recipients of the target application template. Optionally, the above default process can also be referred to as the basic process.
[0242] Optionally, for the above-mentioned conditional process, the process nodes include condition nodes, application nodes, approval nodes, and copy nodes. Specifically, the condition node is used to modify the second condition of the conditional process, the application node is used to modify the applicant of the conditional process, the approval node is used to modify the approver of the conditional process, and the copy node is used to modify the copy recipients of the conditional process.
[0243] 2. Based on the modification operations of the process modification interface, the preliminary processing flow for modifying the target approval template is displayed in the process modification interface.
[0244] In this embodiment, after displaying the aforementioned process modification interface, the client, based on the modification operation performed on the process modification interface, displays a preliminary processing flow for modifying the target approval template. Optionally, the user can modify the processing flow for modifying the target approval template through process nodes.
[0245] It should be noted that, since the default process refers to the processing steps executed when the information to be approved does not meet the first condition, and the default node in the conditional process does not need to be modified during the modification process, the processing flow modified by the default node can be understood as the process executed when the information to be approved cannot be processed based on the processing flow modified by the condition node. Therefore, in order to improve modification efficiency, in this embodiment of the application, the default process and the default node can be mutually converted, that is, the modification information of the default process can be regarded as the modification information of the default node. For example, after the modification of the default process is completed, when a modification operation on the conditional process is detected, the modification information of the default process is displayed as the modification information of the default node in the conditional modification interface.
[0246] 3. In response to the confirmation operation based on the process modification interface, the processing flow is displayed in the process modification area.
[0247] In this embodiment, after displaying the process modification interface, the client detects the interface and, upon detecting a confirmation operation based on it, displays the processing flow in the process modification area. It should be noted that this processing flow can be understood as the preliminary processing flow displayed at the moment the confirmation operation is triggered.
[0248] Optionally, similar to the above processing rules, the client can generate and display the above processing flow based on the content displayed on the process modification interface, or it can generate and display the above processing flow based on the modification information of the processing flow stored in the storage layer. This application embodiment does not limit this.
[0249] Optionally, in this embodiment of the application, a process node can be added. When a process node addition operation based on the process modification interface is detected, the previous adjacent process node and the next adjacent process node corresponding to the newly added process node are obtained. Further, the newly added process node is added between the previous adjacent process node and the next adjacent process node.
[0250] Optionally, in this embodiment of the application, a deletion operation can be performed on a process node. Upon detecting a deletion operation on a target process node in at least one process node, the previous adjacent process node and the next adjacent process node corresponding to the target process node are obtained. Further, the target process node is deleted, and the previous adjacent process node and the next adjacent process node are connected.
[0251] Optionally, in this embodiment, a sequence adjustment operation can be performed on process nodes to adjust the order of processing steps in the processing flow. Optionally, when the client detects a sequence adjustment operation on a target process node in at least one process node, it adjusts the display order of the target process nodes in the process modification interface. For example, the previous adjacent process node and the next adjacent process node corresponding to the target process node are obtained, the target process node is deleted between the previous adjacent process node and the next adjacent process node, and the previous adjacent process node and the next adjacent process node are connected; moreover, the previous adjacent process node and the next adjacent process node corresponding to the new process node are obtained, and the new process node is added between the previous adjacent process node and the next adjacent process node; wherein, the newly added process node represents the target process node after the position adjustment, and the only difference between the newly added process node and the target process node is the adjacent process node, while the modification information is the same.
[0252] In summary, the technical solution provided in this application provides a visual way to customize the approval template processing flow by modifying the processing flow through the process modification interface. This customization method allows users to flexibly modify the processing flow to meet their own needs, thereby improving the flexibility of approval template creation. The visual modification method simplifies user operations, effectively reduces the difficulty of code modification, and improves the efficiency of processing flow modification.
[0253] In addition, the execution order of each process is represented by the connection order of the process nodes in the process modification interface. When adjusting a process node, only the connection relationship with the process node to be adjusted needs to be adjusted. There is no need to adjust the overall processing flow, which is simple to operate and saves time.
[0254] In addition, the relationships between the rule modification area, control modification area, and process modification area are described. During the modification process, the control modification area in the modification interface modifies functional controls, including text, duration, location, and attachment controls. The process modification area in the modification interface modifies the processing flow. For the default flow, modifications include changing the application node, approval node, and copy node; for conditional flow, modifications include changing the condition node, application node, approval node, and copy node. The rule modification area in the modification interface modifies the processing rules. Furthermore, during the modification process, Mobx data management manages all data, including metadata management, data validation, data retrieval, and data processing.
[0255] It should be noted that during the modification process, if there are repeated modifications to a certain point in the rule modification, control modification, or process modification, the modification area will be disregarded, and the last modified information will be used as the basis. The aforementioned modification point can be the aforementioned functional control, the aforementioned modification item, the aforementioned process node, etc., and this application embodiment does not limit this. For example, for applicant modifications, modifications can be made during both the rule modification and process modification processes. Therefore, after the modification, the last modified information will be used as the applicant's final modification information based on the modification time.
[0256] In addition, the permissions to modify the processing rules of the created business template, the permissions to modify the functional controls of the created business template, and the permissions to modify the processing flow of the created business template can be disabled by the second account for the first account.
[0257] For example, Figure 26 This is a schematic diagram illustrating another optional method for configuring business template editing permissions according to an embodiment of this application, as shown below. Figure 26 As shown, by performing the interactive operation on the interactive button "X" to the right of the account name in the application manager list, the first editing permission assigned to the corresponding account can be cancelled. Taking "Zhang San" as an example, by clicking the interactive button "X" to the right of "Zhang San", the first editing permission of the first account "Zhang San" is cancelled, making "Zhang San" the first type of account that is prohibited from creating business templates, or is prohibited from creating business templates or modifying existing business templates.
[0258] The above is merely an example, and the embodiments in this application do not impose any specific limitations.
[0259] on the other hand, Figure 27 This is a schematic diagram illustrating another optional method for configuring business template editing permissions according to an embodiment of this application, as shown below. Figure 27As shown, the overall technical process for granting editing permissions for business templates to the first type of account is as follows:
[0260] The second account can be configured with specific approval permissions through the opMemberCreateConfig interface on the management side. The approval SVR will record the corresponding permission configuration of the enterprise, and at the same time, the role of editing approval members will be extended in wwmngloginsvr.
[0261] When a member enters the approval mini-program, the system checks the current member's permission configuration during login. It then checks if the member has permission to edit the template. If permission is granted, the management entry is displayed on the page, and the system queries wwmngloginsvr to retrieve the member's specific role and records it in the session. The specific role definition is shown in the ADMIN_ROLE structure above. If the member lacks management permissions, the relevant management entry is not displayed.
[0262] When a member clicks to enter the edit page, the Node.js SVR will send the admin_role flag recorded in the session to the approval SVR before requesting business data. The approval SVR will verify whether the member has the permission to create or edit based on the permission bits and VID information. If the verification is successful, different business data will be processed according to the role information.
[0263] The interfaces for granting permissions to ordinary members are the same as those for super administrators to manage and edit. Different roles are distinguished by the admin_role permission flag, so the business logic part of the interface can be completely reused.
[0264] After receiving the request from the frontend, the backend verifies the user's identity based on the admin_role in the request.
[0265] This application proposes a technical solution to delegate approval creation and management permissions to members. Addressing the more granular needs of some enterprises in managing approval permissions, it refines and specifies permission allocation, allowing for the granting of different functional permissions based on multiple dimensions such as member, department, and tags. Based on these settings, the system automatically determines the current operator's permission scope and permitted actions, enabling dedicated personnel to perform specific tasks, significantly reducing the burden on enterprise administrators and improving office efficiency.
[0266] This application can be implemented not only in mobile mini-programs, but also in H5 and PC desktop client versions. Furthermore, it can be expanded to include more roles based on business scenarios.
[0267] It is understood that in the specific embodiments of this application, data such as user information are involved. When the above embodiments of this application are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of related data must comply with the relevant laws, regulations and standards of the relevant countries and regions.
[0268] It should be noted that, for the sake of simplicity, the foregoing method embodiments are all described as a series of actions. However, those skilled in the art should understand that this application is not limited to the described order of actions, as some steps may be performed in other orders or simultaneously according to this application. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are preferred embodiments, and the actions and modules involved are not necessarily essential to this application.
[0269] According to another aspect of the embodiments of this application, a configuration apparatus for business template editing permissions is also provided for implementing the above-described configuration method for business template editing permissions. For example... Figure 28 As shown, the device includes:
[0270] Display module 2802 is used to display the business template editing interface in the business approval application. The login account of the business approval application is the first account of the first type. The first account is an account that has been pre-assigned the first editing permission by the second account. The type of the second account is a second type that is different from the first type.
[0271] The first acquisition module 2804 is used to acquire the target editing operation performed by the first account on the business template editing interface;
[0272] Modification module 2806 is used to modify the first business template into a second business template in response to the target editing operation, provided that the first editing permission includes the permission to modify the created business template and the target editing operation is a modification operation performed on the created first business template. The second business template is then set to be allowed to be used by the target type of account, wherein the information generated by the target type of account using the second business template is set to be invisible to the first account.
[0273] As an alternative, the device is also used for:
[0274] If the first editing permission includes the permission to create a business template, and the target editing operation is an editing operation for creating a third business template, in response to the target editing operation, a third business template is created, and the third business template is set to be allowed to be used by the target type of account, wherein the information generated by the target type of account using the third business template is set to be invisible to the first account.
[0275] As an optional solution, the device is used to display the business template editing interface in the business approval application in one of the following ways:
[0276] When the first editing permission is the permission to modify the created business template, the business template editing interface is displayed in the business approval application, and a set of business template identifiers are displayed on the business template editing interface. Each business template identifier in the set of business template identifiers is used to represent a business template that has been created and is allowed to be modified by the first account.
[0277] When the first editing permission is to create a business template, the business template editing interface is displayed in the business approval application, and the target control is displayed on the business template editing interface. The target control is used to create the business template.
[0278] When the first editing permission includes the permission to modify existing business templates and the permission to create new business templates, the business template editing interface is displayed in the business approval application, and a set of business template identifiers and target controls are displayed on the business template editing interface.
[0279] As an optional solution, the device is used to configure the second business template to be allowed to be used by accounts of the target type in the following manner:
[0280] In the case where accounts other than those with primary editing permissions are prohibited from modifying created business templates within the first type of accounts, the second business template is set to be allowed to be used by accounts of the first type. Here, the target type of account is the first type of account, and information generated by accounts other than the first account using the second business template within the first type of account is set to be invisible to the first account; or
[0281] If the target account is a third-type account and third-type accounts are prohibited from modifying existing business templates, the second business template will be set to be allowed to be used by third-type accounts. Here, the first, second, and third types are different types.
[0282] As an optional solution, the device is used to configure the third-party service template to be allowed to be used by accounts of the target type in the following manner:
[0283] In cases where accounts other than those with primary editing permissions in the first type of account are prohibited from creating business templates, or prohibited from creating business templates or modifying existing business templates, the third business template will be set to be allowed to be used by accounts of the first type. Here, the target type of account is the first type of account, and information generated by accounts other than the first account using the third business template in the first type of account will be set to be invisible to the first account; or
[0284] If the target account is a third-type account, a third-type account is prohibited from creating business templates, or is prohibited from creating business templates and from modifying existing business templates, the third business template will be set to be allowed to be used by third-type accounts. Here, the first, second, and third types are different types.
[0285] As an alternative, the device is also used for:
[0286] When the first business template is modified to the second business template, the information generated by the target type account using the second business template is set to be visible to the second account.
[0287] As an alternative, the device is also used for:
[0288] Obtain the permission configuration operations performed by the second account on the permission configuration interface of the second account;
[0289] In response to the permission configuration operation, assign the first editing permission to the first account.
[0290] As an optional solution, the device is used to assign first editing permissions to the first account in one of the following ways:
[0291] Assign the first account permission to modify the created business templates. However, the information generated when the modified business templates are used by the first account is not visible to the first account.
[0292] Assign permission to create business templates to the first account. Information generated when the business templates created by the first account are used is invisible to the first account.
[0293] Assign the first account permission to modify existing business templates and permission to create new business templates. Information generated when a business template modified by the first account is used is invisible to the first account, and information generated when a business template created by the first account is used is also invisible to the first account.
[0294] As an optional solution, the device is used to assign permission to the first account to modify the created business template in one of the following ways:
[0295] Assign the first account permission to modify the processing rules of the created business templates. The processing rules are used to indicate how to process the pending approval information corresponding to the created business templates.
[0296] Assign the first account permission to modify the functional controls of the created business template. The functional controls refer to the controls used when editing information to be approved.
[0297] Assign the first account permission to modify the processing flow of the created business template, where the processing flow is used to indicate the processing steps for information to be approved.
[0298] According to another aspect of the embodiments of this application, a configuration device for business template editing permissions is also provided, including:
[0299] The second acquisition module is used to acquire the permission configuration operations performed by the second account on the permission configuration interface of the second account. The type of the second account is the second type, and the second account is an account that is allowed to be assigned the permission to edit business templates.
[0300] The allocation module is used to assign first editing permissions to the first account in response to permission configuration operations. The first account is of a different type than the second type. When the first editing permission includes the permission to modify the created business template, the information generated when the modified business template is used by the first account is invisible to the first account.
[0301] As an optional solution, the device is used to assign first editing permissions to the first account in one of the following ways:
[0302] Assign the first account permission to modify the created business templates. However, the information generated when the modified business templates are used by the first account is not visible to the first account.
[0303] Assign permission to create business templates to the first account. Information generated when the business templates created by the first account are used is invisible to the first account.
[0304] Assign the first account permission to modify existing business templates and permission to create new business templates. Information generated when a business template modified by the first account is used is invisible to the first account, and information generated when a business template created by the first account is used is also invisible to the first account.
[0305] As an optional solution, the device is used to assign permission to the first account to modify the created business template in one of the following ways:
[0306] Assign the first account permission to modify the processing rules of the created business templates. The processing rules are used to indicate how to process the pending approval information corresponding to the created business templates.
[0307] Assign the first account permission to modify the functional controls of the created business template. The functional controls refer to the controls used when editing information to be approved.
[0308] Assign the first account permission to modify the processing flow of the created business template, where the processing flow is used to indicate the processing steps for information to be approved.
[0309] According to one aspect of this application, a computer program product is provided, comprising a computer program / instructions containing program code for performing the methods shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network via communication section 2909, and / or installed from removable medium 2911. When the computer program is executed by central processing unit 2901, it performs various functions provided in embodiments of this application.
[0310] The sequence numbers of the embodiments in this application are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.
[0311] Figure 29 A schematic block diagram of a computer system architecture for implementing an electronic device according to embodiments of the present application is shown.
[0312] It should be noted that, Figure 29 The computer system 2900 of the electronic device shown is merely an example and should not impose any limitation on the functionality and scope of use of the embodiments of this application.
[0313] like Figure 29As shown, the computer system 2900 includes a central processing unit (CPU) 2901, which can perform various appropriate actions and processes based on programs stored in read-only memory (ROM) 2902 or programs loaded from storage section 2908 into random access memory (RAM) 2903. The RAM 2903 also stores various programs and data required for system operation. The CPU 2901, ROM 2902, and RAM 2903 are interconnected via a bus 2904. An input / output interface 2905 (I / O interface) is also connected to the bus 2904.
[0314] The following components are connected to the input / output interface 2905: an input section 2906 including a keyboard, mouse, etc.; an output section 2907 including a cathode ray tube (CRT), liquid crystal display (LCD), etc., and speakers, etc.; a storage section 2908 including a hard disk, etc.; and a communication section 2909 including a network interface card such as a local area network card, modem, etc. The communication section 2909 performs communication processing via a network such as the Internet. A drive 1290 is also connected to the input / output interface 2905 as needed. Removable media 2911, such as a disk, optical disk, magneto-optical disk, semiconductor memory, etc., are installed on the drive 1290 as needed so that computer programs read from them can be installed into the storage section 2908 as needed.
[0315] Specifically, according to embodiments of this application, the processes described in the various method flowcharts can be implemented as computer software programs. For example, embodiments of this application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via communication section 2909, and / or installed from removable medium 2911. When the computer program is executed by central processing unit 2901, it performs various functions defined in the system of this application.
[0316] According to another aspect of the embodiments of this application, an electronic device for implementing the above-described configuration method for business template editing permissions is also provided. This electronic device may be... Figure 1 The terminal device or server shown. This embodiment uses this electronic device as an example for illustration. Figure 30As shown, the electronic device includes a memory 3002 and a processor 3004. The memory 3002 stores a computer program, and the processor 3004 is configured to execute the steps in any of the above method embodiments via the computer program.
[0317] Optionally, in this embodiment of the application, the above-mentioned electronic device may be located in at least one of a plurality of network devices in a computer network.
[0318] Optionally, in this embodiment, the processor can be configured to perform the following steps via a computer program:
[0319] S1, Display the business template editing interface in the business approval application. The login account for the business approval application is the first account of the first type. The first account is the account of the second account that has been pre-assigned the first editing permission. The type of the second account is a second type that is different from the first type.
[0320] S2, obtain the target editing operation to be performed by the first account on the business template editing interface;
[0321] S3, if the first editing permission includes the permission to modify the created business template, and the target editing operation is a modification operation performed on the created first business template, in response to the target editing operation, the first business template is modified into the second business template, and the second business template is set to be allowed to be used by the target type account, wherein the information generated by the target type account using the second business template is set to be invisible to the first account.
[0322] Alternatively, as those skilled in the art will understand, Figure 30 The structure shown is for illustrative purposes only. Electronic devices can also be smartphones (such as Android phones, iOS phones, etc.), tablets, PDAs, mobile internet devices (MIDs), PADs, and other terminal devices. Figure 30 This does not limit the structure of the aforementioned electronic devices or electronic equipment. For example, electronic devices or electronic equipment may also include components that are more... Figure 30 The more or fewer components shown (such as network interfaces, etc.), or having the same Figure 30 The different configurations shown.
[0323] The memory 3002 can be used to store software programs and modules, such as the program instructions / modules corresponding to the configuration method and apparatus for business template editing permissions in this embodiment. The processor 3004 executes various functional applications and data processing by running the software programs and modules stored in the memory 3002, thereby implementing the aforementioned configuration method for business template editing permissions. The memory 3002 may include high-speed random access memory and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 3002 may further include memory remotely located relative to the processor 3004, and these remote memories can be connected to the terminal via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof. Specifically, the memory 3002 may be used, but is not limited to, to store information such as business templates. As an example, such as... Figure 30 As shown, the memory 3002 may include, but is not limited to, the display module 2802, the first acquisition module 2804, and the modification module 2806 in the configuration device for configuring business template editing permissions. Furthermore, it may include, but is not limited to, other module units in the configuration device for configuring business template editing permissions, which will not be elaborated upon in this example.
[0324] Optionally, the transmission device 3006 described above is used to receive or send data via a network. Specific examples of the network described above may include wired networks and wireless networks. In one example, the transmission device 3006 includes a Network Interface Controller (NIC), which can be connected to other network devices and a router via a network cable to communicate with the Internet or a local area network. In another example, the transmission device 3006 is a Radio Frequency (RF) module, used for wireless communication with the Internet.
[0325] In addition, the aforementioned electronic device also includes: a display 3008 for displaying the aforementioned business template; and a connection bus 3010 for connecting the various module components in the aforementioned electronic device.
[0326] In other embodiments, the aforementioned terminal device or server can be a node in a distributed system, wherein the distributed system can be a blockchain system, which is a distributed system formed by connecting multiple nodes through network communication. The nodes can form a peer-to-peer (P2P) network, and any form of computing device, such as a server, terminal, or other electronic device, can become a node in the blockchain system by joining this peer-to-peer network.
[0327] According to one aspect of this application, a computer-readable storage medium is provided, from which a processor of a computer device reads computer instructions, and the processor executes the computer instructions, causing the computer device to perform the configuration method for business template editing permissions provided in various alternative implementations of the above-described configuration aspect of business template editing permissions.
[0328] Optionally, in embodiments of this application, the computer-readable storage medium described above may be configured to store a computer program for performing the following steps:
[0329] S1, Display the business template editing interface in the business approval application. The login account for the business approval application is the first account of the first type. The first account is the account of the second account that has been pre-assigned the first editing permission. The type of the second account is a second type that is different from the first type.
[0330] S2, obtain the target editing operation to be performed by the first account on the business template editing interface;
[0331] S3, if the first editing permission includes the permission to modify the created business template, and the target editing operation is a modification operation performed on the created first business template, in response to the target editing operation, the first business template is modified into the second business template, and the second business template is set to be allowed to be used by the target type account, wherein the information generated by the target type account using the second business template is set to be invisible to the first account.
[0332] Optionally, in the embodiments of this application, those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be implemented by a program instructing the hardware related to the terminal device. The program can be stored in a computer-readable storage medium, which may include: flash drive, read-only memory (ROM), random access memory (RAM), disk or optical disk, etc.
[0333] The sequence numbers of the embodiments in this application are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.
[0334] If the integrated units in the above embodiments are implemented as software functional units and sold or used as independent products, they can be stored in the aforementioned computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause one or more computer devices (which may be personal computers, servers, or network devices, etc.) to execute all or part of the steps of the methods of the various embodiments of this application.
[0335] In the above embodiments of this application, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments.
[0336] In the several embodiments provided in this application, it should be understood that the disclosed client can be implemented in other ways. The device embodiments described above are merely illustrative; for example, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces, or the indirect coupling or communication connection of units or modules may be electrical or other forms.
[0337] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0338] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0339] The above description is only a preferred embodiment of this application. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the principle of this application, and these improvements and modifications should also be considered within the scope of protection of this application.
Claims
1. A method for configuring business template editing permissions, characterized in that, include: The first editing permission is assigned to the first account of the first type through the second account of the second type. The first type is different from the second type. The first editing permission includes the permission to modify the created business template. When the first account logs into the business approval application, a business template editing interface is displayed, and the target editing operation performed by the first account is obtained on the business template editing interface. In response to the target editing operation, the first business template is modified into the second business template on the business template editing interface; in response to the target editing operation being an operation on the rule modification area, the rule modification interface is displayed. In the rule modification interface, the display style of the modification item is changed based on the modification information of the modification item, and the processing rule is displayed. The display style is used to determine whether the processing rule corresponding to the modification item is enabled or disabled. The processing rule is used to indicate the processing method for the pending approval information corresponding to the created business template. Configure the second business template to allow it to be used by accounts of the target type; The information generated by the target type account using the second business template is set to be invisible to the first account and visible to the second account. The step of changing the display style of the modified item based on the modification information in the rule modification interface and displaying the processing rules includes: When a modification operation is detected for the first modification item, the display style of the first modification item is switched from the first display style to the second display style, and the processing rule that uniquely corresponds to the first modification item is displayed in the rule modification interface; Upon detecting a modification operation for the second modification item, the display order of the multiple candidate processing rules is determined based on the historical selection counts of each of the multiple candidate processing rules corresponding to the second modification item; the multiple candidate processing rules are displayed in the rule modification interface according to the display order, and the display order is positively correlated with the historical selection counts.
2. The method according to claim 1, characterized in that, The method further includes: If the first editing permission includes the permission to create a business template, and the target editing operation is an editing operation for creating a third business template, in response to the target editing operation, the third business template is created, and the third business template is set to be allowed to be used by the target type of account, wherein the information generated by the target type of account using the third business template is set to be invisible to the first account.
3. The method according to claim 1, characterized in that, When the first account is logged into the business approval application, the business template editing interface is displayed, including one of the following: When the first editing permission is the permission to modify an existing business template, the business template editing interface is displayed in the business approval application, and a set of business template identifiers is displayed on the business template editing interface, wherein each business template identifier in the set of business template identifiers is used to represent a business template that has been created and is allowed to be modified by the first account; When the first editing permission is the permission to create a business template, the business template editing interface is displayed in the business approval application, and a target control is displayed on the business template editing interface, wherein the target control is used to create a business template; When the first editing permission includes the permission to modify an existing business template and the permission to create a new business template, the business template editing interface is displayed in the business approval application, and the set of business template identifiers and the target control are displayed on the business template editing interface.
4. The method according to claim 1, characterized in that, Setting the second business template to allow use by the target type of account includes: In cases where accounts other than those granted the first editing permission are prohibited from modifying the created business template, the second business template is set to be allowed to be used by accounts of the first type. The target type of account is the first type of account, and information generated by accounts other than the first account using the second business template is set to be invisible to the first account; or If the target type of account is a third type of account and the third type of account is prohibited from modifying the created business template, the second business template is set to be allowed to be used by the third type of account, wherein the first type, the second type and the third type are different types.
5. The method according to claim 1, characterized in that, Setting the second business template to allow use by the target type of account includes: In cases where accounts of the first type, excluding those granted the first editing permission, are prohibited from creating business templates, or prohibited from modifying existing business templates, the second business template is set to be allowed to be used by accounts of the first type. The target type of account is the first type of account, and information generated by accounts of the first type other than the first account using the second business template is set to be invisible to the first account; or If the target type of account is a third type of account, the third type of account is prohibited from creating business templates, or is prohibited from creating business templates and is prohibited from modifying existing business templates, the second business template will be set to be allowed to be used by the third type of account, wherein the first type, the second type, and the third type are different types.
6. The method according to any one of claims 1 to 5, characterized in that, The method further includes: Obtain the permission configuration operations performed by the second account on the permission configuration interface of the second account; In response to the permission configuration operation, the first editing permission is assigned to the first account.
7. The method according to claim 6, characterized in that, The method of assigning first editing permissions to a first account of a first type through a second account of a second type includes one of the following: The first account is granted permission to modify the created business templates, wherein the information generated when the modified business templates are used by the first account is invisible to the first account. The first account is granted permission to create business templates, wherein the information generated when the business template created by the first account is used is invisible to the first account. The first account is granted permissions to modify existing business templates and to create new business templates. Information generated when a modified business template is used by the first account is invisible to the first account, and information generated when a business template created by the first account is used is also invisible to the first account.
8. The method according to claim 7, characterized in that, The permission granted to the first account to modify the created business template includes at least one of the following: Assign the first account permission to modify the functional controls of the created business template, wherein the functional controls refer to the controls used when editing the information to be approved; The first account is granted permission to modify the processing flow of the created business template, wherein the processing flow is used to indicate the processing steps for the information to be approved.
9. A method for configuring business template editing permissions, characterized in that, include: On the permission configuration interface of the second account, obtain the permission configuration operation performed by the second account, wherein the type of the second account is the second type, and the second account is an account that is allowed to be assigned the permission to edit business templates; In response to the permission configuration operation, a first editing permission is assigned to a first account, wherein the type of the first account is a first type different from the second type, and the first editing permission includes the permission to modify the created business template; The method further includes: In response to the target editing operation performed by the first account on the business template editing interface, the first business template is modified into a second business template on the business template editing interface: in response to the target editing operation being an operation on the rule modification area, the rule modification interface is displayed; in the rule modification interface, the display style of the modified item is changed based on the modification information of the modified item, and the processing rule is displayed, the display style being used to determine whether the processing rule corresponding to the modified item is in an enabled or disabled state, and the processing rule being used to indicate the processing method for the pending approval information corresponding to the created business template; Configure the second business template to allow it to be used by accounts of the target type; The information generated by the target type account using the second business template is set to be invisible to the first account and visible to the second account. The step of changing the display style of the modified item based on the modification information in the rule modification interface and displaying the processing rules includes: When a modification operation is detected for the first modification item, the display style of the first modification item is switched from the first display style to the second display style, and the processing rule that uniquely corresponds to the first modification item is displayed in the rule modification interface; Upon detecting a modification operation for the second modification item, the display order of the multiple candidate processing rules is determined based on the historical selection counts of each of the multiple candidate processing rules corresponding to the second modification item; the multiple candidate processing rules are displayed in the rule modification interface according to the display order, and the display order is positively correlated with the historical selection counts.
10. The method according to claim 9, characterized in that, Assigning the first editing permission to the first account includes one of the following: The first account is granted permission to modify the created business templates, wherein the information generated when the modified business templates are used by the first account is invisible to the first account. The first account is granted permission to create business templates, wherein the information generated when the business template created by the first account is used is invisible to the first account. The first account is granted permissions to modify existing business templates and to create new business templates. Information generated when a modified business template is used by the first account is invisible to the first account, and information generated when a business template created by the first account is used is also invisible to the first account.
11. The method according to claim 9, characterized in that, The permission granted to the first account to modify the created business template includes at least one of the following: The first account is granted permission to modify the processing rules for the created business template, wherein the processing rules are used to indicate the processing method for the pending approval information corresponding to the created business template; Assign the first account permission to modify the functional controls of the created business template, wherein the functional controls refer to the controls used when editing the information to be approved; The first account is granted permission to modify the processing flow of the created business template, wherein the processing flow is used to indicate the processing steps for the information to be approved.
12. A device for configuring business template editing permissions, characterized in that, include: The device is used to: assign a first editing permission to a first account of a first type through a second account of a second type, wherein the first type and the second type are different, and the first editing permission includes the permission to modify the created business template; The display module is used to display the business template editing interface when the first account is logged into the business approval application; The first acquisition module is used to acquire the target editing operation performed by the first account on the business template editing interface; The modification module is used to modify the first business template into the second business template on the business template editing interface in response to the target editing operation: if the target editing operation is an operation on the rule modification area, the rule modification interface is displayed. In the rule modification interface, the display style of the modification item is changed based on the modification information of the modification item, and the processing rule is displayed. The display style is used to determine whether the processing rule corresponding to the modification item is enabled or disabled. The processing rule is used to indicate the processing method for the pending approval information corresponding to the created business template. The device is also used for: Configure the second business template to allow it to be used by accounts of the target type; The information generated by the target type account using the second business template is set to be invisible to the first account and visible to the second account. The step of changing the display style of the modified item based on the modification information in the rule modification interface and displaying the processing rules includes: When a modification operation is detected for the first modification item, the display style of the first modification item is switched from the first display style to the second display style, and the processing rule that uniquely corresponds to the first modification item is displayed in the rule modification interface; Upon detecting a modification operation for the second modification item, the display order of the multiple candidate processing rules is determined based on the historical selection counts of each of the multiple candidate processing rules corresponding to the second modification item; the multiple candidate processing rules are displayed in the rule modification interface according to the display order, and the display order is positively correlated with the historical selection counts.
13. The apparatus according to claim 12, characterized in that, The device is also used for: If the first editing permission includes the permission to create a business template, and the target editing operation is an editing operation for creating a third business template, in response to the target editing operation, the third business template is created, and the third business template is set to be allowed to be used by the target type of account, wherein the information generated by the target type of account using the third business template is set to be invisible to the first account.
14. The apparatus according to claim 12, characterized in that, The device is used to display a business template editing interface when the first account is logged into the business approval application, including one of the following methods: When the first editing permission is the permission to modify an existing business template, the business template editing interface is displayed in the business approval application, and a set of business template identifiers is displayed on the business template editing interface, wherein each business template identifier in the set of business template identifiers is used to represent a business template that has been created and is allowed to be modified by the first account; When the first editing permission is the permission to create a business template, the business template editing interface is displayed in the business approval application, and a target control is displayed on the business template editing interface, wherein the target control is used to create a business template; When the first editing permission includes the permission to modify an existing business template and the permission to create a new business template, the business template editing interface is displayed in the business approval application, and the set of business template identifiers and the target control are displayed on the business template editing interface.
15. The apparatus according to claim 12, characterized in that, The device is used to configure the second business template to be allowed to be used by accounts of the target type in the following manner: In cases where accounts other than those granted the first editing permission are prohibited from modifying the created business template, the second business template is set to be allowed to be used by accounts of the first type. The target type of account is the first type of account, and information generated by accounts other than the first account using the second business template is set to be invisible to the first account; or If the target type of account is a third type of account and the third type of account is prohibited from modifying the created business template, the second business template is set to be allowed to be used by the third type of account, wherein the first type, the second type and the third type are different types.
16. The apparatus according to claim 12, characterized in that, The device is used to configure the second business template to be allowed to be used by accounts of the target type in the following manner: In cases where accounts of the first type, excluding those granted the first editing permission, are prohibited from creating business templates, or prohibited from modifying existing business templates, the second business template is set to be allowed to be used by accounts of the first type. The target type of account is the first type of account, and information generated by accounts of the first type other than the first account using the second business template is set to be invisible to the first account; or If the target type of account is a third type of account, the third type of account is prohibited from creating business templates, or is prohibited from creating business templates and is prohibited from modifying existing business templates, the second business template will be set to be allowed to be used by the third type of account, wherein the first type, the second type, and the third type are different types.
17. The apparatus according to any one of claims 12 to 15, characterized in that, The device is also used for: Obtain the permission configuration operations performed by the second account on the permission configuration interface of the second account; In response to the permission configuration operation, the first editing permission is assigned to the first account.
18. The apparatus according to claim 15, characterized in that, The device is used to assign first editing permissions to a first account of a first type through a second account of a second type in one of the following ways: The first account is granted permission to modify the created business templates, wherein the information generated when the modified business templates are used by the first account is invisible to the first account. The first account is granted permission to create business templates, wherein the information generated when the business template created by the first account is used is invisible to the first account. The first account is granted permissions to modify existing business templates and to create new business templates. Information generated when a modified business template is used by the first account is invisible to the first account, and information generated when a business template created by the first account is used is also invisible to the first account.
19. The apparatus according to claim 18, characterized in that, The device is used to assign permission to the first account to modify an existing business template in the following manner, including at least one of the following: The first account is granted permission to modify the processing rules for the created business template, wherein the processing rules are used to indicate the processing method for the pending approval information corresponding to the created business template; Assign the first account permission to modify the functional controls of the created business template, wherein the functional controls refer to the controls used when editing the information to be approved; The first account is granted permission to modify the processing flow of the created business template, wherein the processing flow is used to indicate the processing steps for the information to be approved.
20. A device for configuring business template editing permissions, characterized in that, include: The second acquisition module is used to acquire the permission configuration operation performed by the second account on the permission configuration interface of the second account, wherein the type of the second account is the second type, and the second account is an account that is allowed to be assigned the permission to edit business templates; The allocation module is used to allocate a first editing permission to a first account in response to the permission configuration operation. The first account is of a first type that is different from the second type. When the first editing permission includes the permission to modify the created business template, the information generated when the modified business template is used by the first account is invisible to the first account. The device is also used for: In response to the target editing operation performed by the first account on the business template editing interface, the first business template is modified into a second business template on the business template editing interface: in response to the target editing operation being an operation on the rule modification area, the rule modification interface is displayed; in the rule modification interface, the display style of the modified item is changed based on the modification information of the modified item, and the processing rule is displayed, the display style being used to determine whether the processing rule corresponding to the modified item is in an enabled or disabled state, and the processing rule being used to indicate the processing method for the pending approval information corresponding to the created business template; Configure the second business template to allow it to be used by accounts of the target type; The information generated by the target type account using the second business template is set to be invisible to the first account and visible to the second account. The step of changing the display style of the modified item based on the modification information in the rule modification interface and displaying the processing rules includes: When a modification operation is detected for the first modification item, the display style of the first modification item is switched from the first display style to the second display style, and the processing rule that uniquely corresponds to the first modification item is displayed in the rule modification interface; Upon detecting a modification operation for the second modification item, the display order of the multiple candidate processing rules is determined based on the historical selection counts of each of the multiple candidate processing rules corresponding to the second modification item; the multiple candidate processing rules are displayed in the rule modification interface according to the display order, and the display order is positively correlated with the historical selection counts.
21. The apparatus according to claim 20, characterized in that, The device is used to assign the first editing permission to the first account in one of the following ways: The first account is granted permission to modify the created business templates, wherein the information generated when the modified business templates are used by the first account is invisible to the first account. The first account is granted permission to create business templates, wherein the information generated when the business template created by the first account is used is invisible to the first account. The first account is granted permissions to modify existing business templates and to create new business templates. Information generated when a modified business template is used by the first account is invisible to the first account, and information generated when a business template created by the first account is used is also invisible to the first account.
22. The apparatus according to claim 20, characterized in that, The device is used to assign permission to the first account to modify an existing business template in the following manner, including at least one of the following: The first account is granted permission to modify the processing rules for the created business template, wherein the processing rules are used to indicate the processing method for the pending approval information corresponding to the created business template; Assign the first account permission to modify the functional controls of the created business template, wherein the functional controls refer to the controls used when editing the information to be approved; The first account is granted permission to modify the processing flow of the created business template, wherein the processing flow is used to indicate the processing steps for the information to be approved.
23. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes a stored program, wherein the program can be executed by a terminal device or computer at runtime as described in any one of claims 1 to 8 or 9 to 11.
24. A computer program product comprising a computer program / instructions, characterized in that, When the computer program / instructions are executed by the processor, they implement the steps of the method described in any one of claims 1 to 8 or 9 to 11.
25. An electronic device comprising a memory and a processor, characterized in that, The memory stores a computer program, and the processor is configured to execute the method described in any one of claims 1 to 8 or 9 to 11 via the computer program.
Citation Information
Patent Citations
Permission template editing method and device
CN108280362A
