From 76680b5a434415a718b23bc42283ee8d62c3eb88 Mon Sep 17 00:00:00 2001
From: dengzedong <dengzedong@email>
Date: 星期一, 20 一月 2025 15:48:28 +0800
Subject: [PATCH] 预测项 指标数据下拉数据

---
 src/api/system/app/index.ts |   12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)

diff --git a/src/api/system/app/index.ts b/src/api/system/app/index.ts
index ef8b952..b783842 100644
--- a/src/api/system/app/index.ts
+++ b/src/api/system/app/index.ts
@@ -19,11 +19,21 @@
   createTime: Date
 }
 
-// 查询列表
+// 查询分页列表
 export const getAppPage = (params: PageParam) => {
   return request.get({ url: '/system/app/page', params })
 }
 
+// 查询所拥有应用列表
+export const getAppList = () => {
+  return request.get({ url: '/system/auth/get-app-permission' })
+}
+
+// 查询所拥有应用菜单列表
+export const getAppMenuList = (id) => {
+  return request.get({ url: '/system/auth/get-app-menu-permission?id=' + id })
+}
+
 // 获得
 export const getApp = (id: number) => {
   return request.get({ url: '/system/app/get?id=' + id })

--
Gitblit v1.9.3