Commit f35806a1 authored by 李松's avatar 李松

添加大屏应急事件详情接口

parent 9a40f8af
...@@ -799,4 +799,54 @@ public class AlertCalledController extends BaseController { ...@@ -799,4 +799,54 @@ public class AlertCalledController extends BaseController {
return ResponseHelper.buildResponse(iAlertCalledService.getDetail(id)); return ResponseHelper.buildResponse(iAlertCalledService.getDetail(id));
} }
/**
* 应急大屏使用
*
* @param id 主键
* @return
*/
@TycloudOperation(ApiLevel = UserType.AGENCY,needAuth = false)
@GetMapping(value = "/basicDetail/{id}")
@ApiOperation(httpMethod = "GET", value = "根据id获取救援信息", notes = "根据id获取救援信息")
public ResponseModel<Object> getBasicDetail(@PathVariable Long id) {
return ResponseHelper.buildResponse(iAlertCalledService.getBasicDetail(id));
}
/**
* 应急大屏使用
*
* @param id 主键
* @return
*/
@TycloudOperation(ApiLevel = UserType.AGENCY,needAuth = false)
@GetMapping(value = "/dispatchRecord/{id}")
@ApiOperation(httpMethod = "GET", value = "根据id获取调派信息", notes = "根据id获取调派信息")
public ResponseModel<Object> getDispatchRecord(@PathVariable Long id) {
return ResponseHelper.buildResponse(iAlertCalledService.getDispatchRecord(id));
}
/**
* 应急大屏使用
*
* @param id 主键
* @return
*/
@TycloudOperation(ApiLevel = UserType.AGENCY,needAuth = false)
@GetMapping(value = "/followRecords/{id}")
@ApiOperation(httpMethod = "GET", value = "根据id获取回访信息", notes = "根据id获取回访信息")
public ResponseModel<Object> getFollowRecords(@PathVariable Long id) {
return ResponseHelper.buildResponse(iAlertCalledService.getFollowRecords(id));
}
/**
* 应急大屏使用
*
* @param id 主键
* @return
*/
@TycloudOperation(ApiLevel = UserType.AGENCY,needAuth = false)
@GetMapping(value = "/callRecords/{id}")
@ApiOperation(httpMethod = "GET", value = "根据id获取通话记录信息", notes = "根据id获取通话记录信息")
public ResponseModel<Object> getCallRecords(@PathVariable Long id) {
return ResponseHelper.buildResponse(iAlertCalledService.getCallRecords(id));
}
} }
[
{
"dataIndex": "unitName",
"width": 150,
"align": "left",
"title": "维保单位",
"key": "AA6DE857-C788-494F-8F16-2ECFC7E34528"
},
{
"dataIndex": "address",
"width": 160,
"align": "left",
"title": "地址",
"key": "611DAF3D-5B79-466C-BEF2-CC91580091FA"
},
{
"dataIndex": "userName1",
"width": 160,
"align": "left",
"title": "主要负责人",
"key": "611DAF3D-5B79-466C-BEF2-CC91580091FA2"
},
{
"dataIndex": "phone1",
"width": 160,
"align": "left",
"title": "主要负责人电话",
"key": "611DAF3D-5B79-466C-BEF2-CC91580091FA3"
}
]
\ No newline at end of file
[
{
"dataIndex": "orgType",
"width": 150,
"align": "left",
"title": "响应级别",
"key": "AA6DE857-C788-494F-8F16-2ECFC7E34528"
},
{
"dataIndex": "responseOrgName",
"width": 150,
"align": "left",
"title": "单位名称",
"key": "D1CB84A4-E037-446A-9469-65B76E381585"
},
{
"dataIndex": "responseUserName",
"width": 160,
"align": "left",
"title": "联系人",
"key": "611DAF3D-5B79-466C-BEF2-CC91580091FA"
},
{
"dataIndex": "responseUserTel",
"width": 160,
"align": "left",
"title": "联系电话",
"key": "611DAF3D-5B79-466C-BEF2-CC91580091FA1"
},
{
"dataIndex": "dispatchTime",
"width": 160,
"align": "left",
"title": "派遣时间",
"key": "611DAF3D-5B79-466C-BEF2-CC91580091FA2"
},
{
"dataIndex": "arriveTime",
"width": 160,
"align": "left",
"title": "到达时间",
"key": "611DAF3D-5B79-466C-BEF2-CC91580091FA3"
}
]
\ No newline at end of file
[
{
"dataIndex": "name",
"width": 150,
"align": "left",
"title": "名称",
"key": "AA6DE857-C788-494F-8F16-2ECFC7E34528"
},
{
"dataIndex": "address",
"width": 150,
"align": "left",
"title": "地址",
"key": "D1CB84A4-E037-446A-9469-65B76E381585"
},
{
"dataIndex": "distance",
"width": 160,
"align": "left",
"title": "距离",
"key": "611DAF3D-5B79-466C-BEF2-CC91580091FA"
},
{
"dataIndex": "rescueLeader",
"width": 160,
"align": "left",
"title": "救援负责人",
"key": "611DAF3D-5B79-466C-BEF2-CC91580091FA1"
},
{
"dataIndex": "rescueLeaderPhone",
"width": 160,
"align": "left",
"title": "电话",
"key": "611DAF3D-5B79-466C-BEF2-CC91580091FA2"
}
]
\ No newline at end of file
[
{
"key": "dispatchStatus",
"label": "派遣状态",
"type": "text"
},
{
"key": "dispatchUserName",
"label": "派遣人",
"type": "text"
},
{
"key": "dispatchTime",
"label": "派遣时间",
"type": "text"
},
{
"key": "arriveStatus",
"label": "到达状态",
"type": "text"
},
{
"key": "arriveTime",
"label": "到达时间",
"type": "text"
},
{
"key": "arriveUserName",
"label": "记录人",
"type": "text"
},
{
"key": "arriveFeedbackType",
"label": "反馈方式",
"type": "text"
},
{
"key": "casualtiesStatus",
"label": "伤亡状态",
"type": "text"
},
{
"key": "casualtiesInfo",
"label": "受伤人数",
"type": "text"
},
{
"key": "dieNum",
"label": "死亡人数",
"type": "text"
},
{
"key": "rescueStatus",
"label": "救援状态",
"type": "text"
},
{
"key": "rescueTime",
"label": "完成时间",
"type": "text"
},
{
"key": "rescueUserName",
"label": "记录人",
"type": "text"
},
{
"key": "rescueFeedbackType",
"label": "反馈方式",
"type": "text"
},
{
"key": "isTimeout",
"label": "是否超时",
"type": "text"
},
{
"key": "arriveUseTime",
"label": "救援时长",
"type": "text"
}
]
\ No newline at end of file
[
{
"key": "responseUserName",
"label": "维保响应人",
"type": "text"
},
{
"key": "responseUserTel",
"label": "响应电话",
"type": "text"
},
{
"key": "feedbackType",
"label": "反馈方式",
"type": "text"
},
{
"key": "fixResult",
"label": "维修结果",
"type": "text"
},
{
"key": "feedbackFinishTime",
"label": "维修完成时间",
"type": "text"
},
{
"key": "saveFeedbackUser",
"label": "维修回访人",
"type": "text"
},
{
"key": "errorResult",
"label": "故障原因",
"type": "text"
},
{
"key": "fixRemark",
"label": "备注",
"type": "text"
}
]
\ No newline at end of file
[
{
"key": "emergency",
"label": "救援人",
"type": "text"
},
{
"key": "emergencyCall",
"label": "救援电话",
"type": "text"
},
{
"key": "feedbackFinishTime",
"label": "回访时间",
"type": "text"
},
{
"key": "feedbackUname",
"label": "救援回访人",
"type": "text"
},
{
"key": "saveFeedbackResult",
"label": "回访结果",
"type": "text"
}
]
\ No newline at end of file
...@@ -10,6 +10,62 @@ ...@@ -10,6 +10,62 @@
"apiPath":"/elevator/alert-called/detail/{id}" "apiPath":"/elevator/alert-called/detail/{id}"
} }
} }
},
{
"key": "basic",
"displayName": "救援过程",
"renderType": "basic",
"dataConfig": {
"api": {
"httpMethod":"GET",
"apiPath":"/elevator/alert-called/basicDetail/{id}"
}
}
},
{
"key": "dispatchRecord",
"displayName": "调派记录",
"renderType": "table",
"dataConfig": {
"api": {
"httpMethod":"GET",
"apiPath":"/elevator/alert-called/dispatchRecord/{id}"
}
}
},
{
"key": "followRecords",
"displayName": "回访记录",
"renderType": "basic",
"dataConfig": {
"api": {
"httpMethod":"GET",
"apiPath":"/elevator/alert-called/followRecords/{id}"
}
}
},
{
"key": "callRecords",
"displayName": "通话记录",
"renderType": "table",
"formSeq": "",
"dataConfig": {
"api": {
"httpMethod":"GET",
"apiPath":"/elevator/alert-called/callRecords/{id}"
}
},
"visualParams": {
"rowKey": "record",
"showPage" : false,
"columns": [
{"dataRenderingMode": "defaultText","dataIndex": "recDate","width": 150,"align": "left","title": "通话时间","key": "AA6DE857-C788-494F-8F16-2ECFC7E34528"},
{"dataRenderingMode": "defaultText","dataIndex": "fileType","width": 160,"align": "left","title": "通话类型","key": "611DAF3D-5B79-466C-BEF2-CC91580091FA"},
{"dataRenderingMode": "defaultText","dataIndex": "tel","width": 150,"align": "left","title": "电话号码","key": "D1CB84A4-E037-446A-9469-65B76E381585"},
{"dataRenderingMode": "defaultText","dataIndex": "telTime","width": 180,"align": "left","title": "通话时长","key": "0BB7318F-5134-42B6-A835-FC86D68066C2"}
]
}
} }
], ],
"content": { "content": {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment