|
|
|
@ -1,4 +1,5 @@
|
|
|
|
|
import { Component, OnInit } from '@angular/core'; |
|
|
|
|
import { Router } from '@angular/router'; |
|
|
|
|
|
|
|
|
|
@Component({ |
|
|
|
|
selector: 'app-drawing-result', |
|
|
|
@ -7,9 +8,14 @@ import { Component, OnInit } from '@angular/core';
|
|
|
|
|
}) |
|
|
|
|
export class DrawingResultComponent implements OnInit { |
|
|
|
|
|
|
|
|
|
constructor() { } |
|
|
|
|
|
|
|
|
|
constructor(private router: Router) { } |
|
|
|
|
isOne = false |
|
|
|
|
ngOnInit(): void { |
|
|
|
|
if(this.router.url == '/drawingResult?type=1'){ |
|
|
|
|
this.isOne = false |
|
|
|
|
}else{ |
|
|
|
|
this.isOne = true |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
headersZero:string [] = ['序号','支队名称','抽签顺序', '职级','座位号'] |
|
|
|
@ -47,5 +53,7 @@ export class DrawingResultComponent implements OnInit {
|
|
|
|
|
{order: 13, fireName: '来宾支队', drawLotsOrder: '09', num: localStorage.getItem('09') || '', name: ['支队长','副支队长'], seatNum: ['7号','23号'] }, |
|
|
|
|
{order: 14, fireName: '崇左支队', drawLotsOrder: '11', num: localStorage.getItem('11') || '', name: ['支队长','副支队长'], seatNum: ['5号','17号'] }, |
|
|
|
|
] |
|
|
|
|
|
|
|
|
|
laststep(){ |
|
|
|
|
window.history.back();
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|