Browse Source

业务空间分页问题

haojianlong 4 years ago
parent
commit
5b556a68df
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/components/business_space/business/handsontable.vue

+ 2 - 2
src/components/business_space/business/handsontable.vue

@@ -263,9 +263,9 @@ export default {
     //查询空间信息
     getZoneMessage(param) {
       let params = param
-      params.Orders = "createTime desc, id asc, localName desc, id desc"
+      params.Orders = "createTime desc,sort asc,localName desc,id desc"
       zoneQuery(params, res => {
-        this.page.total = res.Total;
+        this.page.total = res.total;
         this.main = res.content.map((item) => {
           if (item.hasOwnProperty("buildingId") && item.hasOwnProperty("floorId")) {
             item.flowBuild = item.buildingId + "-" + item.floorId