Browse Source

mainEquipmentDetail.vue 列表添加排序,重要维修/维保 优先级在前
orderBy: 'is_exception,0;is_detecting,0;',

yunxing 4 years ago
parent
commit
fbe13106a0
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/views/equipmentFacilities/MainEquipmentDetail.vue

+ 2 - 1
src/views/equipmentFacilities/MainEquipmentDetail.vue

@@ -138,7 +138,7 @@ export default {
     },
     components: {},
     activated() {
-        console.log(this.$route)
+        console.log(this.$route.params)
         if (this.$route.params.initPage) {
             this.initPage()
         }
@@ -270,6 +270,7 @@ export default {
                     page: this.page,
                     size: this.size,
                     onlyMainAsset: true,
+                    orderBy: 'is_exception,0;is_detecting,0;',
                 },
                 postParams: {
                     brand: this.brand,