Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Fedex
/
imac-vue
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
1730532197@qq.com
2021-12-01 11:08:14 +0800
Browse Files
Options
Browse Files
Download
Plain Diff
Commit
59b5907ca99f8e06e6c9cff2f75cbf237587eb4a
59b5907c
2 parents
abcee196
4b46f376
Merge branch 'master' of
http://118.178.128.178/Fedex/imac-vue
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
68 additions
and
1 deletions
src/views/system/user/index.vue
src/views/system/user/index.vue
View file @
59b5907
<template>
<div>index user</div>
<div style="margin:40px">
<el-form :inline="true" :model="formInline" class="demo-form-inline">
<el-form-item label="航班号">
<el-input v-model="formInline.flyNum" placeholder="航班号"></el-input>
</el-form-item>
<el-form-item>
<el-button type="primary" icon="el-icon-search" @click="onSubmit">查询</el-button>
</el-form-item>
</el-form>
<el-button style="margin-bottom:20px" type="primary" icon="el-icon-plus">添加</el-button>
<el-table
:data="flyList"
style="width: 800px"
>
<el-table-column
prop="flyNum"
label="航班号"
>
</el-table-column>
<el-table-column
label="操作"
>
</el-table-column>
</el-table>
<el-pagination
@size-change="handleSizeChange"
@current-change="handleCurrentChange"
:current-page="currentPage"
:page-sizes="[10, 20, 30, 40]"
:page-size="10"
layout="prev, pager, next, jumper, sizes, total"
:total="total"
background
style="margin-top:40px">
</el-pagination>
</div>
</template>
<script>
export default {
data() {
return {
formInline: {
flyNum: ''
},
flyList:[],
currentPage:1,
total:0
}
},
methods: {
onSubmit() {
console.log('submit!');
},
handleSizeChange(val) {
console.log(`每页 ${val} 条`);
},
handleCurrentChange(val) {
console.log(`当前页: ${val}`);
},
getAll(){
}
},
created:{
}
}
</script>
...
...
Please
register
or
login
to post a comment