From a68d8260e9c4a1e8709a1f5ba69430ccb95f70da Mon Sep 17 00:00:00 2001
From: zouyu <2723363702@qq.com>
Date: 星期三, 21 一月 2026 10:59:48 +0800
Subject: [PATCH] 浪潮对接单点登录:能耗管理系统3

---
 src/api/collaborativeApproval/enterpriseBook.js |   70 +++++++++++++++++-----------------
 1 files changed, 35 insertions(+), 35 deletions(-)

diff --git a/src/api/collaborativeApproval/enterpriseBook.js b/src/api/collaborativeApproval/enterpriseBook.js
index da6a139..4cc451a 100644
--- a/src/api/collaborativeApproval/enterpriseBook.js
+++ b/src/api/collaborativeApproval/enterpriseBook.js
@@ -3,65 +3,65 @@
 // 鏌ヨ涓汉閫氳褰�
 // 涓汉閫氳褰曢�氬父鏄敤鎴锋敹钘忔垨棰戠箒鑱旂郴鐨勪汉鍛�
 export function getPersonalContacts(page,query) {
-    return request({
-        url: '/staffContactsPersonal/getList',
-        method: 'get',
-        params: {
-            ...page,
-            ...query
-        }
-    })
+  return request({
+    url: '/staffContactsPersonal/getList',
+    method: 'get',
+    params: {
+      ...page,
+      ...query
+    }
+  })
 }
 
 // 娣诲姞鑱旂郴浜哄埌涓汉閫氳褰�
 export function addPersonalContact(data) {
-    return request({
-        url: '/staffContactsPersonal/add',
-        method: 'post',
-        data: data
-    })
+  return request({
+    url: '/staffContactsPersonal/add',
+    method: 'post',
+    data: data
+  })
 }
 
 // 浠庝釜浜洪�氳褰曠Щ闄よ仈绯讳汉
 export function removePersonalContact(id) {
-    return request({
-        url: '/staffContactsPersonal/delete/' + id,
-        method: 'delete'
-    })
+  return request({
+    url: '/staffContactsPersonal/delete/' + id,
+    method: 'delete'
+  })
 }
 
 // 鏌ヨ鍏叡閫氳褰�
 // 鍏叡閫氳褰曢�氬父鏄墍鏈夊憳宸ュ彲瑙佺殑鑱旂郴鏂瑰紡
 export function getPublicContacts(query) {
-    return request({
-        url: '/staff/contacts/public/list',
-        method: 'get',
-        params: query
-    })
+  return request({
+    url: '/staff/contacts/public/list',
+    method: 'get',
+    params: query
+  })
 }
 
 // 鏌ヨ鍗曚綅閫氳褰�
 // 鍗曚綅閫氳褰曢�氬父鎸夐儴闂ㄧ粍缁囩殑鍛樺伐鑱旂郴鏂瑰紡
 export function getCompanyContacts(query) {
-    return request({
-        url: '/staff/contacts/company/list',
-        method: 'get',
-        params: query
-    })
+  return request({
+    url: '/staff/contacts/company/list',
+    method: 'get',
+    params: query
+  })
 }
 
 // 鏌ヨ閮ㄩ棬閫氳褰曟爲缁撴瀯
 export function getDepartmentTree() {
-    return request({
-        url: '/staff/contacts/department/tree',
-        method: 'get'
-    })
+  return request({
+    url: '/staff/contacts/department/tree',
+    method: 'get'
+  })
 }
 
 // 鑾峰彇鍛樺伐璇︾粏淇℃伅
 export function getEmployeeDetail(employeeId) {
-    return request({
-        url: '/staff/staffOnJob/' + employeeId,
-        method: 'get'
-    })
+  return request({
+    url: '/staff/staffOnJob/' + employeeId,
+    method: 'get'
+  })
 }

--
Gitblit v1.9.3