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() { }
tap=[]
tap = []
userMenu = []
menu=[]
navList = ['经营类证照', '资产类证照','待办', '审批记录']
menu = []
navList = ['经营类证照', '资产类证照', '待办', '审批记录']
selectedItem
selectNav(item) {
this.selectedItem = item
@ -21,25 +21,25 @@ export class AuditNavComponent implements OnInit {
isLevel
ngOnInit(): void {
let a= sessionStorage.getItem('userdata')
this.userMenu=JSON.parse(a).menus
let a = sessionStorage.getItem('userdata')
this.userMenu = JSON.parse(a).menus
console.log(this.userMenu);
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)
}
console.log(this.tap);
if (this.userMenu.length==0) {
this.menu=this.navList
}else{
if (this.userMenu.length == 0) {
this.menu = this.navList
} else {
for (let index = 0; index < this.navList.length; index++) {
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])
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({
selector: 'app-login',
templateUrl: './login.component.html',
styleUrls: ['./login.component.scss'],
styleUrls: ['./login.component.scss']
})
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>
</div>
</div>
<div class="disposebox">
<div class="disposebox" *ngIf="!isLicenseWarning">
<div class="title">
<span>处置内容</span>
<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//传过来的文件是否是图片
fileUrl
isLicenseWarning = false
ngOnInit(): void {
console.log(this.data)
if (this.data.violation.eventSystemName == '证照预警') {
this.isLicenseWarning = true
} else {
this.isLicenseWarning = false
}
this.details = this.data.content1
this.vedioUrl = this.data.violateVideo
this.content = this.data.handleRecord

Loading…
Cancel
Save