From ad1cf454fa7f800cbdd35a1c336139fa928cef6f Mon Sep 17 00:00:00 2001 From: WXL (wul) <wl_5969728@163.com> Date: 星期日, 28 九月 2025 18:06:47 +0800 Subject: [PATCH] 测试完成 --- src/api/system/user.js | 40 ++++++++++++++++++++++++++++++++++++++-- 1 files changed, 38 insertions(+), 2 deletions(-) diff --git a/src/api/system/user.js b/src/api/system/user.js index 4b261b2..601a80c 100644 --- a/src/api/system/user.js +++ b/src/api/system/user.js @@ -86,6 +86,37 @@ data: data, }); } +// 缁熻鏌ヨ +export function getSfStatistics(data) { + return request({ + url: "/smartor/serviceSubtask/getSfStatistics", + method: "post", + data: data, + }); +} +// 婊℃剰搴︽槑缁嗘煡璇� +export function getSfStatisticsJoydetails(data) { + return request({ + url: "/smartor/serviceSubtask/getSfStatisticsJoydetails", + method: "post", + data: data, + }); +}// 婊℃剰搴︾粺璁� +export function getSfStatisticsJoy(data) { + return request({ + url: "/smartor/serviceSubtask/getSfStatisticsJoy", + method: "post", + data: data, + }); +} +// 鏈強鏃舵煡璇� +export function selectTimelyRate(data) { + return request({ + url: "/smartor/servicetask/selectTimelyRate", + method: "post", + data: data, + }); +} // 鐢ㄦ埛瀵嗙爜閲嶇疆 export function updateUserPwd(oldPassword, newPassword) { @@ -120,7 +151,7 @@ // 淇濆瓨鎺堟潈瑙掕壊 export function updateAuthRole(data) { return request({ - url: "/system/user/authRole", + url: "/system/user/authRole/insertAuthRole", method: "post", data: data, }); @@ -134,10 +165,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