Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Fedex
/
iClear-Connect-Pre-Clearance
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
2024-12-25 15:42:22 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
7dc711159ebcae41781f2df8b45845bd9a4a79ff
7dc71115
1 parent
1e131536
分页字段修改
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
web/src/views/WaybillInquiry/index.vue
web/src/views/WaybillInquiry/index.vue
View file @
7dc7111
...
...
@@ -115,12 +115,12 @@
</div>
</div>
<el-table
class="queryTable"
:data="tableData"
style="width: 100%"
:height="tableMaxheight"
:row-class-name="tableRowClassName"
v-loading="loadings.tableLoading"
class="queryTable"
@sort-change="handleSortChange"
>
<el-table-column
...
...
@@ -213,9 +213,9 @@
<el-pagination
@size-change="handleSizeChange"
@current-change="handleCurrentChange"
:current-page="page.
curP
age"
:current-page="page.
p
age"
:page-sizes="[20, 30, 50, 100]"
:page-size="page.
pageS
ize"
:page-size="page.
s
ize"
layout="total, sizes, prev, pager, next, jumper"
:total="page.total"
>
...
...
@@ -323,8 +323,8 @@ export default {
},
],
page: {
curP
age: 1,
pageS
ize: 20,
p
age: 1,
s
ize: 20,
total: 0, //数据总和
},
rules: {},
...
...
@@ -370,7 +370,7 @@ export default {
this.loadings.tableLoading = true;
let obj = this.datainfo();
if (val == 0) {
obj.
curP
age = 1;
obj.
p
age = 1;
}
getwaybillData(obj)
.then((res) => {
...
...
@@ -411,8 +411,8 @@ export default {
createTimeTo: "",
statusCode: this.sreachFormData.statusCode,
sort: this.sreachFormData.sort,
curPage: this.page.curP
age,
pageSize: this.page.pageS
ize,
page: this.page.p
age,
size: this.page.s
ize,
total: this.page.total,
};
if (this.sreachFormData.createTime.length > 0) {
...
...
@@ -424,12 +424,12 @@ export default {
handleSortChange({ column, prop, order }) {},
// 改变页面条数
handleSizeChange(val) {
this.page.
pageS
ize = val;
this.page.
s
ize = val;
this.search(1);
},
// 切换页码
handleCurrentChange(val) {
this.page.
curP
age = val;
this.page.
p
age = val;
this.search(1);
},
//文本域切换
...
...
Please
register
or
login
to post a comment