소스 검색

deploy

master
Soleilw 6 달 전
부모
커밋
22a269364d
7개의 변경된 파일57개의 추가작업 그리고 53개의 파일을 삭제
  1. 7
    1
      config/routes.ts
  2. 1
    1
      dist/index.html
  3. 1
    0
      dist/p__Home__index.6c1ee7cd.async.js
  4. 17
    17
      dist/umi.70c8d99a.js
  5. 29
    28
      src/.umi/core/route.tsx
  6. 1
    0
      src/access.ts
  7. 1
    6
      src/pages/Home/index.tsx

+ 7
- 1
config/routes.ts 파일 보기

@@ -3,13 +3,19 @@ export default [
{ path: '/login', component: './Login', layout: false, access: 'login' },
{
path: '/',
redirect: '/company/list',
redirect: '/home',
},
{
path: '/login',
component: './Login',
layout: false
},
{
name: '首页',
path: '/home',
component: './Home',
access: 'home',
},
{
name: '企业管理',
access: 'company',

+ 1
- 1
dist/index.html 파일 보기

@@ -8,6 +8,6 @@
</head>
<body>
<div id="root"></div>
<script src="/umi.ce320309.js"></script>
<script src="/umi.70c8d99a.js"></script>
</body>
</html>

+ 1
- 0
dist/p__Home__index.6c1ee7cd.async.js 파일 보기

@@ -0,0 +1 @@
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[371],{86587:function(t,u,e){e.r(u);var n=e(86074),a=function(){return(0,n.jsx)(n.Fragment,{children:"\u9875\u9762\u5F00\u53D1\u4E2D\u3002\u3002\u3002"})};u.default=a}}]);

dist/umi.70c8d99a.js
파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
파일 보기


+ 29
- 28
src/.umi/core/route.tsx 파일 보기

@@ -4,40 +4,41 @@
import React from 'react';

