diff --git a/src/config/router.config.js b/src/config/router.config.js
index f77bb4c..b128734 100644
--- a/src/config/router.config.js
+++ b/src/config/router.config.js
@@ -84,24 +84,24 @@ export const asyncRouterMap = [
component: () => import('@/views/project/ProjectList'),
meta: { title: '自主项目', keepAlive: true, permission: ['form'] },
},
- {
- path: '/project/add',
- name: 'ProjectForm',
- component: () => import('@/views/project/ProjectForm'),
- meta: { title: '新增项目', keepAlive: true, permission: ['form'], show: false }
- },
+ // {
+ // path: '/project/add',
+ // name: 'ProjectForm',
+ // component: () => import('@/views/project/ProjectForm'),
+ // meta: { title: '新增项目', keepAlive: true, permission: ['form'], show: false }
+ // },
{
path: '/project/projectStepForm',
name: 'projectStepForm',
- component: () => import('@/views/project/ProjectStepForm'),
+ component: () => import('@/views/project/form/ProjectStepForm'),
meta: { title: '新增项目-分布', keepAlive: true, permission: ['form'] }
},
- {
- path: '/project/unitSelect',
- name: 'unitSelect',
- component: () => import('@/views/project/ProjectUnitSelect'),
- meta: { title: '选择单位', keepAlive: true, permission: ['form'] }
- },
+ // {
+ // path: '/project/unitSelect',
+ // name: 'unitSelect',
+ // component: () => import('@/views/project/ProjectUnitSelect'),
+ // meta: { title: '选择单位', keepAlive: true, permission: ['form'] }
+ // },
{
path: '/form/step-form',
name: 'StepForm',
diff --git a/src/utils/request.js b/src/utils/request.js
index 69201e9..aa5f63f 100644
--- a/src/utils/request.js
+++ b/src/utils/request.js
@@ -49,7 +49,7 @@ const errorHandler = (error) => {
request.interceptors.request.use(config => {
// const token = storage.get(ACCESS_TOKEN)
// 由于登录接口待联调,token使用默认值
- const token = 'eyJhbGciOiJIUzUxMiJ9.eyJsb2dpbl91c2VyX2tleSI6ImY1ODZhMzc5LWQ3MjYtNDYxZS04MmFiLTUyNWRhNzI1ZjBhZCJ9.4AsSbHaR9W7dz1wBJ-u6-dL8VS5Su12eoXPnFriX-nn-CIiOMtSctMciECijN4F7uYrzUU8KP8jwkCJbPlMaQA'
+ const token = 'eyJhbGciOiJIUzUxMiJ9.eyJsb2dpbl91c2VyX2tleSI6IjIwMzU2Nzg5LWYyOGEtNDYxYi1iNTRhLTM2MWYzZjdhZjg2NSJ9.4vGoaj9KK8aYp9gEz2cnRM8MBWPrqIo8O5wNgbYK4-JUE3naeEuejjr3JfZ57TLbMYWqG1MkJ0kAT-2GMgreGQ'
// 如果 token 存在,让每个请求携带自定义 token 请根据实际情况自行修改
if (token) {
config.headers[ACCESS_TOKEN] = token
diff --git a/src/views/project/ProjectForm.vue b/src/views/project/ProjectForm.vue
deleted file mode 100644
index 0b8b54a..0000000
--- a/src/views/project/ProjectForm.vue
+++ /dev/null
@@ -1,132 +0,0 @@
-
-
- 课程选择
+