File tree Expand file tree Collapse file tree 16 files changed +43
-43
lines changed Expand file tree Collapse file tree 16 files changed +43
-43
lines changed Original file line number Diff line number Diff line change 1
1
<h1 align =" center " >WebsiteGuide</h1 >
2
2
3
- <div align =" center " >WebsiteGuide网址导航系统基于Vue+djangorestframework开发,可用于企业内部系统导航,具有网址导航搜索、后台管理、系统管理等功能 ,后续考虑增加rbac和其他功能,欢迎使用和交流~</div >
3
+ <div align =" center " >WebsiteGuide网址导航系统主要用于企业记录和管理内部系统地址,具有网址增删改查、icon图标替换等功能 ,后续考虑增加rbac和其他功能,欢迎使用和交流~</div >
4
4
5
5
6
6
9
9
- Python 3.6+
10
10
- Django 2.2.13
11
11
- Djangorestframework 3.12.2
12
- - Node 13.14
13
- - Vue2 .0
12
+ - Node 12.20.1+
13
+ - Vue 2 .0
14
14
15
- ![ image ] ( https://github.com/mizhexiaoxiao/WebsiteGuide/blob/main/websiteapp/media/sample-picture/1.jpg )
15
+ ### 网址导航
16
16
17
- ![ image] ( https://github.com/mizhexiaoxiao/WebsiteGuide/blob/main/websiteapp/media/sample-picture/2 .jpg )
17
+ ![ image] ( https://github.com/mizhexiaoxiao/WebsiteGuide/blob/main/websiteapp/media/sample-picture/5 .jpg )
18
18
19
- ![ image ] ( https://github.com/mizhexiaoxiao/WebsiteGuide/blob/main/websiteapp/media/sample-picture/3.jpg )
19
+ ### 支持批量添加
20
20
21
- ![ image] ( https://github.com/mizhexiaoxiao/WebsiteGuide/blob/main/websiteapp/media/sample-picture/4 .jpg )
21
+ ![ image] ( https://github.com/mizhexiaoxiao/WebsiteGuide/blob/main/websiteapp/media/sample-picture/6 .jpg )
22
22
23
- ![ image] ( https://github.com/mizhexiaoxiao/WebsiteGuide/blob/main/websiteapp/media/sample-picture/5.jpg )
23
+ ### 网址管理
24
+
25
+ ![ image] ( https://github.com/mizhexiaoxiao/WebsiteGuide/blob/main/websiteapp/media/sample-picture/7.jpg )
26
+
27
+ ### 用户管理
28
+
29
+ ![ image] ( https://github.com/mizhexiaoxiao/WebsiteGuide/blob/main/websiteapp/media/sample-picture/8.jpg )
24
30
25
31
### 演示地址
26
32
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ RUN apk add --no-cache --virtual .build-deps openssl-dev gcc musl-dev python3-d
6
6
&& mkdir /etc/supervisor.d
7
7
8
8
RUN git clone https://github.com/mizhexiaoxiao/WebsiteGuide.git --depth=1 /WebsiteGuide && cd /WebsiteGuide && git pull
9
- # RUN cd /WebsiteGuide/websitefronted && npm i --registry=https://registry.npm.taobao.org && npm run build
9
+
10
10
RUN cd /WebsiteGuide/websitefronted && npm install -g cnpm --registry=https://registry.npm.taobao.org && cnpm install && npm run build
11
11
12
12
RUN pip config set global.index-url https://pypi.mirrors.ustc.edu.cn/simple/ && pip install --upgrade pip && pip install --no-cache-dir -r /WebsiteGuide/requirements.txt \
Original file line number Diff line number Diff line change 109
109
title: ` 确定删除 ${ row .name } ?` ,
110
110
content: ' <p>此分组下的数据都将被删除</p>' ,
111
111
onOk : () => {
112
- axios .delete (` / api/group/${ row .id } /` ).then (resp => {
112
+ axios .delete (` api/group/${ row .id } /` ).then (resp => {
113
113
this .$Message .success (' 删除成功' )
114
114
this .init ()
115
115
}).catch (error => {
Original file line number Diff line number Diff line change 37
37
handleSubmit (name ) {
38
38
this .$refs [name].validate ((valid ) => {
39
39
if (valid) {
40
- axios .post (' / api/group/' ,this .form1 ).then (resp => {
40
+ axios .post (' api/group/' ,this .form1 ).then (resp => {
41
41
this .$Message .success (' 添加成功' );
42
42
this .handleCancel (name)
43
43
console .log (this .$parent )
46
46
this .$Message .err (' 添加失败' + error)
47
47
console .log (error)
48
48
})
49
- // axios.get('/api/group/').then(resp=>{
50
- // console.log(resp)
51
- // })
52
- console .log (" 这里提交axios数据.then" )
53
-
54
49
}
55
50
})
56
51
},
Original file line number Diff line number Diff line change 142
142
this .form2 .items .map (val => {
143
143
val .website_group = this .rowData .rowId
144
144
})
145
- axios .post (' / api/website/' , this .form2 .items ).then (resp => {
145
+ axios .post (' api/website/' , this .form2 .items ).then (resp => {
146
146
this .handleCancel (name),
147
147
this .$Message .success (' 添加成功' )
148
148
this .$parent .init ()
Original file line number Diff line number Diff line change 41
41
handleSubmit (name ) {
42
42
this .$refs [name].validate ((valid ) => {
43
43
if (valid) {
44
- axios .put (` / api/group/${ this .id } /` ,this .form3 ).then (resp => {
44
+ axios .put (` api/group/${ this .id } /` ,this .form3 ).then (resp => {
45
45
this .$Message .success (' 保存成功' );
46
46
this .handleCancel (name)
47
47
this .$parent .init ()
Original file line number Diff line number Diff line change 50
50
data .append (' file' , this .file )
51
51
axios ({
52
52
method: ' post' ,
53
- url: ` / api/icon/` ,
53
+ url: ` api/icon/` ,
54
54
data: data,
55
55
}).then (resp => {
56
56
this .file = null
You can’t perform that action at this time.
0 commit comments