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.
49 lines
1.3 KiB
49 lines
1.3 KiB
import request from '../utils/rerquest'
|
|
/**
|
|
获得街道机构列表
|
|
*
|
|
*/
|
|
export function getStreetList() {
|
|
return request({
|
|
method: 'GET',
|
|
url: 'cloudAnalysis/home/getStreetList',
|
|
})
|
|
}
|
|
|
|
/**
|
|
获得top10
|
|
@param {string} deptId 部门id
|
|
@param {string} orderType 排序类型:1点赞最多,2.吐槽最多
|
|
@param {number} someMonthsType 数据时间类型(1:最近1个月,2:最近3个月,3:最近半年,4:最近一年)
|
|
*
|
|
*/
|
|
export function getOfficerEvaTop10({ deptId, orderType, someMonthsType }: RequestAPIOptionsLogin) {
|
|
return request({
|
|
method: 'GET',
|
|
url: 'cloudAnalysis/evaluate/getOfficerEvaTop10',
|
|
options: {
|
|
deptId,
|
|
orderType,
|
|
someMonthsType,
|
|
}
|
|
})
|
|
}
|
|
|
|
/**
|
|
获得干部评价统计详情
|
|
@param {string} officerId 干部id
|
|
@param {string} someMonthsType 数据时间类型(1:最近1个月,2:最近3个月,3:最近半年,4:最近一年)
|
|
@param {string} evaluateType 统计类型:1.点赞,2.吐槽
|
|
*
|
|
*/
|
|
export function getOfficerEvaDetail({ officerId, someMonthsType ,evaluateType}: RequestAPIOptionsLogin) {
|
|
return request({
|
|
method: 'GET',
|
|
url: 'cloudAnalysis/evaluate/getOfficerEvaDetail',
|
|
options: {
|
|
officerId,
|
|
someMonthsType,
|
|
evaluateType,
|
|
}
|
|
})
|
|
}
|