OA system source code module design scheme

Time:2022-1-14

1. Model management: web online process designer, preview process XML, export XML, deploy process

2. Process management: import and export process resource files, view flow charts, reflect process models according to process instances, activate suspension, and jump freely

3. Running process: view process information, current task node, current flow chart, void and suspend process, and assign to-do person

4. Historical process: view process information, process time, process status, and view task initiator information

5. To do tasks: view your personal tasks and tasks under this role, handle, reject, void, and assign an agent

6. Completed tasks: view the tasks handled by yourself, as well as the process information, flow chart and process status (voiding and rejecting are completed normally)

Note: when the current task is completed, the next task to-do person will receive a new task message prompt through instant messaging, which will be regarded as abandoned and completed,

The task initiator will receive the notification of in station letter message

1. Code generator:Positive and negative two-way+Quick form builder

Freemaker template technology generates a complete module without writing 0 codes, with complete modules such as page, table creation, SQL script, processing class and service

2. Multiple data sources: (it supports connecting countless databases at the same time, and different modules can connect different data databases) it supports n data sources

3. Alibaba database connection pool Druid, security permission framework Shiro (menu permission and button permission), caching framework ehcache

4. Code editor, online template editor, imitation development tool editor

5. Call the camera to take photos, customize cutting and edit the avatar, and adjust the chromaticity of the avatar

6. Websocket can timely send messages and sound reminders in the station, real-time online management, and websocket can refresh the page in time (perfect Ajax Technology)

Update the instant messaging function, support friends, groups, send pictures, files, messages, sound reminders, offline messages, and keep chat records

——————————————————————-System module (fhadmin. CN)

1. Permission management: click the secondary menu to enter the tertiary menu to display roles (basic permissions) and button permissions

Role (basic permission): it is divided into role groups and roles, and independently assigned menu permissions and add, delete, modify and query permissions. (a user can have multiple roles)

Button permissions: assign button permissions to roles.

2. Button Management: Customize button management, maintain button Shiro permission ID, etc

3. Menu management: N-level custom menu, select the menu icon, and the menu status is displayed and hidden (recursive processing)

4. Data dictionary: N-level, supporting multi-level classification. Built in numbering, sorting, etc

5. Log management: record user login and exit and some important operation records

6. Online management: websocket technology can detect the list of online users in real time, count the number of online users, and force users to go offline. The same user can only log in at one client

7. System user: add, delete, modify and query each basic user, export to excel table and delete in batch

8. Code generation: generate complete module code and keep the generation record template, which can be reused (powerful development tool)

Forward generation: generate complete modules, such as HTML pages, processing classes, mapper layer, service layer, XML table creation SQL script of myabaits, etc

Reverse generation: arbitrarily connect other databases (mysql, Oracle, sqlserver) and generate modules of the cost system according to the table

9 template management: Code online editor, manage templates, save editing records, one click restore, and code generator is even more powerful

10. Performance monitoring: monitor the performance of the whole system, including SQL monitoring, SQL firewall, URL monitoring, spring monitoring, session monitoring, etc

11. Network monitoring: real time monitor the speed of data packets received by the server network, and display the dynamic chart

12. Server monitoring: monitor JVM memory, server memory and CPU utilization in real time. Read other configuration information of the server in a single time

13. Interface test: detect the system interface in post or get mode, encrypt parameters, return results in JSON, and calculate the server response time

14. System setting: modify the system name, the number of items displayed on each page, mail service configuration and station mail configuration

15. In station letter: receiving mailbox and sending mailbox, timely receiving reminder made by websocket technology and communication technology, and voice prompt letter can be configured

————————- – communication module single chat group chat send pictures send files offline messages keep chat records

16. Friend management: search, add, delete, blackmail friends and view friends’ information

17. Friend grouping: Customize friend grouping

18. My group: create a group, search for applications to join other people’s groups, kick out group members, and manage group chat records

—————————–(fhadmin.cn)

19. Database backup: single table (not supported by SQL Server) and whole database can be backed up, and local and remote backup (java interface programming technology and socket programming technology) can be supported

