Commit 75b3ef00 authored by 李苏's avatar 李苏 💬

调整

parent 0036102d
public/favicon.png

41.4 KB | W: | H:

public/favicon.png

65.8 KB | W: | H:

public/favicon.png
public/favicon.png
public/favicon.png
public/favicon.png
  • 2-up
  • Swipe
  • Onion skin
src/assets/logo/logo.png

41.4 KB | W: | H:

src/assets/logo/logo.png

65.8 KB | W: | H:

src/assets/logo/logo.png
src/assets/logo/logo.png
src/assets/logo/logo.png
src/assets/logo/logo.png
  • 2-up
  • Swipe
  • Onion skin
......@@ -27,7 +27,7 @@ export default {
},
watch:{
title(){
}
},
......
......@@ -2,7 +2,7 @@
<div v-if="!item.hidden">
<template v-if="hasOneShowingChild(item.children,item) && (!onlyOneChild.children||onlyOneChild.noShowingChildren)&&!item.alwaysShow">
<app-link v-if="onlyOneChild.meta" :to="resolvePath(onlyOneChild.path, onlyOneChild.query)">
<el-menu-item :style="sidebar.opened?'padding-left: 25px;':'padding-left: 0px;'" :index="resolvePath(onlyOneChild.path)" :class="{'submenu-title-noDropdown':!isNest}">
<el-menu-item :style="sidebar.opened?'':'padding-left: 0px;'" :index="resolvePath(onlyOneChild.path)" :class="{'submenu-title-noDropdown':!isNest}">
<!-- <item :icon="onlyOneChild.meta.icon||(item.meta&&item.meta.icon)" :title="onlyOneChild.meta.title" /> -->
<div style="display: inline-block;text-align: center;" :class="{'open':!sidebar.opened,'close':sidebar.opened}">
......@@ -20,11 +20,9 @@
<div style="display: inline-block;text-align: center;" :class="{'open':!sidebar.opened,'close':sidebar.opened}" >
<i :class="item.meta.icon?('fa '+item.meta.icon):'fa fa-cog' " style="font-size: 14px;color: #fff;" ></i>
</div>
<el-tooltip class="item" effect="dark" :content="(item&&item.meta&&item.meta.title)?item.meta.title:item.title" placement="right">
<span>{{(item&&item.meta&&item.meta.title)?item.meta.title:item.title}}</span>
<el-tooltip class="item" effect="dark" :content="(item&&item.meta&&item.meta.title)?item.meta.title:item.title" placement="right">
<span>{{(item&&item.meta&&item.meta.title)?item.meta.title:item.title}}</span>
</el-tooltip>
</template>
<sidebar-item
v-for="child in item.children"
......@@ -89,9 +87,9 @@ export default {
})
// When there is only one child router, the child router is displayed by default
if (showingChildren.length === 1) {
return true
}
// if (showingChildren.length === 1) {
// return true
// }
// Show parent if there are no child router to display
if (showingChildren.length === 0) {
......
......@@ -29,6 +29,7 @@ import Layout from '@/layout'
*/
export const powerRoutes=[
{
path: '/basicData',
component:"Layout",
hidden: false,
......@@ -144,6 +145,15 @@ export const powerRoutes=[
}
]
},
{
path: '/scyfjz',
erpComponent: true,
component: 'template/index',
hidden: false,
alwaysShow:true,
redirect: 'scyfjz',
meta: {title: "双重预防机制", icon: "fa-cog", noCache: false, link: null,mkid:999000007}
},
/* 重点工作管理*/
{
path: '/zdgzgl',
......@@ -197,7 +207,8 @@ export const powerRoutes=[
/* 风险域控*/
{
path: '/riskPrecontrol',
component: 'Layout',
erpComponent: true,
component: 'template/index',
hidden: false,
alwaysShow:true,
redirect: 'screeningCriteria',
......@@ -313,7 +324,8 @@ export const powerRoutes=[
/* 隐患管理*/
{
path: '/dangerManagement',
component: 'Layout',
erpComponent: true,
component: 'template/index',
hidden: false,
alwaysShow:true,
redirect: 'maintenanceDg',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment