增加默认查询时间
This commit is contained in:
		
							parent
							
								
									8c7b7199ac
								
							
						
					
					
						commit
						99b23755ff
					
				| 
						 | 
				
			
			@ -159,11 +159,11 @@
 | 
			
		|||
        };
 | 
			
		||||
    },
 | 
			
		||||
    created() {
 | 
			
		||||
        this.getList();
 | 
			
		||||
        const end = new Date()
 | 
			
		||||
        let start = new Date()
 | 
			
		||||
        start.setMonth(start.getMonth() - 2)
 | 
			
		||||
        this.dateRange = [this.format(start), this.format(end)]
 | 
			
		||||
        this.getList()
 | 
			
		||||
    },
 | 
			
		||||
    methods: {
 | 
			
		||||
        format(date) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -372,11 +372,11 @@
 | 
			
		|||
        };
 | 
			
		||||
    },
 | 
			
		||||
    created() {
 | 
			
		||||
        this.getList();
 | 
			
		||||
        const end = new Date()
 | 
			
		||||
        let start = new Date()
 | 
			
		||||
        start.setMonth(start.getMonth() - 2)
 | 
			
		||||
        this.dateRange = [this.format(start), this.format(end)]
 | 
			
		||||
        this.getList()
 | 
			
		||||
    },
 | 
			
		||||
    methods: {
 | 
			
		||||
        format(date) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -163,11 +163,11 @@
 | 
			
		|||
        };
 | 
			
		||||
    },
 | 
			
		||||
    created() {
 | 
			
		||||
        this.getList();
 | 
			
		||||
        const end = new Date()
 | 
			
		||||
        let start = new Date()
 | 
			
		||||
        start.setMonth(start.getMonth() - 2)
 | 
			
		||||
        this.dateRange = [this.format(start), this.format(end)]
 | 
			
		||||
        this.getList()
 | 
			
		||||
    },
 | 
			
		||||
    methods: {
 | 
			
		||||
        format(date) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -163,11 +163,11 @@
 | 
			
		|||
        };
 | 
			
		||||
    },
 | 
			
		||||
    created() {
 | 
			
		||||
        this.getList();
 | 
			
		||||
        const end = new Date()
 | 
			
		||||
        let start = new Date()
 | 
			
		||||
        start.setMonth(start.getMonth() - 2)
 | 
			
		||||
        this.dateRange = [this.format(start), this.format(end)]
 | 
			
		||||
        this.getList()
 | 
			
		||||
    },
 | 
			
		||||
    methods: {
 | 
			
		||||
        format(date) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -180,11 +180,11 @@ export default {
 | 
			
		|||
        }
 | 
			
		||||
    },
 | 
			
		||||
    created() {
 | 
			
		||||
        this.getList()
 | 
			
		||||
        const end = new Date()
 | 
			
		||||
        let start = new Date()
 | 
			
		||||
        start.setMonth(start.getMonth() - 2)
 | 
			
		||||
        this.dateRange = [this.format(start), this.format(end)]
 | 
			
		||||
        this.getList()
 | 
			
		||||
    },
 | 
			
		||||
    methods: {
 | 
			
		||||
        format(date) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -159,11 +159,11 @@
 | 
			
		|||
        };
 | 
			
		||||
    },
 | 
			
		||||
    created() {
 | 
			
		||||
        this.getList()
 | 
			
		||||
        const end = new Date()
 | 
			
		||||
        let start = new Date()
 | 
			
		||||
        start.setMonth(start.getMonth() - 2)
 | 
			
		||||
        this.dateRange = [this.format(start), this.format(end)]
 | 
			
		||||
        this.getList()
 | 
			
		||||
    },
 | 
			
		||||
    methods: {
 | 
			
		||||
        format(date) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue