物业看板优化

This commit is contained in:
yangkunan 2024-08-09 18:23:29 +08:00
parent dc8633b663
commit 3da2de050a
3 changed files with 61 additions and 0 deletions

View File

@ -22,6 +22,7 @@
<file url="file://$PROJECT_DIR$/dw/dws/dws_finance_fees_serial_m.sql" dialect="MySQL" />
<file url="file://$PROJECT_DIR$/dw/ods/ods_cost_budget_data_d.sql" dialect="Oracle" />
<file url="file://$PROJECT_DIR$/finereport/kanban/mobile/创新生态_mobile.sql" dialect="MySQL" />
<file url="file://$PROJECT_DIR$/finereport/kanban/mobile/物业_mobile.sql" dialect="MySQL" />
<file url="file://$PROJECT_DIR$/finereport/kanban/pc/创新生态.sql" dialect="MySQL" />
<file url="file://$PROJECT_DIR$/finereport/kanban/pc/商业.sql" dialect="MySQL" />
<file url="file://$PROJECT_DIR$/finereport/kanban/pc/工程.sql" dialect="MySQL" />

View File

@ -0,0 +1,44 @@
-- 【月报事率】
select
incident_ym
, sum(response_timely_incident_num) / sum(incident_num) response_timely_rate
, sum(completed_incident_num) / sum(incident_num) completed_rate
, sum(completed_incident_num - completed_not_close_incident_num) / sum(incident_num) close_rate
, sum(follow_up_incident_num) / sum(incident_num) follow_up_rate
, sum(delay_incident_num) / sum(incident_num) delay_rate
, sum(delay_incident_num) delay_incident_num
, sum(follow_up_satisfied_incident_num) / sum(follow_up_incident_num) follow_up_satisfied_rate
, sum(follow_up_evaluate_incident_num) / sum(follow_up_incident_num) follow_up_satisfied_rate1 --
-- 回访满意量 / -- 回访量
, sum(tousu_close_incident_num) / sum(tousu_incident_num) tousu_close_rate
, sum(tousu_incident_num) tousu_incident_num
FROM dws_estate_incident_info_m
where left(incident_ym,4) = '${left(p_ym,4)}'
AND incident_ym <> DATE_FORMAT(CURDATE(), '%Y%m')
${IF(LEN(p_area)>0," AND organ_code IN ('"+JOINARRAY(p_area,"','")+"')", "")}
${if(left(fine_role,2)=="项目","and comm_name = '"+GETUSERDEPARTMENTS(3)+"'","")}
group by incident_ym
order by incident_ym
follow_up_satisfied_rate, EXACT(
incident_ym,
CONCATENATE(
year(TODAY()), -- 当前年
if(
LEN(month(today())-1) = 1, --
CONCATENATE("0",month(today())-1),
month(today())-1
)
)
)
EXACT(text1,text2):EXACT函数返回TRUEFALSEEXACT函数可以区分大小写EXACT函数来检测输入文档的文字
Text1:
Text2:
:
EXACT("Spreadsheet","Spreadsheet")TRUE
EXACT("Spreadsheet","S preadsheet")FALSE
EXACT("Spreadsheet","spreadsheet")FALSE

View File

@ -0,0 +1,16 @@
# 【2024-08-09修改】
**物业看板**
- 延期单量想改报事回访评价满意度 【<font color = 'red'>pc、移动已修改完成</font>
- 折线图显示标签 【<font color = 'red'>除客满情况未加,其余已加</font>
- 收缴率改成按综合收缴率排名【<font color = 'red'>pc、移动端已修改完成</font>
- 综合收缴率放最前面【<font color = 'red'>废弃</font>
- 显示前3后3【<font color = 'red'>完成</font>
- 点击后扩展【<font color = 'red'>完成</font>
- 以最后一列排序,最后一列加粗【<font color = 'red'>pc、移动端已修改完成</font>
- 投诉按投诉量排名【<font color = 'red'>pc、移动端已修改完成</font>
- 报事信息不要
- 监控筛选条件问题【<font color = 'red'>已完成修改</font>
- 监控放大问题【<font color = 'red'>无法处理</font>