完成水电表列表
This commit is contained in:
@@ -264,6 +264,7 @@ const defaultProps = {
|
||||
// ! 树形------------------------------------------------------------------------
|
||||
const treedata = ref([]);
|
||||
function gettree() {
|
||||
treedata.value = [];
|
||||
houseStore.getCurrentVilageTreeHouse().then((res) => {
|
||||
treedata.value = res;
|
||||
});
|
||||
@@ -274,6 +275,7 @@ gettree();
|
||||
/** 查询住户管理列表 */
|
||||
const getList = async () => {
|
||||
loading.value = true;
|
||||
residentList.value = [];
|
||||
const res = await listResident(queryParams.value);
|
||||
residentList.value = res.rows;
|
||||
residentList.value.forEach((item) => {
|
||||
@@ -363,7 +365,6 @@ onMounted(() => {
|
||||
<style lang="scss" scoped>
|
||||
.residentBody {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
.treebox {
|
||||
width: 250px;
|
||||
margin-right: 10px;
|
||||
|
||||
Reference in New Issue
Block a user