opt:任务页面默认查询时间改为后2天

This commit is contained in:
zhangzq
2025-04-25 14:42:50 +08:00
parent 76c3eaed4a
commit 3dc4422ebb

View File

@@ -269,7 +269,8 @@ export default {
crudTask.getFinishType().then(data => {
this.finishTypeList = data
})
this.crud.query.createTime = [new Date().daysAgo(7), new Date()]
const afterD = new Date(new Date().getTime() + 2 * 8.64E7)
this.crud.query.createTime = [new Date().daysAgo(3), afterD]
},
methods: {
// 钩子在获取表格数据之前执行false 则代表不获取数据