接口变更
This commit is contained in:
parent
757262be2f
commit
96c3087ab9
|
|
@ -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)
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -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)
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue