Explorar o código

更新 '数据接口文档.md'

fengyanjie %!s(int64=4) %!d(string=hai) anos
pai
achega
dd27862a06
Modificáronse 1 ficheiros con 51 adicións e 0 borrados
  1. 51 0
      数据接口文档.md

+ 51 - 0
数据接口文档.md

@@ -1627,4 +1627,55 @@ id=1117//维保计划id  必填
             }
     }
 }
+```
+####  查询集团首页事项状态统计
+
+请求地址 GET /data/home/queryEventStatus
+
+参数说明
+```
+ccode=1002347 //管理分区编码 必填
+level=0//1集团 2中心 3区域 0广场 必填
+```
+
+返回结果
+
+```json
+
+{
+  "result" : "success",
+  "data" : {
+    "0" : [ { //类型(0:专维 1:维保任务 2:第三方视图)
+      "ccode" : "1000000000",
+      "cname" : "东北运营中心",
+      "rptGlsmsStatistics" : {
+        "total" : 1, //总数量
+        "unfinished" : 1, //未完成数量
+        "due_num" : 0, //任务剩余时间小于5天的数量
+        "type" : 0 
+      }
+    } ],
+    "1" : [ {//类型(0:专维 1:维保任务 2:第三方视图)
+      "ccode" : "1000000000",
+      "cname" : "东北运营中心",
+      "rptGlsmsStatistics" : {
+        "total" : 53,//总数量
+        "unfinished" : 53,//未完成数量
+        "due_num" : 1,//任务剩余时间小于5天的数量
+        "type" : 1
+      }
+    } ],
+    "2" : [ {//类型(0:专维 1:维保任务 2:第三方视图)
+      "ccode" : "1000000000",
+      "cname" : "东北运营中心",
+      "rptGlsmsStatistics" : {
+        "total" : 291,//总数量
+        "unfinished" : 291,//未完成数量
+        "due_num" : 0,//任务剩余时间小于5天的数量
+        "type" : 2
+      }
+    } ]
+  }
+}
+
 ```