|
|
@@ -2,19 +2,19 @@ |
|
|
|
<div class="box-center"> |
|
|
|
<!-- 头 --> |
|
|
|
<div class="app-top"> |
|
|
|
<!-- <div class="app-titel"> |
|
|
|
<div class="titel-text">楼盘选择:</div> |
|
|
|
<div class="app-titel" v-if="role!=3" style="margin-bottom:10px;"> |
|
|
|
<div class="titel-text">楼盘选择:</div> |
|
|
|
<div style="margin-left: 26px"> |
|
|
|
<el-select v-model="value" placeholder="请选择"> |
|
|
|
<el-select v-model="houseId" placeholder="请选择" @change="houseChange"> |
|
|
|
<el-option |
|
|
|
v-for="item in options" |
|
|
|
:key="item.value" |
|
|
|
:label="item.label" |
|
|
|
:value="item.value"> |
|
|
|
v-for="item in houseList" |
|
|
|
:key="item.id" |
|
|
|
:label="item.propertyName" |
|
|
|
:value="item.id"> |
|
|
|
</el-option> |
|
|
|
</el-select> |
|
|
|
</div> |
|
|
|
</div> --> |
|
|
|
</div> |
|
|
|
<div class="app-titel"> |
|
|
|
<div class="titel-text">接待时间:</div> |
|
|
|
<div class="toptimeqhuan"> |
|
|
@@ -287,7 +287,8 @@ export default { |
|
|
|
}, |
|
|
|
Zxllist:[], |
|
|
|
Zxllistchildren:[], |
|
|
|
marketingId:'' |
|
|
|
marketingId:'', |
|
|
|
houseList:[] |
|
|
|
|
|
|
|
}; |
|
|
|
}, |
|
|
@@ -303,9 +304,43 @@ export default { |
|
|
|
this.overviewreceptionRanking() |
|
|
|
this.overviewreceptionRanking1() |
|
|
|
this.overviewreceptionOverviewZxl() |
|
|
|
}else{ |
|
|
|
this.zkhousePage() |
|
|
|
} |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
houseChange(){ |
|
|
|
this.customtime=[]; |
|
|
|
this.TimetoAhoose=4; |
|
|
|
this.fromobj.statDateStart= ''; |
|
|
|
this.fromobj.statDateEnd= ''; |
|
|
|
this.overviewfindList() |
|
|
|
this.overviewfindUserListByHouseId() |
|
|
|
this.overviewreceptionOverview() |
|
|
|
this.overviewreceptionData() |
|
|
|
|
|
|
|
this.overviewreceptionRanking() |
|
|
|
this.overviewreceptionRanking1() |
|
|
|
this.overviewreceptionOverviewZxl() |
|
|
|
}, |
|
|
|
zkhousePage() { |
|
|
|
this.$api.api |
|
|
|
.findHouseByUser({ |
|
|
|
orgType: localStorage.getItem("orgType"), |
|
|
|
}) |
|
|
|
.then((res) => { |
|
|
|
this.houseList = res.data; |
|
|
|
this.houseId = res.data[0].id; |
|
|
|
this.overviewfindList() |
|
|
|
this.overviewfindUserListByHouseId() |
|
|
|
this.overviewreceptionOverview() |
|
|
|
this.overviewreceptionData() |
|
|
|
|
|
|
|
this.overviewreceptionRanking() |
|
|
|
this.overviewreceptionRanking1() |
|
|
|
this.overviewreceptionOverviewZxl() |
|
|
|
}); |
|
|
|
}, |
|
|
|
//切换二级 |
|
|
|
zxltapchang(){ |
|
|
|
this.Zxllistchildren=[]; |
|
|
|