Guoxiaohuan 5 năm trước cách đây
mục cha
commit
ee288f9784
1 tập tin đã thay đổi với 10 bổ sung5 xóa
  1. 10 5
      src/views/appeal/index.vue

+ 10 - 5
src/views/appeal/index.vue

@@ -136,7 +136,9 @@ export default {
             page: 1,
             pageSize: 15,
             loading: false,
-            time: ''
+            time: '',
+            day: '',
+            day1: ''
         }
     },
     components: {
@@ -145,7 +147,6 @@ export default {
     },
     mounted() {
         this.init()
-        console.log(1)
     },
     methods: {
         lookQuickData(item) {
@@ -196,7 +197,8 @@ export default {
             })
         },
         init() {
-            this.day = this.formatter2(moment(new Date()).add(-6, 'days'))
+            this.day1 = this.formatter2(moment(new Date()).add(-6, 'days'))
+            this.day = this.formatter2(moment(new Date()).add(-2, 'days'))
             this.appealsIng()
             this.auditCompletedIng()
             this.InAuditIng()
@@ -211,7 +213,10 @@ export default {
                     criteria: {
                         projectId: this.$store.state.projectId,
                         trackerId: 3, //固定为3
-                        status: [301, 305] //固定为未申诉和已驳回
+                        status: [301, 305], //固定为未申诉和已驳回
+                        createTime: {
+                            $gte: this.day + '000000' //三天以内
+                        }
                     },
                     orders: [
                         {
@@ -330,7 +335,7 @@ export default {
                         trackerId: 3,
                         status: [303, 304, 306],
                         createTime: {
-                            $gte: this.day + '000000' //三天以内
+                            $gte: this.day1 + '000000' //三天以内
                         }
                     },
                     size: this.pageSize,