import req from '@/request.js' const portal = window.context.portal const headers = { 'Content-type': 'application/x-www-form-urlencoded' } export default { //权属分布 belongStatistics(data, cb) { req.post(portal + `/biz/assetBusinessInfo/v1/belongStatistics`, data).then(res => { cb(res.data) }) }, //资产汇总 gatherStatistics(data, cb) { req.post(portal + `/biz/assetBusinessInfo/v1/gatherStatistics`, data).then(res => { cb(res.data) }) }, //资产属性分布 natureStatistics(data, cb) { req.post(portal + `/biz/assetBusinessInfo/v1/natureStatistics`, data).then(res => { cb(res.data) }) }, //资产业态情况 operationStatistics(data, cb) { req.post(portal + `/biz/assetBusinessInfo/v1/operationStatistics`, data).then(res => { cb(res.data) }) }, //资产来源情况 sourceStatistics(data, cb) { req.post(portal + `/biz/assetBusinessInfo/v1/sourceStatistics`, data).then(res => { cb(res.data) }) }, //资产状态情况 statusStatistics(data, cb) { req.post(portal + `/biz/assetBusinessInfo/v1/statusStatistics`, data).then(res => { cb(res.data) }) }, //资产类型分布 typeStatistics(data, cb) { req.post(portal + `/biz/assetBusinessInfo/v1/typeStatistics`, data).then(res => { cb(res.data) }) }, }