|
|
@ -4,7 +4,7 @@ |
|
|
|
* @Author: sueRimn |
|
|
|
* @Author: sueRimn |
|
|
|
* @Date: 2020-09-02 16:21:18 |
|
|
|
* @Date: 2020-09-02 16:21:18 |
|
|
|
* @LastEditors: sueRimn |
|
|
|
* @LastEditors: sueRimn |
|
|
|
* @LastEditTime: 2020-09-09 11:11:46 |
|
|
|
* @LastEditTime: 2020-09-10 10:56:58 |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
import { Component, OnInit, ViewChild } from '@angular/core'; |
|
|
|
import { Component, OnInit, ViewChild } from '@angular/core'; |
|
|
|
import { Router } from '@angular/router'; |
|
|
|
import { Router } from '@angular/router'; |
|
|
@ -125,14 +125,14 @@ export class DeleteTwoComponent implements OnInit { |
|
|
|
if (e.selectTwoYear > e.selectOneYear) { |
|
|
|
if (e.selectTwoYear > e.selectOneYear) { |
|
|
|
let startTime = e.selectOneYear + '-' + e.selectStartMonth + '-' + 1 + ' ' + 0 + ':' + 0 +':'+ 0 |
|
|
|
let startTime = e.selectOneYear + '-' + e.selectStartMonth + '-' + 1 + ' ' + 0 + ':' + 0 +':'+ 0 |
|
|
|
let endTime = e.selectTwoYear + '-' + e.selectEndMonth + '-' + 31 + ' ' + 23 + ':' + 59 +':'+ 59 |
|
|
|
let endTime = e.selectTwoYear + '-' + e.selectEndMonth + '-' + 31 + ' ' + 23 + ':' + 59 +':'+ 59 |
|
|
|
console.log(startTime) |
|
|
|
// console.log(startTime)
|
|
|
|
console.log(endTime) |
|
|
|
// console.log(endTime)
|
|
|
|
} else if (e.selectTwoYear === e.selectOneYear) { |
|
|
|
} else if (e.selectTwoYear === e.selectOneYear) { |
|
|
|
if(e.selectEndMonth >= e.selectStartMonth) { |
|
|
|
if(e.selectEndMonth >= e.selectStartMonth) { |
|
|
|
let startTime = e.selectOneYear + '-' + e.selectStartMonth + '-' + 1 + ' ' + 0 + ':' + 0 +':'+ 0 |
|
|
|
let startTime = e.selectOneYear + '-' + e.selectStartMonth + '-' + 1 + ' ' + 0 + ':' + 0 +':'+ 0 |
|
|
|
let endTime = e.selectTwoYear + '-' + e.selectEndMonth + '-' + 31 + ' ' + 23 + ':' + 59 +':'+ 59 |
|
|
|
let endTime = e.selectTwoYear + '-' + e.selectEndMonth + '-' + 31 + ' ' + 23 + ':' + 59 +':'+ 59 |
|
|
|
console.log(startTime) |
|
|
|
// console.log(startTime)
|
|
|
|
console.log(endTime) |
|
|
|
// console.log(endTime)
|
|
|
|
} else { |
|
|
|
} else { |
|
|
|
const config = new MatSnackBarConfig(); |
|
|
|
const config = new MatSnackBarConfig(); |
|
|
|
config.verticalPosition = 'top'; |
|
|
|
config.verticalPosition = 'top'; |
|
|
@ -275,7 +275,7 @@ export class DeleteTwoComponent implements OnInit { |
|
|
|
}] |
|
|
|
}] |
|
|
|
}; |
|
|
|
}; |
|
|
|
this.headZx.getZr().on('click', (params) => { |
|
|
|
this.headZx.getZr().on('click', (params) => { |
|
|
|
console.log(params.name) |
|
|
|
// console.log(params.name)
|
|
|
|
if(`${headtext}`!=="删除数量总统计"){ |
|
|
|
if(`${headtext}`!=="删除数量总统计"){ |
|
|
|
/* this.echartsData.statefulInspectionName =params.name+headtext; |
|
|
|
/* this.echartsData.statefulInspectionName =params.name+headtext; |
|
|
|
this.router.navigateByUrl(`/statisticanalysis/delete_one/delete_there`); */ |
|
|
|
this.router.navigateByUrl(`/statisticanalysis/delete_one/delete_there`); */ |
|
|
|