diff --git a/public/config/config.json b/public/config/config.json index 29161c3..12a6978 100644 --- a/public/config/config.json +++ b/public/config/config.json @@ -1,7 +1,7 @@ { "title": "安全生产智慧监管系统", "baseUrl": "http://192.168.83.42:6909/safe-server/", - "mediaBaseUrl": "http:/192.168.83.42:80", + "mediaBaseUrl": "http://192.168.83.42:80", "lat-bd": "39.91459528", "lng-bd": "116.26499505", "lat": "39.90", diff --git a/public/config/config.json b/public/config/config.json index 29161c3..12a6978 100644 --- a/public/config/config.json +++ b/public/config/config.json @@ -1,7 +1,7 @@ { "title": "安全生产智慧监管系统", "baseUrl": "http://192.168.83.42:6909/safe-server/", - "mediaBaseUrl": "http:/192.168.83.42:80", + "mediaBaseUrl": "http://192.168.83.42:80", "lat-bd": "39.91459528", "lng-bd": "116.26499505", "lat": "39.90", diff --git a/src/api/alarm/securityAlarm/securityAlarmList.ts b/src/api/alarm/securityAlarm/securityAlarmList.ts new file mode 100644 index 0000000..793b9c1 --- /dev/null +++ b/src/api/alarm/securityAlarm/securityAlarmList.ts @@ -0,0 +1,13 @@ +/** + * 安全隐患报警管理 + */ +import request from '../../index' + +// 获取列表 +export function getSecurityAlarmList(data: any) { + return request({ + url: 'record/listPage', + method: 'get', + params: data, + }) +} diff --git a/public/config/config.json b/public/config/config.json index 29161c3..12a6978 100644 --- a/public/config/config.json +++ b/public/config/config.json @@ -1,7 +1,7 @@ { "title": "安全生产智慧监管系统", "baseUrl": "http://192.168.83.42:6909/safe-server/", - "mediaBaseUrl": "http:/192.168.83.42:80", + "mediaBaseUrl": "http://192.168.83.42:80", "lat-bd": "39.91459528", "lng-bd": "116.26499505", "lat": "39.90", diff --git a/src/api/alarm/securityAlarm/securityAlarmList.ts b/src/api/alarm/securityAlarm/securityAlarmList.ts new file mode 100644 index 0000000..793b9c1 --- /dev/null +++ b/src/api/alarm/securityAlarm/securityAlarmList.ts @@ -0,0 +1,13 @@ +/** + * 安全隐患报警管理 + */ +import request from '../../index' + +// 获取列表 +export function getSecurityAlarmList(data: any) { + return request({ + url: 'record/listPage', + method: 'get', + params: data, + }) +} diff --git a/src/components/DeptSelect/index.vue b/src/components/DeptSelect/index.vue index 92165e1..5b18391 100644 --- a/src/components/DeptSelect/index.vue +++ b/src/components/DeptSelect/index.vue @@ -162,7 +162,7 @@