From 1812a9a3d63570cd04dc57df99f1c7b37a41f678 Mon Sep 17 00:00:00 2001
From: 王恒 <318726284@qq.com>
Date: 星期五, 08 八月 2025 17:41:46 +0800
Subject: [PATCH] '调整计划管理新增页面功能'
---
src/api/system/manage.ts | 27 ++++++++++++++++++---------
1 files changed, 18 insertions(+), 9 deletions(-)
diff --git a/src/api/system/manage.ts b/src/api/system/manage.ts
index 6e3a232..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,25 +18,25 @@
}
// 鏂板璁″垝绠$悊
-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",
@@ -44,10 +44,19 @@
}
// 涓嬭浇妯℃澘 /system/manage/exportTemplate
-export function exportTemplate(data) {
+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