|
@@ -2,20 +2,28 @@
|
|
|
<div style='display: flex; flex-direction: column;flex-grow: 1; flex-shrink: 1;'>
|
|
|
<table-page-template>
|
|
|
<div slot='form' class='condition'>
|
|
|
- <el-input
|
|
|
- v-model.trim='searchValue'
|
|
|
- class='margin-right'
|
|
|
- style='width: 300px; margin-right: 10px;'
|
|
|
- placeholder='姓名、联系电话、登录名、备注'
|
|
|
- @change='searchChange'
|
|
|
- ></el-input>
|
|
|
+ <p>
|
|
|
+ <el-input
|
|
|
+ v-model.trim='searchValue'
|
|
|
+ class='margin-right'
|
|
|
+ style='width: 300px; margin-right: 10px;'
|
|
|
+ placeholder='姓名、联系电话、登录名、备注'
|
|
|
+ @change='searchChange'
|
|
|
+ ></el-input>
|
|
|
+ </p>
|
|
|
+
|
|
|
<!-- <el-button @click='refresh' style="margin-left: 10px;"> 刷新 </el-button> -->
|
|
|
- <el-button @click='addUser'>添加</el-button>
|
|
|
+
|
|
|
<!-- <el-button type='danger' @click='someDel'>批量删除</el-button> -->
|
|
|
</div>
|
|
|
- <el-table
|
|
|
+
|
|
|
+ <div slot='table' style="border: 1px solid #dfe6ec">
|
|
|
+ <p style="overflow: hidden;">
|
|
|
+ <el-button style="margin: 10px;float: right;" @click='addUser'>添加</el-button>
|
|
|
+ </p>
|
|
|
+ <el-table
|
|
|
height="600"
|
|
|
- slot='table'
|
|
|
+
|
|
|
:data='tableData'
|
|
|
border
|
|
|
tooltip-effect='dark'
|
|
@@ -34,6 +42,8 @@
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
|
+ </div>
|
|
|
+
|
|
|
<base-pagination :currentPages='pageNum' :total='total' @pageChanged='pageChanged' slot='pagination'></base-pagination>
|
|
|
</table-page-template>
|
|
|
<saga-edit ref='edit' @refresh='refresh'></saga-edit>
|
|
@@ -161,7 +171,7 @@ export default {
|
|
|
<style scoped lang='less'>
|
|
|
.condition {
|
|
|
margin: 10px;
|
|
|
- display: flex;
|
|
|
- justify-content: space-between;
|
|
|
+ // display: flex;
|
|
|
+ // justify-content: space-between;
|
|
|
}
|
|
|
</style>
|