ganwei-base-alarm-lists
v1.0.3
Published
基线模块-报警排表
Downloads
1
Readme
webui-base-alarm-list
模块
基线模块-报警排表
人员信息
设备分组
周排表
特定日期排表
安装版本
删除package.json,对应版本 "ganwei-base-alarm-lists": "^1.0.",最后使用下面命令更新最新引用:
npm i ganwei-base-alarm-lists
注意事项
如果运行WEB后左侧菜单没有该模块,根据下面操作配置
1、GWAddinModule表配置一级菜单(ClassName: AlarmCenter.AlarmManage.AlarmManagePage)
2、GWEquipPages表配置二级菜单
3、在WEB/src/views/treeMenu/menuJson.json配置对应菜单,示例如下:
{
"resourceOrder": 10,
"resourceId": 111,
"resourceExtendAttr": "1",
"route": "/Index/weekList",
"resourceCode": "riskAnalysisMain",
"parentResId": 1,
"icon": "icon_baojingpaiban_daixuan",
"children": [{
"resourceOrder": 5,
"resourceId": 1143,
"resourceExtendAttr": "1",
"route": "/Index/personList",
"resourceCode": "riskAssResult",
"parentResId": 111,
"icon": "iconrenyuanxinxi",
"show": "false",
"childrenNo": false,
"name": "人员信息"
},
{
"resourceOrder": 6,
"resourceId": 1144,
"resourceExtendAttr": "1",
"route": "/Index/equipGroup",
"resourceCode": "riskAssResult",
"parentResId": 111,
"icon": "iconshebeifenzu",
"show": "false",
"childrenNo": false,
"name": "设备分组"
},
{
"resourceOrder": 4,
"resourceId": 1142,
"resourceExtendAttr": "1",
"route": "/Index/specialList",
"resourceCode": "riskAssResult",
"parentResId": 111,
"icon": "icontedingriqipaibiaoteshuriqianpai",
"show": "false",
"childrenNo": false,
"name": "特定日期排表"
},
{
"resourceOrder": 3,
"resourceId": 1141,
"resourceExtendAttr": "1",
"route": "/Index/weekList",
"resourceCode": "riskAssResult",
"parentResId": 111,
"icon": "iconzhoupaibiaozhouanpai",
"show": "false",
"childrenNo": false,
"name": "周排表"
}
],
"show": "false",
"childrenNo": true,
"name": "报警排班",
"title": "报警排班",
"className": "AlarmCenter.AlarmManage.AlarmManagePage"
}
4、如果不是管理员,在角色管理中分配对应权限即可