Skip to content

Commit a61779b

Browse files
authored
Merge pull request #80 from lin-xin/dev
合并V3.1.0
2 parents 5c1ee6b + ffd10f7 commit a61779b

31 files changed

+12188
-877
lines changed

README.md

+20-13
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,18 @@
1616
## 功能 ##
1717
- [x] Element UI
1818
- [x] 登录/注销
19+
- [x] Dashboard
1920
- [x] 表格
21+
- [x] Tab选项卡
2022
- [x] 表单
2123
- [x] 图表 :bar_chart:
2224
- [x] 富文本编辑器
2325
- [x] markdown编辑器
2426
- [x] 图片拖拽/裁剪上传
2527
- [x] 支持切换主题色 :sparkles:
2628
- [x] 列表拖拽排序
29+
- [x] 权限测试
30+
- [x] 404 / 403
2731

2832

2933
## 目录结构介绍 ##
@@ -37,18 +41,20 @@
3741
| |-- Header.vue // 公共头部
3842
| |-- Home.vue // 公共路由入口
3943
| |-- Sidebar.vue // 公共左边栏
40-
| |-- page // 主要路由页面
44+
| |-- Tags.vue // 页面切换标签组件
45+
| |-- page // 主要路由页面
46+
| |-- 403.vue
47+
| |-- 404.vue
4148
| |-- BaseCharts.vue // 基础图表
4249
| |-- BaseForm.vue // 基础表单
4350
| |-- BaseTable.vue // 基础表格
51+
| |-- DashBoard.vue // 系统首页
4452
| |-- DragList.vue // 拖拽列表组件
4553
| |-- Login.vue // 登录
4654
| |-- Markdown.vue // markdown组件
4755
| |-- Premission.vue // 权限测试组件
48-
| |-- Readme.vue // 自述组件
4956
| |-- Upload.vue // 图片上传
5057
| |-- VueEditor.vue // 富文本编辑器
51-
| |-- VueTable.vue // datasource表格组件
5258
| |-- App.vue // 页面入口文件
5359
| |-- main.js // 程序入口文件,加载各种公共组件
5460
|-- .babelrc // ES6语法编译配置
@@ -124,9 +130,6 @@ vue.js封装sChart.js的图表组件。访问地址:[vue-schart](https://githu
124130
### element-ui ###
125131
一套基于vue.js2.0的桌面组件库。访问地址:[element](http://element.eleme.io/#/zh-CN/component/layout)
126132

127-
### vue-datasource ###
128-
一个用于动态创建表格的vue.js服务端组件。访问地址:[vue-datasource](https://github.com/coderdiaz/vue-datasource)
129-
130133
### Vue-Quill-Editor ###
131134
基于Quill、适用于Vue2的富文本编辑器。访问地址:[vue-quill-editor](https://github.com/surmon-china/vue-quill-editor)
132135

@@ -141,28 +144,32 @@ vue.js封装sChart.js的图表组件。访问地址:[vue-schart](https://githu
141144
## 其他注意事项 ##
142145
### 一、如果我不想用到上面的某些组件呢,那我怎么在模板中删除掉不影响到其他功能呢? ###
143146

144-
举个栗子,我不想用 vue-datasource 这个组件,那我需要分四步走。
147+
举个栗子,我不想用 Vue-Quill-Editor 这个组件,那我需要分四步走。
145148

146149
第一步:删除该组件的路由,在目录 src/router/index.js 中,找到引入改组件的路由,删除下面这段代码。
147150

148151
```JavaScript
149152
{
150-
path: '/vuetable',
151-
component: resolve => require(['../components/page/VueTable.vue'], resolve) // vue-datasource组件
153+
// 富文本编辑器组件
154+
path: '/editor',
155+
component: resolve => require(['../components/page/VueEditor.vue'], resolve)
152156
},
153157
```
154158

155-
第二步:删除引入该组件的文件。在目录 src/components/page/ 删除 VueTable.vue 文件。
159+
第二步:删除引入该组件的文件。在目录 src/components/page/ 删除 VueEditor.vue 文件。
156160

157161
第三步:删除该页面的入口。在目录 src/components/common/Sidebar.vue 中,找到该入口,删除下面这段代码。
158162

159-
```HTML
160-
<el-menu-item index="vuetable">Vue表格组件</el-menu-item>
163+
```js
164+
{
165+
index: 'editor',
166+
title: '富文本编辑器'
167+
},
161168
```
162169

163170
第四步:卸载该组件。执行以下命令:
164171

165-
npm un vue-datasource -S
172+
npm un vue-quill-editor -S
166173

167174
完成。
168175

README_EN.md

+19-13
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,18 @@ The scheme as a set of multi-function background frame templates, suitable for m
1010
## Function ##
1111
- [x] Element-UI
1212
- [x] Login/Logout
13+
- [x] Dashboard
1314
- [x] Table
15+
- [x] Tabs
1416
- [x] From
1517
- [x] Chart :bar_chart:
1618
- [x] Editor
1719
- [x] Markdown
1820
- [x] Upload pictures by clipping or dragging
1921
- [x] Support manual switch themes :sparkles:
2022
- [x] List drag sort
23+
- [x] Permission
24+
- [x] 404 / 403
2125

2226

2327
## Directory structure ##
@@ -31,18 +35,20 @@ The scheme as a set of multi-function background frame templates, suitable for m
3135
| |-- Header.vue // Header component
3236
| |-- Home.vue // Home component
3337
| |-- Sidebar.vue // Sidebar component
34-
| |-- page // Router page
38+
| |-- Tags.vue
39+
| |-- page // Router page
40+
| |-- 403.vue
41+
| |-- 404.vue
3542
| |-- BaseCharts.vue // BaseCharts
3643
| |-- BaseForm.vue // BaseForm
3744
| |-- BaseTable.vue // BaseTable
3845
| |-- Login.vue // Login
46+
| |-- Dashboard.vue
3947
| |-- DragList.vue
4048
| |-- Markdown.vue // Markdown
4149
| |-- Premission.vue
42-
| |-- Readme.vue // Readme
4350
| |-- Upload.vue // Upload
4451
| |-- VueEditor.vue // VueEditor
45-
| |-- VueTable.vue // VueTable
4652
| |-- App.vue // Main component
4753
| |-- main.js // Entry file
4854
|-- .babelrc // ES6 syntax compiler configuration
@@ -117,9 +123,6 @@ Vue.js wrapper for sChart.js. Github : [vue-schart](https://github.com/linxin/vu
117123
### element-ui ###
118124
A desktop component library based on vue.js2.0 . Github : [element](http://element.eleme.io/#/zh-CN/component/layout)
119125

120-
### vue-datasource ###
121-
A Vue.js server side component to create dynamic tables. Github : [vue-datasource](https://github.com/coderdiaz/vue-datasource)
122-
123126
### Vue-Quill-Editor ###
124127
Quill editor component for Vue2. Github : [vue-quill-editor](https://github.com/surmon-china/vue-quill-editor)
125128

@@ -133,28 +136,31 @@ A Vue wrapper component for cropperjs. Github: [vue-cropperjs](https://github.co
133136
## Notice ##
134137
### 一、If I don't want to use some components, how can I delete it? ###
135138

136-
For example, I don't want to use the vue-datasource component, I need to take four steps.
139+
For example, I don't want to use the Vue-Quill-Editor component, I need to take four steps.
137140

138141
The first step to remove the component of the routing. Enter 'src/router/index.js' and delete the code below.
139142

140143
```JavaScript
141144
{
142-
path: '/vuetable',
143-
component: resolve => require(['../components/page/VueTable.vue'], resolve)
145+
path: '/editor',
146+
component: resolve => require(['../components/page/VueEditor.vue'], resolve)
144147
},
145148
```
146149

147-
Second,delete the component files. Enter 'src/components/page/' and delete 'VueTable.vue' file.
150+
Second,delete the component files. Enter 'src/components/page/' and delete 'VueEditor.vue' file.
148151

149152
The third step is to delete the entry. Enter 'src/components/common/Sidebar.vue' and delete the code below.
150153

151-
```HTML
152-
<el-menu-item index="vuetable">Vue表格组件</el-menu-item>
154+
```js
155+
{
156+
index: 'editor',
157+
title: '富文本编辑器'
158+
},
153159
```
154160

155161
Finally, uninstall this component.
156162

157-
npm un vue-datasource -S
163+
npm un vue-quill-editor -S
158164

159165
Complete!
160166

favicon.ico

914 Bytes
Binary file not shown.

index.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
<html>
33
<head>
44
<meta charset="utf-8">
5-
<title>vue-manage-system | 基于Vue 的后台管理系统</title>
5+
<title>vue-manage-system | 基于Vue的后台管理系统</title>
66
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no">
7-
<meta name="keywords" content="vue.js, wms, vue2, 后台模板, 管理系统, element" />
7+
<meta name="keywords" content="vue, vue-manage-system, manage-system, 后台, 管理系统, element" />
88
<meta name="description" content="基于Vue2 + Element UI 的后台管理系统解决方案" />
99
</head>
1010
<body>

0 commit comments

Comments
 (0)