Commit ac5bdf79 by 胡悦

添加列表信息

1 parent 375bc8f7
...@@ -2,6 +2,10 @@ ...@@ -2,6 +2,10 @@
display: inline-block; display: inline-block;
} }
.pull-right {
float: right;
}
.table-btn { .table-btn {
margin-bottom: 20px; margin-bottom: 20px;
} }
......
...@@ -24,14 +24,16 @@ ...@@ -24,14 +24,16 @@
>重置</el-button> >重置</el-button>
</span> </span>
</search-form> </search-form>
<div class="table-btn"> <h3>字典列表
<el-button <div class="pull-right">
type="primary" <el-button
:size="btn_size" type="primary"
icon="el-icon-plus" :size="btn_size"
@click="btnClick('create')" icon="el-icon-plus"
>新增</el-button> @click="btnClick('create')"
</div> >新增</el-button>
</div>
</h3>
<basic-table <basic-table
:tableParams="tableParams" :tableParams="tableParams"
:getListApi="getListApi" :getListApi="getListApi"
......
...@@ -24,14 +24,16 @@ ...@@ -24,14 +24,16 @@
>重置</el-button> >重置</el-button>
</span> </span>
</search-form> </search-form>
<div class="table-btn"> <h3>字典管理
<el-button <div class="pull-right">
type="primary" <el-button
:size="btn_size" type="primary"
icon="el-icon-plus" :size="btn_size"
@click="btnClick('create')" icon="el-icon-plus"
>新增</el-button> @click="btnClick('create')"
</div> >新增</el-button>
</div>
</h3>
<basic-table <basic-table
ref="dictManage" ref="dictManage"
:tableParams="tableParams" :tableParams="tableParams"
......
...@@ -24,19 +24,23 @@ ...@@ -24,19 +24,23 @@
>重置</el-button> >重置</el-button>
</span> </span>
</search-form> </search-form>
<div class="table-btn"> <h3>菜单管理
<el-button <div class="pull-right">
type="primary" <el-button
:size="btn_size" type="primary"
icon="el-icon-plus" :size="btn_size"
@click="btnClick('create')" icon="el-icon-plus"
>新增目录</el-button> @click="btnClick('create')"
</div> >新增目录</el-button>
</div>
</h3>
<el-table <el-table
ref="menuTable" ref="menuTable"
:data="menuTableData" :data="menuTableData"
style="width: 100%" style="width: 100%"
row-key="id" row-key="id"
highlight-current-row
stripe
lazy lazy
:load="load" :load="load"
:tree-props="{children: 'children', hasChildren: 'hasChildren'}" :tree-props="{children: 'children', hasChildren: 'hasChildren'}"
......
...@@ -24,19 +24,22 @@ ...@@ -24,19 +24,22 @@
>重置</el-button> >重置</el-button>
</span> </span>
</search-form> </search-form>
<div class="table-btn"> <h3>组织管理
<el-button <div class="pull-right">
type="primary" <el-button
:size="btn_size" type="primary"
icon="el-icon-plus" :size="btn_size"
@click="btnClick('root')" icon="el-icon-plus"
>新增根组织</el-button> @click="btnClick('root')"
</div> >新增根组织</el-button>
</div>
</h3>
<el-table <el-table
ref="table" ref="table"
:data="orginTableData" :data="orginTableData"
style="width: 100%" style="width: 100%"
row-key="id" row-key="id"
highlight-current-row
lazy lazy
stripe stripe
:load="load" :load="load"
......
...@@ -24,14 +24,16 @@ ...@@ -24,14 +24,16 @@
>重置</el-button> >重置</el-button>
</span> </span>
</search-form> </search-form>
<div class="table-btn"> <h3>角色管理
<el-button <div class="pull-right">
type="primary" <el-button
:size="btn_size" type="primary"
icon="el-icon-plus" :size="btn_size"
@click="btnClick('create')" icon="el-icon-plus"
>新增</el-button> @click="btnClick('create')"
</div> >新增</el-button>
</div>
</h3>
<basic-table <basic-table
ref="roleTable" ref="roleTable"
:tableParams="tableParams" :tableParams="tableParams"
......
...@@ -44,14 +44,16 @@ ...@@ -44,14 +44,16 @@
>重置</el-button> >重置</el-button>
</span> </span>
</search-form> </search-form>
<div class="table-btn"> <h3>用户管理
<el-button <div class="pull-right">
type="primary" <el-button
:size="btn_size" type="primary"
icon="el-icon-plus" :size="btn_size"
@click="btnClick('create')" icon="el-icon-plus"
>新增</el-button> @click="btnClick('create')"
</div> >新增</el-button>
</div>
</h3>
<basic-table <basic-table
ref="userTable" ref="userTable"
:tableParams="tableParams" :tableParams="tableParams"
......
...@@ -21,13 +21,15 @@ ...@@ -21,13 +21,15 @@
>重置</el-button> >重置</el-button>
</span> </span>
</search-form> </search-form>
<div class="table-btn"> <h3>操作日志
<el-button <div class="pull-right">
type="primary" <el-button
:size="btn_size" type="primary"
@click="exportTable" :size="btn_size"
>导出</el-button> @click="exportTable"
</div> >导出</el-button>
</div>
</h3>
<basic-table <basic-table
ref="worklogTable" ref="worklogTable"
:tableParams="tableParams" :tableParams="tableParams"
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!