zhanghua
2023-09-28 fa1c7589a74d3f48d74a7a9ee98ac57335b4502a
油烟
2个文件已修改
7个文件已添加
154 ■■■■ 已修改文件
src/assets/icons/svg/smoke.svg 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/router/index.js 38 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/layout/components/Menu/index.vue 47 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/smoke/alarm/index.vue 13 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/smoke/cockpit/index.vue 13 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/smoke/index.vue 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/smoke/judgment/index.vue 13 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/smoke/realTime/index.vue 13 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/smoke/report/index.vue 13 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/assets/icons/svg/smoke.svg
New file
@@ -0,0 +1 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1695708028269" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="8683" width="16" style="padding:5px" height="16" xmlns:xlink="http://www.w3.org/1999/xlink"><path d="M512 878.933333a366.933333 366.933333 0 1 1 0-733.866666 366.933333 366.933333 0 0 1 0 733.866666z m0 59.733334c235.648 0 426.666667-191.018667 426.666667-426.666667S747.648 85.333333 512 85.333333 85.333333 276.352 85.333333 512s191.018667 426.666667 426.666667 426.666667z" fill="#ffffff" p-id="8684"></path><path d="M584.576 429.994667l98.346667-105.642667a259.84 259.84 0 0 1 84.053333 213.973333h-1.365333l-144.298667-4.138666c-3.413333 18.645333-11.52 35.669333-23.04 49.834666l109.696 94.250667a263.424 263.424 0 0 1-198.656 89.514667l-0.213333 0.213333c-4.821333 0-9.472-0.213333-14.250667-0.426667h-0.682667v-142.762666a113.152 113.152 0 0 1-52.522666-21.674667 12.032 12.032 0 0 1 0.554666 0.554667l0.512 0.554666-101.717333 109.226667a258.688 258.688 0 0 1-84.736-198.997333L256 514.261333v-0.298666c0.256-4.906667 0.469333-9.557333 0.938667-14.464h1.365333l139.008 4.010666a110.933333 110.933333 0 0 1 29.141333-64.853333L318.293333 345.770667a264.533333 264.533333 0 0 1 213.76-89.258667v147.754667c19.925333 3.882667 37.888 13.013333 52.565334 25.770666z m-74.538667 11.349333c-40.661333 0-73.514667 32.469333-73.514666 72.704 0 40.192 32.853333 72.661333 73.514666 72.661333a72.96 72.96 0 0 0 73.472-72.661333c0-40.234667-32.853333-72.704-73.472-72.704z" fill="#ffffff" p-id="8685"></path></svg>
src/router/index.js
@@ -107,6 +107,32 @@
    ]
  },
  {
        path: 'smoke',
        name: 'smoke',
        component: () => import('@/views/smoke'),
        children: [{
          path: 'smokeRealTime',
          name: 'smokeRealTime',
          component: () => import('@/views/smoke/realTime')
        }, {
          path: 'smokeJudgment',
          name: 'smokeJudgment',
          component: () => import('@/views/smoke/judgment')
        },{
          path: 'smokeAlarm',
          name: 'smokeAlarm',
          component: () => import('@/views/smoke/alarm')
        },{
          path: 'smokeReport',
          name: 'smokeReport',
          component: () => import('@/views/smoke/report')
        },{
          path: 'smokecCockpit',
          name: 'smokecCockpit',
          component: () => import('@/views/smoke/cockpit')
        }]
      },
      {
    path: "operate",
    name: 'operate',
    component: () => import('@/views/operate'),
@@ -228,7 +254,8 @@
        path: 'managementMessage',
        name: 'managementMessage',
        component: () => import('@/views/operate/management/message'),
      }]
              }
            ]
    },
    {
      path: 'car',
@@ -276,8 +303,7 @@
      path: 'sms',
      name: 'sms',
      component: () => import('@/views/operate/sms'),
      children: [
        {
            children: [{
          path: 'smsIndex',
          name: 'smsIndex',
          component: () => import('@/views/operate/sms/smsIndex'),
@@ -309,8 +335,7 @@
      name: 'writManagement',
      component: () => import('@/views/operate/writManager'),
      // redirect: '/home/operate/writManager/writ',
      children: [
        {
            children: [{
          path: 'writTemplate',
          name: 'writTemplate',
          component: () => import('@/views/operate/writManager/writTemplate'),
@@ -321,7 +346,8 @@
          component: () => import('@/views/operate/writManager/writ'),
        }
      ]
    }]
          }
        ]
  },
  {
src/views/layout/components/Menu/index.vue
@@ -5,10 +5,12 @@
      <h2 class="siderbar-title" @click="toHome()">遂昌执法平台</h2>
      <el-scrollbar>
        <!-- 路由 -->
        <el-menu router
                <el-menu
                    router
                 class="el-menu-vertical"
                 :default-active="$route.path.name"
                 @select="handleSelect">
                    @select="handleSelect"
                >
          <el-submenu
            :index="String(menu.id)"
            v-for="menu in menuList"
@@ -17,21 +19,37 @@
          >
            <template slot="title">
              <span slot="prefix" class="icon-padding fisrtSpan">
                <svg-icon class="icon-title" :icon-class="menu.icon"></svg-icon>
                                <svg-icon
                                    class="icon-title"
                                    v-bind:class="menu.icon"
                                    :icon-class="menu.icon"
                                ></svg-icon>
              </span>
              <span class="fisrtSpan">{{ menu.title }}</span>
            </template>
            <template v-if="menu.menuVoArrayList.length > 0">
              <template v-for="secondMenu in menu.menuVoArrayList">
                            <template
                                v-for="secondMenu in menu.menuVoArrayList"
                            >
                <el-submenu
                  :key="secondMenu.id"
                  v-if="secondMenu.menuVoArrayList.length > 0"
                  :index="secondMenu.url ? secondMenu.url : secondMenu.id.toString()"
                                    :index="
                                        secondMenu.url
                                            ? secondMenu.url
                                            : secondMenu.id.toString()
                                    "
                  class="secondMenu"
                  :class="secondMenu.menuVoArrayList.length > 0?'is-Active':'none-Active'"
                                    :class="
                                        secondMenu.menuVoArrayList.length > 0
                                            ? 'is-Active'
                                            : 'none-Active'
                                    "
                >
                  <template slot="title">
                    <span class="secondSpan">{{ secondMenu.title }}</span>
                                        <span class="secondSpan">{{
                                            secondMenu.title
                                        }}</span>
                  </template>
                  <el-menu-item
                    v-for="thirdMenu in secondMenu.menuVoArrayList"
@@ -49,7 +67,8 @@
                  v-else
                  :index="`${secondMenu.id}`"
                  :route="{ name: secondMenu.url }"
                  >{{ secondMenu.title }}</el-menu-item>
                                    >{{ secondMenu.title }}</el-menu-item
                                >
              </template>
            </template>
            <el-menu-item
@@ -115,6 +134,9 @@
    height: 36px;
  }
}
.smoke {
    padding: 5px;
}
.el-aside {
  background: #313350;
  color: #e9eef3;
@@ -164,7 +186,7 @@
        }
        .el-menu{
          .is-active {
            background-color: #409EFF;
                        background-color: #409eff;
            color: #fff;
          }
          .is-Active{
@@ -179,7 +201,7 @@
          // border-bottom: 0.5px solid #7c7979;
        }
        .el-menu-item:hover {
          background-color: #409EFF;
                    background-color: #409eff;
          color: #22d3eb;
        }
        .is-opened{
@@ -190,13 +212,12 @@
        .secondMenu{
          //border-bottom:1px solid #ccc ;
          .is-active {
            background-color: #409EFF;
                        background-color: #409eff;
            color: #22d3eb;
          }
        }
      }
      .secondMenu {
        &:hover > .el-submenu__title {
          background-color: #092c4a;
        }
@@ -211,7 +232,7 @@
          }
        }
        .is-active {
          background-color: #409EFF;
                    background-color: #409eff;
          color: #fff;
        }
      }
src/views/smoke/alarm/index.vue
New file
@@ -0,0 +1,13 @@
<template>
  <div>报警消息</div>
</template>
<script>
export default {
}
</script>
<style>
</style>
src/views/smoke/cockpit/index.vue
New file
@@ -0,0 +1,13 @@
<template>
  <div>油烟驾驶舱</div>
</template>
<script>
export default {
}
</script>
<style>
</style>
src/views/smoke/index.vue
New file
@@ -0,0 +1,3 @@
<template>
    <router-view></router-view>
</template>
src/views/smoke/judgment/index.vue
New file
@@ -0,0 +1,13 @@
<template>
  <div>预警研判</div>
</template>
<script>
export default {
}
</script>
<style>
</style>
src/views/smoke/realTime/index.vue
New file
@@ -0,0 +1,13 @@
<template>
  <div>实时管理</div>
</template>
<script>
export default {
}
</script>
<style>
</style>
src/views/smoke/report/index.vue
New file
@@ -0,0 +1,13 @@
<template>
  <div>统计报表</div>
</template>
<script>
export default {
}
</script>
<style>
</style>