From f72efee2e11dc81df98e24b516d45c0e36b6cbb5 Mon Sep 17 00:00:00 2001 From: RobbieHan Date: Fri, 19 Oct 2018 19:22:54 +0800 Subject: [PATCH] structure create --- .idea/workspace.xml | 449 ++++++++++++++++-- apps/system/__pycache__/forms.cpython-36.pyc | Bin 483 -> 873 bytes apps/system/__pycache__/urls.cpython-36.pyc | Bin 297 -> 500 bytes apps/system/__pycache__/views.cpython-36.pyc | Bin 588 -> 588 bytes .../views_structure.cpython-36.pyc | Bin 0 -> 1406 bytes .../__pycache__/views_user.cpython-36.pyc | Bin 1989 -> 1989 bytes apps/system/forms.py | 9 +- apps/system/urls.py | 4 + apps/system/views_structure.py | 35 ++ db.sqlite3 | Bin 208896 -> 208896 bytes sandboxMP/__pycache__/settings.cpython-36.pyc | Bin 2540 -> 2517 bytes sandboxMP/__pycache__/urls.cpython-36.pyc | Bin 1404 -> 1404 bytes sandboxMP/settings.py | 2 +- templates/system/structure/structure.html | 74 +++ .../system/structure/structure_create.html | 91 ++++ 15 files changed, 618 insertions(+), 46 deletions(-) create mode 100644 apps/system/__pycache__/views_structure.cpython-36.pyc create mode 100644 apps/system/views_structure.py create mode 100644 templates/system/structure/structure.html create mode 100644 templates/system/structure/structure_create.html diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 548c4a3..875c6f5 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -2,10 +2,12 @@ + - + + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -36,16 +108,19 @@ @@ -93,7 +168,6 @@ - @@ -117,11 +191,25 @@ + + + + + + + + + + + + + + ID + 名称 + 类别 + 所属 + 操作 + + + + + +

+ + + + + + + +{% endblock %} + + +{% block javascripts %} + + + + + +{% endblock %} diff --git a/templates/system/structure/structure_create.html b/templates/system/structure/structure_create.html new file mode 100644 index 0000000..5a47662 --- /dev/null +++ b/templates/system/structure/structure_create.html @@ -0,0 +1,91 @@ +{% extends 'base-layer.html' %} +{% load staticfiles %} + +{% block css %} + +{% endblock %} + +{% block main %} +
+
+ {% csrf_token %} +
+
+ +

组织架构信息

+
+
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+
+
+ +
+ + +
+
+ +{% endblock %} + +{% block javascripts %} + + +{% endblock %} \ No newline at end of file