From 4ebc73199bcd4b23739a2e1d22c372e8081310c5 Mon Sep 17 00:00:00 2001 From: 王恒 <318726284@qq.com> Date: 星期五, 18 七月 2025 17:55:29 +0800 Subject: [PATCH] '完善筛选项' --- src/api/system/manage.ts | 62 +++++++++++++++++++++++++++++++ 1 files changed, 62 insertions(+), 0 deletions(-) diff --git a/src/api/system/manage.ts b/src/api/system/manage.ts new file mode 100644 index 0000000..4dabcaf --- /dev/null +++ b/src/api/system/manage.ts @@ -0,0 +1,62 @@ +import request from "@/utils/request"; + +// 鏌ヨ璁″垝绠$悊鍒楄〃 +export function listManage(query: any) { + return request({ + url: "/system/manage/list", + method: "get", + params: query, + }); +} + +// 鏌ヨ璁″垝绠$悊璇︾粏 +export function getManage(id: any) { + return request({ + url: "/system/manage/" + id, + method: "get", + }); +} + +// 鏂板璁″垝绠$悊 +export function addManage(data: any) { + return request({ + url: "/system/manage/add", + method: "post", + data: data, + }); +} + +// 淇敼璁″垝绠$悊 +export function updateManage(data: any) { + return request({ + url: "/system/manage/upd", + method: "post", + data: data, + }); +} + +// 鍒犻櫎璁″垝绠$悊 +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