领料发布
This commit is contained in:
		
							parent
							
								
									d5cadec309
								
							
						
					
					
						commit
						c870b2e079
					
				| 
						 | 
				
			
			@ -305,7 +305,7 @@ export default {
 | 
			
		|||
        pageSize: 10,
 | 
			
		||||
        time: null, //申请时间
 | 
			
		||||
        keyWord: "",
 | 
			
		||||
        taskStatus: null, //状态
 | 
			
		||||
        taskStatus: '1', //状态
 | 
			
		||||
      },
 | 
			
		||||
 | 
			
		||||
      dialogVisible: false, // 弹框显示
 | 
			
		||||
| 
						 | 
				
			
			@ -327,10 +327,8 @@ export default {
 | 
			
		|||
    const end = new Date()
 | 
			
		||||
    let start = new Date()
 | 
			
		||||
    start.setMonth(start.getMonth() - 1)
 | 
			
		||||
    this.queryParams.time = [this.format(end), this.format(end)]
 | 
			
		||||
    // 设置默认状态为第一个选项(未完成)
 | 
			
		||||
    // this.queryParams.taskStatus = '1'
 | 
			
		||||
    this.getList();
 | 
			
		||||
    this.queryParams.time = [this.format(start), this.format(end)]
 | 
			
		||||
    this.getList()
 | 
			
		||||
  },
 | 
			
		||||
  methods: {
 | 
			
		||||
    format(date) {
 | 
			
		||||
| 
						 | 
				
			
			@ -384,7 +382,7 @@ export default {
 | 
			
		|||
      const end = new Date()
 | 
			
		||||
      let start = new Date()
 | 
			
		||||
      start.setMonth(start.getMonth() - 1)
 | 
			
		||||
      this.queryParams.time = [this.format(end), this.format(end)]
 | 
			
		||||
      this.queryParams.time = [this.format(start), this.format(end)]
 | 
			
		||||
      this.resetForm("queryForm");
 | 
			
		||||
      this.queryParams.keyWord = "";
 | 
			
		||||
      this.handleQuery();
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue