榆山数据端小程序
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.

316 lines
12 KiB

import request from '../utils/rerquest'
/**
* -
* @param {string} streetId id
* @param {string} someMonthsType 1:最近1个月2:最近3个月3:最近半年4:最近一年 ,""
* @param {string} order 0 1
* @param {string} type 01-2-3-4-5-6-7
*/
export function rankingOfDevelopment ({ streetId, someMonthsType, order, type }: rankingOfDevelopmentApiOption) {
return request({
url: 'cloudAnalysis/partyworksituation/rankingOfDevelopment',
method: 'GET',
options: {
streetId,
someMonthsType,
order,
type
}
})
}
/**
* --
* @param {string} streetId id
* @param {string} someMonthsType 1:最近1个月2:最近3个月3:最近半年4:最近一年 ,""
*/
export function getResourceAmount ({ streetId, someMonthsType }:getResourceAmountApiOption) {
return request({
url: 'cloudAnalysis/partyworksituation/getResourceAmount',
method: 'GET',
options: {
streetId,
someMonthsType
}
})
}
/**
*
* @param {string} streetId id("")
* @param {string} someMonthsType 1:最近1个月2:最近3个月3:最近半年4:最近一年 ,""
* @param {string} categoryType 0:支部建设1
*/
export function analysisOfBranch ({ streetId, someMonthsType, categoryType }: analysisOfBranchApiOption) {
return request({
url: 'cloudAnalysis/partyworksituation/analysisOfBranch',
method: 'GET',
options: {
streetId,
someMonthsType,
categoryType
}
})
}
/**
* 1.
* 2.
* 3.--
* 4.
* 5
* 6
* @param {string} streetId id("")
* @param {string} someMonthsType 1:最近1个月2:最近3个月3:最近半年4:最近一年 ,""
* @param {string} categoryCode 121114怀151613.21232430
*/
export function deptAnalysisOfBranch ({ streetId, someMonthsType, categoryCode }: deptAnalysisOfBranchApiOption) {
return request({
url: 'cloudAnalysis/partyworksituation/deptAnalysisOfBranch',
method: 'GET',
options: {
streetId,
someMonthsType,
categoryCode
}
})
}
/**
*
* @param {string} streetId id
* @param {string} someMonthsType 1:最近1个月2:最近3个月3:最近半年4:最近一年 ,""
* @param {string} order 0 1
* @param {string} type 01-组织次数:2;-3-4-5-6-参加人数:7;-8-9-10-11怀-12怀-13
*/
export function rankingOfBranchActivities ({ streetId, someMonthsType, order, type }: rankingOfBranchActivitiesApiOption) {
return request({
url: 'cloudAnalysis/partyworksituation/rankingOfBranchActivities',
method: 'GET',
options: {
streetId,
someMonthsType,
order,
type
}
})
}
/**
*
* @param {string} streetId id
* @param {string} someMonthsType 1:最近1个月2:最近3个月3:最近半年4:最近一年 ,""
* @param {string} order 0 1
* @param {string} type 01-组织次数:2;-3-4-5-6-参加人数:7;-8-9-10-11怀-12怀-13
*/
export function rankingOfPartyDay ({ streetId, someMonthsType, order, type }: rankingOfPartyDayApiOption) {
return request({
url: 'cloudAnalysis/partyworksituation/rankingOfPartyDay',
method: 'GET',
options: {
streetId,
someMonthsType,
order,
type
}
})
}
/**
*
* @param {string} streetId id
* @param {string} someMonthsType 1:最近1个月2:最近3个月3:最近半年4:最近一年 ,""
* @param {string} order 0 1
* @param {string} type 01-组织次数:2;-3-4-5-6-参加人数:7;-8-9-10-11怀-12怀-13
*/
export function rankingOfPartyLearning ({ streetId, someMonthsType, order, type }: rankingOfPartyLearningApiOption) {
return request({
url: 'cloudAnalysis/partyworksituation/rankingOfPartyLearning',
method: 'GET',
options: {
streetId,
someMonthsType,
order,
type
}
})
}
/**
* --
* @param {string} streetId id
* @param {string} someMonthsType 1:最近1个月2:最近3个月3:最近半年4:最近一年
*/
export function getGroupDynamicCondition ({ streetId, someMonthsType }: getGroupDynamicConditionApiOption) {
return request({
url: 'cloudAnalysis/partyworksituation/partyLeadingInfo',
method: 'GET',
options: {
streetId,
someMonthsType
}
})
}
/**
* --
* @param {string} DeptId id
* @param {string} someMonthsType 1:最近1个月2:最近3个月3:最近半年4:最近一年
*/
export function getEventDynamicCondition ({ DeptId, someMonthsType }: getEventDynamicConditionApiOption) {
return request({
url: 'cloudAnalysis/event/getEventDynamicCondition',
method: 'GET',
options: {
DeptId,
someMonthsType
}
})
}
/**
* --
* @param {string} someMonthsType 1:最近1个月2:最近3个月3:最近半年4:最近一年
* @param {string} analysisType 1分析类型:1.平台2.3.4.
*/
export function getAllDynamicStatistics ({ someMonthsType, analysisType }: getAllDynamicStatisticsApiOption) {
return request({
url: 'cloudAnalysis/dynamic/getAllDynamicStatistics',
method: 'GET',
options: {
someMonthsType,
analysisType
}
})
}
/**
* --
* @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 }: getDynamicPercentAnalysisApiOption) {
return request({
url: 'cloudAnalysis/dynamic/getDynamicPercentAnalysis',
method: 'GET',
options: {
DeptId,
someMonthsType,
analysisType
}
})
}
/**
* --
* @param {string} streetId id
* @param {string} someMonthsType 1:最近1个月2:最近3个月3:最近半年4:最近一年 ,""
* @param {string} order 0 1
* @param {string} orderBy 0123456
*/
export function rankOfPartyJoin ({ streetId, someMonthsType, order, orderBy } : rankOfPartyJoinApiOption) {
return request({
url: 'cloudAnalysis/partyBasicSituation/rankOfPartyJoin',
method: 'GET',
options: {
streetId,
someMonthsType,
order,
orderBy
}
})
}
/**
*
* @param {string} streetId id
* @param {string} someMonthsType 1:最近1个月2:最近3个月3:最近半年4:最近一年 ,""
* @param {string} order 0 1
* @param {string} type 012345
*/
export function partyMembersPlayRole ({ streetId, someMonthsType, order, type }: partyMembersPlayRoleApiOption) {
return request({
url: 'cloudAnalysis/partyworksituation/partyMembersPlayRole',
method: 'GET',
options: {
streetId,
someMonthsType,
order,
type
}
})
}
/**
*  
*/
export function partyCaseNumberList() {
return request({
url: 'cloudAnalysis/partyBasicSituation/partyCaseNumberList',
method: 'GET'
})
}
/**
*  
* @param {string} categoryType 0 1
*/
export function partyDistributionList({ categoryType }: partyDistributionList) {
return request({
url: 'cloudAnalysis/partyBasicSituation/partyDistributionList',
method: 'GET',
options: {
categoryType
}
})
}
/**
* ()
* @param {string} streetId id
* @param {string} someMonthsType 1:最近1个月2:最近3个月3:最近半年4:最近一年 ,""
*/
export function getRegistrationPartyCase({ streetId, someMonthsType }: getRegistrationPartyCase) {
return request({
url: 'cloudAnalysis/partyBasicSituation/getRegistrationPartyCase',
method: 'GET',
options: {
streetId,
someMonthsType
}
})
}
/**
*
* @param {string} streetId id
* @param {string} someMonthsType 1:最近1个月2:最近3个月3:最近半年4:最近一年 ,""
*/
export function getPartyAgeCase({ streetId, someMonthsType }: getPartyAgeCase) {
return request({
url: 'cloudAnalysis/partyBasicSituation/getPartyAgeCase',
method: 'GET',
options: {
streetId,
someMonthsType
}
})
}
/**
*
* @param {string} streetId id
* @param {string} order 0 1
* @param {string} someMonthsType 1:最近1个月2:最近3个月3:最近半年4:最近一年
*/
export function getPartyRankList({ streetId, order, someMonthsType }: getPartyRankList) {
return request({
url: 'cloudAnalysis/user/getListPartyRank',
method: 'GET',
options: {
streetId,
order,
someMonthsType
}
})
}