Springboot flowable integration framework project source code vue.js Cross domain separation


Particular attentionThis code is spring boot workflow before and after separation + cross domain Version (authority control to menu and button)

Background framework:springboot2.3.0+ Flowable6.5.0+ Mybaits + Maven + interface

Front page: HTML+ vue.js Formal jQuery Ajax asynchronous cross domain JSON format data interaction is separated before and after, and the front and back platforms are deployed separately

(special attention, front end vue.js Is the introduction of HTML pages vue.js Form, using Tomcat deployment run, more suitable for background developers

1. Code generator:[positive and negative two-way] (single table, main table, detail list, tree table, sharp tool for rapid development)

Freemaker template technology, 0 code does not need to be written, generating a complete module with page, table building SQL script, processing class, service and other complete modules

2. Multiple data sources:(support to connect numerous databases at the same time, and different modules can connect different databases) support N data sources

3.Alidb connection pooldruid, security permission frameworkshiro(Menu permissions and button permissions, cache frameworkehcache

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

5. Call the camera to take picturesCustom cut edit head picture, head picture color adjustment

6.websocketTimely message and voice reminder, real-time online management, websocket timely refresh page (win over Ajax Technology)

7. Flowable workflowAt present, it is recognized that the workflow engine is easy to use and integrates web process designer

Workflow module——————————-

1.Model management: web online process designer, import and export XML, copy process, deployment process

2.Process management: import and export process resource file, view flow chart, reflect process model according to process instance, and activate pending

3.Process in operation: view process information, current task node, current flow chart, void pause process, assign to do personFree jump

4.The process of history: view process information, process time, process status and task initiator information

5.To do tasks: check my personal tasks and the tasks under this role, handle, reject, void and assign an agent

6.Completed tasks: view the task and process information, flow chart and process status (void and reject normally completed)

Users can be selected to handle tasksCCThat is to send a station letter to the CC to inform the current approval opinions and remarks

Note: when the current task is completed, the next task to be done will receive a new task message reminder by instant messaging,

The task initiator will receive a message from the station

——————————————- Module system

1. authority management: click the secondary menu to enter the third level menu to display roles (basic permissions) and button permissions

Roles (basic permissions): divided into role groups and roles, independently assign menu permissions and add, delete, modify and query permissions. (Multiple user roles can be used

Button permissions: assign button permissions to roles.

2Button Management: user defined button management, maintenance button Shiro permission identification, etc

3Menu management: N-level custom menu, select menu icon, display and hide menu status (recursive processing)

4. data dictionary: n level, support multi-level classification. Internal number, sorting, etc

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

6Online management: websocket technology, real-time detection of online user list, statistics of the number of online users, can force users to offline, the same user can only log in at one client

7System users: add, delete, modify and query the basic users, export them to excel and delete them 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 module, HTML page, processing class, mapper layer, service layer, myabaits’ XML table building SQL script, etc

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

9Template Management: Code online editor, manage template, save editing records, one click restore, code generator is more powerful

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

11Network monitoring: real time monitoring server network receiving data packet speed, dynamic chart display

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

13. system settings: modify the name of the system, the number of displayed items per page, mail service configuration, and station message configuration

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

—————————Communication module single chat group chat picture send file offline message keep chat record

15.Friend management: search, add, delete, pull black friends, view friend information

16.Friend group: Custom friend group

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


18. database backup: can back up single table (SQL server does not support), whole database, support local and remote backup (java interface programming technology, socket programming technology)

19. backup timer: Quartz powerful task scheduling, multi thread backup database, task start and close asynchronous operation

20. database restore: historical backup records, restore database or single table (SQL server does not support), statistics of backup time and file size

21SQL editor: powerful SQL editor, supporting editing statements, complex query statements, generating dynamic reports, and exporting to excel


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

23. organization: n level, company or department management

24. employee management: manage with organization department, can bind login system user, authorize data authority

25. work log: fill in the daily work content, and this module is bound with data authority


26. interface test: the system interface is detected by post or get mode, the parameters are encrypted, the results are returned by JSON, and the server response time is calculated


Menu permissions: different menu permissions are assigned to each role, and the menus seen by each role are different

Button permissions: independently assign different roles and different function permissions, add, delete, modify and query permissions assigned to different menus, and Customize button management

Support multi-user and sub authority management background,Permissions are specific to different menus and buttonsMultiple user roles can be used

———————Technical points

1. Import and export excel file (applied to system users)

2 generate word file (applied to doc document generated by code generator)

3. IO stream download file (the application is generated in the code generator and compressed into a zip file to download)

4 code zip compression package(the application is generated in the code generator and compressed into a zip file)

5. MD5 encryption Sha encryption (login password with this encryption) interface encryption identity verification

6. The Druid of Ali. Druid has obvious advantages in monitoring, scalability, stability and performance, and supports concurrency

7. Security framework Shiro (login authorization) (Session Management) (Shiro annotation menu authority interception) (Shiro label button authority)

8.Freemaker template engine (for code generator)

9. Ehcache customize cache, select cache storage directory, handle concurrency, and increase system performance

10. Tab tab page function, free switching of tags, no repeated operation of the database (all can be closed, current closed, other closed)

11. Multi data source technology

12. Call camera photography technology, picture cutting technology (user’s head image editing)

13. Online editor, imitation development tool (template editor of code generator)

14. Single group e-mail, can send HTML, plain text format

15. Analyze the full spelling (Pinyin) and initial letter of Chinese characters according to Chinese characters (import Excel to user table, generate Pinyin user name according to user’s Chinese name)

Voice control in station

17. Java read and write INI configuration file

18. Java websocket instant messaging technology, peer-to-peer, friends, groups, send picture files, offline messages, keep chat records

19. Baidu rich text editor, can upload pictures and attachments

20. Java quartz task scheduling(Applied in the database timing backup module)

21. Ajax asynchronous cross domain technology, cross domain upload files, pictures

Official website: www.fhadmin.org