From cb3c799e1bd6a7cf5dd5c7e3cadee238bf67b729 Mon Sep 17 00:00:00 2001
From: WXL (wul) <wl_5969728@163.com>
Date: 星期五, 10 十月 2025 14:26:10 +0800
Subject: [PATCH] 随访详情本人所属功能及服务形式补偿流程组件维护

---
 src/api/system/user.js |   51 +++++++++++++++++++++++++++++++++++++++++++++++++--
 1 files changed, 49 insertions(+), 2 deletions(-)

diff --git a/src/api/system/user.js b/src/api/system/user.js
index 4b261b2..79ab356 100644
--- a/src/api/system/user.js
+++ b/src/api/system/user.js
@@ -86,6 +86,48 @@
     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,
+  });
+}
 
 // 鐢ㄦ埛瀵嗙爜閲嶇疆
 export function updateUserPwd(oldPassword, newPassword) {
@@ -120,7 +162,7 @@
 // 淇濆瓨鎺堟潈瑙掕壊
 export function updateAuthRole(data) {
   return request({
-    url: "/system/user/authRole",
+    url: "/system/user/authRole/insertAuthRole",
     method: "post",
     data: data,
   });
@@ -134,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