-
-
-
-
+
+
+
+
-
+
@@ -55,7 +55,7 @@
-
+
-
-
-
-
-
+
+
+
+
+
-
+
@@ -98,7 +98,7 @@
-
+
@@ -120,7 +120,7 @@
-
+
@@ -148,12 +148,12 @@
-
+
diff --git a/src/app/pages/left-domain/left-domain.component.ts b/src/app/pages/left-domain/left-domain.component.ts
index 3dfb457..c00ffb3 100644
--- a/src/app/pages/left-domain/left-domain.component.ts
+++ b/src/app/pages/left-domain/left-domain.component.ts
@@ -21,10 +21,16 @@ export class LeftDomainComponent implements OnInit {
constructor(private message: NzMessageService) { }
ngOnInit(): void {
+ let editMode = sessionStorage.getItem('isGasStation')
+ if (editMode == 'false') {
+ this.editMode = true
+ } else {
+ this.editMode = false
+ }
this.initComponent()
}
- editModel: boolean = true; //编辑/查看模式
+ editMode: boolean = true; //编辑/查看模式
beforeFence: number; //当前选中功能栏
FacilityList: FacilityInfoUIItem[] = []; //统计设备 list
selectFacilityId: string = null; //选中设备 ID
@@ -107,7 +113,7 @@ export class LeftDomainComponent implements OnInit {
}
})
//编辑模式
- if (this.editModel) {
+ if (this.editMode) {
let isFind = this.treeData.find(item=>{ return item.key === 'XF_MHQ' })
if (!isFind) {
let primaryNode = { title: '灭火器', key: 'XF_MHQ', selectable: false, }
diff --git a/src/app/pages/plan/plan.component.html b/src/app/pages/plan/plan.component.html
index 2585b0e..ea53268 100644
--- a/src/app/pages/plan/plan.component.html
+++ b/src/app/pages/plan/plan.component.html
@@ -16,10 +16,10 @@
-