edit
This commit is contained in:
@ -9,6 +9,8 @@
|
||||
import { Injectable, Injector } from '@angular/core';
|
||||
import { _HttpClient } from '@delon/theme';
|
||||
import { NzMessageService } from 'ng-zorro-antd/message';
|
||||
import { NzModalService } from 'ng-zorro-antd/modal';
|
||||
import { ImageViewComponent } from 'src/app/shared/components/imagelist';
|
||||
import { BaseService } from 'src/app/shared/services/core/base.service';
|
||||
import { EAFileUtil } from 'src/app/shared/utils/file.util';
|
||||
|
||||
@ -39,7 +41,7 @@ export class UsermanageService extends BaseService {
|
||||
|
||||
// 冻结或恢复员工
|
||||
$api_lock_staff = '/api/mdc/cuc/userApp/freezeOrResumeStaff';
|
||||
|
||||
|
||||
// 冻结或恢复应用用户
|
||||
$api_lock_app_user = '/api/mdc/cuc/userApp/freezeOrResume';
|
||||
|
||||
@ -84,7 +86,15 @@ export class UsermanageService extends BaseService {
|
||||
// 根据地区code查询列表
|
||||
$api_get_region_by_code = '/api/mdc/pbc/region/getRegionByCode';
|
||||
|
||||
constructor(public injector: Injector) {
|
||||
constructor(public injector: Injector, private nzModalService: NzModalService) {
|
||||
super(injector);
|
||||
}
|
||||
|
||||
showImg(url: any) {
|
||||
const params = {
|
||||
imgList: [url],
|
||||
index: 0
|
||||
};
|
||||
this.nzModalService.create({ nzContent: ImageViewComponent, nzComponentParams: { params } });
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user