OTA
This commit is contained in:
@@ -392,14 +392,14 @@ export default {
|
||||
this.loading = true
|
||||
getAction('/ota/otaBaSjList/page', query).then((res) => {
|
||||
if (res.success) {
|
||||
if (res.result.current > 1 && res.result.records.length == 0) {
|
||||
if (res.result.list.current > 1 && res.result.list.records.length == 0) {
|
||||
this.pageNo = 1
|
||||
this.getList()
|
||||
return
|
||||
}
|
||||
this.dataSource = res.result.records || []
|
||||
this.dataSource = res.result.list.records || []
|
||||
this.number = res.result.pjspzq
|
||||
this.total = res.result.total
|
||||
this.total = res.result.list.total
|
||||
this.loading = false
|
||||
} else {
|
||||
this.loading = false
|
||||
|
||||
@@ -339,14 +339,14 @@ export default {
|
||||
this.loading = true
|
||||
getAction('/ota/otaBaCxList/page', query).then((res) => {
|
||||
if (res.success) {
|
||||
if (res.result.current > 1 && res.result.records.length == 0) {
|
||||
if (res.result.list.current > 1 && res.result.list.records.length == 0) {
|
||||
this.pageNo = 1
|
||||
this.getList()
|
||||
return
|
||||
}
|
||||
this.dataSource = res.result.records || []
|
||||
this.dataSource = res.result.list.records || []
|
||||
this.number = res.result.pjspzq
|
||||
this.total = res.result.total
|
||||
this.total = res.result.list.total
|
||||
this.loading = false
|
||||
} else {
|
||||
this.loading = false
|
||||
|
||||
Reference in New Issue
Block a user