diff --git a/src/views/modules/order/transactiondetails.vue b/src/views/modules/order/transactiondetails.vue index 60ae182..2cb82fe 100644 --- a/src/views/modules/order/transactiondetails.vue +++ b/src/views/modules/order/transactiondetails.vue @@ -25,14 +25,16 @@ + label="用户111"> + --> + + + 查询 --> +
当前用户:{{userName}} / {{query.tel}}
- - - - - + + + @@ -30,7 +34,10 @@ align="center" label="关联id"> --> - + + + + @@ -117,9 +124,9 @@ dataListLoading: false, dataList: [], pageIndex: 1, - pageSize: 10, + pageSize: 20, totalPage: 0, - + userName:'', } }, @@ -129,6 +136,8 @@ activated() { this.query.id = this.$route.query.id; this.query.tel = this.$route.query.tel; + this.userName = this.$route.query.userName + // console.log(this.$route.query.orderId) this.getDataList() }, @@ -162,7 +171,8 @@ method: "POST", // POST、GET、PUT、DELETE,具体说明查看官方文档 data: { 'page': 1, - 'limit': 200, + 'limit': this.pageSize, + 'userId': this.query.id }, header: { //默认 无 说明:请求头 diff --git a/src/views/modules/user/user.vue b/src/views/modules/user/user.vue index 6cbd84d..4bdaa16 100644 --- a/src/views/modules/user/user.vue +++ b/src/views/modules/user/user.vue @@ -28,9 +28,9 @@ align="center" label="用户ID"> - +