瀏覽代碼

排序修改。

zhengqiang 5 年之前
父節點
當前提交
948ef11fac
共有 50 個文件被更改,包括 51 次插入51 次删除
  1. 2 2
      .env.development
  2. 1 1
      src/views/base/activityInfo-list.vue
  3. 1 1
      src/views/base/alarmConfig-list.vue
  4. 1 1
      src/views/base/alarmInfo-alert-list.vue
  5. 1 1
      src/views/base/alarmInfo-fence-list.vue
  6. 1 1
      src/views/base/applicationExamine-list.vue
  7. 1 1
      src/views/base/businessOut-list.vue
  8. 1 1
      src/views/base/companyDeviceRelation-list.vue
  9. 1 1
      src/views/base/companyInfo-list.vue
  10. 1 1
      src/views/base/companyPosition-list.vue
  11. 1 1
      src/views/base/electricClientInfo-list.vue
  12. 1 1
      src/views/base/electricMeterInfo-list.vue
  13. 1 1
      src/views/base/employeeInfo-list.vue
  14. 1 1
      src/views/base/holidayInfo-list.vue
  15. 1 1
      src/views/base/iconInfo-list.vue
  16. 1 1
      src/views/base/informationInfo-complaint-list.vue
  17. 1 1
      src/views/base/informationInfo-warranty-list.vue
  18. 1 1
      src/views/base/messageInfo-list.vue
  19. 1 1
      src/views/base/messageInfo-send.vue
  20. 1 1
      src/views/base/messageNotice-list.vue
  21. 1 1
      src/views/base/messageReceiver-list.vue
  22. 1 1
      src/views/base/messageReport-list.vue
  23. 1 1
      src/views/base/messageSendCondition-list.vue
  24. 1 1
      src/views/base/mobileBannerInfo-list.vue
  25. 1 1
      src/views/base/ownerInfo-list.vue
  26. 1 1
      src/views/base/parkingApply-list.vue
  27. 1 1
      src/views/base/parkingInfo-list.vue
  28. 1 1
      src/views/base/personDeviceLog-list.vue
  29. 1 1
      src/views/base/personDeviceRelation-BoundList.vue
  30. 1 1
      src/views/base/personDeviceRelation-list.vue
  31. 1 1
      src/views/base/personPopedom-list.vue
  32. 1 1
      src/views/base/personRoleInfo-list.vue
  33. 1 1
      src/views/base/problemFeedback-list.vue
  34. 1 1
      src/views/base/punchLocation-list.vue
  35. 1 1
      src/views/base/punchRecord-list.vue
  36. 1 1
      src/views/base/rechange-list.vue
  37. 1 1
      src/views/base/rechargeRecord-list.vue
  38. 1 1
      src/views/base/rechargeRecordProperty-list.vue
  39. 1 1
      src/views/base/rechargeRecordWater-list.vue
  40. 1 1
      src/views/base/roomInfo-list.vue
  41. 1 1
      src/views/base/temperatureRecord-list.vue
  42. 1 1
      src/views/base/terminalInfo-list.vue
  43. 1 1
      src/views/base/warningPusher-list.vue
  44. 1 1
      src/views/business/clockOut-list.vue
  45. 1 1
      src/views/business/fillAttendance-list.vue
  46. 1 1
      src/views/sys/dataDictionary-list.vue
  47. 1 1
      src/views/sys/menu-list.vue
  48. 1 1
      src/views/sys/permission-list.vue
  49. 1 1
      src/views/sys/role-list.vue
  50. 1 1
      src/views/sys/user-list.vue

+ 2 - 2
.env.development

@@ -1,9 +1,9 @@
 OUT_PUT_DIR=dist/jp-housekeeper-portal
 
 #VUE_APP_BACKEND_URL=http://127.0.0.1:7070/xpgj
-VUE_APP_BACKEND_URL=http://127.0.0.1:8086/jp-housekeeper-server
+#VUE_APP_BACKEND_URL=http://127.0.0.1:8086/jp-housekeeper-server
 #VUE_APP_BACKEND_URL=http://ykt-test.xiaoxinda.com/jp-housekeeper-server