20. Backup timer: Quartz powerful task scheduling, multi-threaded backup database, task startup and shutdown asynchronous operation

21. Database restore: restore the historical backup records, restore the database or single table (not supported by SQL Server), and count the backup time and file size

22. SQL editor: powerful SQL editor, which supports editing complex query statements, generating dynamic reports, and exporting excel

————————- OA module (fhadmin. CN)

23. Organization: level n, company or department management

24. Employee management: and organization department management. You can bind the login system user to authorize data permissions

25. Work log: fill in daily work content. This module is bound with data permission

26. Leave application: add a leave form and follow the workflow leave model process

27. Car use application: add a car use form and follow the workflow car use model process

28. Overtime application: add an overtime form and follow the workflow overtime model process

29. Recruitment application: add a recruitment form and follow the workflow recruitment model process

30. Employment confirmation application: add employment confirmation documents and follow the workflow employment confirmation model process

31. Purchase requisition: add a purchase order and follow the workflow purchase model process

32. Reimbursement application: add a reimbursement document and follow the workflow reimbursement model process

33. General application: add a general order, select a process ID, and follow the corresponding model process

34. Notice and announcement: publish notice information. According to the authority of the organization, subordinates can see the notice and announcement issued by superiors

35. Supplies management: office supplies sub menu, maintain office supplies data

36. Requisition record: add requisition information in the sub menu of office supplies, and note whether it needs to be returned for easy recovery

37. Employee salary: generate salary slips individually and in batches according to the year and month, refer to attendance, print salary slips, and calculate the total amount

38. Fixed assets: maintain fixed asset information, including model, quantity, original price, depreciation, status, etc

39. Vehicle management: maintain vehicle information, brand color, maintenance, insurance, annual inspection time, status, model and other information

40. Personal notes: maintain personal notes. Individuals can only see personal data

41. Customer management: maintain personal customer data. You can copy and transfer your customers to other users

42. Schedule: maintain personal schedule in the form of calendar and list

43. Public documents: download documents published by other users

44. My files: upload files individually and in batches, turn them into public and private, preview pictures, text and PDF files, and play MP4 videos

45. Attendance management: maintain employee attendance information, such as late, early leave, absenteeism, overtime, business trip, leave, etc

46. Check in record: punch in at the mobile terminal, judge the punch in position by referring to the punch in IP and location, and set the time for going to and from work

(the background checks the map coordinates according to the positioning longitude and latitude. There is error in the positioning function, and the positioning authority of the mobile browser is required. There are few compatible ones)

47. Interface API: integrated swagger interface API generation

  1. Text extraction: upload a picture with text, read the text in the picture, handwritten text and the text on the certificate, and use Baidu API technology
  2. Electronic seal: a transparent PNG seal picture is generated according to the edited text information, which can be authorized to different roles to view
  3. Electronic signature: drag the mouse cursor to write a signature and generate a picture
  4. Contract management: edit and maintain contracts, print contracts, and call electronic seals and electronic signatures
  5. Conference Management: maintain the basic information of the conference, select participants, send in station letters and notices, and mark the use of the conference room

————————- user defined form (fhadmin. CN)

  1. Define template: drag the form element on the left to the right area, edit the form element, and save the form template
  2. Form template: edit and maintain form templates, copy form templates, modify template types, and preview form templates
  3. My form: select form template, edit form rules, whether to upload pictures and attachments, turn on rich text, attach process switch, etc
  4. Form data: from my form, you can add, delete, modify, query form data and modify form rules
  5. Attached record: records form data and process instance ID associated records, which can be deleted

Menu permissions: different menu permissions are assigned to each role. Each role sees different menus. N-level menus

Button permissions: independently assign different roles and different function permissions. Add, delete, modify and query permissions are assigned to different menus, and user-defined button management

It supports multi-user permission management background. Permissions are specific to different menus and different buttons (a user can have multiple roles)

This work adoptsCC agreement, reprint must indicate the author and the link to this article