| | |
| | | }, |
| | | created() { |
| | | // this.getNowTime(); |
| | | this.getList(); |
| | | |
| | | this.Company(); |
| | | this.getdate(); |
| | | }, |
| | |
| | | moment(res.data).format("YYYY-MM-DD 00:00:00"), |
| | | moment(res.data).format("YYYY-MM-DD 23:59:00"), |
| | | ]; |
| | | this.getList(); |
| | | }); |
| | | }, |
| | | // / 处理默认选中当前日期 |
| | |
| | | }, |
| | | /** 查询体检记录列表 */ |
| | | getList() { |
| | | if(this.createTimeList){ |
| | | this.queryParams.djbeginTime = this.createTimeList[0]; |
| | | this.queryParams.djendTime = this.createTimeList[1]; |
| | | }else{ |
| | | this.queryParams.djbeginTime = this.startTime[0]; |
| | | this.queryParams.djendTime = this.startTime[1]; |
| | | } |
| | | |
| | | |
| | | this.loading = true; |
| | | getOrderList(this.queryParams).then((response) => { |
| | | this.orderList = response.data.list; |
| | |
| | | }, |
| | | /** 重置按钮操作 */ |
| | | resetQuery() { |
| | | this.createTimeList=[] |
| | | this.resetForm("queryForm"); |
| | | this.handleQuery(); |
| | | }, |