diff --git a/index.html b/index.html index b515a49..55a8bdf 100644 --- a/index.html +++ b/index.html @@ -4,7 +4,7 @@ - 智能大气腐蚀检测云平台 + 智能大气腐蚀监测云平台
diff --git a/rest/设备管理.http b/rest/设备管理.http deleted file mode 100644 index ceada5e..0000000 --- a/rest/设备管理.http +++ /dev/null @@ -1,4 +0,0 @@ -### 查询设备列表 -GET https://test.tall.wiki/gateway/corrosion/devices/all?deviceId=&size=50 -Accept: application/json - diff --git a/src/components/navbar.vue b/src/components/navbar.vue index 62eb903..1876ebf 100644 --- a/src/components/navbar.vue +++ b/src/components/navbar.vue @@ -18,6 +18,6 @@ const menu = computed(() => store.state.menu); @click="toggleCollapse" v-if="menu.show" > - {{ $route.meta.title || '智能大气腐蚀检测平台' }} + {{ $route.meta.title || '智能大气腐蚀监测平台' }} diff --git a/src/components/overview/chart-device-count.vue b/src/components/overview/chart-device-count.vue new file mode 100644 index 0000000..6900f55 --- /dev/null +++ b/src/components/overview/chart-device-count.vue @@ -0,0 +1,61 @@ + + + diff --git a/src/components/overview/chart-device-detail.vue b/src/components/overview/chart-device-detail.vue new file mode 100644 index 0000000..598ae7a --- /dev/null +++ b/src/components/overview/chart-device-detail.vue @@ -0,0 +1,51 @@ + + + diff --git a/src/components/overview/device-table.vue b/src/components/overview/device-table.vue new file mode 100644 index 0000000..49fc95f --- /dev/null +++ b/src/components/overview/device-table.vue @@ -0,0 +1,96 @@ + + + diff --git a/src/routers/index.js b/src/routers/index.js index bdbdbf4..0441c90 100644 --- a/src/routers/index.js +++ b/src/routers/index.js @@ -2,6 +2,15 @@ import { createRouter, createWebHistory } from 'vue-router'; // 还有 createWebHashHistory 和 createMemoryHistory export const routes = [ + { + path: '/corrosion/overview', + name: 'overview', + meta: { + title: '设备概览', + icon: 'el-icon-box', + }, + component: () => import('@/views/overview.vue'), + }, { path: '/corrosion/devices', name: 'devices', diff --git a/src/views/overview.vue b/src/views/overview.vue new file mode 100644 index 0000000..1b9ef03 --- /dev/null +++ b/src/views/overview.vue @@ -0,0 +1,19 @@ + + + diff --git a/t b/t deleted file mode 100644 index a5221f8..0000000 --- a/t +++ /dev/null @@ -1,38 +0,0 @@ -usage: git tag [-a | -s | -u ] [-f] [-m | -F ] - [] - or: git tag -d ... - or: git tag -l [-n[]] [--contains ] [--no-contains ] [--points-at ] - [--format=] [--[no-]merged []] [...] - or: git tag -v [--format=] ... - - -l, --list list tag names - -n[] print lines of each tag message - -d, --delete delete tags - -v, --verify verify tags - -Tag creation options - -a, --annotate annotated tag, needs a message - -m, --message - tag message - -F, --file read message from file - -e, --edit force edit of tag message - -s, --sign annotated and GPG-signed tag - --cleanup how to strip spaces and #comments from message - -u, --local-user - use another key to sign the tag - -f, --force replace the tag if exists - --create-reflog create a reflog - -Tag listing options - --column[=