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.
44 lines
817 B
44 lines
817 B
import request from '@/utils/request'
|
|
|
|
/**
|
|
* 通讯录列表
|
|
* @param {*} data
|
|
*/
|
|
export function addressListAPI(data) {
|
|
return request({
|
|
url: 'oa/addresslist/queryList',
|
|
method: 'post',
|
|
data: data,
|
|
headers: {
|
|
'Content-Type': 'application/json;charset=UTF-8'
|
|
}
|
|
})
|
|
}
|
|
|
|
// /**
|
|
// * 通讯录部门列表
|
|
// * @param {*} data
|
|
// */
|
|
// export function queryListNameByDept(data) {
|
|
// return request({
|
|
// url: 'adminUser/queryListNameByDept',
|
|
// method: 'post',
|
|
// data: data,
|
|
// headers: {
|
|
// 'Content-Type': 'application/json;charset=UTF-8'
|
|
// }
|
|
// })
|
|
// }
|
|
|
|
/**
|
|
* 通讯录关注状态切换
|
|
* @param {*} data
|
|
*/
|
|
export function toggleAttentionAPI(data) {
|
|
return request({
|
|
url: 'oa/addresslist/userStar',
|
|
method: 'post',
|
|
data: data
|
|
})
|
|
}
|