无modelid加弹框提示

main
zhangqun 2 years ago
parent 83bd16de8b
commit 2e9a064d2e
  1. 1
      src/components/monitoring/door.vue
  2. 1
      src/components/monitoring/lift.vue
  3. 6
      src/components/monitoring/monitoring.vue

@ -937,6 +937,7 @@ export default {
let id = bfHelper.disposeId(item.area, item.build, item.modelId);
let box = bfHelper.getBoxMessage(id, true);
if (box == "undefined") {
this.$message.error('对不起,暂无该设备模型,请稍后点击');
return;
}
console.log("定位", box);

@ -648,7 +648,6 @@ export default {
},
//
getContent(idx, obj) {
console.log(obj)
let content;
if (this.bimModel == 1) {
if (obj.location == '1号楼' || obj.location == '2号楼') {

@ -759,6 +759,7 @@ export default {
let id = "";
if (this.bimModel == 2) {
if (item.modelId == "") {
this.$message.error('对不起,暂无该设备模型,请稍后点击');
} else {
// bfHelper.resetStatus(2);
bfHelper.clearDrawableContainer();
@ -795,10 +796,11 @@ export default {
}
}
} else {
bfHelper.mapDestroy();
// bfHelper.mapDestroy();
if (item.modelId == "") {
this.$message.error('对不起,暂无该设备模型,请稍后点击');
} else {
// bfHelper.mapDestroy();
bfHelper.mapDestroy();
bfHelper.clearDrawableContainer();
id = bfHelper.disposeId(item.area, item.build, item.modelId);

Loading…
Cancel
Save