|
@@ -310,6 +310,8 @@ import noData from '@/components/noData';
|
|
|
import Steps from '@/components/Steps.vue';
|
|
|
export default {
|
|
|
data() {
|
|
|
+ let endDate = this.$moment().format('YYYY-MM-DD')
|
|
|
+ let startDate = this.$moment().subtract('1','month').format('YYYY-MM-DD');
|
|
|
return {
|
|
|
automaticIntegration:[],
|
|
|
newTaskFormType:1,
|
|
@@ -348,9 +350,14 @@ export default {
|
|
|
formData: {
|
|
|
page: 1,
|
|
|
page_size: 10,
|
|
|
- employee_name:''
|
|
|
+ employee_name:'',
|
|
|
+ start_day: startDate,
|
|
|
+ end_day: endDate,
|
|
|
},
|
|
|
- time_slot: null,
|
|
|
+ time_slot: [
|
|
|
+ new Date(startDate),
|
|
|
+ new Date(endDate),
|
|
|
+ ],
|
|
|
rule_trees: [],
|
|
|
props: { value: 'id', label: 'name', children: 'child' },
|
|
|
rule: [],
|