diff --git a/public/config.js b/public/config.js index 82ffee6..bef568e 100644 --- a/public/config.js +++ b/public/config.js @@ -5,9 +5,9 @@ // SHOW_URL: "http://www.fatoaniic.com/ftpfile/", // } config = { - API_URL: 'http://172.119.51.140:8082', - UPLOAD_URL: "http://172.119.51.140:8082/attachment/uploadOne", - DOWNLOAD_URL: "http://172.119.51.140:8082/api-ftp/ftp/download?filename=", + API_URL: 'http://61.135.192.42:8082', + UPLOAD_URL: "http://61.135.192.42:8082/attachment/uploadOne", + DOWNLOAD_URL: "http://61.135.192.42:8082/api-ftp/ftp/download?filename=", SHOW_URL: "http://www.fatoaniic.com/ftpfile/", } \ No newline at end of file diff --git a/public/favicon.ico b/public/favicon.ico index 483ec6d..92ddec6 100644 Binary files a/public/favicon.ico and b/public/favicon.ico differ diff --git a/src/router/index.ts b/src/router/index.ts index 0af4f9f..7080471 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -38,13 +38,7 @@ const routes = [ //一级菜单的路由 { path: '/', - components: { - default: () => import('@/views/home/home.vue'), - // banner: () => import('@/views/layout/components/banner.vue') - }, - name: 'home', - - meta: {title: '首页', icon: 'eye', noCache: true}, + redirect: '/system/company', }, { path: 'editPassword', @@ -60,20 +54,20 @@ const routes = [ hidden: true, meta: {title: '个人中心', icon: 'eye', noCache: true}, }, - { - path: 'register', - component: () => import('@/views/login/register.vue'), - name: 'register', - hidden: true, - meta: {title: '注册', icon: 'eye', noCache: true}, - }, - { - path: 'retrievePassword', - component: () => import('@/views/login/retrievePassword.vue'), - name: 'retrievePassword', - hidden: true, - meta: {title: '找回密码', icon: 'eye', noCache: true}, - }, + // { + // path: 'register', + // component: () => import('@/views/login/register.vue'), + // name: 'register', + // hidden: true, + // meta: {title: '注册', icon: 'eye', noCache: true}, + // }, + // { + // path: 'retrievePassword', + // component: () => import('@/views/login/retrievePassword.vue'), + // name: 'retrievePassword', + // hidden: true, + // meta: {title: '找回密码', icon: 'eye', noCache: true}, + // }, //系统管理 { path: 'system', @@ -82,42 +76,42 @@ const routes = [ redirect: 'noredirect', meta: {title: '系统管理'}, children: [ - { - path: 'menu', - component: () => import('@/views/systemManage/menu.vue'), - name: 'menuManage', - meta: {title: '菜单管理', icon: 'register', noCache: true}, - }, + // { + // path: 'menu', + // component: () => import('@/views/systemManage/menu.vue'), + // name: 'menuManage', + // meta: {title: '菜单管理', icon: 'register', noCache: true}, + // }, { path: 'user', component: () => import('@/views/systemManage/user.vue'), name: 'userManage', meta: {title: '用户管理', icon: 'register', noCache: true}, }, - { - path: 'role', - component: () => import('@/views/systemManage/role.vue'), - name: 'roleManage', - meta: {title: '角色管理', icon: 'register', noCache: true}, - }, - { - path: 'permission', - component: () => import('@/views/systemManage/permission.vue'), - name: 'permissionManage', - meta: {title: '权限管理', icon: 'register', noCache: true}, - }, + // { + // path: 'role', + // component: () => import('@/views/systemManage/role.vue'), + // name: 'roleManage', + // meta: {title: '角色管理', icon: 'register', noCache: true}, + // }, + // { + // path: 'permission', + // component: () => import('@/views/systemManage/permission.vue'), + // name: 'permissionManage', + // meta: {title: '权限管理', icon: 'register', noCache: true}, + // }, { path: 'company', component: () => import('@/views/systemManage/company/company.vue'), name: 'companyManage', meta: {title: '公司管理', icon: 'register', noCache: true}, }, - { - path: 'companyExamine',//公司审核新增 - component: () => import('@/views/systemManage/company/companyExamine.vue'), - name: 'companyExamine', - meta: {title: '公司审核', icon: 'register', noCache: true}, - }, + // { + // path: 'companyExamine',//公司审核新增 + // component: () => import('@/views/systemManage/company/companyExamine.vue'), + // name: 'companyExamine', + // meta: {title: '公司审核', icon: 'register', noCache: true}, + // }, //企业信息的添加or修改 { path: 'company/companyDetail', diff --git a/src/views/login/index.vue b/src/views/login/index.vue index d988d6f..b174659 100644 --- a/src/views/login/index.vue +++ b/src/views/login/index.vue @@ -91,7 +91,7 @@