-#VUE_APP_BACKEND_URL=http://xpgjapi.xiaoxinda.com
+VUE_APP_BACKEND_URL=http://xpgjapi.xiaoxinda.com
 
 #手机企业版
 VUE_APP_COMPANY_HEALTH_WECHAT_QY_URL=http://wisdomhousewechat.sudaonline.net/prevention/motemwall.html 

+ 1 - 1
src/views/base/activityInfo-list.vue

@@ -235,7 +235,7 @@ export default {
     },
     sortChange(data) {
       this.field = data.column.field;
-      this.direction = data.order;
+      this.direction = data.order == "ascending" ? "asc" : "desc";
 
       this.changePage(this.pageIndex);
     },

+ 1 - 1
src/views/base/alarmConfig-list.vue

@@ -245,7 +245,7 @@ export default {
     },
     sortChange(data) {
       this.field = data.column.field;
-      this.direction = data.order;
+      this.direction = data.order == "ascending" ? "asc" : "desc";
 
       this.changePage(this.pageIndex);
     },

+ 1 - 1
src/views/base/alarmInfo-alert-list.vue

@@ -165,7 +165,7 @@ export default {
     },
     sortChange(data) {
       this.field = data.column.field;
-      this.direction = data.order;
+      this.direction = data.order == "ascending" ? "asc" : "desc";
 
       this.changePage(this.pageIndex);
     },

+ 1 - 1
src/views/base/alarmInfo-fence-list.vue

@@ -165,7 +165,7 @@ export default {
     },
     sortChange(data) {
       this.field = data.column.field;
-      this.direction = data.order;
+      this.direction = data.order == "ascending" ? "asc" : "desc";
 
       this.changePage(this.pageIndex);
     },

+ 1 - 1
src/views/base/applicationExamine-list.vue

@@ -382,7 +382,7 @@ export default {
     },
     sortChange(data) {
       this.field = data.column.field;
-      this.direction = data.order;
+      this.direction = data.order == "ascending" ? "asc" : "desc";
 
       this.changePage(this.pageIndex);
     },

+ 1 - 1
src/views/base/businessOut-list.vue

@@ -307,7 +307,7 @@ export default {
     },
     sortChange(data) {
       this.field = data.column.field;
-      this.direction = data.order;
+      this.direction = data.order == "ascending" ? "asc" : "desc";
 
       this.changePage(this.pageIndex);
     },

+ 1 - 1
src/views/base/companyDeviceRelation-list.vue

@@ -182,7 +182,7 @@ export default {
     },
     sortChange(data) {
       this.field = data.column.field;
-      this.direction = data.order;
+      this.direction = data.order == "ascending" ? "asc" : "desc";
 
       this.changePage(this.pageIndex);
     },

+ 1 - 1
src/views/base/companyInfo-list.vue

@@ -467,7 +467,7 @@ export default {
     },
     sortChange(data) {
       this.field = data.column.field;
-      this.direction = data.order;
+      this.direction = data.order == "ascending" ? "asc" : "desc";
 
       this.changePage(this.pageIndex);
     },

+ 1 - 1
src/views/base/companyPosition-list.vue

@@ -271,7 +271,7 @@ export default {
     },
     sortChange(data) {
       this.field = data.column.field;
-      this.direction = data.order;
+      this.direction = data.order == "ascending" ? "asc" : "desc";
 
       this.changePage(this.pageIndex);
     },

+ 1 - 1
src/views/base/electricClientInfo-list.vue

