A two-ticket electrical ticket opening system based on a WeChat applet and an implementation method thereof

The electrical two-ticket invoicing system based on WeChat mini-program has solved the problems of low efficiency and insufficient security of traditional paper tickets, realized the electronic management of work tickets and operation tickets, improved the system's security and user experience, and supports offline operation.

CN122390823APending Publication Date: 2026-07-14湖北能源集团西北新能源发展有限公司 +1

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
湖北能源集团西北新能源发展有限公司
Filing Date
2026-04-10
Publication Date
2026-07-14

AI Technical Summary

Technical Problem

Traditional paper-based work tickets and operation tickets suffer from inefficiency, management difficulties, insufficient security, and poor coordination. Existing electronic ticketing systems also have shortcomings in terms of functional completeness, user experience, and security.

Method used

Design an electrical invoicing system based on WeChat Mini Program, including modules for user management, work order management, operation order management, approval process, data security, and notification and reminder. It adopts AES encryption algorithm, multi-factor authentication, and real-time notification function, and supports offline operation.

Benefits of technology

It enables electronic and intelligent management of work tickets and operation tickets, improves work efficiency and management level, ensures data security and integrity, provides a user-friendly interface and flexible approval process, and supports offline operation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122390823A_ABST
    Figure CN122390823A_ABST
Patent Text Reader

Abstract

This invention provides an electrical invoicing system and implementation method based on WeChat Mini Programs. The system includes: a user management module for acquiring basic user information, assigning different permissions according to user roles, and supporting multi-factor authentication; a work ticket management module for creating new work tickets; an operation ticket management module for creating new operation tickets; an approval process module for setting up multi-level approvals according to actual needs and dynamically adjusting the approval path based on the content of work tickets or operation tickets; a data security module for encrypting and storing sensitive data using the AES encryption algorithm and assigning different data access permissions to different roles through access control; and a notification and reminder module for sending approval results and task reminders to users via push notifications and setting up email or SMS notifications. This invention enables the electronic and intelligent management of work tickets and operation tickets, improving work efficiency and management level.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of electronic ticketing management system technology, and more specifically, to an electrical ticketing system and its implementation method based on WeChat mini-program. Background Technology

[0002] In industrial production and equipment operation and maintenance, work orders and operation tickets are crucial tools for ensuring work safety and standardizing operating procedures. Traditional work orders and operation tickets are typically paper-based, which presents the following problems: Inefficient: Paper tickets require manual filling, approval, and transmission, which is cumbersome and time-consuming.

[0003] Management difficulties: Paper tickets are easily lost or damaged, and are difficult to archive and retrieve effectively.

[0004] Insufficient security: Paper tickets are easy to counterfeit, and there is a risk of information leakage during the transmission process.

[0005] Poor coordination: Paper tickets make it difficult to achieve real-time collaborative operations among multiple departments and personnel.

[0006] With the development of mobile internet technology, electronic ticketing systems based on WeChat mini programs have gradually emerged. However, existing electronic ticketing systems still have shortcomings in terms of functional completeness, user experience, and security. For example, some systems lack flexible approval process customization functions, failing to meet the personalized needs of different enterprises; some systems have vulnerabilities in data security and user privacy protection; and some systems are not user-friendly, are complex to operate, and affect users' enthusiasm for using them.

[0007] To address these issues, this invention proposes an electrical work ticket and operation ticket invoicing system based on WeChat mini-programs, aiming to solve the aforementioned problems, realize the electronic and intelligent management of work tickets and operation tickets, and improve work efficiency and management level. Summary of the Invention

[0008] This invention addresses the technical problems existing in the prior art by providing an electrical two-ticket invoicing system and implementation method based on WeChat mini-program, so as to realize the electronic and intelligent management of work tickets and operation tickets, and improve work efficiency and management level.

