From aefc8784d17df3ff1a103462605c83c4a391cc4d Mon Sep 17 00:00:00 2001
From: sendo <172933527@qq.com>
Date: 星期一, 29 九月 2025 17:53:06 +0800
Subject: [PATCH] yxh

---
 src/api/system/user.js |   45 ++++++++++++++++++++++++++++++++++++++++++---
 1 files changed, 42 insertions(+), 3 deletions(-)

diff --git a/src/api/system/user.js b/src/api/system/user.js
index e68cb47..79ab356 100644
--- a/src/api/system/user.js
+++ b/src/api/system/user.js
@@ -86,10 +86,44 @@
     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,
+  });
+}
+
+// 浠诲姟闅忚鐜囩粺璁¤〃鐨勪笅閽绘槑缁�
+// sendstate = 2 寰呴殢璁� 5 寰呴殢璁垮け璐�    
+// preachform = 浠诲姟褰㈠紡(1,浜哄伐 2,绾歌川  3,鐢佃瘽  4,鐭俊  5.寰俊鍏紬鍙� 6.寰俊灏忕▼搴� 7.鏀粯瀹濆皬绋嬪簭  8.鏅鸿兘鏈哄櫒浜�  9.閽夐拤)
+export function querySubtaskList(data) {
+  return request({
+    url: "/smartor/serviceSubtask/querySubtaskList",
     method: "post",
     data: data,
   });
@@ -128,7 +162,7 @@
 // 淇濆瓨鎺堟潈瑙掕壊
 export function updateAuthRole(data) {
   return request({
-    url: "/system/user/authRole",
+    url: "/system/user/authRole/insertAuthRole",
     method: "post",
     data: data,
   });
@@ -142,10 +176,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