|
@@ -23,7 +23,10 @@ import { IncidentConfigGuard } from './guard/IncidentConfig.guard';
|
23
|
23
|
import { OtherConfigGuard } from './guard/OtherConfig.guard';
|
24
|
24
|
//业务页面控制查看权限
|
25
|
25
|
import { PageConfigGuard } from './guard/PageConfig.guard';
|
|
26
|
+// 护士端控制查看权限
|
26
|
27
|
import { NurseConfigGuard } from './guard/nurseConfig.guard';
|
|
28
|
+// 数据生成查看权限
|
|
29
|
+import { DataGenerateGuard } from './guard/DataGenerate.guard';
|
27
|
30
|
//系统配置查看权限
|
28
|
31
|
import { SystemConfigGuard } from './guard/SystemConfig.guard';
|
29
|
32
|
// 故障实时播报权限
|
|
@@ -149,11 +152,11 @@ const routes: Routes = [
|
149
|
152
|
loadChildren: () => import('./views/nurse-config/nurse-config.module').then(m => m.NurseConfigModule),
|
150
|
153
|
canActivate: [NurseConfigGuard]
|
151
|
154
|
},
|
152
|
|
- // 数据生产查看
|
|
155
|
+ // 数据生成查看
|
153
|
156
|
{
|
154
|
157
|
path: 'dataGenerate',
|
155
|
158
|
loadChildren: () => import('./views/data-generate/data-generate.module').then(m => m.DataGenerateModule),
|
156
|
|
- canActivate: [NurseConfigGuard]
|
|
159
|
+ canActivate: [DataGenerateGuard]
|
157
|
160
|
},
|
158
|
161
|
// 问卷预览
|
159
|
162
|
{
|