丁烨烨 1 år sedan
förälder
incheckning
890eefab21
2 ändrade filer med 41 tillägg och 32 borttagningar
  1. 0 4
      components.d.ts
  2. 41 28
      src/layout/SiderArea.vue

+ 0 - 4
components.d.ts

@@ -7,12 +7,8 @@ export {}
 /* prettier-ignore */
 declare module 'vue' {
   export interface GlobalComponents {
-    ElAside: typeof import('element-plus/es')['ElAside']
     ElButton: typeof import('element-plus/es')['ElButton']
     ElContainer: typeof import('element-plus/es')['ElContainer']
-    ElDropdown: typeof import('element-plus/es')['ElDropdown']
-    ElDropdownItem: typeof import('element-plus/es')['ElDropdownItem']
-    ElDropdownMenu: typeof import('element-plus/es')['ElDropdownMenu']
     ElHeader: typeof import('element-plus/es')['ElHeader']
     ElIcon: typeof import('element-plus/es')['ElIcon']
     ElMain: typeof import('element-plus/es')['ElMain']

+ 41 - 28
src/layout/SiderArea.vue

@@ -18,39 +18,52 @@ const store = useCollapsedStore()
         <el-icon>
           <Location />
         </el-icon>
-        <span>Navigator One</span>
+        <span>智慧大屏管理</span>
       </template>
       <el-menu-item-group>
-        <template #title><span>Group One</span></template>
-        <el-menu-item index="1-1">item one</el-menu-item>
-        <el-menu-item index="1-2">item two</el-menu-item>
+        <el-menu-item index="1-1">园区总览</el-menu-item>
+        <el-menu-item index="1-2">智慧安防</el-menu-item>
+        <el-menu-item index="1-3">智慧能耗</el-menu-item>
+        <el-menu-item index="1-4">智慧消防</el-menu-item>
+        <el-menu-item index="1-5">智慧灯杆</el-menu-item>
+        <el-menu-item index="1-6">智慧停车</el-menu-item>
       </el-menu-item-group>
-      <el-menu-item-group title="Group Two">
-        <el-menu-item index="1-3">item three</el-menu-item>
+    </el-sub-menu>
+
+    <el-sub-menu index="2">
+      <template #title>
+        <el-icon>
+          <Location />
+        </el-icon>
+        <span>智慧路灯</span>
+      </template>
+      <el-menu-item-group>
+        <el-menu-item index="1-1">园区总览</el-menu-item>
+        <el-menu-item index="1-2">智慧安防</el-menu-item>
+        <el-menu-item index="1-3">智慧能耗</el-menu-item>
+        <el-menu-item index="1-4">智慧消防</el-menu-item>
+        <el-menu-item index="1-5">智慧灯杆</el-menu-item>
+        <el-menu-item index="1-6">智慧停车</el-menu-item>
+      </el-menu-item-group>
+    </el-sub-menu>
+
+    <el-sub-menu index="3">
+      <template #title>
+        <el-icon>
+          <Location />
+        </el-icon>
+        <span>智慧环境</span>
+      </template>
+      <el-menu-item-group>
+        <el-menu-item index="1-1">实时监测</el-menu-item>
+        <el-menu-item index="1-2">数据查询</el-menu-item>
+        <el-menu-item index="1-3">报警查询</el-menu-item>
+        <el-menu-item index="1-4">报警级别配置</el-menu-item>
+        <el-menu-item index="1-5">报警联动</el-menu-item>
+        <el-menu-item index="1-6">存储策略配置</el-menu-item>
+        <el-menu-item index="1-7">配置偏差阀值</el-menu-item>
       </el-menu-item-group>
-      <el-sub-menu index="1-4">
-        <template #title><span>item four</span></template>
-        <el-menu-item index="1-4-1">item one</el-menu-item>
-      </el-sub-menu>
     </el-sub-menu>
-    <el-menu-item index="2">
-      <el-icon>
-        <IconCommunity />
-      </el-icon>
-      <template #title>Navigator Two</template>
-    </el-menu-item>
-    <el-menu-item index="3" disabled>
-      <el-icon>
-        <document />
-      </el-icon>
-      <template #title>Navigator Three</template>
-    </el-menu-item>
-    <el-menu-item index="4">
-      <el-icon>
-        <setting />
-      </el-icon>
-      <template #title>Navigator Four</template>
-    </el-menu-item>
   </el-menu>
 </template>