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.
35 lines
778 B
35 lines
778 B
import api from '@/utils/api'
|
|
|
|
/**
|
|
* 进入首页查询TransactionTable
|
|
*/
|
|
export function transactionTable(userId, departmentId, roleId, ifClaimant, clientType) {
|
|
return api({
|
|
url: '/dashboard/transactionTable',
|
|
method: 'post',
|
|
params: {
|
|
userId: userId,
|
|
departmentId: departmentId,
|
|
roleId: roleId,
|
|
ifClaimant: ifClaimant,
|
|
clientType: clientType
|
|
},
|
|
paramsSerializer: function(params) {
|
|
return require('qs').stringify(params, { indices: false })
|
|
}
|
|
})
|
|
}
|
|
|
|
/**
|
|
* 首页报告统计柱状图数据查询
|
|
*/
|
|
export function getBarChartData(bglx, departmentId) {
|
|
return api({
|
|
url: '/dashboard/getBarChartData',
|
|
method: 'post',
|
|
params: {
|
|
bglx: bglx,
|
|
departmentId: departmentId
|
|
}
|
|
})
|
|
}
|
|
|