组织架构页顶部

This commit is contained in:
jiutianzhiyu 2021-03-26 02:57:22 +08:00
parent 1b85ad848a
commit 33d84e84fb

View File

@ -1,9 +1,32 @@
<template> <template>
<div class="dashboard-container"> <div class="dashboard-container">
<div class="app-container"> <div class="app-container">
<h2> <el-card class="tree-card">
组织架构 <!-- 用了一个行列布局 -->
</h2> <el-row type="flex" justify="space-between" align="middle" style="height: 40px">
<el-col>
<strong>xxx股份有限公司</strong>
</el-col>
<el-col :span="4">
<el-row type="flex" justify="end">
<!-- 两个内容 -->
<el-col>负责人</el-col>
<el-col>
<!-- 下拉菜单 element -->
<el-dropdown>
<span>
操作<i class="el-icon-arrow-down" />
</span>
<!-- 下拉菜单 -->
<el-dropdown-menu slot="dropdown">
<el-dropdown-item>添加子部门</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
</el-col>
</el-row>
</el-col>
</el-row>
</el-card>
</div> </div>
</div> </div>
</template> </template>
@ -14,6 +37,9 @@ export default {
} }
</script> </script>
<style> <style scoped>
.tree-card {
padding: 30px 140px;
font-size:14px;
}
</style> </style>