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


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

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

Front end page: HTML+ vue.js Form jQuery Ajax asynchronous cross domain JSON format data interaction before and after separation, front and back platform deployment separately

(pay special attention to the front end vue.js Is the introduction of HTML page vue.js Form, with Tomcat deployment run, more suitable for background developers

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

Freemaker template technology, 0 code without writing, generate a complete module, with page, table SQL script, processing class, service and other complete modules

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

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

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

5. Call the camera to take photosCustom cut, edit avatar, adjust the chromaticity of avatar image

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

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

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

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

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

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

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

5.To do task: view personal tasks and tasks under this role, handle, reject, void, and assign agents

6.Completed tasks: view the tasks you have handled, process information, flow chart and process status (normal completion)

When handling tasks, you can select users to do itCC, that 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, which will be regarded as the cancellation and completion of the task,

The task initiator will receive a message notification from the station

——————————————- System module

1Permission management: click the second level menu to enter the third level menu to display the role (basic permission) and button permission

Role (basic authority): divided into role group and role, independently assign menu authority and add, delete, modify and query authority. (A user can have multiple roles

Button permissions: assign button permissions to roles.

2. button 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)

4Data dictionary: N-level, support multi-level classification. Internal numbering, 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 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 batches

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 page, processing class, mapper layer, service layer, SQL script of myabaits XML table, etc

Reverse generation: arbitrary connection to other databases (mysql, Oracle, SQL Server), according to the table reflection cost system module

9Template Management: Code online editor, manage template, save edit record, one key restore, code generator is powerful

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

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

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

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

14Station letter: receiving and sending mailbox, websocket technology, communication technology to do timely receiving reminder, configurable voice prompt letter

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

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

16.Friend grouping: user defined friend grouping

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


18Database backup: single table backup (not supported by SQL Server), whole database backup, local and remote backup (java interface programming technology, socket programming technology)

19Backup timer: Quartz powerful task scheduling, multithreading backup database, task start close asynchronous operation

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

21. SQL editor: powerful SQL editor, support editing statements, complex query statements, generate dynamic reports, and export excel


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

23Organization: n level, company or department management

24. employee management: and organization department management, can bind login system users, authorized data permissions

25Work log: fill in the daily work content, this module binding data permissions


26Interface test: post or get to detect the system interface, encrypt the parameters, return the result by JSON, and calculate the server response time


Menu permissions: different menu permissions are assigned to each role, and each role sees different menus, N-level menus

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

Support multi-user sub authority management background,Permissions are specific to different menus and buttonsA user can have multiple roles

———————Technical points

1. Import and export excel file (used in system users)

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

3. IO stream download file (compressed into zip file after generated in code generator)

4 code zip package(compressed into zip file after generated in code generator)

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

6. The Druid of the database connection pool. Druid has obvious advantages in monitoring, scalability, stability and performance, and supports concurrency

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

8.Freemaker template engine (for code generator)

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

10. Tab tab page function, label switch freely, do not repeat the operation of the database (can close all, close the current, close other)

11. Multi data source technology

12. Call camera photography technology, image cutting technology (user portrait editing)

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

14. Single group email, can send HTML, plain text format

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

16. Station voice reminder, JS control audio playback

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, which can upload pictures and attachments

20. Java quartz task scheduling(used in database regular backup module)

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

Official website: www.fhadmin.org