接口变更

This commit is contained in:
bb_pan 2025-03-05 13:49:13 +08:00
parent 757262be2f
commit 96c3087ab9
4 changed files with 10 additions and 10 deletions

View File

@ -658,10 +658,10 @@ export default {
getDialogTable() { getDialogTable() {
this.loading = true this.loading = true
getPutinDetailsList(this.query).then((response) => { getPutinDetailsList(this.query).then((response) => {
this.detailTableList = response.rows this.detailTableList = response.data.rows
this.dialogTotal = response.total this.dialogTotal = response.data.total
this.loading = false this.loading = false
this.ids = response.rows.map((item) => item) this.ids = response.data.rows.map((item) => item)
}) })
}, },

View File

@ -663,8 +663,8 @@ export default {
getDialogTable() { getDialogTable() {
this.loading = true this.loading = true
getPutinDetailsList(this.query).then((response) => { getPutinDetailsList(this.query).then((response) => {
this.detailTableList = response.rows this.detailTableList = response.data.rows
this.dialogTotal = response.total this.dialogTotal = response.data.total
this.loading = false this.loading = false
}) })
}, },

View File

@ -693,10 +693,10 @@ export default {
getDialogTable() { getDialogTable() {
this.loading = true this.loading = true
getPutinDetailsList(this.query).then((response) => { getPutinDetailsList(this.query).then((response) => {
this.detailTableList = response.rows this.detailTableList = response.data.rows
this.dialogTotal = response.total this.dialogTotal = response.data.total
this.loading = false this.loading = false
this.ids = response.rows.map((item) => item) this.ids = response.data.rows.map((item) => item)
}) })
}, },

View File

@ -667,8 +667,8 @@ export default {
getDialogTable() { getDialogTable() {
this.loading = true this.loading = true
getPutinDetailsList(this.query).then((response) => { getPutinDetailsList(this.query).then((response) => {
this.detailTableList = response.rows this.detailTableList = response.data.rows
this.dialogTotal = response.total this.dialogTotal = response.data.total
this.loading = false this.loading = false
}) })
}, },