|
|
@ -113,6 +113,8 @@ Page({ |
|
|
|
this.getAllOrgCategoryCount() |
|
|
|
this.getTableData() |
|
|
|
this.getTopTreeData() |
|
|
|
this.hotResidentSearch() |
|
|
|
this.hotHouseSearch() |
|
|
|
wx.loadFontFace({ |
|
|
|
family: 'PingFangSC-regular', |
|
|
|
source: 'url("https://img2.misssixty.com.cn/rs/lib/fonts/PingFangSC-regular.ttf")', |
|
|
@ -259,6 +261,7 @@ Page({ |
|
|
|
angencyFwList: [{ ...res.data, children: arr }], |
|
|
|
angencyJmList:[{ ...res.data, children: arr }] |
|
|
|
}) |
|
|
|
console.log(this.data.angencyFwList); |
|
|
|
}) |
|
|
|
}, |
|
|
|
getTreeFun(id, arr, data) { |
|
|
@ -608,7 +611,7 @@ Page({ |
|
|
|
}) |
|
|
|
}) |
|
|
|
|
|
|
|
await houseSearch({ ...this.data.params1, searchKey: this.data.keyWord }).then(res => { |
|
|
|
await getCommunityHouse({ ...this.data.params1, searchKey: this.data.keyWord }).then(res => { |
|
|
|
const { code, data } = res; |
|
|
|
if (code == 0) { |
|
|
|
this.setData({ |
|
|
@ -631,5 +634,41 @@ Page({ |
|
|
|
}) |
|
|
|
} |
|
|
|
}) |
|
|
|
} |
|
|
|
}, |
|
|
|
hotResidentSearch(){ |
|
|
|
api.hotResidentSearch().then(res=>{ |
|
|
|
this.setData({ |
|
|
|
resiSearch:res.data |
|
|
|
}) |
|
|
|
}).catch(err=>{ |
|
|
|
|
|
|
|
}) |
|
|
|
}, |
|
|
|
hotHouseSearch(){ |
|
|
|
api.hotHouseSearch().then(res=>{ |
|
|
|
this.setData({ |
|
|
|
houseSearch:res.data |
|
|
|
}) |
|
|
|
}).catch(err=>{ |
|
|
|
|
|
|
|
}) |
|
|
|
}, |
|
|
|
handelClickResiHot(e){ |
|
|
|
this.setData({ |
|
|
|
tableData:[], |
|
|
|
keyWord:e.currentTarget.dataset.label, |
|
|
|
pageNo: 1, |
|
|
|
}) |
|
|
|
this.getTableData() |
|
|
|
this.getAllOrgCategoryCount() |
|
|
|
}, |
|
|
|
handelClickHouseHot(e){ |
|
|
|
this.setData({ |
|
|
|
tableFwData:[], |
|
|
|
houseListSearchFlag:true, |
|
|
|
pageNo: 1, |
|
|
|
keyWord:e.currentTarget.dataset.label |
|
|
|
}) |
|
|
|
this.getTableFwData() |
|
|
|
}, |
|
|
|
}) |
|
|
|