feat corres 接口

This commit is contained in:
duanliang
2025-01-16 15:26:11 +08:00
parent 2a11f91d36
commit 1bc9c62d3c
4 changed files with 214 additions and 119 deletions

24
src/api/common.js Normal file
View File

@@ -0,0 +1,24 @@
import request from './request'
// 部门列表
export function getComDeptsApi() {
return request({
url: '/api/largeScreen/com/depts',
method: 'get'
})
}
// 部门成员
export function getComDeptUsersApi(data) {
return request({
url: '/api/largeScreen/com/deptUsers',
method: 'get',
params: data
})
}
// 最近联系
export function getComRecordApi() {
return request({
url: '/api/largeScreen/com/record',
method: 'get'
})
}