|
|
@ -424,7 +424,7 @@ export class WarningStatisticsListComponent implements OnInit { |
|
|
|
}) |
|
|
|
}) |
|
|
|
} |
|
|
|
} |
|
|
|
refreshEchartsData1(data) { |
|
|
|
refreshEchartsData1(data) { |
|
|
|
console.log('echarts信息', data) |
|
|
|
// console.log('echarts信息', data)
|
|
|
|
//饼图
|
|
|
|
//饼图
|
|
|
|
let totalCount = 0 |
|
|
|
let totalCount = 0 |
|
|
|
data.violationList.forEach(element => { |
|
|
|
data.violationList.forEach(element => { |
|
|
@ -539,7 +539,7 @@ export class WarningStatisticsListComponent implements OnInit { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
let ViolationIds = [] |
|
|
|
let ViolationIds = [] |
|
|
|
console.log(456, this.validateForm.value) |
|
|
|
// console.log(456, this.validateForm.value)
|
|
|
|
if (this.validateForm.value.eventSystemName) { |
|
|
|
if (this.validateForm.value.eventSystemName) { |
|
|
|
ViolationIds.push(this.validateForm.value.eventSystemName) |
|
|
|
ViolationIds.push(this.validateForm.value.eventSystemName) |
|
|
|
} else { |
|
|
|
} else { |
|
|
@ -587,7 +587,7 @@ export class WarningStatisticsListComponent implements OnInit { |
|
|
|
this.validateForm.controls[key].markAsPristine(); |
|
|
|
this.validateForm.controls[key].markAsPristine(); |
|
|
|
this.validateForm.controls[key].updateValueAndValidity(); |
|
|
|
this.validateForm.controls[key].updateValueAndValidity(); |
|
|
|
} |
|
|
|
} |
|
|
|
console.log('赋值日期', [this.startdate, this.enddate]) |
|
|
|
// console.log('赋值日期', [this.startdate, this.enddate])
|
|
|
|
this.validateForm.patchValue({ |
|
|
|
this.validateForm.patchValue({ |
|
|
|
datePicker: [this.startdate, this.enddate], |
|
|
|
datePicker: [this.startdate, this.enddate], |
|
|
|
eventSystemName: null, |
|
|
|
eventSystemName: null, |
|
|
@ -629,7 +629,7 @@ export class WarningStatisticsListComponent implements OnInit { |
|
|
|
}, |
|
|
|
}, |
|
|
|
nzFooter: null, |
|
|
|
nzFooter: null, |
|
|
|
nzOnOk: async () => { |
|
|
|
nzOnOk: async () => { |
|
|
|
console.log(99999, instance.content) |
|
|
|
// console.log(99999, instance.content)
|
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
|
const instance = modal.getContentComponent(); |
|
|
|
const instance = modal.getContentComponent(); |
|
|
|