Browse Source

[完善]证照预警不处置

beijing
邵佳豪 2 years ago
parent
commit
baf89c1d5c
  1. 22
      src/app/pages/audit/audit-nav/audit-nav.component.ts
  2. 3
      src/app/pages/login/login.component.ts
  3. 2
      src/app/pages/today-warning/get-out-of-line-details/get-out-of-line-details.component.html
  4. 11
      src/app/pages/today-warning/get-out-of-line-details/get-out-of-line-details.component.ts

22
src/app/pages/audit/audit-nav/audit-nav.component.ts

@ -9,10 +9,10 @@ export class AuditNavComponent implements OnInit {
constructor() { } constructor() { }
tap=[] tap = []
userMenu = [] userMenu = []
menu=[] menu = []
navList = ['经营类证照', '资产类证照','待办', '审批记录'] navList = ['经营类证照', '资产类证照', '待办', '审批记录']
selectedItem selectedItem
selectNav(item) { selectNav(item) {
this.selectedItem = item this.selectedItem = item
@ -21,25 +21,25 @@ export class AuditNavComponent implements OnInit {
isLevel isLevel
ngOnInit(): void { ngOnInit(): void {
let a= sessionStorage.getItem('userdata') let a = sessionStorage.getItem('userdata')
this.userMenu=JSON.parse(a).menus this.userMenu = JSON.parse(a).menus
console.log(this.userMenu); console.log(this.userMenu);
for (let index = 0; index < this.userMenu.length; index++) { for (let index = 0; index < this.userMenu.length; index++) {
let a=this.userMenu[index].name let a = this.userMenu[index].name
this.tap.push(a) this.tap.push(a)
} }
console.log(this.tap); console.log(this.tap);
if (this.userMenu.length==0) { if (this.userMenu.length == 0) {
this.menu=this.navList this.menu = this.navList
}else{ } else {
for (let index = 0; index < this.navList.length; index++) { for (let index = 0; index < this.navList.length; index++) {
for (let k = 0; k < this.tap.length; k++) { for (let k = 0; k < this.tap.length; k++) {
if (this.tap[k]==this.navList[index]) { if (this.tap[k] == this.navList[index]) {
this.menu.push(this.tap[k]) this.menu.push(this.tap[k])
console.log( this.menu); console.log(this.menu);
} }
} }

3
src/app/pages/login/login.component.ts

@ -14,8 +14,7 @@ declare var abp: any
@Component({ @Component({
selector: 'app-login', selector: 'app-login',
templateUrl: './login.component.html', templateUrl: './login.component.html',
styleUrls: ['./login.component.scss'], styleUrls: ['./login.component.scss']
}) })
export class LoginComponent implements OnInit { export class LoginComponent implements OnInit {

2
src/app/pages/today-warning/get-out-of-line-details/get-out-of-line-details.component.html

@ -38,7 +38,7 @@
</ng-template> </ng-template>
</div> </div>
</div> </div>
<div class="disposebox"> <div class="disposebox" *ngIf="!isLicenseWarning">
<div class="title"> <div class="title">
<span>处置内容</span> <span>处置内容</span>
<ng-container *ngIf="!data.positive; else elseTemplate"> <ng-container *ngIf="!data.positive; else elseTemplate">

11
src/app/pages/today-warning/get-out-of-line-details/get-out-of-line-details.component.ts

@ -26,8 +26,17 @@ export class GetOutOfLineDetailsComponent implements OnInit {
isImage = true//传过来的文件是否是图片 isImage = true//传过来的文件是否是图片
fileUrl fileUrl
isLicenseWarning = false
ngOnInit(): void { ngOnInit(): void {
console.log(this.data)
if (this.data.violation.eventSystemName == '证照预警') {
this.isLicenseWarning = true
} else {
this.isLicenseWarning = false
}
this.details = this.data.content1 this.details = this.data.content1
this.vedioUrl = this.data.violateVideo this.vedioUrl = this.data.violateVideo
this.content = this.data.handleRecord this.content = this.data.handleRecord

Loading…
Cancel
Save