URL | pp.projectStatistics.business_statistics |
---|---|
请求方式 | POST |
-
请求参数
参数名 类型 必填 说明 token [string] 是 App登录Token week [string] 否 周 month [string] 否 月份 (默认空本月) quarter [string] 否 季度(1,2,3,4) year [string] 否 年 custom_time [string] 否 自定义时间两个时间戳,开始和结束,中间以逗号隔开 -
返回结果参数说明
参数名 类型 必含 说明 status [int] 是 返回数据状态 1:成功,0:失败 msg [string] 是 返回提示信息 data [json] 拜访列表
{
list = {
"all_ongoing_pro" = {
accumulation = (//累计
{
"dep_id" = 4484;//部门id
list = (//项目列表
{
amount = 0;//金额
count = 0;//数量
"down_payment" = 0;//预计回款
"end_time" = 1580486399;//完成时间
name = "2020-1";//项目名称
"start_time" = 1577808000;//开始时间
}
);
name = "内蒙古蒙水水资源股份有限公司";//客户名称
}
);
addition = (
{
"dep_id" = 4484;
list = (
{
amount = 0;
count = 0;
"down_payment" = 0;
"end_time" = 1580486399;
name = "2020-1";
"start_time" = 1577808000;
}
);
name = "内蒙古蒙水水资源股份有限公司";
}
);
list = "17693,17715,17722,17814,17815,17823,17825,17826,17873,17967,17968,18142,18143,18147,18340,18341,18342,18401,18441,18444,18451,18455,18482,18617,18642,18724,18763,18797,18888,18889,18898,19366,19367,19368,19549";
};
"only_ongoing_pro" = {//只统计未关单
accumulation = (
{
"dep_id" = 4484;
list = (
{
amount = 0;
count = 0;
"down_payment" = 0;
"end_time" = 1580486399;
name = "2020-1";
"start_time" = 1577808000;
}
);
name = "内蒙古蒙水水资源股份有限公司";
}
);
addition = (
{
"dep_id" = 4484;
list = (
{
amount = 0;
count = 0;
"down_payment" = 0;
"end_time" = 1580486399;
name = "2020-1";
"start_time" = 1577808000;
}
);
name = "内蒙古蒙水水资源股份有限公司";
}
);
list = "17693,17715,17722,17814,17815,17823,17825,17826,17873,17967,17968,18142,18143,18147,18340,18341,18342,18401,18441,18444,18451,18455,18482,18617,18642,18724,18763,18797,18888,18889,18898,19366,19367,19368,19549";
};
};
"this_month" = 3;
"this_quarter" = 1;
"this_week" = 14;
"this_year" = 2020;
}
网友评论