yangsl 3 years ago
parent
commit
f9f14ccae1

+ 3 - 0
src/api/login.js

@@ -11,8 +11,10 @@ const userApi = {
   // get my info
   UserInfo: '/user/info',
   UserMenu: '/user/nav'
+
 }
 
+
 /**
  * login func
  * parameter: {
@@ -78,3 +80,4 @@ export function get2step (parameter) {
     data: parameter
   })
 }
+

+ 23 - 0
src/api/task.js

@@ -0,0 +1,23 @@
+import request from '@/utils/request'
+
+const taskApi = {
+    // 获取个人工作台菜单
+    PersonalMenu: '/personal/nav',
+    ProjectMenu: '/project/nav'
+  }
+
+  export function getPersonalNav () {
+    return request({
+      url: taskApi.PersonalMenu,
+      method: 'get'
+    })
+  }
+  
+  export function getProjectNav () {
+    return request({
+      url: taskApi.ProjectMenu,
+      method: 'get'
+    })
+  }
+
+  

+ 144 - 29
src/assets/logo.svg

@@ -1,29 +1,144 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<svg viewBox="0 0 128 128" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
-  <!-- Generator: Sketch 52.6 (67491) - http://www.bohemiancoding.com/sketch -->
-  <title>Vue</title>
-  <desc>Created with Sketch.</desc>
-  <defs>
-    <linearGradient x1="69.644116%" y1="0%" x2="69.644116%" y2="100%" id="linearGradient-1">
-      <stop stop-color="#29CDFF" offset="0%"></stop>
-      <stop stop-color="#148EFF" offset="37.8600687%"></stop>
-      <stop stop-color="#0A60FF" offset="100%"></stop>
-    </linearGradient>
-    <linearGradient x1="-19.8191553%" y1="-36.7931464%" x2="138.57919%" y2="157.637507%" id="linearGradient-2">
-      <stop stop-color="#29CDFF" offset="0%"></stop>
-      <stop stop-color="#0F78FF" offset="100%"></stop>
-    </linearGradient>
-    <linearGradient x1="68.1279872%" y1="-35.6905737%" x2="30.4400914%" y2="114.942679%" id="linearGradient-3">
-      <stop stop-color="#FA8E7D" offset="0%"></stop>
-      <stop stop-color="#F74A5C" offset="51.2635191%"></stop>
-      <stop stop-color="#F51D2C" offset="100%"></stop>
-    </linearGradient>
-  </defs>
-  <g id="Vue" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
-    <g id="Group" transform="translate(19.000000, 9.000000)">
-      <path d="M89.96,90.48 C78.58,93.48 68.33,83.36 67.62,82.48 L46.6604487,62.2292258 C45.5023849,61.1103236 44.8426845,59.5728835 44.8296987,57.9626396 L44.5035564,17.5209948 C44.4948861,16.4458744 44.0537714,15.4195095 43.2796864,14.6733517 L29.6459999,1.53153737 C28.055475,-0.00160504005 25.5232423,0.0449126588 23.9900999,1.63543756 C23.2715121,2.38092066 22.87,3.37600834 22.87,4.41143746 L22.87,64.3864751 C22.87,67.0807891 23.9572233,69.6611067 25.885409,71.5429748 L63.6004615,108.352061 C65.9466323,110.641873 69.6963584,110.624605 72.0213403,108.313281" id="Path-Copy" fill="url(#linearGradient-1)" fill-rule="nonzero" transform="translate(56.415000, 54.831157) scale(-1, 1) translate(-56.415000, -54.831157) "></path>
-      <path d="M68,90.1163122 C56.62,93.1163122 45.46,83.36 44.75,82.48 L23.7904487,62.2292258 C22.6323849,61.1103236 21.9726845,59.5728835 21.9596987,57.9626396 L21.6335564,17.5209948 C21.6248861,16.4458744 21.1837714,15.4195095 20.4096864,14.6733517 L6.7759999,1.53153737 C5.185475,-0.00160504005 2.65324232,0.0449126588 1.12009991,1.63543756 C0.401512125,2.38092066 3.90211878e-13,3.37600834 3.90798505e-13,4.41143746 L3.94351218e-13,64.3864751 C3.94681177e-13,67.0807891 1.08722326,69.6611067 3.01540903,71.5429748 L40.7807092,108.401101 C43.1069304,110.671444 46.8180151,110.676525 49.1504445,108.412561" id="Path" fill="url(#linearGradient-2)" fill-rule="nonzero"></path>
-      <path d="M43.2983488,19.0991931 L27.5566079,3.88246244 C26.7624281,3.11476967 26.7409561,1.84862177 27.5086488,1.05444194 C27.8854826,0.664606611 28.4044438,0.444472651 28.9466386,0.444472651 L60.3925021,0.444472651 C61.4970716,0.444472651 62.3925021,1.33990315 62.3925021,2.44447265 C62.3925021,2.9858375 62.1730396,3.50407742 61.7842512,3.88079942 L46.0801285,19.0975301 C45.3051579,19.8484488 44.0742167,19.8491847 43.2983488,19.0991931 Z" id="Path" fill="url(#linearGradient-3)"></path>
-    </g>
-  </g>
-</svg>
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
+<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="70px" height="65px" viewBox="0 0 70 65" enable-background="new 0 0 70 65" xml:space="preserve">  <image id="image0" width="70" height="65" x="0" y="0"
+    href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEYAAABBCAYAAABsK9I8AAAABGdBTUEAALGPC/xhBQAAACBjSFJN
+AAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QA/wD/AP+gvaeTAAAA
+B3RJTUUH5QkDEyYGoSXWNgAAHLpJREFUeNrtm3m0XFWd7z97OOdU1R0zkXmAhCEMAmESSNBWZOpG
+Ueh2QmQSUVABAduBBm3AVkCgVUBAQBqxwZHnhDLIEJQEReZAArkRMBCS3NyhbtUZ9t6/98epW0kM
+8RHeery33uK3Vt1adeucU/t892/47u9vHyUiwpu2ien/2wP4f9XeBGYz9iYwm7E3gdmMbTkwzSaI
+IwMyAAHyAijwZECBeCBQvpMBIwRyBCjIEQIA4soXAs1ccAAO8K3rtt5C68MbWSe2HJhKBApM8CSA
+c02IYSiLuOHmh3luRT8FIBowAAlpFqOI8XgiBF+kIAXKBpRyQKAaeWzIyxGFEoCRkREUoFGEAEqp
+NwwYZAstk0LyPBfxXsQ1JIiXRU++IO9879mSTDxM5h/4fnl+1aA0fSZenLhCRLzISCOVILn4fERE
+CgnipVnkkuZZeUDeFCkyKQovIiIhuPL/4svfEymv9QaZfT1gRjYqfd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gAAACB0RVh0c29mdHdhcmUAaHR0cHM6Ly9pbWFnZW1hZ2ljay5vcme8zx2d
+AAAAGHRFWHRUaHVtYjo6RG9jdW1lbnQ6OlBhZ2VzADGn/7svAAAAF3RFWHRUaHVtYjo6SW1hZ2U6
+OkhlaWdodAA2NcvnmRIAAAAWdEVYdFRodW1iOjpJbWFnZTo6V2lkdGgANzBaOZxRAAAAGXRFWHRU
+aHVtYjo6TWltZXR5cGUAaW1hZ2UvcG5nP7JWTgAAABd0RVh0VGh1bWI6Ok1UaW1lADE2MzA2NDAy
+ODaNZ8YOAAAAEnRFWHRUaHVtYjo6U2l6ZQA3MDMzQkIXgDvnAAAARnRFWHRUaHVtYjo6VVJJAGZp
+bGU6Ly8vYXBwL3RtcC9pbWFnZWxjL2ltZ3ZpZXcyXzlfMTYyNjY3OTQ3Mzk1ODMwMjhfODFfWzBd
+XqpnBwAAAABJRU5ErkJggg==" ></image>
+</svg>

+ 53 - 0
src/components/GlobalHeader/index.vue

@@ -0,0 +1,53 @@
+<template>
+ <div class="header-animat">
+  <!--切换应用-->
+    <a-menu
+    style="height: 55px; border-bottom: 0px;"
+    mode="horizontal"
+    :default-selected-keys="dev"
+    @click="switchApp"
+    >
+        <a-menu-item key="personal" style="top:0px;margin-top: 5px; line-height: 55px; padding-left: 10px; padding-right: 10px" >
+            个人工作台
+        </a-menu-item>
+        <a-menu-item key="project" style="top:0px;margin-top: 5px;line-height: 55px; padding-left: 10px; padding-right: 10px">
+            项目管理
+        </a-menu-item>
+    </a-menu>
+ </div>
+</template>
+
+<script>
+ //import { getPersonalNav, getProjectNav } from '@/api/task'
+
+export default {
+    name: 'globalheader',
+
+    components: { },
+
+    directives: { },
+
+    data() {
+        return {
+            dev: ['personal']
+        }
+    },
+
+    methods: {
+        switchApp(item, key, keyPath){
+            if(item.key == "personal"){
+                getPersonalNav().then(res => {
+                    console.log(res)
+                }) 
+            }else if (item.key == "project"){
+                getProjectNav().then(res => {
+                    console.log(res)
+                })
+            }
+        }
+    }
+}
+</script>
+
+<style scoped>
+</style>

+ 1 - 1
src/config/defaultSettings.js

@@ -23,7 +23,7 @@ export default {
   menu: {
     locale: true
   },
-  title: 'Ant Design Pro',
+  title: '项目管理平台',
   pwa: false,
   iconfontUrl: '',
   production: process.env.NODE_ENV === 'production' && process.env.VUE_APP_PREVIEW !== 'true'

+ 21 - 7
src/config/router.config.js

@@ -13,7 +13,7 @@ export const asyncRouterMap = [
     name: 'index',
     component: BasicLayout,
     meta: { title: 'menu.home' },
-    redirect: '/dashboard/workplace',
+    redirect: '/tasks/myday',
     children: [
       // dashboard
       {
@@ -271,34 +271,48 @@ export const asyncRouterMap = [
 
       // 个人任务清单
       {
-        path: '/tasks/important',
+        path: '/tasks/myday',
         name: 'myday',
         component: () => import(/* webpackChunkName: "fail" */ '@/views/task/personal/OneDayForMe'),
