数据看板处理

This commit is contained in:
2023-07-24 15:33:48 +08:00
parent 51b729a9b1
commit 6e8230e4c8
9 changed files with 15 additions and 22 deletions

View File

@@ -14,10 +14,6 @@
<a-icon type="lock" />
修改密码
</a-menu-item>
<!-- <a-menu-item key="permission" @click="goPermission">
<a-icon type="user" />
组织结构权限管理
</a-menu-item> -->
<a-menu-item key="logout" @click="handleLogout">
<a-icon type="logout" />
退出登录

View File

@@ -1,6 +1,6 @@
<template>
<div :class="wrpCls">
<notice-icon />
<!-- <notice-icon /> -->
<avatar-dropdown :class="prefixCls" :current-user="currentUser" :menu="showMenu" />
<!-- <select-lang :class="prefixCls" /> -->
</div>

View File

@@ -32,7 +32,7 @@ export const asyncRouterMap = [{
meta: {
title: '数据看板',
keepAlive: false,
icon: 'user',
icon: 'dashboard',
permission: ['home']
}
},

View File

@@ -4,7 +4,7 @@ export default [{
name: 'CouponIndex',
meta: {
title: '优惠券管理',
icon: 'bank'
icon: 'account-book'
},
component: () => import('@/views/coupon/Index')
}]

View File

@@ -14,7 +14,7 @@ export default [
component: () => import('@/views/permissions/Index'),
meta: {
title: '权限管理',
icon: 'bank'
icon: 'cluster'
}
}
]

View File

@@ -7,7 +7,7 @@ export default [{
name: 'StockIndex',
meta: {
title: '库存管理',
icon: 'bank'
icon: 'shop'
},
component: RouteView,
children: [
@@ -16,7 +16,7 @@ export default [{
name: 'StockIns',
meta: {
title: '分公司库存管理',
icon: 'unordered-list'
icon: 'control'
},
component: RouteView,
redirect: '/stock/in',
@@ -27,7 +27,7 @@ export default [{
component: () => import('@/views/stock/In'),
meta: {
title: '入库管理',
icon: 'unordered-list'
icon: 'import'
}
},
{
@@ -36,7 +36,7 @@ export default [{
component: () => import('@/views/stock/Out'),
meta: {
title: '出库管理',
icon: 'unordered-list'
icon: 'export'
}
}
]
@@ -46,7 +46,7 @@ export default [{
name: 'StockDealer',
meta: {
title: '经销商库存管理',
icon: 'unordered-list'
icon: 'usergroup-add'
},
component: () => import('@/views/stock/DealerIndex')
}

View File

@@ -3,7 +3,7 @@ export default [{
name: 'UserIndex',
meta: {
title: '用户管理',
icon: 'bank'
icon: 'user'
},
component: () => import('@/views/user/Index')
}]

View File

@@ -18,7 +18,7 @@
</template>
<template v-slot:rightContentRender>
<span class="rightContentRenderTitle">欢迎使用水感应代理商综合管理平台</span>
<span class="rightContentRenderTitle">欢迎使用水感应经销商端</span>
<right-content :is-mobile="isMobile" :theme="settings.theme" :top-menu="settings.layout === 'topmenu'" />
</template>

View File

@@ -1,17 +1,15 @@
<template>
<a-row :gutter="[24, 24]">
<!-- <a-col :lg="10" :md="24" :sm="24" :xl="8" :xxl="7">
<UserInfo />
</a-col> -->
</a-col> -->
<a-col :lg="24" :md="24" :sm="24" :xl="24" :xxl="24">
<Count v-if="info!=={}" :info="info" />
</a-col>
<!--
<a-col :lg="24" :md="24" :sm="24" :xl="24" :xxl="24">
<Analysis />
</a-col> -->
<a-col :lg="24" :md="24" :sm="24" :xl="24" :xxl="24">
<Analysis />
</a-col> -->
</a-row>
</template>
@@ -40,7 +38,6 @@ export default {
}
},
created () {
console.log('created....')
this.getInfo()
// 监听是否切换了日,周,月,年
this.eventBus.$on('updateHomeDataByType', (type) => {