|
@@ -55,6 +55,13 @@
|
|
|
:key="item.id"
|
|
|
:label="item.name"
|
|
|
:value="item.id">
|
|
|
+ <div style="display: flex" v-if="item.planType">
|
|
|
+ <img src="@/assets/ZDimages/bigData3_2/icon_lc_yc.png" style="margin:11px 10px 0 0;width:14px;height:12px;">
|
|
|
+ <p style="margin-right:24px;">{{ item.name }}</p>
|
|
|
+ </div>
|
|
|
+ <div style="display: flex" v-else>
|
|
|
+ <p style="margin:0 24px;">{{ item.name }}</p>
|
|
|
+ </div>
|
|
|
</el-option>
|
|
|
</el-select>
|
|
|
</div>
|
|
@@ -1054,6 +1061,16 @@
|
|
|
newList = newList.concat(responseTow.data);
|
|
|
//********************处理数据********************
|
|
|
if(newList[0]){
|
|
|
+ //楼栋预案标记
|
|
|
+ for(let o=0;o<self.buildingOptions.length;o++){
|
|
|
+ let num = 0;
|
|
|
+ for(let i=0;i<newList.length;i++){
|
|
|
+ if(newList[i].buildId == self.buildingOptions[o].id){
|
|
|
+ num++
|
|
|
+ }
|
|
|
+ }
|
|
|
+ self.buildingOptions[o].planType = num != 0;
|
|
|
+ }
|
|
|
for(let i=0;i<newList.length;i++){
|
|
|
for(let o=0;o<self.mapList.length;o++){
|
|
|
for(let x=0;x<self.mapList[o].relationalData.length;x++){
|
|
@@ -1095,6 +1112,7 @@
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+ this.$forceUpdate();
|
|
|
}else{
|
|
|
for(let o=0;o<self.mapList.length;o++){
|
|
|
for(let x=0;x<self.mapList[o].relationalData.length;x++){
|
|
@@ -1103,6 +1121,10 @@
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+ for(let o=0;o<self.buildingOptions.length;o++){
|
|
|
+ self.buildingOptions[o].planType = false;
|
|
|
+ }
|
|
|
+ this.$forceUpdate();
|
|
|
}
|
|
|
this.initAdd();
|
|
|
})
|