diff --git a/.env.development b/.env.development
index 205308e..01bce7c 100644
--- a/.env.development
+++ b/.env.development
@@ -4,4 +4,4 @@ VITE_APP_TITLE = 智汇管理系统
VITE_APP_ENV = 'development'
# 智汇管理系统/开发环境
-VITE_APP_BASE_API = 'http://192.168.1.5:8082'
+VITE_APP_BASE_API = 'http://192.168.1.5:8081'
diff --git a/src/api/worn/mqttCommand.js b/src/api/worn/mqttCommand.js
new file mode 100644
index 0000000..927995e
--- /dev/null
+++ b/src/api/worn/mqttCommand.js
@@ -0,0 +1,44 @@
+import request from '@/utils/request'
+
+// 查询指令管理列表
+export function listMqttCommand(query) {
+ return request({
+ url: '/worn/mqttCommand/list',
+ method: 'get',
+ params: query
+ })
+}
+
+// 查询指令管理详细
+export function getMqttCommand(id) {
+ return request({
+ url: '/worn/mqttCommand/' + id,
+ method: 'get'
+ })
+}
+
+// 新增指令管理
+export function addMqttCommand(data) {
+ return request({
+ url: '/worn/mqttCommand',
+ method: 'post',
+ data: data
+ })
+}
+
+// 修改指令管理
+export function updateMqttCommand(data) {
+ return request({
+ url: '/worn/mqttCommand',
+ method: 'put',
+ data: data
+ })
+}
+
+// 删除指令管理
+export function delMqttCommand(id) {
+ return request({
+ url: '/worn/mqttCommand/' + id,
+ method: 'delete'
+ })
+}
diff --git a/src/api/worn/mqttData.js b/src/api/worn/mqttData.js
new file mode 100644
index 0000000..d45dc78
--- /dev/null
+++ b/src/api/worn/mqttData.js
@@ -0,0 +1,44 @@
+import request from '@/utils/request'
+
+// 查询设备数据列表
+export function listMqttData(query) {
+ return request({
+ url: '/worn/mqttData/list',
+ method: 'get',
+ params: query
+ })
+}
+
+// 查询设备数据详细
+export function getMqttData(id) {
+ return request({
+ url: '/worn/mqttData/' + id,
+ method: 'get'
+ })
+}
+
+// 新增设备数据
+export function addMqttData(data) {
+ return request({
+ url: '/worn/mqttData',
+ method: 'post',
+ data: data
+ })
+}
+
+// 修改设备数据
+export function updateMqttData(data) {
+ return request({
+ url: '/worn/mqttData',
+ method: 'put',
+ data: data
+ })
+}
+
+// 删除设备数据
+export function delMqttData(id) {
+ return request({
+ url: '/worn/mqttData/' + id,
+ method: 'delete'
+ })
+}
diff --git a/src/api/worn/mqttDevice.js b/src/api/worn/mqttDevice.js
new file mode 100644
index 0000000..0ff7243
--- /dev/null
+++ b/src/api/worn/mqttDevice.js
@@ -0,0 +1,44 @@
+import request from '@/utils/request'
+
+// 查询MQTT设备列表
+export function listMqttDevice(query) {
+ return request({
+ url: '/worn/mqttDevice/list',
+ method: 'get',
+ params: query
+ })
+}
+
+// 查询MQTT设备详细
+export function getMqttDevice(id) {
+ return request({
+ url: '/worn/mqttDevice/' + id,
+ method: 'get'
+ })
+}
+
+// 新增MQTT设备
+export function addMqttDevice(data) {
+ return request({
+ url: '/worn/mqttDevice',
+ method: 'post',
+ data: data
+ })
+}
+
+// 修改MQTT设备
+export function updateMqttDevice(data) {
+ return request({
+ url: '/worn/mqttDevice',
+ method: 'put',
+ data: data
+ })
+}
+
+// 删除MQTT设备
+export function delMqttDevice(id) {
+ return request({
+ url: '/worn/mqttDevice/' + id,
+ method: 'delete'
+ })
+}
diff --git a/src/api/worn/mqttEvent.js b/src/api/worn/mqttEvent.js
new file mode 100644
index 0000000..0ba8a88
--- /dev/null
+++ b/src/api/worn/mqttEvent.js
@@ -0,0 +1,44 @@
+import request from '@/utils/request'
+
+// 查询设备事件列表
+export function listMqttEvent(query) {
+ return request({
+ url: '/worn/mqttEvent/list',
+ method: 'get',
+ params: query
+ })
+}
+
+// 查询设备事件详细
+export function getMqttEvent(id) {
+ return request({
+ url: '/worn/mqttEvent/' + id,
+ method: 'get'
+ })
+}
+
+// 新增设备事件
+export function addMqttEvent(data) {
+ return request({
+ url: '/worn/mqttEvent',
+ method: 'post',
+ data: data
+ })
+}
+
+// 修改设备事件
+export function updateMqttEvent(data) {
+ return request({
+ url: '/worn/mqttEvent',
+ method: 'put',
+ data: data
+ })
+}
+
+// 删除设备事件
+export function delMqttEvent(id) {
+ return request({
+ url: '/worn/mqttEvent/' + id,
+ method: 'delete'
+ })
+}
diff --git a/src/api/worn/threshold.js b/src/api/worn/threshold.js
new file mode 100644
index 0000000..245f02f
--- /dev/null
+++ b/src/api/worn/threshold.js
@@ -0,0 +1,44 @@
+import request from '@/utils/request'
+
+// 查询传感器阈值配置列表
+export function listThreshold(query) {
+ return request({
+ url: '/worn/threshold/list',
+ method: 'get',
+ params: query
+ })
+}
+
+// 查询传感器阈值配置详细
+export function getThreshold(id) {
+ return request({
+ url: '/worn/threshold/' + id,
+ method: 'get'
+ })
+}
+
+// 新增传感器阈值配置
+export function addThreshold(data) {
+ return request({
+ url: '/worn/threshold',
+ method: 'post',
+ data: data
+ })
+}
+
+// 修改传感器阈值配置
+export function updateThreshold(data) {
+ return request({
+ url: '/worn/threshold',
+ method: 'put',
+ data: data
+ })
+}
+
+// 删除传感器阈值配置
+export function delThreshold(id) {
+ return request({
+ url: '/worn/threshold/' + id,
+ method: 'delete'
+ })
+}
diff --git a/src/views/worn/mqttCommand/index.vue b/src/views/worn/mqttCommand/index.vue
new file mode 100644
index 0000000..b751dad
--- /dev/null
+++ b/src/views/worn/mqttCommand/index.vue
@@ -0,0 +1,313 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
+
+
+ 新增
+
+
+ 修改
+
+
+ 删除
+
+
+ 导出
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ parseTime(scope.row.sendTime, '{y}-{m}-{d}') }}
+
+
+
+
+
+
+ 修改
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/worn/mqttData/index.vue b/src/views/worn/mqttData/index.vue
new file mode 100644
index 0000000..51acee2
--- /dev/null
+++ b/src/views/worn/mqttData/index.vue
@@ -0,0 +1,437 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
+
+
+ 新增
+
+
+ 修改
+
+
+ 删除
+
+
+ 导出
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ scope.row.battery }}
+
+
+
+
+ {{ scope.row.temperature }}
+
+
+
+
+ {{ scope.row.humidity }}
+
+
+
+
+ {{ scope.row.nh3 }}
+
+
+
+
+ {{ scope.row.h2s }}
+
+
+
+
+ {{ scope.row.concentration }}
+ 正常
+
+
+
+
+
+ {{ (scope.row.waterStatus === null || scope.row.waterStatus === undefined || scope.row.waterStatus === '' || scope.row.waterStatus === 0) ? '正常' : '报警' }}
+
+
+
+
+
+
+
+ 修改
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/worn/mqttDevice/index.vue b/src/views/worn/mqttDevice/index.vue
new file mode 100644
index 0000000..cbac932
--- /dev/null
+++ b/src/views/worn/mqttDevice/index.vue
@@ -0,0 +1,287 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
+
+
+ 新增
+
+
+ 修改
+
+
+ 删除
+
+
+ 导出
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 修改
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/worn/mqttEvent/index.vue b/src/views/worn/mqttEvent/index.vue
new file mode 100644
index 0000000..b200513
--- /dev/null
+++ b/src/views/worn/mqttEvent/index.vue
@@ -0,0 +1,290 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
+
+
+ 新增
+
+
+ 修改
+
+
+ 删除
+
+
+ 导出
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 修改
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/worn/threshold/index.vue b/src/views/worn/threshold/index.vue
new file mode 100644
index 0000000..d45ab42
--- /dev/null
+++ b/src/views/worn/threshold/index.vue
@@ -0,0 +1,332 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
+
+
+ 新增
+
+
+ 修改
+
+
+ 删除
+
+
+ 导出
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 修改
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+