Browse Source

[修改]应急预案和类型预案属性名修复

zhuzhou
chenjingyu 4 years ago
parent
commit
5f660e0608
  1. 2
      src/app/plan-management/meet-plan/meet-plan.component.ts
  2. 4
      src/app/plan-management/type-plan/type-plan.component.ts

2
src/app/plan-management/meet-plan/meet-plan.component.ts

@ -21,7 +21,7 @@ export class MeetPlanComponent implements OnInit {
ngOnInit(): void {
this.levels = sessionStorage.getItem("level");
if(this.level == "0"){//如果是总队
if(this.levels == "0"){//如果是总队
this.preparelevels = [
{name:"总队",value:"1"},
{name:"支队",value:"2"},

4
src/app/plan-management/type-plan/type-plan.component.ts

@ -4,7 +4,7 @@
* @Author: sueRimn
* @Date: 2021-01-06 09:47:43
* @LastEditors: sueRimn
* @LastEditTime: 2021-02-06 09:08:16
* @LastEditTime: 2021-02-06 09:12:05
*/
import { Component, OnInit, ViewChild, Inject } from '@angular/core';
import { HttpClient } from '@angular/common/http'
@ -29,7 +29,7 @@ export class TypePlanComponent implements OnInit {
constructor(private http:HttpClient,private router:Router,private route:ActivatedRoute,private tree: TreeService,public dialog: MatDialog,public snackBar: MatSnackBar) { }
ngOnInit(): void {
this.level = sessionStorage.getItem("level");
this.levels = sessionStorage.getItem("level");
if(this.levels == "0"){//如果是总队
this.preparelevels = [
{name:"总队",value:"1"},

Loading…
Cancel
Save