|
@@ -151,12 +151,13 @@ export default {
|
|
},
|
|
},
|
|
getCount() {
|
|
getCount() {
|
|
getCount(
|
|
getCount(
|
|
- this.value1
|
|
|
|
- ? {
|
|
|
|
- startTime: `${new Date(this.value1).getFullYear()}-01-01 00:00:00`,
|
|
|
|
- endTime: `${new Date(this.value1).getFullYear()}-12-31 23:59:59`
|
|
|
|
- }
|
|
|
|
- : {}
|
|
|
|
|
|
+ {}
|
|
|
|
+ // this.value1
|
|
|
|
+ // ? {
|
|
|
|
+ // startTime: `${new Date(this.value1).getFullYear()}-01-01 00:00:00`,
|
|
|
|
+ // endTime: `${new Date(this.value1).getFullYear()}-12-31 23:59:59`
|
|
|
|
+ // }
|
|
|
|
+ // : {}
|
|
).then(res => {
|
|
).then(res => {
|
|
this.tabs[0].num = res.data.dpg || 0
|
|
this.tabs[0].num = res.data.dpg || 0
|
|
this.tabs[1].num = res.data.dyy || 0
|
|
this.tabs[1].num = res.data.dyy || 0
|