opt:任务页面默认查询时间改为后2天
This commit is contained in:
@@ -269,7 +269,8 @@ export default {
|
|||||||
crudTask.getFinishType().then(data => {
|
crudTask.getFinishType().then(data => {
|
||||||
this.finishTypeList = 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: {
|
methods: {
|
||||||
// 钩子:在获取表格数据之前执行,false 则代表不获取数据
|
// 钩子:在获取表格数据之前执行,false 则代表不获取数据
|
||||||
|
|||||||
Reference in New Issue
Block a user