Giter VIP home page Giter VIP logo

shutongflow's Introduction

介绍

该系统为loonflow第三方调用程序,可以理解为OA或运维工单系统。
本系统使用Vue.js + Django开发,前端展示由loonflow配置决定,可以说前端是全动态,只需要配置好loonflow即可。如果您有使用上的问题可以加入我们:QQ(558788490)。

展示

新建工单页 create-ticket

代办列表页 todo-list

详情页 detail-ticket

进度

完成申请说明富文本编辑器 2018-06-08 23:22:00

  • 新增附件和图片上传接口;
  • 配置UEditor正常使用;
  • 重新优化交互体验;

待办

  • 前端展示附件及图片;
  • 配置ldap实例同步脚本;

提示:

  • 建议重新拉取代码,并重新配置数据库及服务;

部署

shutongFlow

## 这里使用conda作为虚拟环境,如果你使用virtualenv只是激活命令不一样;
Webb@MacBookPro ~/Developer/Python/loonflow/loonflow$ source activate loonflow
(loonflow) Webb@MacBookPro ~/Developer/Python/loonflow/loonflow$ pip install -r apps/requirements.txt

# 初始化数据库
(loonflow) Webb@MacBookPro ~/Developer/Python/loonflow/loonflow$ mysql -uroot
> create database shutongflow default charset utf8;
> create database loonflownew default charset utf8;
> grant all privileges on shutongflow.* to [email protected] identified by '123456';
> grant all privileges on loonflownew.* to [email protected] identified by '123456';

(loonflow) Webb@MacBookPro ~/Developer/Python/loonflow/loonflow$ python manage.py makemigrations
(loonflow) Webb@MacBookPro ~/Developer/Python/loonflow/loonflow$ python manage.py migrate

(shutongflow) Webb@MacBookPro ~/Developer/Python/loonflow/shutongFlow/apps$ python manage.py makemigrations
(shutongflow) Webb@MacBookPro ~/Developer/Python/loonflow/shutongFlow/apps$ python manage.py migrate

## 导入第三方数据(这里主要是用户数据)
(loonflow) Webb@MacBookPro ~/Developer/Python/loonflow/shutongFlow$ mysql -uroot shutongflow < shutongflow.sql
## 导入loonflow数据(配置数据及用户数据)
(loonflow) Webb@MacBookPro ~/Developer/Python/loonflow/shutongFlow$ mysql -uroot loonflownew < loonflownew.sql

## 启动shutongFlow和loonflow
(loonflow) Webb@MacBookPro ~/Developer/Python/loonflow/loonflow$  python manage.py runserver 0.0.0.0:6060 # 启动loonflow
(shutongflow) Webb@MacBookPro ~/Developer/Python/loonflow/shutongFlow/apps$ python manage.py runserver 0.0.0.0:6062 # 启动shutongflow

## 启动vue
(shutongflow) Webb@MacBookPro ~/Developer/Python/loonflow/shutongFlow/fronted$ npm install .
(shutongflow) Webb@MacBookPro ~/Developer/Python/loonflow/shutongFlow/fronted$ npm run dev

# 如果提示npm包有安全提示可以使用以下命令进行修复
(shutongflow) Webb@MacBookPro ~/Developer/Python/loonflow/shutongFlow/fronted$ npm audit fix
(shutongflow) Webb@MacBookPro ~/Developer/Python/loonflow/shutongFlow/fronted$ npm audit fix --force

登陆

shutongFlow中所有普通用户

  • 'webb': asdasd
  • 'ops': asdasd
  • 'hr': asdasd
  • 'scm': asdasd
  • 'webb': asdasd
  • 'lilian': asdasd
  • 'david': asdasd

管理员为
'admin': yxuqtr

shutongflow's People

Contributors

youshutong2080 avatar jimmy201602 avatar blackholll avatar yuzongyanghi 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.