Browse Source

wanda-adm:feat> 修改createTime desc

onlyh 3 years ago
parent
commit
4616fd33c4

+ 1 - 1
src/views/maintain/space/index.vue

@@ -383,7 +383,7 @@ export default class spaceIndex extends Vue {
                 zoneType: this.zoneTypeValue[this.zoneTypeValue.length - 1],
                 pageNumber: this.paginationList.page,
                 pageSize: this.paginationList.size,
-                orders: "createTime asc, localName asc, localId desc, id asc",
+                orders: "createTime desc, localName asc, localId desc, id asc",
             };
             let search = this.inputSearch ? `;localName contain '${this.inputSearch}' or localId contain '${this.inputSearch}'` : ''
             if (this.building.length === 1) {

+ 2 - 2
src/views/scene/tiepoint/components/systemTab/index.vue

@@ -156,7 +156,7 @@ export default class SystemTab extends Vue {
                 filters: `classCode='${this.systemType}'`,
                 pageNumber: this.paginationList.page,
                 pageSize: this.paginationList.size,
-                orders: "createTime asc, id asc",
+                orders: "createTime desc, id asc",
                 projectId: this.projectId,
             };
             if (this.keyWord != "") {
@@ -212,7 +212,7 @@ export default class SystemTab extends Vue {
                 filters: `classCode='${this.systemType}'`,
                 pageNumber: this.paginationList.page,
                 pageSize: this.paginationList.size,
-                orders: "createTime asc, id asc",
+                orders: "createTime desc, id asc",
                 projectId: this.projectId,
             };
             if (this.keyWord != "") {