소스 검색

增加停车场统计排名

yangzj 2 년 전
부모
커밋
013272235b
2개의 변경된 파일5개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 3
      common/config.js
  2. 2 0
      pages/statisticalReport/parkModel/components/parkingReallyIncome.vue

+ 3 - 3
common/config.js

@@ -1,6 +1,6 @@
-// let baseUrl = 'https://wx.hw.hongweisoft.com/parking/' // 测试环境
-let baseUrl = 'https://parking.pdzhtc.com/' // 正式环境
+let baseUrl = 'https://wx.hw.hongweisoft.com/parking/' // 测试环境
+// let baseUrl = 'https://parking.pdzhtc.com/' // 正式环境
 export const config = {
 	baseUrl,
-	version: '0.1.5'
+	version: '0.1.6'
 }

+ 2 - 0
pages/statisticalReport/parkModel/components/parkingReallyIncome.vue

@@ -83,6 +83,8 @@
 				uni.$u.api.statisticalReportApi.getParkingReallyIncomeApi({
 					pageNum: this.tableData.current,
 					pageSize: 10,
+					sortField: 'realAmount',
+					sortOrder: 'desc',
 					beginTime: this.beginTime,
 					endTime: this.endTime
 				}).then(res => {