[0009] According to a first aspect of the present invention, an electrical invoicing system based on a WeChat mini-program is provided, comprising: The user management module is used to obtain basic user information, assign different permissions according to user roles, and support multi-factor authentication. The work order management module is used to create new work orders, and fill in information including work content, responsible person, expected start and end times, and risk assessment information. The operation ticket management module is used to create new operation tickets, and fill in information including operation content, operator, operation time, and risk assessment information. The approval process module is used to set up multi-level approvals according to actual needs and dynamically adjust the approval path based on the content of the work order or operation order. The data security module is used to encrypt and store sensitive data. It adopts the AES encryption algorithm and assigns different data access permissions to different roles through access control. The notification and reminder module is used to send approval results and task reminders to users via push notifications, and to set up the receipt of email or SMS notifications.

[0010] Based on the above technical solution, the present invention can also be improved as follows.

[0011] Optionally, in the user management module, the administrator has the authority to manage user information, including adding, deleting, and modifying user information, and assigning corresponding roles and permissions.

[0012] Optionally, in the work order management module, users create new work orders and fill in the work order creation information; before approval, users can edit the work order content at any time; after approval, the work order status will change to "approved", otherwise it will be "rejected". Optionally, after creating a new work order, users can query the work orders they created or participated in, and filter them according to time, status, and responsible person criteria; administrators have the function of counting the number of work orders, viewing the status distribution, and generating corresponding reports.

[0013] Optionally, in the approval process module, the system supports customized approval processes, allowing users to set up multi-level approvals according to actual needs, and dynamically adjust the approval path based on the content of work orders or operation tickets; the system has a real-time notification function, which can notify the approver via WeChat message push function whenever the approver receives a new approval request; the system will record the operator, approval time, and approval comments for each approval in detail, which is convenient for subsequent traceability and auditing.

[0014] Optionally, in the data security module, the system regularly backs up database data and performs data recovery when needed; the system also records user operation logs and performs security audits to promptly identify and fix potential security vulnerabilities.

[0015] Optionally, the system also includes an offline mode. In the event of an unstable or no network environment, the system supports a local caching function, allowing users to continue operating. The data will be temporarily stored in the local cache, and the system will automatically synchronize the locally cached data to the server after the network is restored.

[0016] According to a second aspect of the present invention, a method for implementing an electrical invoicing system based on a WeChat mini-program is provided, comprising the following steps: Based on user needs, the mini-program is divided into two main sections: work tickets and operation tickets. These two sections are then categorized and sorted according to priority to determine the order of development. Open WeChat and enter the mini program. Click login. After the user confirms authorization, the system will automatically obtain the user's basic WeChat information and perform identity authentication through the OAuth 2.0 protocol, as well as additional verification through SMS verification code or fingerprint recognition. Create a work order in the work order management module. On the form creation page, fill in the work content, person in charge, expected start and end times, risk assessment and other relevant information. Upon receiving a new approval request, the auditor enters the system's approval process interface to view the list of work orders pending approval and selects a specific work order to view its details. Based on the review, the auditor selects "Approve" or "Reject" and adds approval comments. The approval result is then sent to the user via WeChat push notification. If approved, the work order status is updated to "Approved"; if rejected, the work order status is updated to "Rejected" with reasons and suggestions. After logging into the system, users can use the work order or operation ticket query interface to filter and view all work orders they have created or participated in, their detailed information, and approval records based on time range, status, responsible person, or participants. They can also edit and update incomplete work orders.

[0017] Optionally, during the form creation process, the system verifies the data in real time and provides auxiliary functions to help users quickly complete the form. After completion, users click submit. Once the system verifies the data and finds it correct, it generates a new work order, assigns a unique number and stores it in the database, updates the status to "pending approval," and notifies the relevant approvers. After successful approval, users can view the details of the newly created work order or make further edits on the main work order management interface.

[0018] Optionally, after users log in to the system, administrators have higher privileges and can access statistics and reporting functions to count the number of work orders by department, project, time period, or status distribution dimension, generate statistical data in the form of charts or tables in real time, and export detailed reports.

