From cd95b584fe7da1ea63476871eabf512213a31e69 Mon Sep 17 00:00:00 2001
From: 王恒 <318726284@qq.com>
Date: 星期五, 18 七月 2025 17:42:03 +0800
Subject: [PATCH] '计划管理模块开发完成'

---
 src/api/system/manage.ts |   34 ++++++++++++++++++++++++++--------
 1 files changed, 26 insertions(+), 8 deletions(-)

diff --git a/src/api/system/manage.ts b/src/api/system/manage.ts
index 9450bb0..4dabcaf 100644
--- a/src/api/system/manage.ts
+++ b/src/api/system/manage.ts
@@ -1,7 +1,7 @@
 import request from "@/utils/request";
 
 // 鏌ヨ璁″垝绠$悊鍒楄〃
-export function listManage(query) {
+export function listManage(query: any) {
   return request({
     url: "/system/manage/list",
     method: "get",
@@ -10,7 +10,7 @@
 }
 
 // 鏌ヨ璁″垝绠$悊璇︾粏
-export function getManage(id) {
+export function getManage(id: any) {
   return request({
     url: "/system/manage/" + id,
     method: "get",
@@ -18,27 +18,45 @@
 }
 
 // 鏂板璁″垝绠$悊
-export function addManage(data) {
+export function addManage(data: any) {
   return request({
-    url: "/system/manage",
+    url: "/system/manage/add",
     method: "post",
     data: data,
   });
 }
 
 // 淇敼璁″垝绠$悊
-export function updateManage(data) {
+export function updateManage(data: any) {
   return request({
-    url: "/system/manage",
-    method: "put",
+    url: "/system/manage/upd",
+    method: "post",
     data: data,
   });
 }
 
 // 鍒犻櫎璁″垝绠$悊
-export function delManage(id) {
+export function delManage(id: any) {
   return request({
     url: "/system/manage/" + id,
     method: "delete",
   });
 }
+
+// 涓嬭浇妯℃澘 /system/manage/exportTemplate
+export function exportTemplate(data: any) {
+  return request({
+    url: `/system/manage/exportTemplate`,
+    method: 'get',
+    params: data
+  })
+}
+
+// 瀵煎嚭璁″垝绠$悊 /system/manage/exportTemplate
+export function exportManage(data: any) {
+    return request({
+      url: `/system/manage/export `,
+      method: 'get',
+      params: data
+    })
+  }

--
Gitblit v1.9.1