|
|
@@ -99,8 +99,6 @@ export default {
|
|
|
status: "",//状态
|
|
|
userCode: "",//用户id
|
|
|
deliveredStatus: "",
|
|
|
- pageNum: 1,
|
|
|
- pageSize: 10,
|
|
|
|
|
|
},
|
|
|
form: {},//提交表单
|
|
|
@@ -117,6 +115,8 @@ export default {
|
|
|
Result: {
|
|
|
rows: [],
|
|
|
total: 100,
|
|
|
+ pageNum: 1,
|
|
|
+ pageSize: 10,
|
|
|
},
|
|
|
Columns: [
|
|
|
{ prop: "userCode", label: "用户ID", minWidth: 180, },
|
|
|
@@ -184,7 +184,7 @@ export default {
|
|
|
this.initUserList()
|
|
|
},
|
|
|
initUserList() {
|
|
|
- api.userList(localStorage.getItem('username')).then(res => {
|
|
|
+ api.userList().then(res => {
|
|
|
if (res.code == 200) {
|
|
|
this.userList = res.data
|
|
|
}
|
|
|
@@ -193,11 +193,17 @@ export default {
|
|
|
//列表查询
|
|
|
findPage() {
|
|
|
let that = this
|
|
|
- api.userFindWeUserList(this.query).then((res) => {
|
|
|
+ api.userFindWeUserList({
|
|
|
+ ...this.query,
|
|
|
+ pageNum: this.Result.pageNum,
|
|
|
+ pageSize: this.Result.pageSize
|
|
|
+ }).then((res) => {
|
|
|
if (res.code == 200) {
|
|
|
that.Result = {
|
|
|
rows: res.rows,
|
|
|
- total: res.total
|
|
|
+ total: res.total,
|
|
|
+ pageSize: res.pageSize,
|
|
|
+ pageNum: res.pageNum
|
|
|
}
|
|
|
}
|
|
|
})
|