From c6a61bf9bf4d1ae57098aa26dcf2448ce6bb80e4 Mon Sep 17 00:00:00 2001
From: WXL (wul) <wl_5969728@163.com>
Date: 星期五, 05 九月 2025 10:16:43 +0800
Subject: [PATCH] 测试完成
---
src/api/system/user.js | 19 ++++++++++++++++---
1 files changed, 16 insertions(+), 3 deletions(-)
diff --git a/src/api/system/user.js b/src/api/system/user.js
index e68cb47..451a5c0 100644
--- a/src/api/system/user.js
+++ b/src/api/system/user.js
@@ -86,10 +86,18 @@
data: data,
});
}
-// 淇敼鐢ㄦ埛涓汉淇℃伅
+// 缁熻鏌ヨ
export function getSfStatistics(data) {
return request({
url: "/smartor/serviceSubtask/getSfStatistics",
+ method: "post",
+ data: data,
+ });
+}
+// 鏈強鏃舵煡璇�
+export function selectTimelyRate(data) {
+ return request({
+ url: "/smartor/servicetask/selectTimelyRate",
method: "post",
data: data,
});
@@ -128,7 +136,7 @@
// 淇濆瓨鎺堟潈瑙掕壊
export function updateAuthRole(data) {
return request({
- url: "/system/user/authRole",
+ url: "/system/user/authRole/insertAuthRole",
method: "post",
data: data,
});
@@ -142,10 +150,15 @@
}
// 鏌ヨ閮ㄩ棬涓嬫媺鏍戠粨鏋�
-export function deptTreeSelect() {
+export function deptTreeSelect(type) {
+ const data = {
+ deptType:type,
+ orgid:localStorage.getItem("orgid"),
+ };
return request({
url: "/system/user/deptTree",
method: "get",
+ params: data,
});
}
// 鏂板绉戝/鐥呭尯
--
Gitblit v1.9.3