From db905ecd14f63dba9337b4f4715584ef2d7e8c7e Mon Sep 17 00:00:00 2001
From: 马宇豪 <978517621@qq.com>
Date: 星期五, 07 三月 2025 14:45:00 +0800
Subject: [PATCH] 修改

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

diff --git a/src/api/specialOperationsPay/coalPay.js b/src/api/specialOperationsPay/coalPay.js
index b7be4c3..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
   })
 }
 
@@ -141,3 +141,35 @@
     params: query
   })
 }
+
+export function coalTeamPay(data) {
+  return request({
+    url: '/pay/coalPay/teamPay',
+    method: 'post',
+    data: data
+  })
+}
+
+export function coalPersonPay(query) {
+  return request({
+    url: '/pay/coalPay/personPay',
+    method: 'get',
+    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