@@ -230,7 +230,7 @@ export default {
     },
     sortChange(data) {
       this.field = data.column.field;
-      this.direction = data.order;
+      this.direction = data.order == "ascending" ? "asc" : "desc";
       this.changePage(this.pageIndex);
     },
     handleSelectionChange(val) {

+ 1 - 1
src/views/base/electricMeterInfo-list.vue

@@ -206,7 +206,7 @@ export default {
     },
     sortChange(data) {
       this.field = data.column.field;
-      this.direction = data.order;
+      this.direction = data.order == "ascending" ? "asc" : "desc";
 
       this.changePage(this.pageIndex);
     },

+ 1 - 1
src/views/base/employeeInfo-list.vue

@@ -224,7 +224,7 @@ export default {
     },
     sortChange(data) {
       this.field = data.column.field;
-      this.direction = data.order;
+      this.direction = data.order == "ascending" ? "asc" : "desc";
 
       this.changePage(this.pageIndex);
     },

+ 1 - 1
src/views/base/holidayInfo-list.vue

@@ -141,7 +141,7 @@ export default {
     },
     sortChange(data) {
       this.field = data.column.field;
-      this.direction = data.order;
+      this.direction = data.order == "ascending" ? "asc" : "desc";
 
       this.changePage(this.pageIndex);
     },

+ 1 - 1
src/views/base/iconInfo-list.vue

@@ -265,7 +265,7 @@ export default {
     },
     sortChange(data) {
       this.field = data.column.field;
-      this.direction = data.order;
+      this.direction = data.order == "ascending" ? "asc" : "desc";
 
       this.changePage(this.pageIndex);
     },

+ 1 - 1
src/views/base/informationInfo-complaint-list.vue

@@ -188,7 +188,7 @@ export default {
     },
     sortChange(data) {
       this.field = data.column.field;
-      this.direction = data.order;
+      this.direction = data.order == "ascending" ? "asc" : "desc";
 
       this.changePage(this.pageIndex);
     },

+ 1 - 1
src/views/base/informationInfo-warranty-list.vue

@@ -199,7 +199,7 @@ export default {
     },
     sortChange(data) {
       this.field = data.column.field;
-      this.direction = data.order;
+      this.direction = data.order == "ascending" ? "asc" : "desc";
 
       this.changePage(this.pageIndex);
     },

+ 1 - 1
src/views/base/messageInfo-list.vue

@@ -285,7 +285,7 @@ export default {
     },
     sortChange(data) {
       this.field = data.column.field;
-      this.direction = data.order;
+      this.direction = data.order == "ascending" ? "asc" : "desc";
 
       this.changePage(this.pageIndex);
     },

+ 1 - 1
src/views/base/messageInfo-send.vue

@@ -271,7 +271,7 @@ export default {
     },
     sortChange(data) {
       this.field = data.column.field;
-      this.direction = data.order;
+      this.direction = data.order == "ascending" ? "asc" : "desc";
 
       this.changePage(this.pageIndex);
     },

+ 1 - 1
src/views/base/messageNotice-list.vue

@@ -232,7 +232,7 @@ export default {
     },
     sortChange(data) {
       this.field = data.column.field;
-      this.direction = data.order;
+      this.direction = data.order == "ascending" ? "asc" : "desc";
 
       this.changePage(this.pageIndex);
     },

+ 1 - 1
src/views/base/messageReceiver-list.vue

@@ -275,7 +275,7 @@ export default {
     },
     sortChange(data) {
       this.field = data.column.field;
-      this.direction = data.order;
+      this.direction = data.order == "ascending" ? "asc" : "desc";
 
       this.changePage(this.pageIndex);
     },

+ 1 - 1
src/views/base/messageReport-list.vue

@@ -142,7 +142,7 @@ export default {
     },
     sortChange(data) {
       this.field = data.column.field;
-      this.direction = data.order;
+      this.direction = data.order == "ascending" ? "asc" : "desc";
 
       this.changePage(this.pageIndex);
     },

+ 1 - 1
src/views/base/messageSendCondition-list.vue

@@ -147,7 +147,7 @@ export default {
     },
     sortChange(data) {
       this.field = data.column.field;
-      this.direction = data.order;
+      this.direction = data.order == "ascending" ? "asc" : "desc";
 
       this.changePage(this.pageIndex);
     },

+ 1 - 1
src/views/base/mobileBannerInfo-list.vue

@@ -246,7 +246,7 @@ export default {
     },
     sortChange(data) {
       this.field = data.column.field;
-      this.direction = data.order;
+      this.direction = data.order == "ascending" ? "asc" : "desc";
 
       this.changePage(this.pageIndex);
     },

+ 1 - 1
src/views/base/ownerInfo-list.vue

@@ -238,7 +238,7 @@ export default {
     },
     sortChange(data) {
       this.field = data.column.field;
-      this.direction = data.order;
+      this.direction = data.order == "ascending" ? "asc" : "desc";
 
       this.changePage(this.pageIndex);
     },

+ 1 - 1
src/views/base/parkingApply-list.vue

@@ -194,7 +194,7 @@ export default {
     },
     sortChange(data) {
       this.field = data.column.field;
-      this.direction = data.order;
+      this.direction = data.order == "ascending" ? "asc" : "desc";
 
       this.changePage(this.pageIndex);
     },

+ 1 - 1
src/views/base/parkingInfo-list.vue

@@ -228,7 +228,7 @@ export default {
     },
     sortChange(data) {
       this.field = data.column.field;
-      this.direction = data.order;
+      this.direction = data.order == "ascending" ? "asc" : "desc";
 
       this.changePage(this.pageIndex);
     },

+ 1 - 1
src/views/base/personDeviceLog-list.vue

@@ -356,7 +356,7 @@ export default {
     },
     sortChange(data) {
       this.field = data.column.field;
-      this.direction = data.order;
+      this.direction = data.order == "ascending" ? "asc" : "desc";
 
       this.changePage(this.pageIndex);
     },

+ 1 - 1
src/views/base/personDeviceRelation-BoundList.vue

@@ -245,7 +245,7 @@ export default {
     },
     sortChange(data) {
       this.field = data.column.field;
-      this.direction = data.order;
+      this.direction = data.order == "ascending" ? "asc" : "desc";
 
       this.changePage(this.pageIndex);
     },

+ 1 - 1
src/views/base/personDeviceRelation-list.vue

@@ -200,7 +200,7 @@ export default {
     },
     sortChange(data) {
       this.field = data.column.field;
-      this.direction = data.order;
+      this.direction = data.order == "ascending" ? "asc" : "desc";
 
       this.changePage(this.pageIndex);
     },

+ 1 - 1
src/views/base/personPopedom-list.vue

@@ -220,7 +220,7 @@ export default {
     },
     sortChange(data) {
       this.field = data.column.field;
-      this.direction = data.order;
+      this.direction = data.order == "ascending" ? "asc" : "desc";
 
       this.changePage(this.pageIndex);
     },

+ 1 - 1
src/views/base/personRoleInfo-list.vue

@@ -261,7 +261,7 @@ export default {
     },
     sortChange(data) {
       this.field = data.column.field;
-      this.direction = data.order;
+      this.direction = data.order == "ascending" ? "asc" : "desc";
 
       this.changePage(this.pageIndex);
     },

+ 1 - 1
src/views/base/problemFeedback-list.vue

@@ -223,7 +223,7 @@ export default {
     },
     sortChange(data) {
       this.field = data.column.field;
-      this.direction = data.order;
+      this.direction = data.order == "ascending" ? "asc" : "desc";
 
       this.changePage(this.pageIndex);
     },

+ 1 - 1
src/views/base/punchLocation-list.vue

@@ -293,7 +293,7 @@ export default {
     },
     sortChange(data) {
       this.field = data.column.field;
-      this.direction = data.order;
+      this.direction = data.order == "ascending" ? "asc" : "desc";
 
       this.changePage(this.pageIndex);
     },

+ 1 - 1
src/views/base/punchRecord-list.vue

@@ -257,7 +257,7 @@ export default {
     },
     sortChange(data) {
       this.field = data.column.field;
-      this.direction = data.order;
+      this.direction = data.order == "ascending" ? "asc" : "desc";
 
       this.changePage(this.pageIndex);
     },

+ 1 - 1
src/views/base/rechange-list.vue

@@ -277,7 +277,7 @@ export default {
     },
     sortChange(data) {
       this.field = data.column.field;
-      this.direction = data.order;
+      this.direction = data.order == "ascending" ? "asc" : "desc";
       this.changePage(this.pageIndex);
     },
     handleSelectionChange(val) {

+ 1 - 1
src/views/base/rechargeRecord-list.vue

@@ -323,7 +323,7 @@ export default {
     },
     sortChange(data) {
       this.field = data.column.field;
-      this.direction = data.order;
+      this.direction = data.order == "ascending" ? "asc" : "desc";
 
       this.changePage(this.pageIndex);
     },

+ 1 - 1
src/views/base/rechargeRecordProperty-list.vue

@@ -309,7 +309,7 @@ export default {
     },
     sortChange(data) {
       this.field = data.column.field;
-      this.direction = data.order;
+      this.direction = data.order == "ascending" ? "asc" : "desc";
 
       this.changePage(this.pageIndex);
     },

+ 1 - 1
src/views/base/rechargeRecordWater-list.vue

@@ -325,7 +325,7 @@ export default {
     },
     sortChange(data) {
       this.field = data.column.field;
-      this.direction = data.order;
+      this.direction = data.order == "ascending" ? "asc" : "desc";
 
       this.changePage(this.pageIndex);
     },

+ 1 - 1
src/views/base/roomInfo-list.vue

@@ -186,7 +186,7 @@ export default {
     },
     sortChange(data) {
       this.field = data.column.field;
-      this.direction = data.order;
+      this.direction = data.order == "ascending" ? "asc" : "desc";
 
       this.changePage(this.pageIndex);
     },

+ 1 - 1
src/views/base/temperatureRecord-list.vue

@@ -298,7 +298,7 @@ export default {
     },
     sortChange(data) {
       this.field = data.column.field;
-      this.direction = data.order;
+      this.direction = data.order == "ascending" ? "asc" : "desc";
 
       this.changePage(this.pageIndex);
     },

+ 1 - 1
src/views/base/terminalInfo-list.vue

@@ -170,7 +170,7 @@ export default {
     },
     sortChange(data) {
       this.field = data.column.field;
-      this.direction = data.order;
+      this.direction = data.order == "ascending" ? "asc" : "desc";
 
       this.changePage(this.pageIndex);
     },

+ 1 - 1
src/views/base/warningPusher-list.vue

@@ -272,7 +272,7 @@ export default {
     },
     sortChange(data) {
       this.field = data.column.field;
-      this.direction = data.order;
+      this.direction = data.order == "ascending" ? "asc" : "desc";
 
       this.changePage(this.pageIndex);
     },

+ 1 - 1
src/views/business/clockOut-list.vue

@@ -256,7 +256,7 @@ export default {
     },
     sortChange(data) {
       this.field = data.column.field;
-      this.direction = data.order;
+      this.direction = data.order == "ascending" ? "asc" : "desc";
 
       this.changePage(this.pageIndex);
     },

+ 1 - 1
src/views/business/fillAttendance-list.vue

@@ -252,7 +252,7 @@ export default {
     },
     sortChange(data) {
       this.field = data.column.field;
-      this.direction = data.order;
+      this.direction = data.order == "ascending" ? "asc" : "desc";
 
       this.changePage(this.pageIndex);
     },

+ 1 - 1
src/views/sys/dataDictionary-list.vue

@@ -238,7 +238,7 @@ export default {
     },
     sortChange(data) {
       this.field = data.column.field;
-      this.direction = data.order;
+      this.direction = data.order == "ascending" ? "asc" : "desc";
 
       this.changePage(this.pageIndex);
     },

+ 1 - 1
src/views/sys/menu-list.vue

@@ -233,7 +233,7 @@ export default {
     },
     sortChange(data) {
       this.field = data.column.field;
-      this.direction = data.order;
+      this.direction = data.order == "ascending" ? "asc" : "desc";
 
       this.changePage(this.pageIndex);
     },

+ 1 - 1
src/views/sys/permission-list.vue

@@ -194,7 +194,7 @@ export default {
     },
     sortChange(data) {
       this.field = data.column.field;
-      this.direction = data.order;
+      this.direction = data.order == "ascending" ? "asc" : "desc";
 
       this.changePage(this.pageIndex);
     },

+ 1 - 1
src/views/sys/role-list.vue

@@ -211,7 +211,7 @@ export default {
     },
     sortChange(data) {
       this.field = data.column.field;
-      this.direction = data.order;
+      this.direction = data.order == "ascending" ? "asc" : "desc";
 
       this.changePage(this.pageIndex);
     },

+ 1 - 1
src/views/sys/user-list.vue

@@ -280,7 +280,7 @@ export default {
     },
     sortChange(data) {
       this.field = data.column.field;
-      this.direction = data.order;
+      this.direction = data.order == "ascending" ? "asc" : "desc";
 
       this.changePage(this.pageIndex);
     },