|
|
|
@ -137,7 +137,7 @@
|
|
|
|
<li v-for="(item,index) in list" :key="item.id" :style="{'border-color': openData.id === item.id ? 'blue' : ''}">
|
|
|
|
<li v-for="(item,index) in list" :key="item.id" :style="{'border-color': openData.id === item.id ? 'blue' : ''}">
|
|
|
|
<div class="left">
|
|
|
|
<div class="left">
|
|
|
|
<p>{{ item.name }}</p>
|
|
|
|
<p>{{ item.name }}</p>
|
|
|
|
<Tag :color="Object.hasOwn(item,'id_house_properties_land_id_relation') ? 'green' : 'purple'">{{ Object.hasOwn(item,'id_house_properties_land_id_relation') ? '土地' : '房产' }}</Tag>
|
|
|
|
<Tag :color="item.hasOwnProperty('land_id') ? 'green' : 'purple'">{{ item.hasOwnProperty('land_id') ? '房产' : '土地' }}</Tag>
|
|
|
|
<Tag color="blue" v-if="item.area">{{ wxAreas[item.area-1] }}</Tag>
|
|
|
|
<Tag color="blue" v-if="item.area">{{ wxAreas[item.area-1] }}</Tag>
|
|
|
|
<!-- <Tag color="cyan" v-if="item.shijimianji">{{ item.shijimianji }} m²</Tag>-->
|
|
|
|
<!-- <Tag color="cyan" v-if="item.shijimianji">{{ item.shijimianji }} m²</Tag>-->
|
|
|
|
<Tag color="red" v-if="Object.hasOwn(item,'id_house_properties_land_id_relation')">{{ item.id_house_properties_land_id_relation ? '权属合一' : '权属分离' }}</Tag>
|
|
|
|
<Tag color="red" v-if="Object.hasOwn(item,'id_house_properties_land_id_relation')">{{ item.id_house_properties_land_id_relation ? '权属合一' : '权属分离' }}</Tag>
|
|
|
|
@ -321,6 +321,11 @@ export default {
|
|
|
|
key: 'zichanshifouyoujianzhu',
|
|
|
|
key: 'zichanshifouyoujianzhu',
|
|
|
|
op: 'eq',
|
|
|
|
op: 'eq',
|
|
|
|
value: ''
|
|
|
|
value: ''
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
key: 'fenlei',
|
|
|
|
|
|
|
|
op: 'neq',
|
|
|
|
|
|
|
|
value: 1
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
@ -474,7 +479,7 @@ export default {
|
|
|
|
};
|
|
|
|
};
|
|
|
|
let markerImg = document.createElement("img");
|
|
|
|
let markerImg = document.createElement("img");
|
|
|
|
markerImg.src =
|
|
|
|
markerImg.src =
|
|
|
|
item.id_house_properties_land_id_relation ? "//a.amap.com/jsapi_demos/static/demo-center/icons/poi-marker-red.png" : "//a.amap.com/jsapi_demos/static/demo-center/icons/poi-marker-default.png";
|
|
|
|
item.hasOwnProperty('land_id') ? "//a.amap.com/jsapi_demos/static/demo-center/icons/poi-marker-red.png" : "//a.amap.com/jsapi_demos/static/demo-center/icons/poi-marker-default.png";
|
|
|
|
let markerSpan = document.createElement("span");
|
|
|
|
let markerSpan = document.createElement("span");
|
|
|
|
markerSpan.setAttribute("class", "map-marker__text");
|
|
|
|
markerSpan.setAttribute("class", "map-marker__text");
|
|
|
|
markerSpan.innerText =
|
|
|
|
markerSpan.innerText =
|
|
|
|
@ -833,10 +838,10 @@ export default {
|
|
|
|
},
|
|
|
|
},
|
|
|
|
leaseAreaTotal () {
|
|
|
|
leaseAreaTotal () {
|
|
|
|
return this.listFilter.reduce((a,b) => {
|
|
|
|
return this.listFilter.reduce((a,b) => {
|
|
|
|
if (b.id_leases_land_id_relation instanceof Array && b.id_leases_land_id_relation.length > 0 ) {
|
|
|
|
if (b.leases instanceof Array && b.leases.length > 0 ) {
|
|
|
|
return a + Number(b.id_leases_land_id_relation.reduce((c,d) => {
|
|
|
|
return a + Number(b.leases.reduce((c,d) => {
|
|
|
|
if (this.$moment().isBetween(this.$moment(d.zulinkaishiqixian),this.$moment(d.zulinjieshuqixian))) {
|
|
|
|
if (this.$moment().isBetween(this.$moment(d.zulinkaishiqixian),this.$moment(d.zulinjieshuqixian))) {
|
|
|
|
return c + Number(d.zulinmianji)
|
|
|
|
return c + Number(b.id_leases_to_assets_land_id_relation.find(e => d.id === e.lease_id)?.chuzumianji??0)
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
return c
|
|
|
|
return c
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|