Explorar o código

项目视图默认查询条件修改

yanshichao hai 10 meses
pai
achega
24878d5e79
Modificáronse 1 ficheiros con 4 adicións e 3 borrados
  1. 4 3
      src/views/task/projectView.vue

+ 4 - 3
src/views/task/projectView.vue

@@ -279,7 +279,8 @@ export default {
         projectId: undefined,
         startDate: undefined,
         endDate: undefined,
-        statusGroup: ['0', '1', '2', '3'],
+        // statusGroup: ['0', '1', '2', '3'],
+        statusGroup: [],
         priority: undefined
       },
       projectTree: [],
@@ -331,8 +332,8 @@ export default {
   },
   methods: {
     initData() {
-      this.$set(this.queryParams, 'startDate', DateUtil.beforeDay(null, 15))
-      this.$set(this.queryParams, 'endDate', DateUtil.afterDay(null, 15))
+      this.$set(this.queryParams, 'startDate', DateUtil.beforeDay(null, 30))
+      this.$set(this.queryParams, 'endDate', DateUtil.afterDay(null, 30))
       this.getList()
       getProjectTree({status: '0'}).then(res => {
         this.projectTree = res.data