This commit is contained in:
zhutianqi
2021-08-27 08:55:52 +08:00
parent 76c6ea8e1c
commit 83a0fd7c96
7 changed files with 1217 additions and 847 deletions
+4 -5
View File
@@ -159,11 +159,10 @@ export default {
path: '/nonConfomity',
menuId: '0119abd677e0204e061eb0f0b8cafda0'
},
// {
// title: '标准法规工作组',
// path: '/workGroup',
// menuId: 'QYRMD5TUNBP9XXFRNK5S'
// },
{
title: '工作组',
path: '/workingGroup',
},
// {
// title: '备案产品标准库',
// path: '/enterpriseStandardFiling',
+625 -582
View File
File diff suppressed because it is too large Load Diff
File diff suppressed because one or more lines are too long
+21 -9
View File
@@ -1164,6 +1164,18 @@ const routes = [
menuId: 'PCZKM8TQJAH5UP5EAXTJ'
}
},
// 工作组
{
path: '/workingGroup',
name: 'workingGroup',
component: () =>
import('@/pages/regulatoryRepository/workingGroup/index'),
meta: {
requireAuth: true,
title: '工作组',
}
},
// 标准涉及项目
{
path: '/standInvolveProject',
@@ -2000,15 +2012,15 @@ router.onError((error) => {
})
router.beforeEach((to, from, next) => {
// let toName = to.name
// let token = store.state.token
// // 返回值为登录状态
// if ((token === null || token === '') && (toName !== 'Login' && to.meta.requireAuth)) {
// router.push({
// name: 'Login'
// })
// }
// // 流程页面权限判断
console.log(111);
let toName = to.name
let token = store.state.token
console.log(toName);
// 返回值为登录状态
if ((token === null || token === '') && (toName !== 'Login' && to.meta.requireAuth)) {
return next('/Login')
}
// 流程页面权限判断
// const processCenter = to.name === 'ProcessCenter' || (to.meta.parentPath && to.meta.parentPath === '/processCenter')
// if (processCenter) {
// if (to.meta.process) {
+4 -4
View File
@@ -4,10 +4,10 @@
* @date: 2018-09-04 17:47:46
*/
// 服务器地址
const devIp = '10.96.10.171'
const devInterfacePORT = '9999'
// const devIp = '10.5.103.101'
// const devIp = '192.168.1.159'
// const devInterfacePORT = '9999'
const devIp = '62.234.136.153'
const devInterfacePORT = '8038'
// 云端端口号
const DEV_CLOUD_RES_INTERFACE_PORT = '7777'
const simpleFilePath = 'att/attFile/upload'
@@ -31,7 +31,7 @@ const processPort = '17210'
*****************************************************************/
// 生产环境配置
const prodIp = '62.234.136.153'
const prodInterfacePORT = '8033'
const prodInterfacePORT = '8038'
// 判断环境