[0019] The technical effects and advantages of this invention are as follows: This invention provides an electrical work ticket and operation ticket invoicing system and its implementation method based on WeChat Mini Programs. It enables the electronic and intelligent management of work tickets and operation tickets, improving work efficiency and management level. Developed on the WeChat Mini Program platform, the system employs multiple security measures to ensure data security and integrity. Its flexible architecture design provides strong scalability. The system offers a user-friendly interface with a simple and intuitive design and clear, easy-to-understand operation process. Offline operation is supported, allowing users to continue operating even in environments with unstable or no network connection. This system is widely used in industrial production, equipment maintenance, and operation and maintenance management to standardize workflows, improve work efficiency, and ensure operational safety.

[0020] Other features and advantages of the invention will be set forth in the description which follows, and will be apparent in part from the description, or may be learned by practicing the invention. The objects and other advantages of the invention may be realized and obtained by means of the structures pointed out in the description, claims and drawings. Attached Figure Description

[0021] Figure 1 This is a functional diagram of the work order and operation ticket system provided in an embodiment of the present invention; Figure 2 A diagram of a work order creation page provided in an embodiment of the present invention; Figure 3 This is a diagram of a work order query interface provided in an embodiment of the present invention; Figure 4 This is a diagram of the operation ticket query interface provided in an embodiment of the present invention. Detailed Implementation

[0022] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0023] It should be noted that this system is based on the WeChat Mini Program platform and adopts a client-server architecture. Among other things, WeChat Mini Program Client The system features a user-friendly interface and supports multiple functions such as creating, editing, approving, querying, and statistically analyzing work orders and operation tickets. It integrates WeChat's identity authentication mechanism to ensure the authenticity and security of user identities.

[0024] Meanwhile, the system includes a data interaction module capable of real-time data synchronization and updates with the server. Furthermore, the system features a notification function, sending timely notifications to users via WeChat push notifications regarding approval status and task reminders. To address network instability, the system supports offline operation; data is cached locally and automatically synchronized once the network is restored, ensuring continuity of work and data integrity.

[0025] Server side The application server is responsible for handling client requests and executing business logic, such as creating, approving, and querying work tickets and operation tickets; the database server stores data such as work tickets, operation tickets, user information, and approval records, supporting both relational databases (such as MySQL) and non-relational databases (such as MongoDB); the security authentication server is responsible for user authentication, permission management, and data encryption to ensure system security; the log server records system operation logs for easy auditing and troubleshooting; and the cache server uses caching technologies such as Redis to effectively improve data access speed and reduce server load.

[0026] In this embodiment of the invention, front-end development utilizes the WeChat Mini Program development framework, built using technologies such as WXML, WXSS, and JavaScript. Back-end development employs technologies such as Node.js, Java, and Python, implementing data interaction through a RESTful API. Regarding database design, a reasonable database structure is adopted to ensure data integrity and consistency. Furthermore, throughout the entire development process, the Secure Development Lifecycle (SDL) methodology is followed, emphasizing security at every stage from requirements analysis, design, development, testing to deployment, ensuring the overall security of the system.

[0027] User Authentication and Authorization: The system integrates WeChat's identity authentication mechanism. After a user logs in with WeChat authorization, the system automatically obtains their basic information. Simultaneously, it employs the OAuth 2.0 protocol for user authentication and authorization, ensuring the authenticity and security of user identities. Furthermore, the system supports multi-factor authentication, such as SMS verification codes and fingerprint recognition, further enhancing security and ensuring the safety and reliability of user data.

[0028] Data Interaction and Synchronization: The system employs WebSocket technology to achieve real-time data synchronization between the client and server. Simultaneously, caching technologies such as Redis are used to improve data access speed and reduce server load. Furthermore, in environments with unstable or no network access, the system supports offline caching; data is cached locally and automatically synchronized once the network is restored, ensuring data consistency and system availability.