-        meta: { title: 'menu.exception', icon: 'warning' }
+        meta: { title: 'menu.exception', icon: 'alert' }
       },
       {
         path: '/tasks/important',
         name: 'important',
         component: () => import(/* webpackChunkName: "fail" */ '@/views/task/personal/OneDayForMe'),
-        meta: { title: 'menu.exception', icon: 'warning' }
+        meta: { title: 'menu.exception', icon: 'star' }
       },
       {
         path: '/tasks/planned',
         name: 'planned',
         component: () => import(/* webpackChunkName: "fail" */ '@/views/task/personal/OneDayForMe'),
-        meta: { title: 'menu.exception', icon: 'warning' }
+        meta: { title: 'menu.exception', icon: 'calendar' }
       },
       {
         path: '/tasks/assigned_to_me',
         name: 'assigned_to_me',
         component: () => import(/* webpackChunkName: "fail" */ '@/views/task/personal/OneDayForMe'),
-        meta: { title: 'menu.exception', icon: 'warning' }
+        meta: { title: 'menu.exception', icon: 'user' }
       },
       {
         path: '/tasks/inbox',
         name: 'inbox',
         component: () => import(/* webpackChunkName: "fail" */ '@/views/task/personal/OneDayForMe'),
-        meta: { title: 'menu.exception', icon: 'warning' }
+        meta: { title: 'menu.exception', icon: 'home' }
+      },
+
+      // 项目管理部分
+      {
+        path: '/project/weeklyplan',
+        name: 'weeklyplan',
+        component: () => import(/* webpackChunkName: "fail" */ '@/views/task/project/WeeklyPlan'),
+        meta: { title: 'menu.exception', icon: 'tag' }
+      },
+      {
+        path: '/project/monthlyplan',
+        name: 'monthlyplan',
+        component: () => import(/* webpackChunkName: "fail" */ '@/views/task/project/MonthlyPlan'),
+        meta: { title: 'menu.exception', icon: 'tags' }
       }
 
       // other

