From 026b7e6d0b45b93f15162c2ee062ef98955b3471 Mon Sep 17 00:00:00 2001 From: wangh <9483> Date: Mon, 18 Dec 2023 17:42:52 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E4=B8=BB=E9=A1=B5=E7=9A=84=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E7=BB=9F=E8=AE=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fuintAdmin/src/api/indexStatistics.js | 68 +++++ .../src/views/indexcomponents/bottom_z.vue | 58 ++-- .../src/views/indexcomponents/bottomindex.vue | 189 ++++++++++--- .../views/indexcomponents/centenrindex.vue | 143 ++++++++-- .../src/views/indexcomponents/topindex.vue | 251 ++++++++++++------ .../cardFule/mapper/CardFuelRecordMapper.java | 3 + .../mapper/xml/CardFuelRecordMapper.xml | 26 ++ .../mapper/CardValueRecordMapper.java | 7 + .../mapper/xml/CardValueRecordMapper.xml | 72 +++++ .../impl/CardValueRecordServiceImpl.java | 4 +- .../business/member/mapper/LJStaffMapper.java | 4 + .../member/mapper/xml/LJStaffMapper.xml | 20 ++ .../order/controller/OilOrderController.java | 54 ++++ .../business/order/mapper/LJOrderMapper.java | 5 + .../business/order/mapper/OilOrderMapper.java | 8 + .../order/mapper/xml/LJOrderMapper.xml | 47 ++++ .../order/mapper/xml/OilOrderMapper.xml | 90 +++++++ .../order/service/OilOrderService.java | 16 ++ .../service/impl/OilOrderServiceImpl.java | 185 +++++++++++++ 19 files changed, 1082 insertions(+), 168 deletions(-) create mode 100644 fuintAdmin/src/api/indexStatistics.js 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 @@