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:07:34 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
abcee1960c17bf8bd8cdc733d3a06db65e9b95e8
abcee196
1 parent
1b31e68c
lwj
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
6 deletions
src/views/login.vue
src/views/system/role/index.vue
src/views/login.vue
View file @
abcee19
...
...
@@ -53,7 +53,7 @@ export default {
cookiePassword: "",
loginForm: {
username: "root",
password: "123",
password: "123
456
",
rememberMe: false
},
loginRules: {
...
...
src/views/system/role/index.vue
View file @
abcee19
...
...
@@ -40,7 +40,7 @@
<el-table-column label="原航班" align="center" prop="sourceFlightNo"/>
<el-table-column label="目的航班排序" align="center" prop="flightRank" width="280"/>
<el-table-column label="优先级" align="center" prop="priority" />
<el-table-column label="周期" align="center" prop="dayOfWeek" />
<el-table-column label="周期" align="center" prop="dayOfWeek"
width="180"
/>
<el-table-column label="状态" align="center" prop="status" :formatter="statusFormat" />
<el-table-column label="开始时间" align="center" prop="startDate" width="100"/>
<el-table-column label="结束时间" align="center" prop="endDate" width="100"/>
...
...
@@ -71,7 +71,7 @@
// 遮罩层
loading: false,
// 总条数
total:
11
0,
total: 0,
// 原航班规则数据
sourceFlightRulesList: [],
statusList: [{'id':1,'name':'有效'}, {'id':2,'name':'配置中'},{'id':3,'name':'停用'}],
...
...
@@ -100,11 +100,14 @@
findSourceFlightRules() {
//this.loading = true;
if (this.queryParams.pageNum > 1) {
this.queryParams.start = (this.queryParams.pageNum - 1) * this.queryParams.limit + 1
this.queryParams.start = (this.queryParams.pageNum - 1) * this.queryParams.limit
}else{
this.queryParams.start=0;
}
findSourceFlightRulesApi(this.queryParams).then(response => {
this.sourceFlightRulesList = response.list;
this.total = response.totalCount;
this.sourceFlightRulesList = response.data.list;
this.total = response.data.totalCount;
this.loading = false;
});
...
...
@@ -128,6 +131,7 @@
/** 搜索按钮操作 */
handleQuery() {
this.queryParams.pageNum = 1;
this.queryParams.start=0;
this.findSourceFlightRules();
}
...
...
Please
register
or
login
to post a comment