Преглед на файлове

wanda-adm:feat> 修改createTime desc

onlyh преди 3 години
родител
ревизия
4616fd33c4
променени са 2 файла, в които са добавени 3 реда и са изтрити 3 реда
  1. 1 1
      src/views/maintain/space/index.vue
  2. 2 2
      src/views/scene/tiepoint/components/systemTab/index.vue

+ 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 != "") {