未符合项整改
This commit is contained in:
@@ -542,13 +542,15 @@ export default {
|
||||
_this: this,
|
||||
}, res=> {
|
||||
const result = res.data[0]
|
||||
// Object.keys(result).forEach((tableName,index) => {
|
||||
// const tableRes = result[tableName]
|
||||
// const count = `count${index + 1}`
|
||||
// this.pageConfig[count] = tableRes.total
|
||||
// this[tableName] = tableRes.records
|
||||
// console.log(tableRes)
|
||||
// })
|
||||
for(const type in result) {
|
||||
this[type] = result[type].records
|
||||
}
|
||||
this.newItemsPage = 1
|
||||
this.oldItemsPage = 1
|
||||
this.newStandPage = 1
|
||||
this.oldStandPage = 1
|
||||
this.newPolicyPage = 1
|
||||
this.oldPolicypage = 1
|
||||
}, e => {
|
||||
console.log(e)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user