|
|
|
@ -243,7 +243,7 @@ export default {
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
async getCustomers() {
|
|
|
|
async getCustomers() {
|
|
|
|
const res = await getList(this.select,false)
|
|
|
|
const res = await getList(this.select)
|
|
|
|
this.list = res.data.data
|
|
|
|
this.list = res.data.data
|
|
|
|
this.total = res.data.total
|
|
|
|
this.total = res.data.total
|
|
|
|
},
|
|
|
|
},
|
|
|
|
@ -261,11 +261,11 @@ export default {
|
|
|
|
async getCity(){
|
|
|
|
async getCity(){
|
|
|
|
let city = await getparameter({number: 'city'},false)
|
|
|
|
let city = await getparameter({number: 'city'},false)
|
|
|
|
for(let i = 0;i < city.detail.length;i ++){
|
|
|
|
for(let i = 0;i < city.detail.length;i ++){
|
|
|
|
let area = await getparameter({number : city.detail[i].remark},false)
|
|
|
|
let area = await getparameter({pid : city.detail[i].id},false)
|
|
|
|
city.detail[i].children = area.detail
|
|
|
|
city.detail[i].children = area.detail
|
|
|
|
|
|
|
|
|
|
|
|
for(let j = 0;j < area.detail.length;j++){
|
|
|
|
for(let j = 0;j < area.detail.length;j++){
|
|
|
|
let street = await getparameter({number : area.detail[j].remark},false)
|
|
|
|
let street = await getparameter({pid : area.detail[j].id},false)
|
|
|
|
area.detail[j].children = street.detail
|
|
|
|
area.detail[j].children = street.detail
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|