丰富演示数据

develop
就眠仪式 2020-08-11 13:49:35 +08:00
parent e2d27a34f1
commit 1a747332e6
4 changed files with 43 additions and 48 deletions

View File

@ -1,51 +1,41 @@
{ {
"createTime": null,
"createBy": null,
"updateTime": null,
"updateBy": null,
"remark": null,
"code": 0, "code": 0,
"msg": "...", "msg": "...",
"count": 3, "count": 3,
"data": [{ "data": [{
"name": "就眠仪式", "name": "软件部",
"userCount": 1, "userCount": 324,
"location": "二楼101" "location": "二楼201",
"leader": "皮卡丘"
},{ },{
"name": "就眠仪式", "name": "美工部",
"userCount": 1, "userCount": 98,
"location": "二楼101" "location": "二楼101",
"leader": "皮卡丘"
},{ },{
"name": "就眠仪式", "name": "设计部",
"userCount": 1, "userCount": 43,
"location": "二楼101" "location": "六楼602",
"leader": "皮卡丘"
},{ },{
"name": "就眠仪式", "name": "销售部",
"userCount": 1, "userCount": 12,
"location": "二楼101" "location": "一楼131",
"leader": "皮卡丘"
},{ },{
"name": "就眠仪式", "name": "产品部",
"userCount": 1, "userCount": 128,
"location": "二楼101" "location": "四楼401",
"leader": "皮卡丘"
},{ },{
"name": "就眠仪式", "name": "财务部",
"userCount": 1, "userCount": 23,
"location": "二楼101" "location": "三楼105",
"leader": "皮卡丘"
},{ },{
"name": "就眠仪式", "name": "人事部",
"userCount": 1, "userCount": 67,
"location": "二楼101" "location": "二楼201",
},{ "leader": "皮卡丘"
"name": "就眠仪式",
"userCount": 1,
"location": "二楼101"
},{
"name": "就眠仪式",
"userCount": 1,
"location": "二楼101"
},{
"name": "就眠仪式",
"userCount": 1,
"location": "二楼101"
}] }]
} }

View File

@ -5,41 +5,41 @@
}, },
"data": [{ "data": [{
"id": "0", "id": "0",
"title": "门目录", "title": "济南总部",
"last": false, "last": false,
"parentId": "9527", "parentId": "9527",
"children": [{ "children": [{
"id": "001", "id": "001",
"title": "湖南省", "title": "杭州市",
"last": false, "last": false,
"parentId": "0", "parentId": "0",
"children": [{ "children": [{
"id": "001001", "id": "001001",
"title": "长沙市", "title": "软件部",
"last": true, "last": true,
"parentId": "001" "parentId": "001"
}, },
{ {
"id": "001002", "id": "001002",
"title": "株洲市", "title": "销售部",
"last": true, "last": true,
"parentId": "001" "parentId": "001"
}, },
{ {
"id": "001003", "id": "001003",
"title": "湘潭市", "title": "财务部",
"last": true, "last": true,
"parentId": "001" "parentId": "001"
}, },
{ {
"id": "001004", "id": "001004",
"title": "衡阳市", "title": "人事部",
"last": true, "last": true,
"parentId": "001" "parentId": "001"
}, },
{ {
"id": "001005", "id": "001005",
"title": "郴州市", "title": "行政部",
"last": true, "last": true,
"parentId": "001" "parentId": "001"
} }

View File

@ -12,8 +12,8 @@
height: -webkit-calc(100vh - 130px); height: -webkit-calc(100vh - 130px);
height: -moz-calc(100vh - 130px); height: -moz-calc(100vh - 130px);
height: calc(100vh - 130px); height: calc(100vh - 130px);
} }
</style> </style>
</head> </head>
<body class="pear-container"> <body class="pear-container">
<div class="layui-card"> <div class="layui-card">
@ -117,6 +117,11 @@
field: 'location', field: 'location',
align: 'center' align: 'center'
}, },
{
title: '负责人',
field: 'leader',
align: 'center'
},
{ {
title: '操作', title: '操作',
toolbar: '#organization-bar', toolbar: '#organization-bar',