+ 6 - 16
src/layouts/BasicLayout.vue

@@ -9,12 +9,6 @@
     :i18nRender="i18nRender"
     v-bind="settings"
   >
-    <!-- Ads begin
-      广告代码 真实项目中请移除
-      production remove this Ads
-    -->
-    <ads v-if="isProPreviewSite && !collapsed"/>
-    <!-- Ads end -->
 
     <!-- 1.0.0+ 版本 pro-layout 提供 API,
           我们推荐使用这种方式进行 LOGO 和 title 自定义
@@ -22,18 +16,14 @@
     <template v-slot:menuHeaderRender>
       <div>
         <logo-svg />
-        <h1>{{ title }}</h1>
+        <h1 style="color:#2c3c66">{{ title }}</h1>
       </div>
     </template>
     <!-- 1.0.0+ 版本 pro-layout 提供 API,
           增加 Header 左侧内容区自定义
     -->
     <template v-slot:headerContentRender>
-      <div>
-        <a-tooltip title="刷新页面">
-          <a-icon type="reload" style="font-size: 18px;cursor: pointer;" @click="() => { $message.info('只是一个DEMO') }" />
-        </a-tooltip>
-      </div>
+      <global-header/>
     </template>
 
     <setting-drawer v-if="isDev" :settings="settings" @change="handleSettingChange">
