diff --git a/index.html b/index.html index b0e1006..15de931 100644 --- a/index.html +++ b/index.html @@ -8,7 +8,7 @@ href="https://unpkg.byted-static.com/latest/byted/arco-config/assets/favicon.ico" /> - 物联网网关系统 + 基于MQTT的IOT设备管理系统
diff --git a/src/api/product.ts b/src/api/product.ts index 365daff..8261e21 100644 --- a/src/api/product.ts +++ b/src/api/product.ts @@ -79,7 +79,8 @@ export function addAttachments(data: any) { }); } -// 删除附件 -export function deleteAttachment(id: string) { - return axios.delete(`/api/rest/attachment/delete/${id}`); -} + +// 删除设备预览图或图标 +export function deleteDeviceAttachment(id: string) { + return axios.delete(`/api/rest/device/attachment/${id}`); +} \ No newline at end of file diff --git a/src/components/navbar/index.vue b/src/components/navbar/index.vue index 4505689..cc2e01d 100644 --- a/src/components/navbar/index.vue +++ b/src/components/navbar/index.vue @@ -12,7 +12,7 @@ :heading="5" @click="$router.push({ name: 'Workplace' })" > - 物联网网关系统 + IOT设备管理系统 import('@/views/system/log/index.vue'), meta: { - title: '操作日志管理', + title: '操作日志', requiresAuth: true, permissions: ['system:menu'], }, diff --git a/src/views/dashboard/workplace/index.vue b/src/views/dashboard/workplace/index.vue index b5e1989..d63ac1e 100644 --- a/src/views/dashboard/workplace/index.vue +++ b/src/views/dashboard/workplace/index.vue @@ -3,7 +3,7 @@
- +
@@ -22,8 +22,7 @@