From 651f591e46256999b4f60a6006f8848d39fca498 Mon Sep 17 00:00:00 2001 From: caill <815519168@qq.com> Date: Fri, 3 Nov 2023 09:05:17 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=BE=E5=A4=87=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/modules/device/check-order-detail.vue | 2 +- src/pages/modules/device/check-order.vue | 8 ++++---- src/pages/modules/device/lubric-order-detail.vue | 2 +- src/pages/modules/device/lubric-order.vue | 8 ++++---- src/pages/modules/device/maintain-order-detail.vue | 2 +- src/pages/modules/device/maintain-order.vue | 8 ++++---- src/pages/modules/device/repair-order-detail.vue | 2 +- src/pages/modules/device/repair-order.vue | 8 ++++---- 8 files changed, 20 insertions(+), 20 deletions(-) diff --git a/src/pages/modules/device/check-order-detail.vue b/src/pages/modules/device/check-order-detail.vue index b9e1893..4caa425 100644 --- a/src/pages/modules/device/check-order-detail.vue +++ b/src/pages/modules/device/check-order-detail.vue @@ -55,7 +55,7 @@ export default { // grid async _devicesportcheckmstGetDtl () { let res = await devicesportcheckmstGetDtl(this.$route.query.id) - this.dataList = [...res.data] + this.dataList = [...res.content] }, toJump () { this.$router.push('/checkorder') diff --git a/src/pages/modules/device/check-order.vue b/src/pages/modules/device/check-order.vue index bc52ec0..c16aa09 100644 --- a/src/pages/modules/device/check-order.vue +++ b/src/pages/modules/device/check-order.vue @@ -76,8 +76,8 @@ export default { this.desc = '' let res = await devicesportcheckmstByuser(this.page + '', this.size) this.dataList = [] - this.dataList = [...res.data] - if (res.data.length < 30) { + this.dataList = [...res.content] + if (res.content.length < 30) { this.busy = true this.desc = '已加载全部数据' } @@ -86,8 +86,8 @@ export default { this.busy = true this.page++ let res = await devicesportcheckmstByuser(this.page + '', this.size) - this.dataList = [...this.dataList, ...res.data] - if (res.data.length < 30) { + this.dataList = [...this.dataList, ...res.content] + if (res.content.length < 30) { this.busy = true this.desc = '已加载全部数据' } else { diff --git a/src/pages/modules/device/lubric-order-detail.vue b/src/pages/modules/device/lubric-order-detail.vue index 39c4b3d..193d124 100644 --- a/src/pages/modules/device/lubric-order-detail.vue +++ b/src/pages/modules/device/lubric-order-detail.vue @@ -55,7 +55,7 @@ export default { // grid async _devicelubricatemstGetDtl () { let res = await devicelubricatemstGetDtl(this.$route.query.id) - this.dataList = [...res.data] + this.dataList = [...res.content] }, toJump () { this.$router.push('/lubricorder') diff --git a/src/pages/modules/device/lubric-order.vue b/src/pages/modules/device/lubric-order.vue index fd98910..591bd09 100644 --- a/src/pages/modules/device/lubric-order.vue +++ b/src/pages/modules/device/lubric-order.vue @@ -76,8 +76,8 @@ export default { this.desc = '' let res = await devicelubricatemstByuser(this.page + '', this.size) this.dataList = [] - this.dataList = [...res.data] - if (res.data.length < 30) { + this.dataList = [...res.content] + if (res.content.length < 30) { this.busy = true this.desc = '已加载全部数据' } @@ -86,8 +86,8 @@ export default { this.busy = true this.page++ let res = await devicelubricatemstByuser(this.page + '', this.size) - this.dataList = [...this.dataList, ...res.data] - if (res.data.length < 30) { + this.dataList = [...this.dataList, ...res.content] + if (res.content.length < 30) { this.busy = true this.desc = '已加载全部数据' } else { diff --git a/src/pages/modules/device/maintain-order-detail.vue b/src/pages/modules/device/maintain-order-detail.vue index 62434be..734922a 100644 --- a/src/pages/modules/device/maintain-order-detail.vue +++ b/src/pages/modules/device/maintain-order-detail.vue @@ -55,7 +55,7 @@ export default { // grid async _devicemaintenancemstGetDtl () { let res = await devicemaintenancemstGetDtl(this.$route.query.id) - this.dataList = [...res.data] + this.dataList = [...res.content] }, toJump () { this.$router.push('/maintainorder') diff --git a/src/pages/modules/device/maintain-order.vue b/src/pages/modules/device/maintain-order.vue index de74cef..e9c75c9 100644 --- a/src/pages/modules/device/maintain-order.vue +++ b/src/pages/modules/device/maintain-order.vue @@ -76,8 +76,8 @@ export default { this.desc = '' let res = await devicemaintenancemstByuser(this.page + '', this.size) this.dataList = [] - this.dataList = [...res.data] - if (res.data.length < 30) { + this.dataList = [...res.content] + if (res.content.length < 30) { this.busy = true this.desc = '已加载全部数据' } @@ -86,8 +86,8 @@ export default { this.busy = true this.page++ let res = await devicemaintenancemstByuser(this.page + '', this.size) - this.dataList = [...this.dataList, ...res.data] - if (res.data.length < 30) { + this.dataList = [...this.dataList, ...res.content] + if (res.content.length < 30) { this.busy = true this.desc = '已加载全部数据' } else { diff --git a/src/pages/modules/device/repair-order-detail.vue b/src/pages/modules/device/repair-order-detail.vue index 9b50dd6..a60005e 100644 --- a/src/pages/modules/device/repair-order-detail.vue +++ b/src/pages/modules/device/repair-order-detail.vue @@ -55,7 +55,7 @@ export default { // grid async _devicerepairmstGetDtl () { let res = await devicerepairmstGetDtl(this.$route.query.id) - this.dataList = [...res.data] + this.dataList = [...res.content] }, toJump () { this.$router.push('/repairorder') diff --git a/src/pages/modules/device/repair-order.vue b/src/pages/modules/device/repair-order.vue index 40fbb30..68196aa 100644 --- a/src/pages/modules/device/repair-order.vue +++ b/src/pages/modules/device/repair-order.vue @@ -76,8 +76,8 @@ export default { this.desc = '' let res = await devicerepairmstByuser(this.page + '', this.size) this.dataList = [] - this.dataList = [...res.data] - if (res.data.length < 30) { + this.dataList = [...res.content] + if (res.content.length < 30) { this.busy = true this.desc = '已加载全部数据' } @@ -86,8 +86,8 @@ export default { this.busy = true this.page++ let res = await devicerepairmstByuser(this.page + '', this.size) - this.dataList = [...this.dataList, ...res.data] - if (res.data.length < 30) { + this.dataList = [...this.dataList, ...res.content] + if (res.content.length < 30) { this.busy = true this.desc = '已加载全部数据' } else {