src/views/taskinfo/taskinfoPlan.vue
@@ -186,6 +186,8 @@ beforeOpen(done, type) { if (["add"].includes(type)) { this.form.status = 2 }else if (["edit"].includes(type)) { this.form.routeRange = '\'' + this.form.routeRange + '\'' } done(); }, @@ -195,6 +197,11 @@ }, searchChange(params, done) { this.query = params; if (this.query.daterange){ this.query.startCreateTime = this.query.daterange[0] this.query.endCreateTime = this.query.daterange[1] this.query.daterange = null } this.page.currentPage = 1; this.onLoad(this.page, params); done();