|
|
@@ -29,9 +29,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> |
|
|
@@ -152,14 +152,14 @@ |
|
|
|
活跃楼盘数 |
|
|
|
</div> |
|
|
|
<div class="text2" :class="{ tophovese: secindex == 1 }"> |
|
|
|
{{ compare.houseQuantity || 0 }} |
|
|
|
{{ compare.activeHouseQuantity || 0 }} |
|
|
|
</div> |
|
|
|
<div class="text33" v-if="selectTime1"> |
|
|
|
<div> |
|
|
|
对比时段: <span style="text-indent: 20px;">{{compare1.houseQuantity||0}}</span> |
|
|
|
对比时段: <span style="text-indent: 20px;">{{compare1.activeHouseQuantity||0}}</span> |
|
|
|
</div> |
|
|
|
<div :style="compare2.houseQuantity>=0 ? 'color:green;': 'color:red;'"> |
|
|
|
{{compare2.houseQuantity||0}} |
|
|
|
<div :style="compare2.activeHouseQuantity>=0 ? 'color:green;': 'color:red;'"> |
|
|
|
{{compare2.activeHouseQuantity||0}} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
@@ -274,7 +274,8 @@ export default { |
|
|
|
houseDataAll() { |
|
|
|
this.$api.api |
|
|
|
.houseDataAll({ |
|
|
|
agentId: this.selValue == 0 ? this.choicValue : null, |
|
|
|
// agentId: this.selValue == 0 ? this.choicValue : null, |
|
|
|
agentId: this.orgType==0?(this.selValue == 0 ? this.choicValue : null):localStorage.getItem('agentId'), |
|
|
|
orgCode: this.selValue == 1 ? this.choicValue : null, |
|
|
|
}) |
|
|
|
.then((res) => { |
|
|
@@ -291,7 +292,8 @@ export default { |
|
|
|
contrastStartDate: this.selectTime, |
|
|
|
contrastEndDate: this.selectTime1, |
|
|
|
dateType: this.dateType, |
|
|
|
agentId: this.selValue == 0 ? this.choicValue : null, |
|
|
|
// agentId: this.selValue == 0 ? this.choicValue : null, |
|
|
|
agentId: this.orgType==0?(this.selValue == 0 ? this.choicValue : null):localStorage.getItem('agentId'), |
|
|
|
orgCode: this.selValue == 1 ? this.choicValue : null, |
|
|
|
}) |
|
|
|
.then((res) => { |
|
|
@@ -475,6 +477,7 @@ export default { |
|
|
|
this.$api.api |
|
|
|
.findMyOrg({ |
|
|
|
orgType: localStorage.getItem("orgType"), |
|
|
|
agentId:localStorage.getItem('agentId') |
|
|
|
}) |
|
|
|
.then((res) => { |
|
|
|
this.houseList = res.data; |
|
|
|