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 {