+
@@ -184,7 +184,7 @@
-
+
@@ -356,7 +356,7 @@
-
+
@@ -696,7 +696,7 @@
{{item.organizatin.name}}
-
@@ -734,7 +734,7 @@
-
+
-
@@ -755,7 +755,7 @@
+
diff --git a/src/app/home/task/zhi-indicators/zhi-indicators.component.ts b/src/app/home/task/zhi-indicators/zhi-indicators.component.ts
index df3312e..2f86aeb 100644
--- a/src/app/home/task/zhi-indicators/zhi-indicators.component.ts
+++ b/src/app/home/task/zhi-indicators/zhi-indicators.component.ts
@@ -423,9 +423,9 @@ export class ZhiIndicatorsComponent implements OnInit {
}
OrganizationId
- ngOnInit(): void {
-
+ iszhanxun = false
+ ngOnInit(): void {
this.OrganizationId = JSON.parse(sessionStorage.getItem('userData')).organizationId
this.selectedMonth = new Date().getMonth() + 1
@@ -450,7 +450,7 @@ export class ZhiIndicatorsComponent implements OnInit {
//任务额保存防抖
this.targetCount.pipe(debounceTime(1000)).subscribe((item: any) => {
- console.log(item)
+ // console.log(item)
let body = {
targetCount: item.targetCount,
}
@@ -490,6 +490,16 @@ export class ZhiIndicatorsComponent implements OnInit {
//获得主协调查人员
this.getSupervisor('main')
this.getSupervisor('assisted')
+
+
+ let roles = JSON.parse(sessionStorage.getItem('userData')).roles
+ let iszhanxun = roles.find(item => {
+ return item.name.indexOf('战训') != -1
+ })
+ if(iszhanxun){
+ this.iszhanxun = true
+ }
+ console.log('iszhanxun',iszhanxun)
}
//投诉举报/行政许可 选择单位 确认按钮
selectedUnit(data, type) {