|
@@ -243,7 +243,7 @@
|
|
|
|
|
|
<div
|
|
|
class="attr-select attr-select-bottom"
|
|
|
- v-if="type =='Zone' || type =='Image' ||type == 'fire-Zone' ||type == 'Line'"
|
|
|
+ v-if="type =='Zone' || type =='Image'||type == 'Line'"
|
|
|
>
|
|
|
<a-spin :spinning="spinning">
|
|
|
<div class="row">
|
|
@@ -475,11 +475,13 @@ export default {
|
|
|
},
|
|
|
watch: {
|
|
|
focusItemList: function(newval) {
|
|
|
- console.log(newval);
|
|
|
const Item = newval.itemList[0];
|
|
|
if (Item.data && Item.data.SubType) {
|
|
|
this.SubType = Item.data.SubType;
|
|
|
+ }else{
|
|
|
+ this.SubType = '';
|
|
|
}
|
|
|
+ console.log('this.SubType',this.SubType);
|
|
|
if (newval.itemList.length == 1) {
|
|
|
if (newval.itemType == "baseText") {
|
|
|
this.textMsg = Item.text;
|
|
@@ -512,7 +514,7 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
- let location =[];
|
|
|
+ const location =[];
|
|
|
Item.data.AttachObjectIds.map(item=>{
|
|
|
location.push(item.id)
|
|
|
})
|