zhangdan 4 lat temu
rodzic
commit
1e345f64e9

+ 11 - 2
src/api/releaseRecord.js

@@ -30,11 +30,20 @@ export const getDeliveryLogTotal = (params) => {
   })
 }
 
-// 网点列表
-export const stationList = params => {
+// 统计-网点列表(过滤掉电子秤)
+export const stationListName = params => {
   return axios.request({
     url: `/station/queryStationList`,
     method: 'post',
     data: params
   })
 }
+
+// 网点列表
+export const stationList = params => {
+  return axios.request({
+    url: `/station/queryList`,
+    method: 'post',
+    data: {}
+  })
+}

+ 2 - 2
src/views/cleanManage/statisticalReport.vue

@@ -137,7 +137,7 @@ import _ from 'lodash'
 import getDate from '@/libs/getDate'
 import moment from 'moment'
 import { findTotalGroupRubbi, findTotalGroupUser, findTotalGroupDate, findTotalGroupDateAndRubbishType } from '@/api/cleanManage.js'
-import { stationList } from '@/api/releaseRecord.js'
+import { stationListName } from '@/api/releaseRecord.js'
 import { getLookUpData } from '@/api/data'
 export default {
   name: 'Home',
@@ -329,7 +329,7 @@ export default {
     },
     // 查询网点列表
     getListStation () {
-      stationList({ "deviceType":"BOX"}).then(res => {
+      stationListName({ "deviceType":"BOX"}).then(res => {
         if (res.status == 200) {
           this.stationList = res.data || []
 		  console.log(this.stationList, '------------网点')