[0029] Security Measures: The system encrypts and stores sensitive data using encryption algorithms such as AES to ensure data security. Firewalls and intrusion detection systems are also deployed to effectively prevent external attacks. Regular security audits are conducted to promptly identify and fix potential security vulnerabilities. Furthermore, the system records user operation logs and performs log auditing to ensure overall system security and data protection.

[0030] Understandably, given the deficiencies in the background technology, this invention proposes an electrical invoicing system based on a WeChat mini-program, comprising the following modules: The user management module is used to obtain basic user information, assign different permissions according to user roles, and support multi-factor authentication. In this implementation module, after a user logs in to the system via WeChat authorization, the system automatically obtains their basic information, such as name, employee ID, and contact information. The system implements strict access control, assigning different permissions based on user roles (such as work supervisor, work issuer, work permit holder, etc.) to ensure system security. Administrators have user information management permissions, allowing them to add, delete, and modify user information, and assign corresponding roles and permissions. Furthermore, the system supports multi-factor authentication, such as SMS verification codes and fingerprint recognition, further enhancing security.

[0031] The work order management module is used to create new work orders, and fill in information including work content, responsible person, expected start and end times, and risk assessment information. In this implementation module, users can create new work orders, filling in relevant information such as work content, responsible person, expected start and end times, and risk assessment. Users can edit the work order content at any time before approval. Approvers are responsible for reviewing work orders; once approved, the work order status changes to "Approved," otherwise it changes to "Rejected." Users can query work orders they created or participated in, and filter them by time, status, responsible person, etc. Administrators have the function of counting the number of work orders, viewing status distribution, and generating corresponding reports. Furthermore, the system supports exporting work orders to PDF, Excel, and other formats for easy archiving and printing.

[0032] The operation ticket management module is used to create new operation tickets, and fill in information including operation content, operator, operation time, and risk assessment information. In this implementation module, users can create new operation tickets, filling in relevant information such as operation content, operator, operation time, and risk assessment. Users can edit the operation ticket content at any time before approval. Approver is responsible for approving the operation tickets; once approved, the operation ticket status will change to "Approved"; otherwise, it will be "Rejected." Users can query operation tickets they created or participated in, filtering them by time, status, operator, and other criteria. Administrators have the function of counting the number of operation tickets, viewing status distribution, and generating corresponding reports. Furthermore, the system supports exporting operation tickets to PDF, Excel, and other formats for easy archiving and printing.

[0033] The approval process module is used to set up multi-level approvals according to actual needs and dynamically adjust the approval path based on the content of work orders or operation tickets. In this implementation module, the system supports customizable approval workflows, allowing users to set up multi-level approvals (such as first-level approval, second-level approval, etc.) according to actual needs. Based on the content of work orders or operation tickets (such as risk level, urgency, etc.), the system can dynamically adjust the approval path to ensure the flexibility and adaptability of the approval process. Simultaneously, the system has a real-time notification function; whenever an approver receives a new approval request, they will be promptly notified via WeChat push notifications. Furthermore, the system records detailed information such as the operator, approval time, and approval comments for each approval, facilitating subsequent traceability and auditing, and ensuring the transparency and traceability of the approval process.

[0034] The data security module is used to encrypt and store sensitive data. It uses encryption algorithms such as AES and controls access permissions so that different roles are given different data access permissions to prevent data leakage and tampering. In this implementation module, the system encrypts and stores sensitive data using encryption algorithms such as AES to ensure data security during storage. Simultaneously, access control assigns different data access permissions to different roles, effectively preventing data leakage and tampering. To ensure data security and integrity, the system regularly backs up database data and performs data recovery when necessary. Furthermore, the system records user operation logs and performs security audits to promptly identify and fix potential security vulnerabilities.

[0035] The notification and reminder module is used to send approval results and task reminders to users via push notifications, and to set up the option to receive email notifications or select SMS notifications.

[0036] In this implementation module, the system uses WeChat push notifications to promptly send approval results, task reminders, and other information to users. Users can also choose to enable email notifications or SMS notifications to meet different user preferences and ensure timely delivery of important information.

