|
@@ -1,3 +1,237 @@
|
|
|
+
|
|
|
+
|
|
|
+### 万达管理说明书附加数据----新增数接口定义----2021.01.26
|
|
|
+
|
|
|
+#### 1.查看数据是否填写完整
|
|
|
+
|
|
|
+请求地址:
|
|
|
+
|
|
|
+http://127.0.0.1:8088/data/addData/checkComplete
|
|
|
+
|
|
|
+请求参数:
|
|
|
+
|
|
|
+```
|
|
|
+{
|
|
|
+"projectId":"1000265", //项目广场id。必填
|
|
|
+"floor":"b2", //楼层编码,必填
|
|
|
+"systemCode":"1003" //专业系统编码,必填
|
|
|
+}
|
|
|
+```
|
|
|
+
|
|
|
+返回参数:
|
|
|
+
|
|
|
+成功:
|
|
|
+
|
|
|
+```
|
|
|
+
|
|
|
+{
|
|
|
+ "result": "success", //状态信息 success:调用成功 fail:调用失败
|
|
|
+ "data":{
|
|
|
+ "isComplete":"false", //是否完整, true: 完整 false :不完整
|
|
|
+ "desc":"数据填写不完整,请检查并完善" // 描述信息
|
|
|
+ }
|
|
|
+}
|
|
|
+```
|
|
|
+
|
|
|
+失败:
|
|
|
+
|
|
|
+```
|
|
|
+{
|
|
|
+ "result": "fail", //状态信息 fail:调用失败
|
|
|
+ "message": "必填项不可为空" //描述信息
|
|
|
+}
|
|
|
+```
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+#### 2.消防系统数据预览/数据回显
|
|
|
+
|
|
|
+请求地址:
|
|
|
+
|
|
|
+http://127.0.0.1:8088/data/addData/previewFireControl
|
|
|
+
|
|
|
+请求参数:
|
|
|
+
|
|
|
+```
|
|
|
+{
|
|
|
+"projectId":"1000265", //项目广场id,必填
|
|
|
+"floor":"b2", //楼层编码,必填
|
|
|
+"systemCode":"1003", //专业系统编码,必填
|
|
|
+"getTotal":"1" //是否获取总数,0:不获取,1:获取
|
|
|
+}
|
|
|
+```
|
|
|
+
|
|
|
+返回参数:
|
|
|
+
|
|
|
+```
|
|
|
+{
|
|
|
+ "result": "success", //状态信息 success:调用成功 fail:调用失败
|
|
|
+ "data":{
|
|
|
+ "infoList":[{
|
|
|
+ "fireZone":"C1-9", //防火分区
|
|
|
+ "isFm": "1", //是否属于工程物业管理范围,0:否,1:是
|
|
|
+ "hostNum":"2", //主机编号
|
|
|
+ "loopNum":"5", //回路编号
|
|
|
+ "smokeCount":"20", //烟感数量
|
|
|
+ "warmCount":"12", //温感数量
|
|
|
+ "handNewCount":"13", //手报数量
|
|
|
+ "fireHydrantCount":"15", //消火栓数量
|
|
|
+ "moduleCount":"33" //模块数量
|
|
|
+ },{
|
|
|
+ "fireZone":"C1-10", //防火分区
|
|
|
+ "isFm": "0", //是否属于工程物业管理范围,0:否,1:是
|
|
|
+ "manageScope":"范围11" //管理范围
|
|
|
+ } ],
|
|
|
+ "totalCount":{ //总数量,当传入的参数getTotal的值为1时有该数据
|
|
|
+ "smokeTotalCount":"20", //烟感总数量
|
|
|
+ "warmTotalCount":"12", //温感总数量
|
|
|
+ "handNewTotalCount":"13", //手报总数量
|
|
|
+ "fireHydrantTotalCount":"15", //消火栓总数量
|
|
|
+ "moduleTotalCount":"33" //模块总数量
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|
|
|
+```
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+#### 3.弱电系统数据预览/回显
|
|
|
+
|
|
|
+请求地址
|
|
|
+
|
|
|
+http://127.0.0.1:8088/data/addData/previewWeakCurrent
|
|
|
+
|
|
|
+请求参数:
|
|
|
+
|
|
|
+```
|
|
|
+{
|
|
|
+"projectId":"1000265", //项目广场id,必填
|
|
|
+"floor":"b2", //楼层编码,必填
|
|
|
+"systemCode":"1004", //专业系统编码,必填
|
|
|
+"getTotal":"1" //是否获取总数,0:不获取,1:获取
|
|
|
+}
|
|
|
+```
|
|
|
+
|
|
|
+返回参数:
|
|
|
+
|
|
|
+```
|
|
|
+{
|
|
|
+ "result": "success", //状态信息 success:调用成功 fail:调用失败
|
|
|
+ "data":{
|
|
|
+ "infoList":[{
|
|
|
+ "fireZone":"C区", //分区
|
|
|
+ "monitorCount":"2", //监控系统数量
|
|
|
+ "baCount":"3", //BA系统数量
|
|
|
+ "ddcCount":"4", //DDC数量
|
|
|
+ "accessCount":"20" //门禁系统数量
|
|
|
+ },{
|
|
|
+ "fireZone":"C区", //分区
|
|
|
+ "monitorCount":"2", //监控系统数量
|
|
|
+ "baCount":"3", //BA系统数量
|
|
|
+ "ddcCount":"4", //DDC数量
|
|
|
+ "accessCount":"20" //门禁系统数量
|
|
|
+ } ],
|
|
|
+ "totalCount":{ //总数量,当传入的参数getTotal的值为1时有该数据
|
|
|
+ "monitorTotalCount":"2", //监控系统总数量
|
|
|
+ "baTotalCount":"3", //BA系统总数量
|
|
|
+ "ddcTotalCount":"4", //DDC总数量
|
|
|
+ "accessTotalCount":"20" //门禁系统总数量
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|
|
|
+```
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+#### 4.消防系统编辑完保存
|
|
|
+
|
|
|
+请求地址:
|
|
|
+
|
|
|
+http://127.0.0.1:8088/data/addData/saveFireControl
|
|
|
+
|
|
|
+请求参数:
|
|
|
+
|
|
|
+```
|
|
|
+{
|
|
|
+"projectId":"1000265", //项目广场id,必填
|
|
|
+"floor":"b2", //楼层编码,必填
|
|
|
+"systemCode":"1003", //专业系统编码,必填
|
|
|
+"data":[{ //下面的数据至少有一项有值
|
|
|
+ "fireZone":"C1-9", //防火分区
|
|
|
+ "isFm": "1", //是否属于工程物业管理范围,0:否,1:是,必填
|
|
|
+ "hostNum":"2", //主机编号
|
|
|
+ "loopNum":"5", //回路编号
|
|
|
+ "smokeCount":"20", //烟感数量
|
|
|
+ "warmCount":"12", //温感数量
|
|
|
+ "handNewCount":"13", //手报数量
|
|
|
+ "fireHydrantCount":"15", //消火栓数量
|
|
|
+ "moduleCount":"33" //模块数量
|
|
|
+ },{
|
|
|
+ "fireZone":"C1-10", //防火分区
|
|
|
+ "isFm": "0", //是否属于工程物业管理范围,0:否,1:是 ,必填
|
|
|
+ "manageScope":"范围11" //管理范围
|
|
|
+ }]
|
|
|
+}
|
|
|
+```
|
|
|
+
|
|
|
+返回参数:
|
|
|
+
|
|
|
+```
|
|
|
+{
|
|
|
+ "result": "success", //状态信息 success:调用成功 fail:调用失败
|
|
|
+ "message": "保存成功" //描述信息
|
|
|
+}
|
|
|
+```
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+#### 5.弱电系统编辑完保存
|
|
|
+
|
|
|
+请求地址:
|
|
|
+
|
|
|
+http://127.0.0.1:8088/data/addData/saveWeakCurrent
|
|
|
+
|
|
|
+请求参数:
|
|
|
+
|
|
|
+```
|
|
|
+{
|
|
|
+"projectId":"1000265", //项目广场id,必填
|
|
|
+"floor":"b2", //楼层编码,必填
|
|
|
+"systemCode":"1003", //专业系统编码,必填
|
|
|
+"data":[{
|
|
|
+ "fireZone":"C区", //分区
|
|
|
+ "monitorCount":"2", //监控系统数量
|
|
|
+ "baCount":"3", //BA系统数量
|
|
|
+ "ddcCount":"4", //DDC数量
|
|
|
+ "accessCount":"20" //门禁系统数量
|
|
|
+ },{
|
|
|
+ "fireZone":"D区", //分区
|
|
|
+ "monitorCount":"2", //监控系统数量
|
|
|
+ "baCount":"3", //BA系统数量
|
|
|
+ "ddcCount":"4", //DDC数量
|
|
|
+ "accessCount":"20" //门禁系统数量
|
|
|
+ } ]
|
|
|
+}
|
|
|
+
|
|
|
+```
|
|
|
+
|
|
|
+返回:
|
|
|
+
|
|
|
+```
|
|
|
+{
|
|
|
+ "result": "success", //状态信息 success:调用成功 fail:调用失败
|
|
|
+ "message": "保存成功" //描述信息
|
|
|
+}
|
|
|
+```
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+### 万达管理说明书新增数据接口定义----2021.01.26--------end
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
#### 已开发 基础接口: 记录PV/UV
|
|
|
|
|
|
请求地址
|
|
@@ -339,6 +573,7 @@ POST /data/base/queryTabStatistics
|
|
|
|
|
|
接口说明
|
|
|
```
|
|
|
+
|
|
|
```
|
|
|
请求地址
|
|
|
```
|
|
@@ -396,6 +631,7 @@ keyword=关键字1:字段名11,字段名12;关键字2:字段名21,字段名22;//
|
|
|
|
|
|
接口说明
|
|
|
```
|
|
|
+
|
|
|
```
|
|
|
请求地址
|
|
|
```
|
|
@@ -2470,7 +2706,7 @@ systemCode:系统编号
|
|
|
"count": 3
|
|
|
}
|
|
|
|
|
|
-```
|
|
|
+```
|
|
|
|
|
|
|
|
|
#### 更多设备卡片
|
|
@@ -2718,4 +2954,4 @@ floor = f1 //楼层 必填
|
|
|
|
|
|
文件流
|
|
|
如果没有则返回默认模板
|
|
|
-```
|
|
|
+```
|