You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
63 lines
1.2 KiB
63 lines
1.2 KiB
import request from '../utils/rerquest'
|
|
|
|
/**
|
|
* 搜索联系人
|
|
* @param {string} keyWords 搜索内容
|
|
*
|
|
*/
|
|
export function getSearchOfficer({ keyWords}: RequestAPIOptionsLogin) {
|
|
return request({
|
|
method: 'GET',
|
|
url:'cloudAnalysis/organize/searchOfficer',
|
|
options:{
|
|
keyWords,
|
|
}
|
|
})
|
|
}
|
|
/**
|
|
* 搜索部门
|
|
* @param {string} keyWords 搜索内容
|
|
*
|
|
*/
|
|
export function getSearchDept({ keyWords}: RequestAPIOptionsLogin) {
|
|
return request({
|
|
method: 'GET',
|
|
url:'cloudAnalysis/organize/searchDept',
|
|
options:{
|
|
keyWords,
|
|
}
|
|
})
|
|
}
|
|
|
|
|
|
/**
|
|
* 获取网格的联系方式
|
|
* @param {string} deptKey 部门类型
|
|
* @param {string} deptId 部门id
|
|
*/
|
|
export function getGridMobileList({ deptKey, deptId }: RequestAPIOptionsLogin) {
|
|
return request({
|
|
method: 'GET',
|
|
url:'cloudAnalysis/organize/getGridMobileList',
|
|
options:{
|
|
deptKey,
|
|
deptId,
|
|
}
|
|
})
|
|
}
|
|
|
|
/**
|
|
* 获得组织接口列表
|
|
* @param {string} deptKey 部门类型
|
|
* @param {string} deptId 部门id
|
|
*/
|
|
export function getOrganizeList({ deptKey, deptId }: RequestAPIOptionsLogin) {
|
|
return request({
|
|
method: 'GET',
|
|
url:'cloudAnalysis/organize/getOrganizeList',
|
|
options:{
|
|
deptKey,
|
|
deptId,
|
|
}
|
|
})
|
|
}
|