From 8c3158b18e771547d434a06b7dbff699ee5d34bb Mon Sep 17 00:00:00 2001 From: RobbieHan Date: Sat, 10 Nov 2018 19:36:12 +0800 Subject: [PATCH 1/9] menu list --- .idea/workspace.xml | 314 +++++++++--------- apps/__pycache__/custom.cpython-36.pyc | Bin 783 -> 783 bytes apps/system/__pycache__/forms.cpython-36.pyc | Bin 3909 -> 3909 bytes apps/system/__pycache__/urls.cpython-36.pyc | Bin 1574 -> 1613 bytes .../__pycache__/views_menu.cpython-36.pyc | Bin 492 -> 798 bytes .../views_structure.cpython-36.pyc | Bin 3625 -> 3625 bytes apps/system/urls.py | 5 +- apps/system/views_menu.py | 9 +- sandboxMP/__pycache__/settings.cpython-36.pyc | Bin 2517 -> 2517 bytes templates/system/menu_list.html | 150 +++++++++ 10 files changed, 321 insertions(+), 157 deletions(-) create mode 100644 templates/system/menu_list.html diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 6224d59..42b89eb 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -2,10 +2,10 @@ + - - + - + - - - - - - - - - - - - - - - - - + + + @@ -46,20 +32,30 @@ - - + + - + + + + + + + + + + + - - + + @@ -67,16 +63,6 @@ - - - - - - - - - - @@ -107,12 +93,10 @@ @@ -137,8 +125,8 @@ DEFINITION_ORDER - @@ -174,7 +162,6 @@ - @@ -193,11 +180,17 @@ + + + + + + ID + 名称 + 代码 + URL + 图标 + 父菜单 + 操作 + + + + + + +

+ + + + + + + +{% endblock %} + +{% block javascripts %} + + + + + + + +{% endblock %} \ No newline at end of file From 0f6bd53883a66446ccef7d7b9d5ff982c039f1b4 Mon Sep 17 00:00:00 2001 From: RobbieHan Date: Mon, 12 Nov 2018 22:05:32 +0800 Subject: [PATCH 2/9] menu update --- .idea/workspace.xml | 165 ++++++++++-------- apps/__pycache__/custom.cpython-36.pyc | Bin 783 -> 2259 bytes apps/custom.py | 39 ++++- apps/system/__pycache__/urls.cpython-36.pyc | Bin 1613 -> 1686 bytes .../__pycache__/views_menu.cpython-36.pyc | Bin 798 -> 1052 bytes apps/system/urls.py | 2 +- apps/system/views_menu.py | 17 +- db.sqlite3 | Bin 208896 -> 208896 bytes templates/system/menu_list.html | 16 +- templates/system/menu_update.html | 100 +++++++++++ 10 files changed, 257 insertions(+), 82 deletions(-) create mode 100644 templates/system/menu_update.html diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 42b89eb..d501fd9 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -2,10 +2,11 @@ - - + + + - + - - - - - - - - - - - - + + - + - - + + - - + + + + + + + + + + + + + + + + + + + + + + + + - - + + @@ -68,8 +81,8 @@ @@ -107,14 +120,15 @@ @@ -162,6 +176,7 @@ + @@ -180,16 +195,10 @@ - - - - - +
+
+ +

修改菜单

+
+
+ +
+ +
+ +
+ +
+
+
+ +
+ +
+ +
+ +
+
+
+ +
+ +
+
+
+
+ + + + + +{% endblock %} + +{% block javascripts %} + + + +{% endblock %} From 4570252f6d2354df23b427bb895dbc683b55628b Mon Sep 17 00:00:00 2001 From: RobbieHan Date: Wed, 14 Nov 2018 13:44:27 +0800 Subject: [PATCH 3/9] role create&update&list --- .idea/workspace.xml | 189 +++++++----------- apps/system/__pycache__/models.cpython-36.pyc | Bin 3643 -> 3643 bytes apps/system/__pycache__/urls.cpython-36.pyc | Bin 1686 -> 1973 bytes .../__pycache__/views_role.cpython-36.pyc | Bin 0 -> 1472 bytes .../views_structure.cpython-36.pyc | Bin 3625 -> 3625 bytes apps/system/urls.py | 6 +- apps/system/views_role.py | 36 ++++ db.sqlite3 | Bin 208896 -> 208896 bytes templates/system/role.html | 149 ++++++++++++++ templates/system/role_form.html | 80 ++++++++ templates/system/role_update.html | 81 ++++++++ 11 files changed, 425 insertions(+), 116 deletions(-) create mode 100644 apps/system/__pycache__/views_role.cpython-36.pyc create mode 100644 apps/system/views_role.py create mode 100644 templates/system/role.html create mode 100644 templates/system/role_form.html create mode 100644 templates/system/role_update.html diff --git a/.idea/workspace.xml b/.idea/workspace.xml index d501fd9..b374108 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -2,11 +2,8 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -138,11 +82,11 @@ true DEFINITION_ORDER - -