|
|
|
@@ -9,13 +9,16 @@ |
|
|
|
style="width: 100px" |
|
|
|
placeholder="请选择" |
|
|
|
> |
|
|
|
<el-option |
|
|
|
<!-- <el-option |
|
|
|
v-for="item in options" |
|
|
|
:key="item.value" |
|
|
|
:label="item.label" |
|
|
|
:value="item.value" |
|
|
|
> |
|
|
|
</el-option> |
|
|
|
</el-option> --> |
|
|
|
<el-option label="代理商" v-if="orgType==0" value="0"></el-option> |
|
|
|
<el-option label="公司" value="1"></el-option> |
|
|
|
<el-option label="楼盘" value="2"></el-option> |
|
|
|
</el-select> |
|
|
|
<!-- --> |
|
|
|
<div style="margin-left: 26px" v-if="selValue == 1"> |
|
|
|
@@ -28,9 +31,9 @@ |
|
|
|
> |
|
|
|
<el-option |
|
|
|
v-for="item in houseList" |
|
|
|
:key="item.id" |
|
|
|
:key="item.orgCode" |
|
|
|
:label="item.name" |
|
|
|
:value="item.id" |
|
|
|
:value="item.orgCode" |
|
|
|
> |
|
|
|
</el-option> |
|
|
|
</el-select> |
|
|
|
@@ -363,6 +366,7 @@ |
|
|
|
|
|
|
|
<script> |
|
|
|
import * as echarts from "echarts"; |
|
|
|
import topLogsVue from '../../page/index/top/top-logs.vue'; |
|
|
|
export default { |
|
|
|
data() { |
|
|
|
return { |
|
|
|
@@ -376,11 +380,12 @@ export default { |
|
|
|
tableData: [], |
|
|
|
secondTab: {}, |
|
|
|
thirdTab: {}, |
|
|
|
selValue: "0", |
|
|
|
selValue: localStorage.getItem('orgType')==0?'0':'1', |
|
|
|
checked: false, |
|
|
|
selectTime1: "", //对比时间 |
|
|
|
selectTime: "", //对比时间 |
|
|
|
choicValue: localStorage.getItem("houseId"), |
|
|
|
orgType:localStorage.getItem('orgType'), |
|
|
|
houseList: [], |
|
|
|
secindex: "receptionCount", |
|
|
|
dateType: 4, |
|
|
|
@@ -592,6 +597,7 @@ export default { |
|
|
|
this.$api.api |
|
|
|
.findMyOrg({ |
|
|
|
orgType: localStorage.getItem("orgType"), |
|
|
|
agentId:localStorage.getItem("agentId") |
|
|
|
}) |
|
|
|
.then((res) => { |
|
|
|
this.houseList = res.data; |
|
|
|
@@ -601,6 +607,7 @@ export default { |
|
|
|
this.$api.api |
|
|
|
.findHouseByUser({ |
|
|
|
orgType: localStorage.getItem("orgType"), |
|
|
|
houseId:localStorage.getItem("houseId"), |
|
|
|
}) |
|
|
|
.then((res) => { |
|
|
|
this.houseList = res.data; |
|
|
|
|