|
|
|
@ -109,14 +109,14 @@ export class DeleteTwoComponent implements OnInit {
|
|
|
|
|
if (e.selectTwoYear > e.selectOneYear) { |
|
|
|
|
let startTime = e.selectOneYear + '-' + e.selectStartMonth + '-' + 1 + ' ' + 0 + ':' + 0 +':'+ 0 |
|
|
|
|
let endTime = e.selectTwoYear + '-' + e.selectEndMonth + '-' + 31 + ' ' + 23 + ':' + 59 +':'+ 59 |
|
|
|
|
console.log(startTime) |
|
|
|
|
console.log(endTime) |
|
|
|
|
// console.log(startTime)
|
|
|
|
|
// console.log(endTime)
|
|
|
|
|
} else if (e.selectTwoYear === e.selectOneYear) { |
|
|
|
|
if(e.selectEndMonth >= e.selectStartMonth) { |
|
|
|
|
let startTime = e.selectOneYear + '-' + e.selectStartMonth + '-' + 1 + ' ' + 0 + ':' + 0 +':'+ 0 |
|
|
|
|
let endTime = e.selectTwoYear + '-' + e.selectEndMonth + '-' + 31 + ' ' + 23 + ':' + 59 +':'+ 59 |
|
|
|
|
console.log(startTime) |
|
|
|
|
console.log(endTime) |
|
|
|
|
// console.log(startTime)
|
|
|
|
|
// console.log(endTime)
|
|
|
|
|
} else { |
|
|
|
|
const config = new MatSnackBarConfig(); |
|
|
|
|
config.verticalPosition = 'top'; |
|
|
|
@ -149,7 +149,7 @@ export class DeleteTwoComponent implements OnInit {
|
|
|
|
|
} |
|
|
|
|
//按年查询
|
|
|
|
|
yearSubmit (e) { |
|
|
|
|
console.log(this.selectType) |
|
|
|
|
// console.log(this.selectType)
|
|
|
|
|
this.headZhexian('heads','删除数量总统计',this.datanianx,this.dataniany) |
|
|
|
|
this.headZhexian('leftOne','高层',this.datanianx,this.dataniany) |
|
|
|
|
this.headZhexian('leftTwo','轨道交通',this.datanianx,this.dataniany) |
|
|
|
@ -274,7 +274,7 @@ export class DeleteTwoComponent implements OnInit {
|
|
|
|
|
}] |
|
|
|
|
}; |
|
|
|
|
this.headZx.getZr().on('click', (params) => { |
|
|
|
|
console.log(params.name) |
|
|
|
|
// console.log(params.name)
|
|
|
|
|
if(`${headtext}`!=="删除数量总统计"){ |
|
|
|
|
/* this.echartsData.statefulInspectionName =params.name+headtext; |
|
|
|
|
this.router.navigateByUrl(`/statisticanalysis/delete_one/delete_there`); */ |
|
|
|
|