丰富演示数据
parent
e2d27a34f1
commit
1a747332e6
|
|
@ -1,51 +1,41 @@
|
|||
{
|
||||
"createTime": null,
|
||||
"createBy": null,
|
||||
"updateTime": null,
|
||||
"updateBy": null,
|
||||
"remark": null,
|
||||
"code": 0,
|
||||
"msg": "...",
|
||||
"count": 3,
|
||||
"data": [{
|
||||
"name": "就眠仪式",
|
||||
"userCount": 1,
|
||||
"location": "二楼101"
|
||||
"name": "软件部",
|
||||
"userCount": 324,
|
||||
"location": "二楼201",
|
||||
"leader": "皮卡丘"
|
||||
},{
|
||||
"name": "就眠仪式",
|
||||
"userCount": 1,
|
||||
"location": "二楼101"
|
||||
"name": "美工部",
|
||||
"userCount": 98,
|
||||
"location": "二楼101",
|
||||
"leader": "皮卡丘"
|
||||
},{
|
||||
"name": "就眠仪式",
|
||||
"userCount": 1,
|
||||
"location": "二楼101"
|
||||
"name": "设计部",
|
||||
"userCount": 43,
|
||||
"location": "六楼602",
|
||||
"leader": "皮卡丘"
|
||||
},{
|
||||
"name": "就眠仪式",
|
||||
"userCount": 1,
|
||||
"location": "二楼101"
|
||||
"name": "销售部",
|
||||
"userCount": 12,
|
||||
"location": "一楼131",
|
||||
"leader": "皮卡丘"
|
||||
},{
|
||||
"name": "就眠仪式",
|
||||
"userCount": 1,
|
||||
"location": "二楼101"
|
||||
"name": "产品部",
|
||||
"userCount": 128,
|
||||
"location": "四楼401",
|
||||
"leader": "皮卡丘"
|
||||
},{
|
||||
"name": "就眠仪式",
|
||||
"userCount": 1,
|
||||
"location": "二楼101"
|
||||
"name": "财务部",
|
||||
"userCount": 23,
|
||||
"location": "三楼105",
|
||||
"leader": "皮卡丘"
|
||||
},{
|
||||
"name": "就眠仪式",
|
||||
"userCount": 1,
|
||||
"location": "二楼101"
|
||||
},{
|
||||
"name": "就眠仪式",
|
||||
"userCount": 1,
|
||||
"location": "二楼101"
|
||||
},{
|
||||
"name": "就眠仪式",
|
||||
"userCount": 1,
|
||||
"location": "二楼101"
|
||||
},{
|
||||
"name": "就眠仪式",
|
||||
"userCount": 1,
|
||||
"location": "二楼101"
|
||||
"name": "人事部",
|
||||
"userCount": 67,
|
||||
"location": "二楼201",
|
||||
"leader": "皮卡丘"
|
||||
}]
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,41 +5,41 @@
|
|||
},
|
||||
"data": [{
|
||||
"id": "0",
|
||||
"title": "部门目录",
|
||||
"title": "济南总部",
|
||||
"last": false,
|
||||
"parentId": "9527",
|
||||
"children": [{
|
||||
"id": "001",
|
||||
"title": "湖南省",
|
||||
"title": "杭州市",
|
||||
"last": false,
|
||||
"parentId": "0",
|
||||
"children": [{
|
||||
"id": "001001",
|
||||
"title": "长沙市",
|
||||
"title": "软件部",
|
||||
"last": true,
|
||||
"parentId": "001"
|
||||
},
|
||||
{
|
||||
"id": "001002",
|
||||
"title": "株洲市",
|
||||
"title": "销售部",
|
||||
"last": true,
|
||||
"parentId": "001"
|
||||
},
|
||||
{
|
||||
"id": "001003",
|
||||
"title": "湘潭市",
|
||||
"title": "财务部",
|
||||
"last": true,
|
||||
"parentId": "001"
|
||||
},
|
||||
{
|
||||
"id": "001004",
|
||||
"title": "衡阳市",
|
||||
"title": "人事部",
|
||||
"last": true,
|
||||
"parentId": "001"
|
||||
},
|
||||
{
|
||||
"id": "001005",
|
||||
"title": "郴州市",
|
||||
"title": "行政部",
|
||||
"last": true,
|
||||
"parentId": "001"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -75,4 +75,4 @@
|
|||
})
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
|
@ -12,8 +12,8 @@
|
|||
height: -webkit-calc(100vh - 130px);
|
||||
height: -moz-calc(100vh - 130px);
|
||||
height: calc(100vh - 130px);
|
||||
}
|
||||
</style>
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body class="pear-container">
|
||||
<div class="layui-card">
|
||||
|
|
@ -117,6 +117,11 @@
|
|||
field: 'location',
|
||||
align: 'center'
|
||||
},
|
||||
{
|
||||
title: '负责人',
|
||||
field: 'leader',
|
||||
align: 'center'
|
||||
},
|
||||
{
|
||||
title: '操作',
|
||||
toolbar: '#organization-bar',
|
||||
|
|
|
|||
Loading…
Reference in New Issue