From 509f1d71c91242b11fd287cfcdeafe3d19b2d807 Mon Sep 17 00:00:00 2001
From: 马宇豪 <978517621@qq.com>
Date: 星期二, 04 三月 2025 11:11:46 +0800
Subject: [PATCH] 新增

---
 src/api/specialOperationsPay/coalPay.js |   28 ++++++++++++++++++++++------
 1 files changed, 22 insertions(+), 6 deletions(-)

diff --git a/src/api/specialOperationsPay/coalPay.js b/src/api/specialOperationsPay/coalPay.js
index 3cef0f0..a1522ad 100644
--- a/src/api/specialOperationsPay/coalPay.js
+++ b/src/api/specialOperationsPay/coalPay.js
@@ -1,11 +1,11 @@
 import request from '@/utils/request'
 
 // 数据分页
-export function getCoalPayCategory(data) {
+export function getCoalPayCategory(query) {
   return request({
     url: '/pay/coalCategory/list',
-    method: 'post',
-    data: data
+    method: 'get',
+    params: query
   })
 }
 
@@ -37,11 +37,11 @@
 }
 
 // 缴费列表
-export function getCoalPayList(data) {
+export function getCoalPayList(query) {
   return request({
     url: '/pay/coalPay/list',
-    method: 'post',
-    data: data
+    method: 'get',
+    params: query
   })
 }
 
@@ -157,3 +157,19 @@
     params: query
   })
 }
+
+export function coalCount(query) {
+  return request({
+    url: '/pay/coalCategory/count',
+    method: 'get',
+    params: query
+  })
+}
+
+export function notCoalCount(query) {
+  return request({
+    url: '/pay/nonCoalCategory/count',
+    method: 'get',
+    params: query
+  })
+}

--
Gitblit v1.9.2