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.
192 lines
6.0 KiB
192 lines
6.0 KiB
5 years ago
|
import request from '../utils/rerquest'
|
||
|
/**
|
||
|
* 党建声音参与排行Top10
|
||
|
@param {string} DeptId 部门id
|
||
|
@param {string} someMonthsType 数据时间类型(1:最近1个月,2:最近3个月,3:最近半年,4:最近一年)
|
||
|
@param {string} orderType 排序方式(1.正序Desc,2.倒序Asc)
|
||
|
@param {string} orderStyle 排序类型(1.人数,2.人次)
|
||
|
*
|
||
|
*/
|
||
|
export function getVoiceDynamicTop10({ DeptId, someMonthsType, orderType, orderStyle }: RequestAPIOptionsLogin) {
|
||
|
return request({
|
||
|
method: 'GET',
|
||
|
url: 'cloudAnalysis/voice/getVoiceDynamicTop10',
|
||
|
options: {
|
||
|
DeptId,
|
||
|
someMonthsType,
|
||
|
orderType,
|
||
|
orderStyle,
|
||
|
}
|
||
|
})
|
||
|
}
|
||
|
|
||
|
|
||
|
/**
|
||
|
获得街道机构列表
|
||
|
*
|
||
|
*/
|
||
|
export function getStreetList() {
|
||
|
return request({
|
||
|
method: 'GET',
|
||
|
url: 'cloudAnalysis/home/getStreetList',
|
||
|
})
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
获得党员平台参与情况
|
||
|
* @param {string} deptId 部门id
|
||
|
*/
|
||
|
export function getAllDynamicStatistics({ deptId }: RequestAPIOptionsLogin) {
|
||
|
return request({
|
||
|
method: 'GET',
|
||
|
url: `cloudAnalysis/dynamic/getAllDynamicStatistics`,
|
||
|
options: {
|
||
|
deptId,
|
||
|
}
|
||
|
})
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
党员互动参与趋势
|
||
|
* @param {string} deptId 部门id
|
||
|
* @param {string} someMonthsType 数据时间类型(1:最近1个月,2:最近3个月,3:最近半年,4:最近一年)
|
||
|
*/
|
||
|
export function getPartyDynamicTrend({ deptId, someMonthsType }: RequestAPIOptionsLogin) {
|
||
|
return request({
|
||
|
method: 'GET',
|
||
|
url: 'cloudAnalysis/dynamic/getPartyDynamicTrend',
|
||
|
options: {
|
||
|
deptId,
|
||
|
someMonthsType
|
||
|
}
|
||
|
})
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
参与占比分析
|
||
|
* @param {string} deptId 部门id
|
||
|
* @param {string} someMonthsType 数据时间类型(1:最近1个月,2:最近3个月,3:最近半年,4:最近一年)
|
||
|
@param {string} analysisType 数据时间类型(分析类型:1.平台,2.声音,3.议事,4.社群)
|
||
|
*/
|
||
|
export function getDynamicPercentAnalysis({ DeptId, someMonthsType, analysisType }: RequestAPIOptionsLogin) {
|
||
|
return request({
|
||
|
method: 'GET',
|
||
|
url: 'cloudAnalysis/dynamic/getDynamicPercentAnalysis',
|
||
|
options: {
|
||
|
DeptId,
|
||
|
someMonthsType,
|
||
|
analysisType
|
||
|
}
|
||
|
})
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
党员议事情况
|
||
|
* @param {string} deptId 部门id
|
||
|
* @param {string} someMonthsType 数据时间类型(1:最近1个月,2:最近3个月,3:最近半年,4:最近一年)
|
||
|
*/
|
||
|
export function getEventDynamicCondition({ DeptId, someMonthsType }: RequestAPIOptionsLogin) {
|
||
|
return request({
|
||
|
method: 'GET',
|
||
|
url: 'cloudAnalysis/event/getEventDynamicCondition',
|
||
|
options: {
|
||
|
DeptId,
|
||
|
someMonthsType,
|
||
|
}
|
||
|
})
|
||
|
}
|
||
|
/**
|
||
|
党员参与议事排行Top10
|
||
|
* @param {string} orderType 排序方式(1.正序Desc,2.倒序Asc)
|
||
|
* @param {string} orderStyle 排序类型(1.参与议事人数,2.参与议事人次,3.发起议题总数,4.转项目数,5.解决项目数,6.好评项目数)
|
||
|
* @param {string} deptId 部门id
|
||
|
* @param {string} someMonthsType 数据时间类型(1:最近1个月,2:最近3个月,3:最近半年,4:最近一年)
|
||
|
*/
|
||
|
export function getEventDynamicTop10({ deptId, orderType, orderStyle, someMonthsType}: RequestAPIOptionsLogin) {
|
||
|
return request({
|
||
|
method: 'GET',
|
||
|
url: 'cloudAnalysis/event/getEventDynamicTop10',
|
||
|
options: {
|
||
|
deptId,
|
||
|
orderType,
|
||
|
orderStyle,
|
||
|
someMonthsType
|
||
|
}
|
||
|
})
|
||
|
}
|
||
|
/**
|
||
|
社群引领排行Top10
|
||
|
* @param {string} orderType 排序方式(1.正序Desc,2.倒序Asc)
|
||
|
* @param {string} orderStyle 排序类型(1.党员参与人数,2.党员参与人次,3.党员建群数,4.群成员数,5.发布话题数,6.转议题数,7转话题数,8.引导解决数)
|
||
|
* @param {string} deptId 部门id
|
||
|
* @param {string} someMonthsType 数据时间类型(1:最近1个月,2:最近3个月,3:最近半年,4:最近一年)
|
||
|
*/
|
||
|
export function getGroupDynamicTop10({ deptId, orderType, orderStyle, someMonthsType }: RequestAPIOptionsLogin) {
|
||
|
return request({
|
||
|
method: 'GET',
|
||
|
url: 'cloudAnalysis/group/getGroupDynamicTop10',
|
||
|
options: {
|
||
|
deptId,
|
||
|
orderType,
|
||
|
orderStyle,
|
||
|
someMonthsType
|
||
|
}
|
||
|
})
|
||
|
}
|
||
|
/**
|
||
|
社群排行Top10
|
||
|
* @param {string} orderType 排序方式(1.正序Desc,2.倒序Asc)
|
||
|
* @param {string} orderStyle 排序类型(1.人数,2,话题,3.活跃次数)
|
||
|
* @param {string} DeptId 部门id
|
||
|
* @param {string} someMonthsType 数据时间类型(1:最近1个月,2:最近3个月,3:最近半年,4:最近一年)
|
||
|
*/
|
||
|
export function getGroupTop10({ deptId, orderType, orderStyle, someMonthsType }: RequestAPIOptionsLogin) {
|
||
|
return request({
|
||
|
method: 'GET',
|
||
|
url: 'cloudAnalysis/group/getGroupTop10',
|
||
|
options: {
|
||
|
deptId,
|
||
|
orderType,
|
||
|
orderStyle,
|
||
|
someMonthsType
|
||
|
}
|
||
|
})
|
||
|
}
|
||
|
/**
|
||
|
党群成效排名Top10
|
||
|
* @param {string} orderType 排序方式(1.正序Desc,2.倒序Asc)
|
||
|
* @param {string} orderStyle 排序类型:(1.引导解决项目数,2.项目好评数)
|
||
|
* @param {string} deptId 部门id
|
||
|
* @param {string} someMonthsType 数据时间类型(1:最近1个月,2:最近3个月,3:最近半年,4:最近一年)
|
||
|
*/
|
||
|
export function getGroupEffectTop10({ deptId, orderType, orderStyle, someMonthsType }: RequestAPIOptionsLogin) {
|
||
|
return request({
|
||
|
method: 'GET',
|
||
|
url: 'cloudAnalysis/group/getGroupEffectTop10',
|
||
|
options: {
|
||
|
deptId,
|
||
|
orderType,
|
||
|
orderStyle,
|
||
|
someMonthsType
|
||
|
}
|
||
|
})
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
党建参与情况
|
||
|
* @param {string} deptId 部门id
|
||
|
* @param {string} someMonthsType 数据时间类型(1:最近1个月,2:最近3个月,3:最近半年,4:最近一年)
|
||
|
* @param {string} analysisType 分析类型:1.平台,2.声音,3.议事,4.社群
|
||
|
*/
|
||
|
export function getDynamicCondition({ deptId, someMonthsType, analysisType }: RequestAPIOptionsLogin) {
|
||
|
return request({
|
||
|
method: 'GET',
|
||
|
url: 'cloudAnalysis/dynamic/getDynamicCondition',
|
||
|
options: {
|
||
|
deptId,
|
||
|
someMonthsType,
|
||
|
analysisType
|
||
|
}
|
||
|
})
|
||
|
}
|