[0037] Offline mode In environments with unstable or no network access, the system supports local caching, allowing users to continue operating while data is temporarily stored in the local cache. Once the network is restored, the system will automatically synchronize the locally cached data to the server, ensuring data integrity and consistency.

[0038] In addition, the present invention also provides a method for implementing an electrical invoicing system based on a WeChat mini-program, comprising the following steps: S1. Requirements Analysis; Identify target users, define user groups, and list the core modules of the mini-program based on user needs (such as work tickets and operation tickets). Categorize and summarize the two modules. Prioritize them to determine the development order.

[0039] like Figure 1 The diagram shown is a functional schematic of the work permit and operation permit system of the present invention. Work permits are divided into electrical work permit 1, electrical work permit 2, hot work permit, cable work permit 1, and cable work permit 2. The work permit system is created by the work supervisor, issued by the work issuer, with the supervisor implementing safety measures, the permitter granting permission, the supervisor initiating a result application, and the permit being released after confirmation. Operation permits are printed from typical operation permits, issued by the issuer, received by the operator and supervisor, with the operator performing the operation and the supervisor monitoring. The permit is released after the operation is completed and confirmed to be correct.

[0040] S2. User Registration and Login: Users simply need to open WeChat and enter the mini-program. After clicking "Login," the system will pop up an authorization window through WeChat's authorization mechanism. After the user confirms the authorization, the system will automatically obtain the user's basic WeChat information (such as nickname, profile picture, OpenID, etc.) and perform identity authentication through the OAuth 2.0 protocol to ensure the authenticity and security of the user's identity. Simultaneously, the system also integrates a multi-factor authentication mechanism. In critical operations or high-risk scenarios, additional verification can be performed through SMS verification codes or fingerprint recognition to further protect user data security. The entire login and authentication process does not require users to manually enter their account and password, making it simple and secure, providing users with an efficient and convenient user experience.

[0041] S3. Creating a Work Order: After logging into the system, users click "Create Work Order" in the Work Order Management module. The system will redirect to a detailed form creation page where users need to fill in the work content, responsible person, expected start and end times, risk assessment, and other relevant information. During the filling process, the system verifies the data in real time to ensure the completeness and accuracy of the information and provides auxiliary functions to help users quickly complete the form. After completion, users click "Submit." The system verifies the data again and, if it is correct, generates a new work order, assigns a unique number, stores it in the database, updates its status to "Pending Approval," and notifies the relevant approvers. Upon successful completion, users can see the newly created work order on the main work order management interface and view its detailed information or make further edits. The entire process is simple and smooth, ensuring the standardization and accuracy of work order information, laying the foundation for subsequent approval and execution. Figure 2 The image shows the page for creating a work order.

[0042] S4. Approving Work Orders: Upon receiving a new approval request, the approver enters the system's approval process interface, views the list of work orders awaiting approval, and selects a specific work order to view detailed information, including work content, responsible person, estimated time, risk assessment, etc. Based on the review, the approver selects "Approve" or "Reject," and can add approval comments. The approval result is immediately notified to the user and other relevant parties via WeChat push notification. If approved, the work order status is updated to "Approved"; if rejected, it is updated to "Rejected" with reasons and suggestions.

[0043] S5. Query and Statistics; After logging into the system, users can use the work order query function to filter and view all work orders they have created or participated in, based on criteria such as time range, status, responsible person, or participants. They can view detailed information and approval records, and edit and update incomplete work orders. Administrators have higher-level permissions, accessing the statistics and reporting functions to count the number of work orders by department, project, time period, or status distribution, generating statistical data in real-time in chart or table format, and exporting detailed reports in PDF or Excel format. Figure 3 , 4 These are the work order and operation order query interfaces, respectively.

