+
diff --git a/hb_client/src/router/index.js b/hb_client/src/router/index.js
index c0b6376..a24bbc6 100644
--- a/hb_client/src/router/index.js
+++ b/hb_client/src/router/index.js
@@ -226,8 +226,7 @@ export const asyncRoutes = [
name: 'operation',
component: () => import('@/views/wpm/operation'),
meta: { title: '车间操作', icon: 'workshopOperation', perms: ['index_manage'] }
- }
- ,
+ },
{
path: 'operationdo/:id',
name: 'operationdo',
@@ -240,13 +239,18 @@ export const asyncRoutes = [
name: 'need',
component: () => import('@/views/wpm/need'),
meta: { title: '过程检验', icon: 'processTest', perms: ['index_manage'] }
- }
- ,
+ },
{
path: 'productjy',
name: 'productjy',
component: () => import('@/views/wpm/productjy'),
meta: { title: '成品检验', icon: 'finishedCheck', perms: ['index_manage'] }
+ },
+ {
+ path: 'firstCheck',
+ name: 'firstCheck',
+ component: () => import('@/views/wpm/firstCheck'),
+ meta: { title: '首件确认', icon: 'finishedCheck', perms: ['index_manage'] }
}
]
diff --git a/hb_client/src/utils/request.js b/hb_client/src/utils/request.js
index 4aa482a..8db7072 100644
--- a/hb_client/src/utils/request.js
+++ b/hb_client/src/utils/request.js
@@ -20,7 +20,7 @@ service.interceptors.request.use(
// please modify it according to the actual situation
config.headers['Authorization'] = 'Bearer ' + getToken()
}
- let data = config.params;
+ let data = config.data;
/*debugger;
console.log(data)*/
if(data){
diff --git a/hb_client/src/views/login/index.vue b/hb_client/src/views/login/index.vue
index 7edff04..5625c57 100644
--- a/hb_client/src/views/login/index.vue
+++ b/hb_client/src/views/login/index.vue
@@ -1,8 +1,8 @@