随笔分类 -  工单管理系统

摘要:后端django:https://github.com/515250339/opwfproject 前端vue :https://gitee.com/heart-addiction/work-order-front-end-vue 阅读全文
posted @ 2020-12-08 07:23 心-瘾 阅读(169) 评论(0) 推荐(0)
摘要:审批流模板 说明 index(父组件) TableCopponentes(子组件 表格 修改按钮 删除按钮 自带分页) SearchComponentes(子组件 搜索) Crumbs(子组件 面包屑) ButtonComponentes(子组件 添加按钮) views/specific-workf 阅读全文
posted @ 2020-11-30 07:27 心-瘾 阅读(1087) 评论(0) 推荐(0)
摘要:审批流模板 说明 index(父组件) TableCopponentes(子组件 表格 修改按钮 删除按钮 自带分页) SearchComponentes(子组件 搜索) Crumbs(子组件 面包屑) ButtonComponentes(子组件 添加按钮) views/workflow-manag 阅读全文
posted @ 2020-11-30 07:26 心-瘾 阅读(430) 评论(0) 推荐(0)
摘要:django 后端接口 modelviewset apps/flowconf/models.py from django.db import models # 新建工单模板 # Create your models here. # 工单模板 class FlowConf(models.Model): 阅读全文
posted @ 2020-11-30 07:24 心-瘾 阅读(551) 评论(0) 推荐(0)
摘要:角色模板 说明 index(父组件) TableCopponentes(子组件 表格 修改按钮 删除按钮 自带分页) SearchComponentes(子组件 搜索) Crumbs(子组件 面包屑) ButtonComponentes(子组件 添加按钮) views/role-manage/ind 阅读全文
posted @ 2020-11-30 07:23 心-瘾 阅读(177) 评论(0) 推荐(0)
摘要:django 后端接口 modelviewset apps/user/models.py # 中文角色名称 class Role(models.Model): zh_name = models.CharField('中文角色名称', max_length=32) name = models.Char 阅读全文
posted @ 2020-11-30 07:22 心-瘾 阅读(128) 评论(0) 推荐(0)
摘要:vue(ant-design-vue)组件嵌套方式 axios跨域 新建http文件夹 http/apis.js //将我们http.js中封装好的 get,post.put,delete 导过来 import {axios_get, axios_post, axios_delete, axios_ 阅读全文
posted @ 2020-11-24 19:21 心-瘾 阅读(2180) 评论(0) 推荐(0)
摘要:django opwf_project/opwf/apps/user/model.py from django.contrib.auth.models import AbstractUser from django.db import models class User(AbstractUser): 阅读全文
posted @ 2020-11-24 19:20 心-瘾 阅读(271) 评论(0) 推荐(0)
摘要:官网 https://www.antdv.com/docs/vue/introduce-cn/ 简单使用 src/components/layout <template> <div style="width: 200px"> <a-menu :default-selected-keys="['1'] 阅读全文
posted @ 2020-11-24 19:18 心-瘾 阅读(911) 评论(0) 推荐(0)
摘要:使用view Djang接口 books/view 注册 INSTALLED_APPS = [ 'books.apps.BooksConfig', 'corsheaders', 'rest_framework', 'django_filters', ] 配置跨域 #1.添加cors 注销csrf M 阅读全文
posted @ 2020-11-24 19:15 心-瘾 阅读(198) 评论(0) 推荐(0)
摘要:使用view Djang接口 books/view 注册 INSTALLED_APPS = [ 'books.apps.BooksConfig', 'corsheaders', 'rest_framework', 'django_filters', ] 配置跨域 #1.添加cors 注销csrf M 阅读全文
posted @ 2020-11-24 19:13 心-瘾 阅读(237) 评论(0) 推荐(0)
摘要:工单系统表的设计 apps/user.py/model.py from django.contrib.auth.models import AbstractUser from django.db import models # Create your models here. # 用户表 class 阅读全文
posted @ 2020-11-20 20:19 心-瘾 阅读(974) 评论(0) 推荐(0)
摘要:初始化工单项目及配置 创建项目 root@dev:shiyanlou_project# workon 虚拟环境名称 (syl) root@dev:shiyanlou_project# cd 到自己创建的文件夹下 (syl) root@dev:shiyanlou_project# django-adm 阅读全文
posted @ 2020-11-20 20:16 心-瘾 阅读(177) 评论(0) 推荐(0)