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