| | |
| | | }, |
| | | created() { |
| | | // this.getNowTime(); |
| | | this.getList(); |
| | | |
| | | this.getdate(); |
| | | }, |
| | | mounted() { |
| | |
| | | methods: { |
| | | getdate() { |
| | | getNewDateList().then((res) => { |
| | | this.createTimeList = [ |
| | | if(res.data){ |
| | | this.createTimeList = [ |
| | | moment(res.data).format("YYYY-MM-DD 00:00:00"), |
| | | moment(res.data).format("YYYY-MM-DD 23:59:00") |
| | | ];; |
| | | ]; |
| | | this.getList(); |
| | | } |
| | | |
| | | }); |
| | | }, |
| | | filterNode(value, data) { |
| | |
| | | }, |
| | | // 表单重置 |
| | | reset() { |
| | | |
| | | this.form = { |
| | | orderId: null, |
| | | userId: null, |
| | |
| | | }, |
| | | /** 重置按钮操作 */ |
| | | resetQuery() { |
| | | this.startTime = [] |
| | | this.startTime1 = [] |
| | | this.createTimeList = [] |
| | | this.resetForm("queryForm"); |
| | | this.handleQuery(); |
| | | }, |