|
|
|
@ -110,18 +110,20 @@ export class PlanComponent implements OnInit {
|
|
|
|
|
this.isShowChildComponent && this.leftDomain ? this.leftDomain.initComponent(type) : null; //手动初始化子组件
|
|
|
|
|
this.selectFence = type |
|
|
|
|
this.isShowChildComponent = true |
|
|
|
|
type > 0 && type < 7 ? buildingWindow.showJYZInfoModel(fenceType, true) : null |
|
|
|
|
buildingWindow.showJYZInfoModel(fenceType, true) |
|
|
|
|
} else { //取消选中
|
|
|
|
|
this.selectFence = -1 |
|
|
|
|
this.isShowChildComponent = false |
|
|
|
|
type > 0 && type < 7 ? buildingWindow.showJYZInfoModel(fenceType, false) : null |
|
|
|
|
buildingWindow.showJYZInfoModel(fenceType, false) |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
//获取 头部功能栏Type
|
|
|
|
|
getFenceType(type: number): JYZInfoMoudleType { |
|
|
|
|
let fenceType |
|
|
|
|
if (type === 1) { |
|
|
|
|
if (type === 0) { |
|
|
|
|
fenceType = JYZInfoMoudleType.JBXX |
|
|
|
|
} else if (type === 1) { |
|
|
|
|
fenceType = JYZInfoMoudleType.JYJ |
|
|
|
|
} else if (type === 2) { |
|
|
|
|
fenceType = JYZInfoMoudleType.YG |
|
|
|
@ -133,6 +135,8 @@ export class PlanComponent implements OnInit {
|
|
|
|
|
fenceType = JYZInfoMoudleType.SYG |
|
|
|
|
} else if (type === 6) { |
|
|
|
|
fenceType = JYZInfoMoudleType.YQHSGX |
|
|
|
|
} else if (type === 7) { |
|
|
|
|
fenceType = JYZInfoMoudleType.YJCZ |
|
|
|
|
} |
|
|
|
|
return fenceType |
|
|
|
|
} |
|
|
|
@ -324,8 +328,12 @@ export class PlanComponent implements OnInit {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
//保存
|
|
|
|
|
preserve() { |
|
|
|
|
ToolbarWindow.instance.onBtnSave(); |
|
|
|
|
preserve(type: boolean) { |
|
|
|
|
if (type) { |
|
|
|
|
ToolbarWindow.instance.onBtnSave(); |
|
|
|
|
} else { |
|
|
|
|
ToolbarWindow.instance.saveShowMoudleData(); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
//通用 消息通知栏
|
|
|
|
|