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
jinhui.wang
2022-02-25 17:53:56 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
09644362a4bb6c40c15bbaebc3da4cebde494546
09644362
1 parent
00d0f24c
代码修正
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
8 deletions
src/components/Table/index.vue
src/views/allocationConfig/cargoAllocation/index.vue
src/views/allocationConfig/flightAllocConfig/index.vue
src/views/allocationConfig/flightAllocConfig/info.vue
src/views/basicInformation/queryCargo/index.vue
src/components/Table/index.vue
View file @
0964436
...
...
@@ -220,7 +220,7 @@ export default {
currentChange(val) {
this.$emit("currentChange", {
page: val,
start: val
* this.limitSize + 1
,
start: val
> 1 ? (val-1) * this.limitSize + 1 : val
,
});
scrollTo(0, 800);
},
...
...
@@ -239,15 +239,15 @@ export default {
} else if (selection.includes(this.data[row.index])) {
if (!selection.includes(this.data[this.start])) {
this.$refs.tables.toggleRowSelection(this.data[this.start], true);
if
(this.selectTable.includes(this.data[this.start]))
{
if
(this.selectTable.includes(this.data[this.start]))
{
this.selectTable.push(this.data[this.start]);
}
}
for (i = min; i <= sum + min; i++) {
this.$refs.tables.toggleRowSelection(this.data[i], true);
if
(!this.selectTable.includes(this.data[i]))
{
if
(!this.selectTable.includes(this.data[i]))
{
this.selectTable.push(this.data[i]);
}
}
}
} else if (!selection.includes(this.data[row.index])) {
this.selectTable.splice(min > 1 ? min - 2 : min, sum + 1);
...
...
@@ -268,7 +268,7 @@ export default {
}
}
}
selection = this.selectTable.sort(this.compare(
'index','ascending'
));
selection = this.selectTable.sort(this.compare(
"index", "ascending"
));
this.$emit("tableSelect", { selection, row });
},
tableSelectAll(selection) {
...
...
src/views/allocationConfig/cargoAllocation/index.vue
View file @
0964436
...
...
@@ -984,7 +984,6 @@ export default {
},
//分页
currentChange(val) {
this.formData.limitStart = val.start;
this.page = val.page;
this.select();
},
...
...
src/views/allocationConfig/flightAllocConfig/index.vue
View file @
0964436
...
...
@@ -165,7 +165,7 @@ export default {
message: response.msg,
type: "error",
});
re
u
turn;
return;
}
this.flyList = response.data.list;
this.total = response.data.totalCount;
...
...
src/views/allocationConfig/flightAllocConfig/info.vue
View file @
0964436
...
...
@@ -451,7 +451,7 @@ export default {
message: response.msg,
type: "error",
});
re
u
turn;
return;
}
let dict = response.data;
this.cargoType = dict.cargoType;
...
...
src/views/basicInformation/queryCargo/index.vue
View file @
0964436
...
...
@@ -836,6 +836,7 @@ export default {
//分页
currentChange(val){
this.formData.limitStart = val.start;
this.limitStart = val.start;
this.page = val.page;
this.select()
},
...
...
Please
register
or
login
to post a comment