|
|
|
@ -12,16 +12,6 @@
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</slot>
|
|
|
|
</slot>
|
|
|
|
</LxHeader>
|
|
|
|
</LxHeader>
|
|
|
|
</div> <div ref="lxHeader">
|
|
|
|
|
|
|
|
<LxHeader icon="md-apps" text="部门管理" style="margin-bottom: 10px; border: 0px; margin-top: 15px">
|
|
|
|
|
|
|
|
<div slot="content"></div>
|
|
|
|
|
|
|
|
<slot>
|
|
|
|
|
|
|
|
<div>
|
|
|
|
|
|
|
|
<Button type="primary" @click="load" style="margin-left: 10px">查询</Button>
|
|
|
|
|
|
|
|
<Button type="primary" @click="edit()" style="margin-left: 10px">新增部门</Button>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</slot>
|
|
|
|
|
|
|
|
</LxHeader>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="table-tree">
|
|
|
|
<div class="table-tree">
|
|
|
|
<el-table :data="tableData" :height="tableHeight" class="v-table" style="width: 100%;margin-bottom: 20px;"
|
|
|
|
<el-table :data="tableData" :height="tableHeight" class="v-table" style="width: 100%;margin-bottom: 20px;"
|
|
|
|
@ -30,7 +20,7 @@
|
|
|
|
</el-table-column>
|
|
|
|
</el-table-column>
|
|
|
|
<el-table-column prop="name" label="部门名称" sortable>
|
|
|
|
<el-table-column prop="name" label="部门名称" sortable>
|
|
|
|
</el-table-column>
|
|
|
|
</el-table-column>
|
|
|
|
<el-table-column prop="manger" label="部门负责人" sortable width="180">
|
|
|
|
<el-table-column prop="manger" label="部门负责人" sortable width="180">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<el-tag type="primary" disable-transitions>{{scope.row.manager?scope.row.manager.name:"无"}}
|
|
|
|
<el-tag type="primary" disable-transitions>{{scope.row.manager?scope.row.manager.name:"无"}}
|
|
|
|
</el-tag>
|
|
|
|
</el-tag>
|
|
|
|
|