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
shanyunduo.cheng
2021-12-01 09:56:48 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
4b46f376c8dda10284b50610c01a5a0a5b0b28ff
4b46f376
1 parent
1b31e68c
航班
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 @
4b46f37
<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