Browse Source

菜单管理

beijing
陈鹏飞 2 years ago
parent
commit
486eac7c54
  1. 2
      src/app/pages/audit/audit-record/audit-record.component.html
  2. 5
      src/app/pages/audit/audit-record/audit-record.component.ts

2
src/app/pages/audit/audit-record/audit-record.component.html

@ -6,7 +6,7 @@
<nz-select nzAllowClear formControlName="info" nzPlaceHolder="审批信息" <nz-select nzAllowClear formControlName="info" nzPlaceHolder="审批信息"
(ngModelChange)="infoChange($event)"> (ngModelChange)="infoChange($event)">
<nz-option nzValue="0" nzLabel="油站信息"></nz-option> <nz-option nzValue="0" nzLabel="油站信息"></nz-option>
<nz-option nzValue="1" nzLabel="经营类证照提醒时间"></nz-option> <nz-option *ngIf="level" nzValue="1" nzLabel="经营类证照提醒时间"></nz-option>
<nz-option nzValue="2" nzLabel="经营类证照"></nz-option> <nz-option nzValue="2" nzLabel="经营类证照"></nz-option>
<nz-option nzValue="3" nzLabel="资产类证照"></nz-option> <nz-option nzValue="3" nzLabel="资产类证照"></nz-option>
</nz-select> </nz-select>

5
src/app/pages/audit/audit-record/audit-record.component.ts

@ -20,12 +20,15 @@ export class AuditRecordComponent implements OnInit {
constructor(private element: ElementRef, private modal: NzModalService, private viewContainerRef: ViewContainerRef, private toTree: TreeService, private http: HttpClient, private fb: FormBuilder) { } constructor(private element: ElementRef, private modal: NzModalService, private viewContainerRef: ViewContainerRef, private toTree: TreeService, private http: HttpClient, private fb: FormBuilder) { }
list = [] list = []
level=false
tableScrollHeight tableScrollHeight
resizeListener resizeListener
startdate startdate
enddate enddate
async ngOnInit(): Promise<void> { async ngOnInit(): Promise<void> {
if(JSON.parse(sessionStorage.getItem('userdata')).organization.level==1){
this.level=true
}
this.tableScrollHeight = '100px' this.tableScrollHeight = '100px'
// 页面监听 // 页面监听
this.resizeListener = fromEvent(window, 'resize').pipe(debounceTime(100)).subscribe((event) => { this.resizeListener = fromEvent(window, 'resize').pipe(debounceTime(100)).subscribe((event) => {

Loading…
Cancel
Save