| | |
| | | }, |
| | | created() { |
| | | // this.getNowTime(); |
| | | this.getList(); |
| | | |
| | | this.getdate(); |
| | | }, |
| | | mounted() { |
| | |
| | | moment(res.data).format("YYYY-MM-DD 00:00:00"), |
| | | moment(res.data).format("YYYY-MM-DD 23:59:00"), |
| | | ]; |
| | | this.getList(); |
| | | }); |
| | | }, |
| | | handleSizeChange(val) { |
| | |
| | | getList() { |
| | | this.loading = true; |
| | | this.queryParams.isSignFor = this.tjStatus; |
| | | this.queryParams.beginTime = this.createTimeList[0]; |
| | | if(this.createTimeList){ |
| | | this.queryParams.beginTime = this.createTimeList[0]; |
| | | this.queryParams.endTime = this.createTimeList[1]; |
| | | }else if(this.createTimeList == null){ |
| | | this.queryParams.beginTime = null; |
| | | this.queryParams.endTime = null; |
| | | } |
| | | |
| | | getList(this.queryParams).then((response) => { |
| | | if (response.data) { |
| | | if (response.data.list == null) { |
| | |
| | | this.resetForm("form"); |
| | | }, |
| | | hb() { |
| | | console.log(this.queryParams.tjNum); |
| | | // console.log(this.queryParams.tjNum); |
| | | if (this.queryParams.tjNum != null) { |
| | | this.handleQuery(); |
| | | } |
| | |
| | | }, |
| | | /** 重置按钮操作 */ |
| | | resetQuery() { |
| | | this.createTimeList=[] |
| | | this.resetForm("queryForm"); |
| | | this.handleQuery(); |
| | | }, |