diff --git a/api/6075/6075.js b/api/6075/6075.js
new file mode 100644
index 0000000..2c20546
--- /dev/null
+++ b/api/6075/6075.js
@@ -0,0 +1,62 @@
+import request from '@/utils/request'
+export function deviceDetail(id) {
+ return request({
+ url: `/app/bjq6075/device/${id}`,
+ method: 'get',
+ })
+}
+// 获取设备分享详细信息
+export function deviceShareId(id) {
+ return request({
+ url: `/app/bjq6075/device/getShareInfo/${id}`,
+ method: 'get',
+ })
+}
+// 人员信息登记
+export function registerPersonInfo(data) {
+ return request({
+ url: `/app/bjq6075/device/registerPersonInfo`,
+ method: 'post',
+ data: data
+ })
+}
+// 发送信息
+export function deviceSendMessage(data) {
+ return request({
+ url: `/app/bjq6075/device/sendMessage`,
+ method: 'post',
+ data: data
+ })
+}
+// 灯光模式设置
+export function lightModeSettings(data) {
+ return request({
+ url: `/app/bjq6075/device/lightModeSettings`,
+ method: 'post',
+ data: data
+ })
+}
+// 激光模式设置
+export function laserModeSettings(data) {
+ return request({
+ url: `/app/bjq6075/device/laserModeSettings`,
+ method: 'post',
+ data: data
+ })
+}
+// 灯光亮度设置
+export function lightBrightnessSettings(data) {
+ return request({
+ url: `/app/bjq6075/device/lightBrightnessSettings`,
+ method: 'post',
+ data: data
+ })
+}
+// 地图逆解析
+export function mapReverseGeocoding(data) {
+ return request({
+ url: `/app/bjq6075/device/mapReverseGeocoding`,
+ method: 'post',
+ data: data
+ })
+}
diff --git a/config/index.js b/config/index.js
index dfb50b2..a4c0eeb 100644
--- a/config/index.js
+++ b/config/index.js
@@ -2,7 +2,7 @@
const config = {
// 开发环境
development: {
- BASE_URL: 'http://192.168.110.56:8000',
+ BASE_URL: 'http://192.168.2.23:8000',
API_PREFIX: '',
// MQTT 配置
MQTT_HOST: 'www.cnxhyc.com',
diff --git a/pages/6075/BJQ6075.vue b/pages/6075/BJQ6075.vue
index 121307b..146bf60 100644
--- a/pages/6075/BJQ6075.vue
+++ b/pages/6075/BJQ6075.vue
@@ -8,7 +8,7 @@
+ ]" @icon-click="handleIconClick">
@@ -40,28 +40,29 @@
IMEI号
- 123488756
+ {{deviceInfo.deviceImei}}
设备状态
- 运行中
+ {{ deviceInfo.onlineStatus === 0 ? '离线' : deviceInfo.onlineStatus === 2 ? '故障' : '在线' }}
定位信息
- 114.72 30.28
+ {{ deviceInfo && deviceInfo.longitude ? Number(deviceInfo.longitude).toFixed(4) : '' }}
+ {{ deviceInfo && deviceInfo.latitude ? Number(deviceInfo.latitude).toFixed(4) : '' }}
- 深圳市龙华区富源晟
+ {{ deviceInfo.address || '/'}}
- 海拔高度 2666m
- 相对高度123m
+ 海拔高度 {{deviceInfo.altitude}}m
+ 相对高度{{deviceInfo.relativeAltitude}}m
@@ -95,11 +96,11 @@
-
+
声光报警
- {{ currentMainMode }}
+
@@ -180,11 +181,10 @@