数据看板处理

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-icon type="lock" />
修改密码 修改密码
</a-menu-item> </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-menu-item key="logout" @click="handleLogout">
<a-icon type="logout" /> <a-icon type="logout" />
退出登录 退出登录

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -18,7 +18,7 @@
</template> </template>
<template v-slot:rightContentRender> <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'" /> <right-content :is-mobile="isMobile" :theme="settings.theme" :top-menu="settings.layout === 'topmenu'" />
</template> </template>

View File

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