1
1
# manage-system #
2
2
The web management system solution based on Vue2 and Element-UI。[ live demo] ( http://blog.gdfengshuo.com/example/work/ )
3
3
4
+ ## Donation
5
+ ![ WeChat] ( http://blog.gdfengshuo.com/images/weixin.jpg )
4
6
5
7
## Preface ##
6
8
The scheme as a set of multi-function background frame templates, suitable for most of the WEB management system development. Convenient development fast simple good components based on Vue2 and Element-UI. Color separation of color style, support manual switch themes, and it is convenient to use a custom theme color.
@@ -25,6 +27,7 @@ The scheme as a set of multi-function background frame templates, suitable for m
25
27
|-- src // Source directory
26
28
| |-- components // Components
27
29
| |-- common // Common component
30
+ | |-- bus.js // Event Bus
28
31
| |-- Header.vue // Header component
29
32
| |-- Home.vue // Home component
30
33
| |-- Sidebar.vue // Sidebar component
@@ -33,8 +36,9 @@ The scheme as a set of multi-function background frame templates, suitable for m
33
36
| |-- BaseForm.vue // BaseForm
34
37
| |-- BaseTable.vue // BaseTable
35
38
| |-- Login.vue // Login
39
+ | |-- DragList.vue
36
40
| |-- Markdown.vue // Markdown
37
- | |-- MixCharts .vue // MixCharts
41
+ | |-- Premission .vue
38
42
| |-- Readme.vue // Readme
39
43
| |-- Upload.vue // Upload
40
44
| |-- VueEditor.vue // VueEditor
@@ -51,8 +55,8 @@ The scheme as a set of multi-function background frame templates, suitable for m
51
55
52
56
## Installation steps ##
53
57
54
- git clone https://github.com/lin-xin/manage-system.git // Clone templates
55
- cd manage-system // Enter template directory
58
+ git clone https://github.com/lin-xin/vue- manage-system.git // Clone templates
59
+ cd vue- manage-system // Enter template directory
56
60
npm install // Installation dependency
57
61
58
62
## Local development ##
@@ -67,149 +71,6 @@ The scheme as a set of multi-function background frame templates, suitable for m
67
71
68
72
## Component description and presentation ##
69
73
70
- ### element-ui ###
71
- A desktop component library based on vue.js2.0 . Github : [ element] ( http://element.eleme.io/#/zh-CN/component/layout )
72
-
73
- ### vue-datasource ###
74
- A Vue.js server side component to create dynamic tables. Github : [ vue-datasource] ( https://github.com/coderdiaz/vue-datasource )
75
-
76
- ``` JavaScript
77
- < template>
78
- < div>
79
- < datasource language= " en" : table- data= " information.data"
80
- : columns= " columns"
81
- : pagination= " information.pagination"
82
- : actions= " actions"
83
- v- on: change= " changePage"
84
- v- on: searching= " onSearch" >< / datasource>
85
- < / div>
86
- < / template>
87
-
88
- < script>
89
- import Datasource from ' vue-datasource' ; // import Datasource component
90
- export default {
91
- data : function (){
92
- return {
93
- information: {
94
- pagination: {... }, // pagination config
95
- data: [... ]
96
- },
97
- columns: [... ], // col config
98
- actions: [... ] // function config
99
- }
100
- },
101
- components: {
102
- Datasource
103
- },
104
- methods: {
105
- changePage (values ) {... },
106
- onSearch (searchQuery ) {... }
107
- }
108
- }
109
- < / script>
110
- ```
111
-
112
-
113
- ### Vue-Quill-Editor ###
114
- Quill editor component for Vue2. Github : [ vue-quill-editor] ( https://github.com/surmon-china/vue-quill-editor )
115
-
116
- ``` JavaScript
117
- < template>
118
- < div>
119
- < quill- editor ref= " myTextEditor" v- model= " content" : config= " editorOption" >< / quill- editor>
120
- < / div>
121
- < / template>
122
-
123
- < script>
124
- import { quillEditor } from ' vue-quill-editor' ; // import quillEditor component
125
- export default {
126
- data : function (){
127
- return {
128
- content: ' ' ,
129
- editorOption: {
130
- // something config
131
- }
132
- }
133
- },
134
- components: {
135
- quillEditor
136
- }
137
- }
138
- < / script>
139
- ```
140
-
141
- ### Vue-SimpleMDE ###
142
- Markdown Editor component for Vue.js. Github : [ Vue-SimpleMDE] ( https://github.com/F-loat/vue-simplemde )
143
-
144
- ``` JavaScript
145
- < template>
146
- < div>
147
- < markdown- editor v- model= " content" : configs= " configs" ref= " markdownEditor" >< / markdown- editor>
148
- < / div>
149
- < / template>
150
-
151
- < script>
152
- import { markdownEditor } from ' vue-simplemde' ;
153
- export default {
154
- data : function (){
155
- return {
156
- content: ' ' ,
157
- configs: {
158
- status: false ,
159
- initialValue: ' Hello BBK' ,
160
- renderingConfig: {
161
- codeSyntaxHighlighting: true ,
162
- highlightingTheme: ' atom-one-light'
163
- }
164
- }
165
- }
166
- },
167
- components: {
168
- markdownEditor
169
- }
170
- }
171
- < / script>
172
- ```
173
-
174
- ### Vue-Core-Image-Upload ###
175
- a vue plugin for image upload and crop. Github : [ Vue-Core-Image-Upload] ( https://github.com/Vanthink-UED/vue-core-image-upload )
176
-
177
- ``` JavaScript
178
-
179
- < template>
180
- < div>
181
- < img : src= " src" >
182
- < vue- core- image- upload : class = " ['pure-button','pure-button-primary','js-btn-crop']"
183
- : crop= " true"
184
- text= " 上传图片"
185
- url= " "
186
- extensions= " png,gif,jpeg,jpg"
187
- @: imageuploaded= " imageuploaded" >
188
- < / vue- core- image- upload>
189
- < / div>
190
- < / template>
191
-
192
- < script>
193
- import VueCoreImageUpload from ' vue-core-image-upload' ;
194
- export default {
195
- data : function (){
196
- return {
197
- src: ' ../img/1.jpg'
198
- }
199
- },
200
- components: {
201
- VueCoreImageUpload
202
- },
203
- methods: {
204
- imageuploaded (res ) {
205
- console .log (res)
206
- }
207
- }
208
- }
209
- < / script>
210
-
211
- ```
212
-
213
74
### vue-schart ###
214
75
Vue.js wrapper for sChart.js. Github : [ vue-schart] ( https://github.com/linxin/vue-schart )
215
76
@@ -253,6 +114,22 @@ Vue.js wrapper for sChart.js. Github : [vue-schart](https://github.com/linxin/vu
253
114
< / script>
254
115
```
255
116
117
+ ### element-ui ###
118
+ A desktop component library based on vue.js2.0 . Github : [ element] ( http://element.eleme.io/#/zh-CN/component/layout )
119
+
120
+ ### vue-datasource ###
121
+ A Vue.js server side component to create dynamic tables. Github : [ vue-datasource] ( https://github.com/coderdiaz/vue-datasource )
122
+
123
+ ### Vue-Quill-Editor ###
124
+ Quill editor component for Vue2. Github : [ vue-quill-editor] ( https://github.com/surmon-china/vue-quill-editor )
125
+
126
+ ### mavonEditor ###
127
+ A markdown editor based on Vue that supports a variety of personalized features. Github: [ mavonEditor] ( https://github.com/hinesboy/mavonEditor )
128
+
129
+ ### vue-cropperjs ###
130
+ A Vue wrapper component for cropperjs. Github: [ vue-cropperjs] ( https://github.com/Agontuk/vue-cropperjs )
131
+
132
+
256
133
## Notice ##
257
134
### 一、If I don't want to use some components, how can I delete it? ###
258
135
@@ -298,7 +175,7 @@ The second step to enter 'src/App.vue' and change into green theme.
298
175
/* @import "../static/css/theme-green/color-green.css"; !*浅绿色主题*!*/
299
176
```
300
177
301
- Finally,enter 'src/components/common/Sidebar.vue' and find el-menu Tags,delete 'theme="dark" '。
178
+ Finally,enter 'src/components/common/Sidebar.vue' and find el-menu Tags,delete 'background-color/text-color/active-text-color '。
302
179
303
180
## Screenshot ##
304
181
### Default theme ###
0 commit comments