This commit is contained in:
Taric Xin
2022-02-22 11:12:03 +08:00
parent 8251848a6f
commit 38b0e711e2
3 changed files with 7 additions and 31 deletions

View File

@ -1,31 +1,10 @@
/* import { Injectable, Injector } from '@angular/core';
* @Description : import { ActivatedRouteSnapshot, Router, RouterStateSnapshot } from '@angular/router';
* @Version : 1.0 import { ACLGuard, ACLService } from '@delon/acl';
* @Author : Shiming
* @Date : 2022-01-25 16:03:45
* @LastEditors : Shiming
* @LastEditTime : 2022-02-09 17:23:22
* @FilePath : \\tms-obc-web\\src\\app\\core\\guards\\auth.guard.ts
* Copyright (C) 2022 huzhenhong. All rights reserved.
*/
import { Inject, Injectable, Injector } from '@angular/core';
import {
ActivatedRouteSnapshot,
CanActivate,
CanActivateChild,
CanDeactivate,
CanLoad,
Data,
Route,
Router,
RouterStateSnapshot,
UrlTree
} from '@angular/router';
import { ACLCanType, ACLGuard, ACLGuardType, ACLService } from '@delon/acl';
import { MenuService, SettingsService } from '@delon/theme'; import { MenuService, SettingsService } from '@delon/theme';
import { BaseService, EAUserService } from '@shared'; import { EAUserService } from '@shared';
import { Observable, of } from 'rxjs'; import { Observable, of } from 'rxjs';
import { delay, map, switchMap, tap } from 'rxjs/operators'; import { switchMap } from 'rxjs/operators';
@Injectable() @Injectable()
export class AuthGuard extends ACLGuard { export class AuthGuard extends ACLGuard {

View File

@ -1,12 +1,8 @@
import { Component, OnDestroy, OnInit, ViewChild } from '@angular/core'; import { Component, OnDestroy, OnInit, ViewChild } from '@angular/core';
import { ActivatedRoute } from '@angular/router'; import { ActivatedRoute } from '@angular/router';
import { apiConf } from '@conf/api.conf'; import { apiConf } from '@conf/api.conf';
import { STColumn, STComponent } from '@delon/abc/st'; import { DatePipe, _HttpClient } from '@delon/theme';
import { SFComponent, SFDateWidgetSchema, SFSchema, SFUISchema } from '@delon/form';
import { DatePipe, ModalHelper, _HttpClient } from '@delon/theme';
import { NzMessageService } from 'ng-zorro-antd/message';
import { NzModalService } from 'ng-zorro-antd/modal'; import { NzModalService } from 'ng-zorro-antd/modal';
import { logging } from 'protractor';
import { fromEvent, Subscription } from 'rxjs'; import { fromEvent, Subscription } from 'rxjs';
import { UsermanageService } from '../../../../services/usercenter.service'; import { UsermanageService } from '../../../../services/usercenter.service';

View File

@ -10,6 +10,7 @@ export class RateChangeComponent implements OnInit {
columns: STColumn[] = [ columns: STColumn[] = [
{ title: '修改内容', index: 'content' }, { title: '修改内容', index: 'content' },
{ title: '修改时间', index: 'modifyTime', className: 'text-center' }, { title: '修改时间', index: 'modifyTime', className: 'text-center' },
{ title: '修改电话', index: 'modifyUserMobile' },
{ title: '修改人', index: 'modifyUserName' } { title: '修改人', index: 'modifyUserName' }
]; ];
@Input() @Input()