From f0d9c73af88fe8e34937ab039c58a12a1ac6e021 Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Mon, 08 Dec 2025 11:10:20 +0800
Subject: [PATCH] feat:任务管理历史任务详情中,接口展示统一
---
src/api/user.js | 12 ++++++++++--
1 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/src/api/user.js b/src/api/user.js
index 83dd50f..7785c82 100644
--- a/src/api/user.js
+++ b/src/api/user.js
@@ -17,7 +17,7 @@
tenantId,
username,
password,
- grant_type: website.captchaMode ? 'captcha' : 'password',
+ grant_type: 'password',
scope: 'all',
type,
},
@@ -122,10 +122,11 @@
},
});
-export const getButtons = () =>
+export const getButtons = (params) =>
request({
url: '/blade-system/menu/buttons',
method: 'get',
+ params
});
export const getCaptcha = () =>
@@ -171,3 +172,10 @@
phone,
},
});
+
+export const getParentDeptInfo = params =>
+ request({
+ url: '/blade-system/dept/getParentDeptInfo',
+ method: 'get',
+ params: params,
+ });
--
Gitblit v1.9.3