소스 검색

报告清单排序

zhuliu 7 달 전
부모
커밋
5b17e195d7
1개의 변경된 파일8개의 추가작업 그리고 0개의 파일을 삭제
  1. 8 0
      src/views/report/components/index.vue

+ 8 - 0
src/views/report/components/index.vue

@@ -507,6 +507,14 @@ export default {
         order,
       }
       this.sort = this.$commonJS.getSortData(params)
+      if(!this.sort || this.sort.length == 0){
+        this.sort = [
+          {
+            "orderBy": "createTime",
+            "orderType": 1
+          }
+        ]
+      }
       this.queryParams.current = 1
       this.isGrouping()
     },