Code Monkey home page Code Monkey logo

antflow-vue2's Introduction

仿钉钉后台审批流程

logo

AntFlow-Vue2

AntFlow-Vue2是基于Vue2 的前端工作流配置新模式

后端自主研发基于SpringBoot + Activiti 开发的轻量级工作流框架

  • 特此声明 完全开源,开源不易,点个星星支持一下。

  • Ant-Flow Vue3 版本预览入口

  • Ant-Flow Vue3 版本Gitee仓库

  • QQ技术交流群(972107977)期待您的加入

基于JakHuang大佬的form-generator的,仿钉钉后台审批流程创建界面

安装使用

  • 安装依赖 yarn install | npm install

  • 运行 yarn serve | npm run serve

  • 打包 yarn build | npm run build

  • 本地预览 yarn preview

  • 打包/预览 yarn build:preview

主要功能

  1. 表单配置(form-generator)
  • 拖拽表单,生成布局页面
  • 配置拖拽组件属性,定制组件形态
  • 生成JSON数据并生成预览页面
  1. 流程节点配置(仿钉钉界面)
  • 创建审批流程(发起人,审批人,条件节点,抄送人)
  • 配置节点详细数据,包括条件节点表达式及期望值等
  • 配置节点对表单得权限(目前并未在预览页面中做控制)
  • 必填节点校验

基本结构

// src
|-- components
|---- BasicSetting // 基础设置
|---- DynamicForm      // 表单配置
|---- Process          // 流程配置
|---- AdvancedSetting  // 高级设置
|---- FormControls     // 扩充表单组件

|-- views
|---- admin  // 后台配置界面
|---- custom // 前台预览界面

不想把JakHuang大佬的项目拆分出来 一是为了方便学习大佬代码 二是为了以后单独抽离表单出来更方便 所以没有把form-generator项目的公用文件抽离到顶层 流程创建组件同理

表单组件

  1. 单行输入框, 多行输入框, 数字输入框, 金额
  2. 下拉选择, 级联选择, 省市区
  3. 单选框组, 多选框组
  4. 时间选择, 时间范围, 日期选择, 日期范围
  5. 滑块, 组织机构, 附件, 计算公式
  6. 布局容器, 表格/列表

界面预览

YL5ip8.png YL5k6g.png YL5Cff.png YL5F1S.png YL5Z0s.png YL5Vmj.png

antflow-vue2's People

Contributors

ldhnet avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.