diff --git a/Pear Admin v 2.0/admin/data/dtree.json b/Pear Admin v 2.0/admin/data/dtree.json index e5d1903ae6dc2d14593d01d7423cbf92a9f66e84..9a0cd432f17a9d1b00e807ad6f83926cd3f6c5fd 100644 --- a/Pear Admin v 2.0/admin/data/dtree.json +++ b/Pear Admin v 2.0/admin/data/dtree.json @@ -1,10 +1,181 @@ { -"status":{"code":200,"message":"操作成功"}, -"data": [ - {"id":"001","title": "湖南省","parentId": "0","children":[]}, - {"id":"002","title": "湖北省","parentId": "0","children":[]}, - {"id":"003","title": "广东省","parentId": "0","children":[]}, - {"id":"004","title": "浙江省","parentId": "0","children":[]}, - {"id":"005","title": "福建省","parentId": "0","children":[]} -] + "status": { + "code": 200, + "message": "操作成功" + }, + "data": [{ + "id": "001", + "title": "湖南省", + "parentId": "0", + "children": [{ + "id": "001001", + "title": "长沙市", + "last": true, + "parentId": "001" + }, + { + "id": "001002", + "title": "株洲市", + "last": true, + "parentId": "001" + }, + { + "id": "001003", + "title": "湘潭市", + "last": true, + "parentId": "001" + }, + { + "id": "001004", + "title": "衡阳市", + "last": true, + "parentId": "001" + }, + { + "id": "001005", + "title": "郴州市", + "last": true, + "parentId": "001" + } + ] + }, + { + "id": "002", + "title": "湖北省", + "parentId": "0", + "children": [{ + "id": "002001", + "title": "武汉市", + "last": true, + "parentId": "002" + }, + { + "id": "002002", + "title": "黄冈市", + "last": true, + "parentId": "002" + }, + { + "id": "002003", + "title": "潜江市", + "last": true, + "parentId": "002" + }, + { + "id": "002004", + "title": "荆州市", + "last": true, + "parentId": "002" + }, + { + "id": "002005", + "title": "襄阳市", + "last": true, + "parentId": "002" + } + ] + }, + { + "id": "003", + "title": "广东省", + "parentId": "0", + "children": [{ + "id": "003001", + "title": "广州市", + "last": false, + "parentId": "003", + "children": [{ + "id": "003001001", + "title": "天河区", + "last": true, + "parentId": "003001" + }, + { + "id": "003001002", + "title": "花都区", + "last": true, + "parentId": "003001" + } + ] + }, + { + "id": "003002", + "title": "深圳市", + "last": true, + "parentId": "003" + }, + { + "id": "003003", + "title": "中山市", + "last": true, + "parentId": "003" + }, + { + "id": "003004", + "title": "东莞市", + "last": true, + "parentId": "003" + }, + { + "id": "003005", + "title": "珠海市", + "last": true, + "parentId": "003" + }, + { + "id": "003006", + "title": "韶关市", + "last": true, + "parentId": "003" + } + ] + }, + { + "id": "004", + "title": "浙江省", + "parentId": "0", + "children": [{ + "id": "004001", + "title": "杭州市", + "last": true, + "parentId": "004" + }, + { + "id": "004002", + "title": "温州市", + "last": true, + "parentId": "004" + }, + { + "id": "004003", + "title": "绍兴市", + "last": true, + "parentId": "004" + }, + { + "id": "004004", + "title": "金华市", + "last": true, + "parentId": "004" + }, + { + "id": "004005", + "title": "义乌市", + "last": true, + "parentId": "004" + } + ] + }, + { + "id": "005", + "title": "福建省", + "parentId": "0", + "children": [{ + "id": "005001", + "title": "厦门市", + "last": true, + "parentId": "005" + }] + } + ] } \ No newline at end of file diff --git a/Pear Admin v 2.0/admin/data/menu.json b/Pear Admin v 2.0/admin/data/menu.json index e958f65abad0f9b1a2b81cf7bc49b0b9d7603dd7..92fa7a1d4910c7ae8b530a9960a7d5d18ca5dcbb 100644 --- a/Pear Admin v 2.0/admin/data/menu.json +++ b/Pear Admin v 2.0/admin/data/menu.json @@ -34,6 +34,13 @@ "type": 0, "href": "", "children": [{ + "id": 44, + "title": "部门管理", + "icon": "layui-icon layui-icon-username", + "type": 1, + "openType": "_iframe", + "href": "view/system/organization.html" + },{ "id": 41, "title": "用户管理", "icon": "layui-icon layui-icon-username", diff --git a/Pear Admin v 2.0/admin/data/organization.json b/Pear Admin v 2.0/admin/data/organization.json new file mode 100644 index 0000000000000000000000000000000000000000..be9acd08519ca32dac7ab7e4ba8ef6c741687713 --- /dev/null +++ b/Pear Admin v 2.0/admin/data/organization.json @@ -0,0 +1,51 @@ +{ + "createTime": null, + "createBy": null, + "updateTime": null, + "updateBy": null, + "remark": null, + "code": 0, + "msg": "...", + "count": 3, + "data": [{ + "name": "就眠仪式", + "userCount": 1, + "location": "二楼101" + },{ + "name": "就眠仪式", + "userCount": 1, + "location": "二楼101" + },{ + "name": "就眠仪式", + "userCount": 1, + "location": "二楼101" + },{ + "name": "就眠仪式", + "userCount": 1, + "location": "二楼101" + },{ + "name": "就眠仪式", + "userCount": 1, + "location": "二楼101" + },{ + "name": "就眠仪式", + "userCount": 1, + "location": "二楼101" + },{ + "name": "就眠仪式", + "userCount": 1, + "location": "二楼101" + },{ + "name": "就眠仪式", + "userCount": 1, + "location": "二楼101" + },{ + "name": "就眠仪式", + "userCount": 1, + "location": "二楼101" + },{ + "name": "就眠仪式", + "userCount": 1, + "location": "二楼101" + }] +} diff --git a/Pear Admin v 2.0/admin/data/organizationtree.json b/Pear Admin v 2.0/admin/data/organizationtree.json new file mode 100644 index 0000000000000000000000000000000000000000..259b9f7ed4d7fe82a5e4ab8e95b2d3659b7c9ef2 --- /dev/null +++ b/Pear Admin v 2.0/admin/data/organizationtree.json @@ -0,0 +1,143 @@ +{ + "status": { + "code": 200, + "message": "操作成功" + }, + "data": [{ + "id": "0", + "title": "部门目录", + "last": false, + "parentId": "9527", + "children": [{ + "id": "001", + "title": "湖南省", + "last": false, + "parentId": "0", + "children": [{ + "id": "001001", + "title": "长沙市", + "last": true, + "parentId": "001" + }, + { + "id": "001002", + "title": "株洲市", + "last": true, + "parentId": "001" + }, + { + "id": "001003", + "title": "湘潭市", + "last": true, + "parentId": "001" + }, + { + "id": "001004", + "title": "衡阳市", + "last": true, + "parentId": "001" + }, + { + "id": "001005", + "title": "郴州市", + "last": true, + "parentId": "001" + } + ] + }, + { + "id": "002", + "title": "湖北省", + "last": false, + "parentId": "0", + "children": [{ + "id": "002001", + "title": "武汉市", + "last": true, + "parentId": "002" + }, + { + "id": "002002", + "title": "黄冈市", + "last": true, + "parentId": "002" + }, + { + "id": "002003", + "title": "潜江市", + "last": true, + "parentId": "002" + }, + { + "id": "002004", + "title": "荆州市", + "last": true, + "parentId": "002" + }, + { + "id": "002005", + "title": "襄阳市", + "last": true, + "parentId": "002" + } + ] + }, + { + "id": "003", + "title": "广东省", + "last": false, + "parentId": "0", + "children": [{ + "id": "003001", + "title": "广州市", + "last": false, + "parentId": "003", + "children": [{ + "id": "003001001", + "title": "天河区", + "last": true, + "parentId": "003001" + }, + { + "id": "003001002", + "title": "花都区", + "last": true, + "parentId": "003001" + } + ] + }, + { + "id": "003002", + "title": "深圳市", + "last": true, + "parentId": "003" + }, + { + "id": "003003", + "title": "中山市", + "last": true, + "parentId": "003" + }, + { + "id": "003004", + "title": "东莞市", + "last": true, + "parentId": "003" + }, + { + "id": "003005", + "title": "珠海市", + "last": true, + "parentId": "003" + }, + { + "id": "003006", + "title": "韶关市", + "last": true, + "parentId": "003" + } + ] + } + ] + }] +} \ No newline at end of file diff --git a/Pear Admin v 2.0/view/common/senior/dtree.html b/Pear Admin v 2.0/view/common/senior/dtree.html index 7647a8e3c0afe2a075f855cb60128622d8ffd37b..bb4055e148680a58c3e279046e438edab58977a7 100644 --- a/Pear Admin v 2.0/view/common/senior/dtree.html +++ b/Pear Admin v 2.0/view/common/senior/dtree.html @@ -14,7 +14,6 @@ -
@@ -27,7 +26,6 @@
-
@@ -38,7 +36,7 @@
- +
@@ -49,7 +47,7 @@
- +
@@ -63,47 +61,49 @@
- + \ No newline at end of file diff --git a/Pear Admin v 2.0/view/system/organization.html b/Pear Admin v 2.0/view/system/organization.html new file mode 100644 index 0000000000000000000000000000000000000000..e327a16cb0086373d504194b2edbe2af37fddbc5 --- /dev/null +++ b/Pear Admin v 2.0/view/system/organization.html @@ -0,0 +1,291 @@ + + + + + + + + + + + + +
+
+
+
+ +
+ +
+ +
+ +
+ +
+ +
+ + +
+
+
+
+
+
+
+
+
+
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + + + + + + + + + \ No newline at end of file