Browse Source

[完善]证照预警不处置

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

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