|
|
|
@ -1,5 +1,5 @@
|
|
|
|
|
import { HttpClient } from '@angular/common/http'; |
|
|
|
|
import { Component, Inject, OnInit, Renderer2, ViewChild } from '@angular/core'; |
|
|
|
|
import { Component, Inject, Input, OnInit, Renderer2, ViewChild } from '@angular/core'; |
|
|
|
|
import { MatDialog, MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog'; |
|
|
|
|
import { MatSnackBar } from '@angular/material/snack-bar'; |
|
|
|
|
|
|
|
|
@ -10,7 +10,7 @@ import { MatSnackBar } from '@angular/material/snack-bar';
|
|
|
|
|
}) |
|
|
|
|
export class PlanListComponent implements OnInit { |
|
|
|
|
constructor(private http: HttpClient,public snackBar: MatSnackBar,public dialog: MatDialog) { } |
|
|
|
|
|
|
|
|
|
@Input() public planType: any;//data名字根据引用场景自定义
|
|
|
|
|
//单位相关数据
|
|
|
|
|
unitId:any = sessionStorage.getItem('companyId') |
|
|
|
|
|
|
|
|
|