|
@@ -1,5 +1,43 @@
|
|
|
import request from '@/utils/request'
|
|
|
|
|
|
+// 左侧获取部门信息
|
|
|
+export function getBaseInfo() {
|
|
|
+ return request({
|
|
|
+ url: '/center-emergency/VisuForestCloudMapController/getBaseInfo',
|
|
|
+ method: 'post',
|
|
|
+ })
|
|
|
+}
|
|
|
+// 左侧获取事件信息统计
|
|
|
+export function getTodayEvents(param,loading) {
|
|
|
+ return request({
|
|
|
+ url: '/center-emergency/VisuForestCloudMapController/getTodayEvents',
|
|
|
+ method: 'post',
|
|
|
+ data: param,
|
|
|
+ headers: {
|
|
|
+ loading: loading
|
|
|
+ },
|
|
|
+ })
|
|
|
+}
|
|
|
+// 左侧获取事件部门数量
|
|
|
+export function getDeptEventCount(param,loading) {
|
|
|
+ return request({
|
|
|
+ url: '/center-emergency/VisuForestCloudMapController/getDeptEventCount',
|
|
|
+ method: 'post',
|
|
|
+ data: param,
|
|
|
+ headers: {
|
|
|
+ loading: loading
|
|
|
+ },
|
|
|
+ })
|
|
|
+}
|
|
|
+// 右侧获取天气
|
|
|
+export function getWeather(param) {
|
|
|
+ return request({
|
|
|
+ url: '/center-emergency/VisuForestCloudMapController/getWeather',
|
|
|
+ method: 'post',
|
|
|
+ data: param
|
|
|
+ })
|
|
|
+}
|
|
|
+
|
|
|
// 右侧获取事件列表
|
|
|
export function getEventList(param,loading) {
|
|
|
return request({
|
|
@@ -11,6 +49,17 @@ export function getEventList(param,loading) {
|
|
|
},
|
|
|
})
|
|
|
}
|
|
|
+// 右侧获取曝光台列表
|
|
|
+export function getExposureStage(param,loading) {
|
|
|
+ return request({
|
|
|
+ url: 'center-emergency/VisuForestCloudMapController/getExposureStage',
|
|
|
+ method: 'post',
|
|
|
+ data: param,
|
|
|
+ headers: {
|
|
|
+ loading: loading
|
|
|
+ },
|
|
|
+ })
|
|
|
+}
|
|
|
|
|
|
// 获取事件详情
|
|
|
export function getEventDetail(param) {
|
|
@@ -39,6 +88,17 @@ export function getEventByEventType(param,loading) {
|
|
|
},
|
|
|
})
|
|
|
}
|
|
|
+// 获取上报排名
|
|
|
+export function getEventByReportorOrder(param,loading) {
|
|
|
+ return request({
|
|
|
+ url: '/center-emergency/VisuForestCloudMapController/getEventByReportorOrder',
|
|
|
+ method: 'post',
|
|
|
+ data: param,
|
|
|
+ headers: {
|
|
|
+ loading: loading
|
|
|
+ },
|
|
|
+ })
|
|
|
+}
|
|
|
// 日志文件上传
|
|
|
export function eventLogUpload(param) {
|
|
|
return request({
|
|
@@ -183,10 +243,33 @@ export function dutysystemRemove(param) {
|
|
|
})
|
|
|
}
|
|
|
|
|
|
-// 事件短信联系人
|
|
|
-export function userFeginlist() {
|
|
|
+// 通过部门id获取责任人
|
|
|
+export function userFeginlist(param) {
|
|
|
return request({
|
|
|
- url: '/center-emergency/VisuForestCloudMapController/userFeginlist',
|
|
|
- method: 'post'
|
|
|
+ url: '/system/user/selectUserWithPostByDeptId',
|
|
|
+ method: 'get',
|
|
|
+ params:param
|
|
|
+ })
|
|
|
+}
|
|
|
+
|
|
|
+// 获取消息个数
|
|
|
+export function selectMessageCount(userId) {
|
|
|
+ return request({
|
|
|
+ url: '/center-message/centerMessageFeign/selectMessageCount/'+userId,
|
|
|
+ method: 'get'
|
|
|
+ })
|
|
|
+}
|
|
|
+// 获取消息列表
|
|
|
+export function selectMessageList(userId) {
|
|
|
+ return request({
|
|
|
+ url: '/center-message/centerMessageFeign/selectMessageList/'+userId,
|
|
|
+ method: 'get'
|
|
|
+ })
|
|
|
+}
|
|
|
+// 获取消息详情
|
|
|
+export function selectMessageById(messageId) {
|
|
|
+ return request({
|
|
|
+ url: '/center-message/centerMessageFeign/selectMessageById/'+messageId,
|
|
|
+ method: 'get'
|
|
|
})
|
|
|
}
|