[0044] In summary, this invention provides an electrical work ticket and operation ticket invoicing system and implementation method based on a WeChat mini-program, realizing the electronic and intelligent management of work tickets and operation tickets, and improving work efficiency and management level. Compared with the prior art, it has the following technical effects: 1. High Efficiency and Convenience: Developed on the WeChat Mini Program platform, this system eliminates the need for users to download or install additional applications; they can quickly access and use it simply through WeChat. This design not only saves users' device storage space but also simplifies the usage process and enhances ease of use. Users can access the system anytime, anywhere via WeChat to manage work orders and operation tickets, significantly improving work efficiency. Furthermore, the lightweight and fast-loading nature of WeChat Mini Programs ensures a smooth user experience.

[0045] 2. High Security: The system employs multiple security measures to ensure data security and integrity. First, it integrates WeChat's identity authentication mechanism; users log in via WeChat authorization, and the system automatically obtains the user's basic information, ensuring the authenticity of the user's identity. Second, it uses the OAuth 2.0 protocol for user authentication and authorization, further guaranteeing the authenticity and security of the user's identity. In addition, the system supports multi-factor authentication, such as SMS verification codes and fingerprint recognition, providing an extra layer of protection for user data. The application of data encryption technologies (such as the AES algorithm) ensures the security of sensitive data during storage and transmission. The deployment of firewalls and intrusion detection systems effectively prevents external attacks and protects the system from malicious intrusion.

[0046] 3. High Scalability: The system architecture is flexible and boasts strong scalability. Whether it's an increase in the number of users or an expansion of functional requirements, the system can easily handle it. Modular design simplifies adding new features and upgrading existing ones, eliminating the need for large-scale system refactoring. The backend utilizes a flexible technology stack including Node.js, Java, and Python, and implements data interaction through a RESTful API, ensuring the system can adapt to constantly changing needs. The database design also considers future scalability, supporting both relational databases (such as MySQL) and non-relational databases (such as MongoDB) to meet data storage needs in different scenarios.

[0047] 4. Excellent User Experience: The system offers a user-friendly interface with a simple and intuitive design and clear, easy-to-understand operation process. Users can easily create, edit, approve, query, and analyze work orders and operation tickets without requiring complex training. Furthermore, the system features real-time notification functionality, sending approval results, task reminders, and other information to users promptly via WeChat push notifications, ensuring users receive important information immediately and improving work efficiency. The combination of a user-friendly interface and real-time notification functionality provides users with an excellent user experience.

[0048] 5. Offline Support: The system supports offline operation, allowing users to continue working even in environments with unstable or no network connectivity. Data is cached locally and automatically synchronized to the server once the network is restored, ensuring data integrity and consistency. This design is particularly suitable for users who need to work in mobile environments, such as field engineers and inspection personnel, ensuring they can work normally without a network connection. The offline caching function not only improves system availability but also enhances the user experience, enabling users to complete their tasks smoothly in any environment.

[0049] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.

[0050] Although preferred embodiments of the invention have been described, those skilled in the art, upon learning the basic inventive concept, can make other changes and modifications to these embodiments. Therefore, the appended claims are intended to be interpreted as including both the preferred embodiments and all changes and modifications falling within the scope of the invention.

[0051] Obviously, those skilled in the art can make various modifications and variations to this invention without departing from its spirit and scope. Therefore, if these modifications and variations fall within the scope of the claims of this invention and their equivalents, this invention also intends to include these modifications and variations.

[0052] Finally, it should be noted that the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art can still modify the technical solutions described in the foregoing embodiments or make equivalent substitutions for some of the technical features. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the protection scope of the present invention.

Claims

1. An electrical invoicing system based on WeChat mini-program, characterized in that, include: The user management module is used to obtain basic user information, assign different permissions according to user roles, and support multi-factor authentication. The work order management module is used to create new work orders, and fill in information including work content, responsible person, expected start and end times, and risk assessment information. The operation ticket management module is used to create new operation tickets, and fill in information including operation content, operator, operation time, and risk assessment information. The approval process module is used to set up multi-level approvals according to actual needs and dynamically adjust the approval path based on the content of the work order or operation order. The data security module is used to encrypt and store sensitive data. It adopts the AES encryption algorithm and assigns different data access permissions to different roles through access control. The notification and reminder module is used to send approval results and task reminders to users via push notifications, and to set up the receipt of email or SMS notifications.

2. The electrical invoicing system based on WeChat mini-program according to claim 1, characterized in that, In the user management module, the administrator has the authority to manage user information, including adding, deleting, and modifying user information, and assigning corresponding roles and permissions.

3. The electrical invoicing system based on WeChat mini-program according to claim 1, characterized in that, In the work order management module, users create new work orders and fill in the work order creation information; before approval, users can edit the work order content at any time; after approval, the work order status will change to "approved", otherwise it will be "rejected".

4. The electrical invoicing system based on WeChat mini-program according to claim 3, characterized in that, After creating a new work order, users can query the work orders they have created or participated in, and filter them by time, status, and responsible person. Administrators have the function of counting the number of work orders, viewing the status distribution, and generating corresponding reports.

5. The electrical invoicing system based on WeChat mini-program according to claim 1, characterized in that, In the approval process module, the system supports custom approval processes, allowing users to set up multi-level approvals according to actual needs and dynamically adjust the approval path based on the content of work orders or operation tickets. The system has a real-time notification function, which can notify approvers via WeChat message push whenever they receive a new approval request. The system will record the operator, approval time, and approval comments for each approval in detail, which will facilitate subsequent traceability and auditing.

6. The electrical invoicing system based on WeChat mini-program according to claim 1, characterized in that, In the data security module, the system regularly backs up database data and restores data when needed; the system also records user operation logs and performs security audits to promptly identify and fix potential security vulnerabilities.

7. The electrical invoicing system based on WeChat mini-program according to claim 1, characterized in that, The system also includes an offline mode. In the event of an unstable or no network environment, the system supports a local caching function, allowing users to continue operating. The data will be temporarily stored in the local cache, and the system will automatically synchronize the locally cached data to the server after the network is restored.

8. A method for implementing an electrical invoicing system based on a WeChat mini-program, characterized in that, Includes the following steps: Based on user needs, the mini-program is divided into two main sections: work tickets and operation tickets. These two sections are then categorized and sorted according to priority to determine the order of development. Open WeChat and enter the mini program. Click login. After the user confirms authorization, the system will automatically obtain the user's basic WeChat information and perform identity authentication through the WeChat OAuth 2.0 protocol, as well as additional verification through SMS verification code or fingerprint recognition. Create a work order in the work order management module. On the form creation page, fill in the work content, person in charge, expected start and end times, risk assessment and other relevant information. Upon receiving a new approval request, the auditor enters the system's approval process interface to view the list of work orders pending approval and selects a specific work order to view its details. Based on the review, the auditor selects "Approve" or "Reject" and adds approval comments. The approval result is then sent to the user via WeChat push notification. If approved, the work order status is updated to "Approved"; if rejected, the work order status is updated to "Rejected" with reasons and suggestions. After logging into the system, users can use the work order or operation ticket query interface to filter and view all work orders they have created or participated in, their detailed information, and approval records based on time range, status, responsible person, or participants. They can also edit and update incomplete work orders.

9. The implementation method of an electrical invoicing system based on WeChat mini-program according to claim 7, characterized in that, During the form creation process, the system verifies the data in real time and provides auxiliary functions to help users quickly complete the form. After completion, click submit. If the system verifies the data and finds it correct, it generates a new work order, assigns a unique number and stores it in the database, updates the status to "pending approval," and notifies the relevant approvers. After successful approval, users can view the details of the newly created work order or make further edits on the main work order management interface.

10. The implementation method of an electrical invoicing system based on WeChat mini-program according to claim 7, characterized in that, After users log in to the system, administrators have higher privileges and can access statistics and reporting functions to count the number of work orders by department, project, time period, or status distribution, generate statistical data in the form of charts or tables in real time, and export detailed reports.