export async function getRoutes() {
const routes = {"1":{"path":"/login","layout":false,"access":"login","id":"1"},"2":{"path":"/","redirect":"/company/list","parentId":"ant-design-pro-layout","id":"2"},"3":{"path":"/login","layout":false,"id":"3"},"4":{"name":"企业管理","access":"company","path":"/company","parentId":"ant-design-pro-layout","id":"4"},"5":{"name":"所有企业","path":"/company/list","access":"member","parentId":"4","id":"5"},"6":{"name":"VIP列表","path":"/company/vip","access":"vip","parentId":"4","id":"6"},"7":{"name":"部门管理","path":"/company/department","access":"department","parentId":"4","id":"7"},"8":{"name":"职位管理","path":"/company/post","access":"job","parentId":"4","id":"8"},"9":{"name":"求职者管理","access":"jobSeeker","path":"/jobseeker","parentId":"ant-design-pro-layout","id":"9"},"10":{"name":"简历列表","path":"/jobseeker/list","access":"jobResume","parentId":"9","id":"10"},"11":{"name":"求职者账号列表","path":"/jobseeker/account","access":"customerList","parentId":"9","id":"11"},"12":{"name":"招聘会管理","access":"jobFair","path":"/fair","parentId":"ant-design-pro-layout","id":"12"},"13":{"name":"招聘会列表","path":"/fair/list","access":"jobFairList","parentId":"12","id":"13"},"14":{"name":"新闻资讯","access":"information","path":"/information","parentId":"ant-design-pro-layout","id":"14"},"15":{"name":"栏目/频道","path":"/information/section","access":"section","parentId":"14","id":"15"},"16":{"name":"文章列表","path":"/information/article","access":"article","parentId":"14","id":"16"},"17":{"name":"广告/活动管理","access":"advertisement","path":"/advertisement","parentId":"ant-design-pro-layout","id":"17"},"18":{"name":"广告/活动列表","path":"/advertisement/list","access":"advertisementList","parentId":"17","id":"18"},"19":{"name":"广告/活动投放","path":"/advertisement/putin","access":"putIn","parentId":"17","id":"19"},"20":{"name":"春节引流活动管理","access":"activity","path":"/activity","parentId":"ant-design-pro-layout","id":"20"},"21":{"name":"活动门店","path":"/activity/list","access":"activityAddress","parentId":"20","id":"21"},"22":{"name":"账号权限","path":"/permission","access":"permission","parentId":"ant-design-pro-layout","id":"22"},"23":{"name":"权限管理","path":"/permission/list","access":"list","parentId":"22","id":"23"},"24":{"name":"角色管理","path":"/permission/role","access":"role","parentId":"22","id":"24"},"25":{"name":"账号管理","path":"/permission/account","access":"account","parentId":"22","id":"25"},"26":{"name":"系统管理","path":"/setting","parentId":"ant-design-pro-layout","id":"26"},"27":{"name":"系统设置","path":"/setting/system","access":"other","parentId":"26","id":"27"},"28":{"name":"字典设置","path":"/setting/dictionary","access":"dictionaryList","parentId":"26","id":"28"},"29":{"name":"分词器","path":"/setting/other","access":"otherTokenizer","parentId":"26","id":"29"},"30":{"name":"反馈管理","path":"/feedback/list","access":"feedback","parentId":"ant-design-pro-layout","id":"30"},"ant-design-pro-layout":{"id":"ant-design-pro-layout","path":"/","isLayout":true}} as const;
const routes = {"1":{"path":"/login","layout":false,"access":"login","id":"1"},"2":{"path":"/","redirect":"/home","parentId":"ant-design-pro-layout","id":"2"},"3":{"path":"/login","layout":false,"id":"3"},"4":{"name":"首页","path":"/home","access":"home","parentId":"ant-design-pro-layout","id":"4"},"5":{"name":"企业管理","access":"company","path":"/company","parentId":"ant-design-pro-layout","id":"5"},"6":{"name":"所有企业","path":"/company/list","access":"member","parentId":"5","id":"6"},"7":{"name":"VIP列表","path":"/company/vip","access":"vip","parentId":"5","id":"7"},"8":{"name":"部门管理","path":"/company/department","access":"department","parentId":"5","id":"8"},"9":{"name":"职位管理","path":"/company/post","access":"job","parentId":"5","id":"9"},"10":{"name":"求职者管理","access":"jobSeeker","path":"/jobseeker","parentId":"ant-design-pro-layout","id":"10"},"11":{"name":"简历列表","path":"/jobseeker/list","access":"jobResume","parentId":"10","id":"11"},"12":{"name":"求职者账号列表","path":"/jobseeker/account","access":"customerList","parentId":"10","id":"12"},"13":{"name":"招聘会管理","access":"jobFair","path":"/fair","parentId":"ant-design-pro-layout","id":"13"},"14":{"name":"招聘会列表","path":"/fair/list","access":"jobFairList","parentId":"13","id":"14"},"15":{"name":"新闻资讯","access":"information","path":"/information","parentId":"ant-design-pro-layout","id":"15"},"16":{"name":"栏目/频道","path":"/information/section","access":"section","parentId":"15","id":"16"},"17":{"name":"文章列表","path":"/information/article","access":"article","parentId":"15","id":"17"},"18":{"name":"广告/活动管理","access":"advertisement","path":"/advertisement","parentId":"ant-design-pro-layout","id":"18"},"19":{"name":"广告/活动列表","path":"/advertisement/list","access":"advertisementList","parentId":"18","id":"19"},"20":{"name":"广告/活动投放","path":"/advertisement/putin","access":"putIn","parentId":"18","id":"20"},"21":{"name":"春节引流活动管理","access":"activity","path":"/activity","parentId":"ant-design-pro-layout","id":"21"},"22":{"name":"活动门店","path":"/activity/list","access":"activityAddress","parentId":"21","id":"22"},"23":{"name":"账号权限","path":"/permission","access":"permission","parentId":"ant-design-pro-layout","id":"23"},"24":{"name":"权限管理","path":"/permission/list","access":"list","parentId":"23","id":"24"},"25":{"name":"角色管理","path":"/permission/role","access":"role","parentId":"23","id":"25"},"26":{"name":"账号管理","path":"/permission/account","access":"account","parentId":"23","id":"26"},"27":{"name":"系统管理","path":"/setting","parentId":"ant-design-pro-layout","id":"27"},"28":{"name":"系统设置","path":"/setting/system","access":"other","parentId":"27","id":"28"},"29":{"name":"字典设置","path":"/setting/dictionary","access":"dictionaryList","parentId":"27","id":"29"},"30":{"name":"分词器","path":"/setting/other","access":"otherTokenizer","parentId":"27","id":"30"},"31":{"name":"反馈管理","path":"/feedback/list","access":"feedback","parentId":"ant-design-pro-layout","id":"31"},"ant-design-pro-layout":{"id":"ant-design-pro-layout","path":"/","isLayout":true}} as const;
return {
routes,
routeComponents: {
'1': React.lazy(() => import(/* webpackChunkName: "p__Login__index" */'@/pages/Login/index.tsx')),
'2': React.lazy(() => import('./EmptyRoute')),
'3': React.lazy(() => import(/* webpackChunkName: "p__Login__index" */'@/pages/Login/index.tsx')),
'4': React.lazy(() => import('./EmptyRoute')),
'5': React.lazy(() => import(/* webpackChunkName: "p__Company__List__index" */'@/pages/Company/List/index.tsx')),
'6': React.lazy(() => import(/* webpackChunkName: "p__Company__Vip__index" */'@/pages/Company/Vip/index.tsx')),
'7': React.lazy(() => import(/* webpackChunkName: "p__Company__Department__index" */'@/pages/Company/Department/index.tsx')),
'8': React.lazy(() => import(/* webpackChunkName: "p__Company__Post__index" */'@/pages/Company/Post/index.tsx')),
'9': React.lazy(() => import('./EmptyRoute')),
'10': React.lazy(() => import(/* webpackChunkName: "p__Jobseeker__List__index" */'@/pages/Jobseeker/List/index.tsx')),
'11': React.lazy(() => import(/* webpackChunkName: "p__Jobseeker__Account__index" */'@/pages/Jobseeker/Account/index.tsx')),
'12': React.lazy(() => import('./EmptyRoute')),
'13': React.lazy(() => import(/* webpackChunkName: "p__Fair__List__index" */'@/pages/Fair/List/index.tsx')),
'14': React.lazy(() => import('./EmptyRoute')),
'15': React.lazy(() => import(/* webpackChunkName: "p__Information__Section__index" */'@/pages/Information/Section/index.tsx')),
'16': React.lazy(() => import(/* webpackChunkName: "p__Information__Article__index" */'@/pages/Information/Article/index.tsx')),
'17': React.lazy(() => import('./EmptyRoute')),
'18': React.lazy(() => import(/* webpackChunkName: "p__Advertisement__List__index" */'@/pages/Advertisement/List/index.tsx')),
'19': React.lazy(() => import(/* webpackChunkName: "p__Advertisement__Putin__index" */'@/pages/Advertisement/Putin/index.tsx')),
'20': React.lazy(() => import('./EmptyRoute')),
'21': React.lazy(() => import(/* webpackChunkName: "p__Activity__List__index" */'@/pages/Activity/List/index.tsx')),
'22': React.lazy(() => import('./EmptyRoute')),
'23': React.lazy(() => import(/* webpackChunkName: "p__Permission__List__index" */'@/pages/Permission/List/index.tsx')),
'24': React.lazy(() => import(/* webpackChunkName: "p__Permission__Role__index" */'@/pages/Permission/Role/index.tsx')),
'25': React.lazy(() => import(/* webpackChunkName: "p__Permission__Account__index" */'@/pages/Permission/Account/index.tsx')),
'26': React.lazy(() => import('./EmptyRoute')),
'27': React.lazy(() => import(/* webpackChunkName: "p__Setting__System__index" */'@/pages/Setting/System/index.tsx')),
'28': React.lazy(() => import(/* webpackChunkName: "p__Setting__Dictionary__index" */'@/pages/Setting/Dictionary/index.tsx')),
'29': React.lazy(() => import(/* webpackChunkName: "p__Setting__Other__index" */'@/pages/Setting/Other/index.tsx')),
'30': React.lazy(() => import(/* webpackChunkName: "p__Feedback__index" */'@/pages/Feedback/index.tsx')),
'4': React.lazy(() => import(/* webpackChunkName: "p__Home__index" */'@/pages/Home/index.tsx')),
'5': React.lazy(() => import('./EmptyRoute')),
'6': React.lazy(() => import(/* webpackChunkName: "p__Company__List__index" */'@/pages/Company/List/index.tsx')),
'7': React.lazy(() => import(/* webpackChunkName: "p__Company__Vip__index" */'@/pages/Company/Vip/index.tsx')),
'8': React.lazy(() => import(/* webpackChunkName: "p__Company__Department__index" */'@/pages/Company/Department/index.tsx')),
'9': React.lazy(() => import(/* webpackChunkName: "p__Company__Post__index" */'@/pages/Company/Post/index.tsx')),
'10': React.lazy(() => import('./EmptyRoute')),
'11': React.lazy(() => import(/* webpackChunkName: "p__Jobseeker__List__index" */'@/pages/Jobseeker/List/index.tsx')),
'12': React.lazy(() => import(/* webpackChunkName: "p__Jobseeker__Account__index" */'@/pages/Jobseeker/Account/index.tsx')),
'13': React.lazy(() => import('./EmptyRoute')),
'14': React.lazy(() => import(/* webpackChunkName: "p__Fair__List__index" */'@/pages/Fair/List/index.tsx')),
'15': React.lazy(() => import('./EmptyRoute')),
'16': React.lazy(() => import(/* webpackChunkName: "p__Information__Section__index" */'@/pages/Information/Section/index.tsx')),
'17': React.lazy(() => import(/* webpackChunkName: "p__Information__Article__index" */'@/pages/Information/Article/index.tsx')),
'18': React.lazy(() => import('./EmptyRoute')),
'19': React.lazy(() => import(/* webpackChunkName: "p__Advertisement__List__index" */'@/pages/Advertisement/List/index.tsx')),
'20': React.lazy(() => import(/* webpackChunkName: "p__Advertisement__Putin__index" */'@/pages/Advertisement/Putin/index.tsx')),
'21': React.lazy(() => import('./EmptyRoute')),
'22': React.lazy(() => import(/* webpackChunkName: "p__Activity__List__index" */'@/pages/Activity/List/index.tsx')),
'23': React.lazy(() => import('./EmptyRoute')),
'24': React.lazy(() => import(/* webpackChunkName: "p__Permission__List__index" */'@/pages/Permission/List/index.tsx')),
'25': React.lazy(() => import(/* webpackChunkName: "p__Permission__Role__index" */'@/pages/Permission/Role/index.tsx')),
'26': React.lazy(() => import(/* webpackChunkName: "p__Permission__Account__index" */'@/pages/Permission/Account/index.tsx')),
'27': React.lazy(() => import('./EmptyRoute')),
'28': React.lazy(() => import(/* webpackChunkName: "p__Setting__System__index" */'@/pages/Setting/System/index.tsx')),
'29': React.lazy(() => import(/* webpackChunkName: "p__Setting__Dictionary__index" */'@/pages/Setting/Dictionary/index.tsx')),
'30': React.lazy(() => import(/* webpackChunkName: "p__Setting__Other__index" */'@/pages/Setting/Other/index.tsx')),
'31': React.lazy(() => import(/* webpackChunkName: "p__Feedback__index" */'@/pages/Feedback/index.tsx')),
'ant-design-pro-layout': React.lazy(() => import(/* webpackChunkName: "umi__plugin-layout__Layout" */'E:/项目/outpackage/rencaishichanghoutai/src/.umi/plugin-layout/Layout.tsx')),
},
};

+ 1
- 0
src/access.ts 파일 보기

@@ -39,6 +39,7 @@ export default (initialState) => {
let accessObject = convertRoutesToAccessObject(filterRoutes(routes, initialState.permissions));

return {
home: true,
...accessObject
};
};

+ 1
- 6
src/pages/Home/index.tsx 파일 보기

@@ -5,13 +5,8 @@ import { useModel } from '@umijs/max';
import styles from './index.less';

const HomePage: React.FC = () => {
const { name } = useModel('global');
return (
<PageContainer ghost>
<div className={styles.container}>
<Guide name={trim(name)} />
</div>
</PageContainer>
<>页面开发中。。。</>
);
};


Loading…
취소
저장