@@ -46,7 +36,7 @@
     </template>
     <!-- custom footer / 自定义Footer -->
     <template v-slot:footerRender>
-      <global-footer />
+      <global-footer/>
     </template>
     <router-view />
   </pro-layout>
@@ -60,8 +50,8 @@ import { CONTENT_WIDTH_TYPE, SIDEBAR_TYPE, TOGGLE_MOBILE_TYPE } from '@/store/mu
 
 import defaultSettings from '@/config/defaultSettings'
 import RightContent from '@/components/GlobalHeader/RightContent'
+import GlobalHeader from '@/components/GlobalHeader'
 import GlobalFooter from '@/components/GlobalFooter'
-import Ads from '@/components/Other/CarbonAds'
 import LogoSvg from '../assets/logo.svg?inline'
 
 export default {
@@ -69,9 +59,9 @@ export default {
   components: {
     SettingDrawer,
     RightContent,
+    GlobalHeader,
     GlobalFooter,
-    LogoSvg,
-    Ads
+    LogoSvg
   },
   data () {
     return {

+ 43 - 386
src/mock/services/user.js

@@ -465,387 +465,9 @@ const info = options => {
   return builder(userInfo)
 }
 
-const userNav = options => {
+// 个人工作台
+const personalNav = options => {
   const nav = [
-    // dashboard
-    {
-      name: 'dashboard',
-      parentId: 0,
-      id: 1,
-      meta: {
-        icon: 'dashboard',
-        title: '仪表盘',
-        show: true
-      },
-      component: 'RouteView',
-      redirect: '/dashboard/workplace'
-    },
-    {
-      name: 'workplace',
-      parentId: 1,
-      id: 7,
-      meta: {
-        title: '工作台',
-        show: true
-      },
-      component: 'Workplace'
-    },
-    {
-      name: 'monitor',
-      path: 'https://www.baidu.com/',
-      parentId: 1,
-      id: 3,
-      meta: {
-        title: '监控页(外部)',
-        target: '_blank',
-        show: true
-      }
-    },
-    {
-      name: 'Analysis',
-      parentId: 1,
-      id: 2,
-      meta: {
-        title: '分析页',
-        show: true
-      },
-      component: 'Analysis',
-      path: '/dashboard/analysis'
-    },
-
-    // form
-    {
-      name: 'form',
-      parentId: 0,
-      id: 10,
-      meta: {
-        icon: 'form',
-        title: '表单页'
-      },
-      redirect: '/form/base-form',
-      component: 'RouteView'
-    },
-    {
-      name: 'basic-form',
-      parentId: 10,
-      id: 6,
-      meta: {
-        title: '基础表单'
-      },
-      component: 'BasicForm'
-    },
-    {
-      name: 'step-form',
-      parentId: 10,
-      id: 5,
-      meta: {
-        title: '分步表单'
-      },
-      component: 'StepForm'
-    },
-    {
-      name: 'advanced-form',
-      parentId: 10,
-      id: 4,
-      meta: {
-        title: '高级表单'
-      },
-      component: 'AdvanceForm'
-    },
-
-    // list
-    {
-      name: 'list',
-      parentId: 0,
-      id: 10010,
-      meta: {
-        icon: 'table',
-        title: '列表页',
-        show: true
-      },
-      redirect: '/list/table-list',
-      component: 'RouteView'
-    },
-    {
-      name: 'table-list',
-      parentId: 10010,
-      id: 10011,
-      path: '/list/table-list/:pageNo([1-9]\\d*)?',
-      meta: {
-        title: '查询表格',
-        show: true
-      },
-      component: 'TableList'
-    },
-    {
-      name: 'basic-list',
-      parentId: 10010,
-      id: 10012,
-      meta: {
-        title: '标准列表',
-        show: true
-      },
-      component: 'StandardList'
-    },
-    {
-      name: 'card',
-      parentId: 10010,
-      id: 10013,
-      meta: {
-        title: '卡片列表',
-        show: true
-      },
-      component: 'CardList'
-    },
-    {
-      name: 'search',
-      parentId: 10010,
-      id: 10014,
-      meta: {
-        title: '搜索列表',
-        show: true
-      },
-      redirect: '/list/search/article',
-      component: 'SearchLayout'
-    },
-    {
-      name: 'article',
-      parentId: 10014,
-      id: 10015,
-      meta: {
-        title: '搜索列表(文章)',
-        show: true
-      },
-      component: 'SearchArticles'
-    },
-    {
-      name: 'project',
-      parentId: 10014,
-      id: 10016,
-      meta: {
-        title: '搜索列表(项目)',
-        show: true
-      },
-      component: 'SearchProjects'
-    },
-    {
-      name: 'application',
-      parentId: 10014,
-      id: 10017,
-      meta: {
-        title: '搜索列表(应用)',
-        show: true
-      },
-      component: 'SearchApplications'
-    },
-
-    // profile
-    {
-      name: 'profile',
-      parentId: 0,
-      id: 10018,
-      meta: {
-        title: '详情页',
-        icon: 'profile',
-        show: true
-      },
-      redirect: '/profile/basic',
-      component: 'RouteView'
-    },
-    {
-      name: 'basic',
-      parentId: 10018,
-      id: 10019,
-      meta: {
-        title: '基础详情页',
-        show: true
-      },
-      component: 'ProfileBasic'
-    },
-    {
-      name: 'advanced',
-      parentId: 10018,
-      id: 10020,
-      meta: {
-        title: '高级详情页',
-        show: true
-      },
-      component: 'ProfileAdvanced'
-    },
-
-    // result
-    {
-      name: 'result',
-      parentId: 0,
-      id: 10021,
-      meta: {
-        title: '结果页',
-        icon: 'check-circle-o',
-        show: true
-      },
-      redirect: '/result/success',
-      component: 'PageView'
-    },
-    {
-      name: 'success',
-      parentId: 10021,
-      id: 10022,
-      meta: {
-        title: '成功',
-        hiddenHeaderContent: true,
-        show: true
-      },
-      component: 'ResultSuccess'
-    },
-    {
-      name: 'fail',
-      parentId: 10021,
-      id: 10023,
-      meta: {
-        title: '失败',
-        hiddenHeaderContent: true,
-        show: true
-      },
-      component: 'ResultFail'
-    },
-
-    // Exception
-    {
-      name: 'exception',
-      parentId: 0,
-      id: 10024,
-      meta: {
-        title: '异常页',
-        icon: 'warning',
-        show: true
-      },
-      redirect: '/exception/403',
-      component: 'RouteView'
-    },
-    {
-      name: '403',
-      parentId: 10024,
-      id: 10025,
-      meta: {
-        title: '403',
-        show: true
-      },
-      component: 'Exception403'
-    },
-    {
-      name: '404',
-      parentId: 10024,
-      id: 10026,
-      meta: {
-        title: '404',
-        show: true
-      },
-      component: 'Exception404'
-    },
-    {
-      name: '500',
-      parentId: 10024,
-      id: 10027,
-      meta: {
-        title: '500',
-        show: true
-      },
-      component: 'Exception500'
-    },
-
-    // account
-    {
-      name: 'account',
-      parentId: 0,
-      id: 10028,
-      meta: {
-        title: '个人页',
-        icon: 'user',
-        show: true
-      },
-      redirect: '/account/center',
-      component: 'RouteView'
-    },
-    {
-      name: 'center',
-      parentId: 10028,
-      id: 10029,
-      meta: {
-        title: '个人中心',
-        show: true
-      },
-      component: 'AccountCenter'
-    },
-    // 特殊三级菜单
-    {
-      name: 'settings',
-      parentId: 10028,
-      id: 10030,
-      meta: {
-        title: '个人设置',
-        hideHeader: true,
-        hideChildren: true,
-        show: true
-      },
-      redirect: '/account/settings/base',
-      component: 'AccountSettings'
-    },
-    {
-      name: 'BasicSetting',
-      path: '/account/settings/base',
-      parentId: 10030,
-      id: 10031,
-      meta: {
-        title: '基本设置',
-        show: false
-      },
-      component: 'BasicSetting'
-    },
-    {
-      name: 'SecuritySettings',
-      path: '/account/settings/security',
-      parentId: 10030,
-      id: 10032,
-      meta: {
-        title: '安全设置',
-        show: false
-      },
-      component: 'SecuritySettings'
-    },
-    {
-      name: 'CustomSettings',
-      path: '/account/settings/custom',
-      parentId: 10030,
-      id: 10033,
-      meta: {
-        title: '个性化设置',
-        show: false
-      },
-      component: 'CustomSettings'
-    },
-    {
-      name: 'BindingSettings',
-      path: '/account/settings/binding',
-      parentId: 10030,
-      id: 10034,
-      meta: {
-        title: '账户绑定',
-        show: false
-      },
-      component: 'BindingSetting'
-    },
-    {
-      name: 'NotificationSettings',
-      path: '/account/settings/notification',
-      parentId: 10030,
-      id: 10034,
-      meta: {
-        title: '新消息通知',
-        show: false
-      },
-      component: 'NotificationSettings'
-    },
-
     // 我的任务清单
     {
       name: 'tasks/myday',
@@ -853,7 +475,7 @@ const userNav = options => {
       id: 10035,
       meta: {
         title: '我的一天',
-        icon: 'warning',
+        icon: 'alert',
         show: true
       },
       component: 'OneDayForMe'
@@ -864,7 +486,7 @@ const userNav = options => {
       id: 10036,
       meta: {
         title: '重要',
-        icon: 'warning',
+        icon: 'star',
         show: true
       },
       component: 'Important'
@@ -875,7 +497,7 @@ const userNav = options => {
       id: 10037,
       meta: {
         title: '计划内',
-        icon: 'warning',
+        icon: 'calendar',
         show: true
       },
       component: 'InsideThePlan'
@@ -886,7 +508,7 @@ const userNav = options => {
       id: 10038,
       meta: {
         title: '已分配给我',
-        icon: 'warning',
+        icon: 'user',
         show: true
       },
       component: 'AssignedToMe'
@@ -897,7 +519,7 @@ const userNav = options => {
       id: 10039,
       meta: {
         title: '任务',
-        icon: 'warning',
+        icon: 'home',
         show: true
       },
       component: 'MyTask'
@@ -908,5 +530,40 @@ const userNav = options => {
   return json
 }
 
+// 项目管理
+const projectNav = options => {
+  const nav = [
+    // 周计划
+    {
+      name: 'project/WeeklyPlan',
+      parentId: 0,
+      id: 10040,
+      meta: {
+        title: '周计划',
+        icon: 'alert',
+        show: true
+      },
+      component: 'WeeklyPlan'
+    },
+    // 月度计划
+    {
+      name: 'project/MonthlyPlan',
+      parentId: 0,
+      id: 10041,
+      meta: {
+        title: '月度计划',
+        icon: 'star',
+        show: true
+      },
+      component: 'MonthlyPlan'
+    }
+  ]
+  const json = builder(nav)
+  console.log('json', json)
+  return json
+}
+
 Mock.mock(/\/api\/user\/info/, 'get', info)
-Mock.mock(/\/api\/user\/nav/, 'get', userNav)
+// Mock.mock(/\/api\/user\/nav/, 'get', userNav)
+Mock.mock(/\/api\/personal\/nav/, 'get', personalNav)
+Mock.mock(/\/api\/project\/nav/, 'get', projectNav)

+ 9 - 4
src/router/generator-routers.js

@@ -2,6 +2,7 @@
 import * as loginService from '@/api/login'
 // eslint-disable-next-line
 import { BasicLayout, BlankLayout, PageView, RouteView } from '@/layouts'
+import * as taskService from "@/api/task"
 
 // 前端路由表
 const constantRouterComponents = {
@@ -57,7 +58,11 @@ const constantRouterComponents = {
   Important: () => import('@/views/task/personal/Important'),
   InsideThePlan: () => import('@/views/task/personal/InsideThePlan'),
   AssignedToMe: () => import('@/views/task/personal/AssignedToMe'),
-  MyTask: () => import('@/views/task/personal/MyTask')
+  MyTask: () => import('@/views/task/personal/MyTask'),
+
+  // 项目管理菜单
+  WeeklyPlan: () => import('@/views/task/project/WeeklyPlan'),
+  MonthlyPlan: () => import('@/views/task/project/MonthlyPlan')
 
   // 'TestWork': () => import(/* webpackChunkName: "TestWork" */ '@/views/dashboard/TestWork')
 }
@@ -75,7 +80,7 @@ const rootRouter = {
   name: 'index',
   path: '',
   component: 'BasicLayout',
-  redirect: '/dashboard',
+  redirect: '/tasks/myday',
   meta: {
     title: '首页'
   },
@@ -89,8 +94,8 @@ const rootRouter = {
  */
 export const generatorDynamicRouter = token => {
   return new Promise((resolve, reject) => {
-    loginService
-      .getCurrentUserNav(token)
+    taskService
+      .getPersonalNav(token)
       .then(res => {
         console.log('generatorDynamicRouter response:', res)
         const { result } = res

+ 61 - 3
src/views/task/personal/OneDayForMe.vue

@@ -1,17 +1,75 @@
 <template>
     <div>
-       我的一天
+       <a-row>
+         <a-col :span="3">
+           <h1><strong style="font-size: 20px;">我的一天</strong></h1>
+           九月 4日星期六
+          </a-col>
+          <a-col :span = "3" :offset="13">
+            <a-button type="link" icon="swap">
+              排序
+            </a-button>
+            <a-button type="link" icon="bulb">建议</a-button>
+          </a-col>
+       </a-row>
+       <a-row style="margin-top:15px">
+         <a-col span="18">
+          <a-input size="large" placeholder="请输入任务">
+            <a-icon slot="prefix" type="plus" />
+          </a-input>
+
+          <a-list item-layout="horizontal" :data-source="data">
+            <a-list-item slot="renderItem" slot-scope="item, index">
+              <a-list-item-meta
+                description="任务"
+              >
+                <a slot="title" href="#">{{ item.title }}</a>
+                <a-button
+                  size="small"
+                  shape="circle"
+                  slot="avatar"
+                  style="margin-top: 10px;"
+                />
+              </a-list-item-meta>
+              <a-icon type="star" />
+            </a-list-item>
+          </a-list>
+
+
+        </a-col>
+        <a-col :span="5" style="margin-left: 25px;">
+          <a-card style="width: 380px">
+            <p>Card content</p>
+            <p>Card content</p>
+            <p>Card content</p>
+          </a-card>
+        </a-col>
+      </a-row>
     </div>
 </template>
 
 <script>
-
+const data = [
+  {
+    title: '起床',
+  },
+  {
+    title: '吃饭',
+  },
+  {
+    title: '上班',
+  },
+  {
+    title: '下班',
+  },
+];
 export default {
-  name: '',
+  name: 'onedayforme',
   components: {
   },
   data () {
     return {
+      data
     }
   },
   mounted () {