diff --git a/fuintAdmin/src/api/indexStatistics.js b/fuintAdmin/src/api/indexStatistics.js new file mode 100644 index 000000000..d1b4cea2f --- /dev/null +++ b/fuintAdmin/src/api/indexStatistics.js @@ -0,0 +1,68 @@ + +import request from '@/utils/request' + +// 流水统计 +export function turnoverStatisticsApi(query) { + return request({ + url: 'business/oilOrder/turnoverStatistics', + method: 'get', + params: query + }) +} + +// 员工销售 +export function employeeSalesApi(query) { + return request({ + url: 'business/oilOrder/employeeSales', + method: 'get', + params: query + }) +} + + + // 储值卡销售额 +export function prepaidCardSalesApi(query) { + return request({ + url: 'business/oilOrder/prepaidCardSales', + method: 'get', + params: query + }) +} + +// 屯油卡销售 +export function tunFuelCardSalesApi(query) { + return request({ + url: 'business/oilOrder/tunFuelCardSales', + method: 'get', + params: query + }) +} + + +// 商品销售额 +export function merchandiseSalesApi(query) { + return request({ + url: 'business/oilOrder/merchandiseSales', + method: 'get', + params: query + }) +} + +// 油品销售额 +export function oilSalesApi(query) { + return request({ + url: 'business/oilOrder/oilSales', + method: 'get', + params: query + }) +} + +// 各油品销售额 +export function salesByOilProductApi(query) { + return request({ + url: 'business/oilOrder/salesByOilProduct', + method: 'get', + params: query + }) +} + \ No newline at end of file diff --git a/fuintAdmin/src/views/indexcomponents/bottom_z.vue b/fuintAdmin/src/views/indexcomponents/bottom_z.vue index f94dd8321..2ed5b2443 100644 --- a/fuintAdmin/src/views/indexcomponents/bottom_z.vue +++ b/fuintAdmin/src/views/indexcomponents/bottom_z.vue @@ -2,17 +2,20 @@