Commit e0d93f9c authored by 程卓's avatar 程卓

dashboard跳转调整

parent 55e7f9b4
...@@ -13,13 +13,23 @@ ...@@ -13,13 +13,23 @@
<a-sub-menu :key="menu.name"> <a-sub-menu :key="menu.name">
<span slot="title"> <span slot="title">
<a-icon :type="menu.meta.menuIcon?menu.meta.menuIcon:'bars'" /> <a-icon :type="menu.meta.menuIcon?menu.meta.menuIcon:'bars'" />
<span>{{menu.meta.title}}</span> <span>{{menu.meta.title}}</span>
</span> </span>
<template v-for="child in menu.children"> <template v-for="child in menu.children">
<a-menu-item :key="child.key" @click="onclick(child.name)">
<template v-if="child.meta.title == '系统信息配置' ||child.meta.title == '拓展信息管理' ">
<a-menu-item v-if="$store.state.hasAllRight" :key="child.key" @click="onclick(child.name)">
<a-icon :type="child.meta.menuIcon?child.meta.menuIcon:'bars'" />
{{child.meta.title}}
</a-menu-item>
</template>
<a-menu-item v-else :key="child.key" @click="onclick(child.name)">
<a-icon :type="child.meta.menuIcon?child.meta.menuIcon:'bars'" /> <a-icon :type="child.meta.menuIcon?child.meta.menuIcon:'bars'" />
{{child.meta.title}} {{child.meta.title}}
</a-menu-item> </a-menu-item>
</template> </template>
</a-sub-menu> </a-sub-menu>
</template> </template>
......
...@@ -64,7 +64,7 @@ default: // 默认环境下(开发环境) ...@@ -64,7 +64,7 @@ default: // 默认环境下(开发环境)
// BASE_URL = 'http://31.0.161.39/apiv2' // BASE_URL = 'http://31.0.161.39/apiv2'
// BASE_URL = 'http://211.136.105.193/apiv2' // BASE_URL = 'http://211.136.105.193/apiv2'
BASE_URL = 'http://yangpu-hm.omniview.pro/api/v2' BASE_URL = 'http://yangpu-hm.omniview.pro/api/v2'
// BASE_URL = 'http://xuhui.hm.omniview.pro/api/v2' BASE_URL = 'http://xuhui.hm.omniview.pro/api/v2'
// BASE_URL = 'http://pudong.hm.omniview.pro/api/v2' // BASE_URL = 'http://pudong.hm.omniview.pro/api/v2'
// BASE_URL = 'http://211.136.105.193/apiv2' // BASE_URL = 'http://211.136.105.193/apiv2'
MOCK_URL = 'https://yapi.omniview.pro/mock/283' MOCK_URL = 'https://yapi.omniview.pro/mock/283'
......
...@@ -208,7 +208,7 @@ ...@@ -208,7 +208,7 @@
<div class="jiancha"> <div class="jiancha">
<div class="home-card jianchaTitle"> <div class="home-card jianchaTitle">
<span>专项检查</span> <span>专项检查</span>
<img src="@/assets/icon/tp.png" style="height:20px;" alt=""> <img src="@/assets/icon/tp.png" style="height:20px;" alt="" @click="openOutUrl2">
</div> </div>
<div style="height: calc(100% - 55px);"> <div style="height: calc(100% - 55px);">
<a-row class="jianchaBox"> <a-row class="jianchaBox">
......
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