|
|
@ -8,6 +8,7 @@ import { TreeService } from 'src/app/service/tree.service'; |
|
|
|
import { ApplyComponent } from './apply/apply.component'; |
|
|
|
import { ApplyComponent } from './apply/apply.component'; |
|
|
|
import { ApplyLookComponent } from './apply-look/apply-look.component'; |
|
|
|
import { ApplyLookComponent } from './apply-look/apply-look.component'; |
|
|
|
import { ThisReceiver } from '@angular/compiler'; |
|
|
|
import { ThisReceiver } from '@angular/compiler'; |
|
|
|
|
|
|
|
import { MethodService } from 'src/app/method.service'; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Component({ |
|
|
|
@Component({ |
|
|
@ -18,7 +19,7 @@ import { ThisReceiver } from '@angular/compiler'; |
|
|
|
export class StationTaskApplyComponent implements OnInit { |
|
|
|
export class StationTaskApplyComponent implements OnInit { |
|
|
|
|
|
|
|
|
|
|
|
validateForm!: FormGroup; |
|
|
|
validateForm!: FormGroup; |
|
|
|
constructor(private fb: FormBuilder, private modal: NzModalService, private viewContainerRef: ViewContainerRef, private message: NzMessageService, private http: HttpClient, private toTree: TreeService) { } |
|
|
|
constructor(private fb: FormBuilder, private modal: NzModalService, private viewContainerRef: ViewContainerRef, private message: NzMessageService, private http: HttpClient, private toTree: TreeService, private methodService: MethodService) { } |
|
|
|
searchForm = { |
|
|
|
searchForm = { |
|
|
|
taskname: '', |
|
|
|
taskname: '', |
|
|
|
unitname: '', |
|
|
|
unitname: '', |
|
|
@ -199,6 +200,7 @@ export class StationTaskApplyComponent implements OnInit { |
|
|
|
return p |
|
|
|
return p |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
messageList = [] |
|
|
|
userId |
|
|
|
userId |
|
|
|
ngOnInit(): void { |
|
|
|
ngOnInit(): void { |
|
|
|
this.OrganizationId = JSON.parse(sessionStorage.getItem('userData')).organizationId |
|
|
|
this.OrganizationId = JSON.parse(sessionStorage.getItem('userData')).organizationId |
|
|
@ -229,9 +231,14 @@ export class StationTaskApplyComponent implements OnInit { |
|
|
|
//获得主协调查人员
|
|
|
|
//获得主协调查人员
|
|
|
|
this.getSupervisortype('main') |
|
|
|
this.getSupervisortype('main') |
|
|
|
this.getSupervisortype('assisted') |
|
|
|
this.getSupervisortype('assisted') |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//滚动消息
|
|
|
|
|
|
|
|
this.methodService.getNotifications().then((data: any) => { |
|
|
|
|
|
|
|
this.messageList = data |
|
|
|
|
|
|
|
}) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
messageList = [1, 1, 1, 1, 1] |
|
|
|
|
|
|
|
timer |
|
|
|
timer |
|
|
|
rollStart() { |
|
|
|
rollStart() { |
|
|
|
var ROLL_SPEED = 100 |
|
|
|
var ROLL_SPEED = 100 |
|
|
|