{
"dataList": [
{
"label": "string",
"value": "string"
}
],
"dateRang": [
"string"
],
"selectType": "string",
"reviewState": "string",
"mbid": "string",
"queryObj": {},
"description": "string",
"selectKey": "string"
}
curl --location --request POST '/api/datastat/GetStatData' \
--header 'Content-Type: application/json' \
--data-raw '{
"dataList": [
{
"label": "string",
"value": "string"
}
],
"dateRang": [
"string"
],
"selectType": "string",
"reviewState": "string",
"mbid": "string",
"queryObj": {},
"description": "string",
"selectKey": "string"
}'
{
"errcode": 0,
"errmsg": "",
"result": {
"statData": [
{
"title": "成交客户数",
"tooltip": "提示",
"value": 1357,
"preValue": 123,
"prePercent": 12,
"description": "较上一周期(12.01-12.11)",
"type": "success"
}
],
"chartData": [
{
"data": [
{
"label": "",
"value": 0
}
],
"tableData": {
"columns": [
{
"dataIndex": "title",
"title": "机会阶段"
},
{
"dataIndex": "count",
"title": "数量/个"
},
{
"dataIndex": "money",
"title": "金额/元"
}
],
"data": [
{
"key": 0,
"title": "售前咨询",
"count": "0",
"money": "0",
"where": "",
"formKey": 158
},
{
"key": 1,
"title": "商务报价",
"count": "1",
"money": "10000",
"where": "",
"formKey": 158
},
{
"key": 2,
"title": "售中跟单",
"count": "0",
"money": "0",
"where": "",
"formKey": 158
},
{
"key": 3,
"title": "签约洽谈",
"count": "0",
"money": "0",
"where": "",
"formKey": 158
},
{
"key": 4,
"title": "签订合同",
"count": "0",
"money": "0",
"where": "",
"formKey": 158
},
{
"key": 5,
"title": "[未指定]",
"count": "0",
"money": "0",
"where": "",
"formKey": 158
}
]
},
"hasMapChart": true,
"title": "成交客户TOP10",
"yAxis": {
"suffix": "%"
}
}
],
"tableData": [
{
"tableKey": "hh_class",
"tabList": [
{
"label": "新增工单",
"value": 3
},
{
"label": "完成工单",
"value": 4
}
],
"headList": [
{
"dataIndex": "",
"title": "",
"children": [
{
"dataIndex": "",
"title": ""
}
]
}
],
"dataList": [],
"chartObj": {
"chartData": [
{
"label": "",
"value": 1
}
],
"groupValue": [],
"chartType": ""
},
"isEmps": true,
"relaCount": [
""
],
"relaCountLabel": "显示指标数据为0的产品",
"title": ""
}
],
"viewBtn": [],
"mbList": {
"label": "客户模板",
"defVal": "3",
"options": [
{
"label": "模板名称",
"value": "3"
}
]
},
"reviewState": {
"defVal": "4",
"options": [
{
"label": "审核通过",
"value": "4"
}
]
},
"pageTitle": "分组名称/菜单名称",
"tabList": [
{
"key": "1",
"tab": "地区成交周期"
}
]
}
}