禅道bug修复
This commit is contained in:
parent
952b89d15e
commit
10be9306a6
|
|
@ -1,10 +1,12 @@
|
||||||
# 页面标题
|
# 页面标题
|
||||||
VUE_APP_TITLE = 可视化管控平台
|
VUE_APP_TITLE = 可视化管控平台
|
||||||
|
|
||||||
|
NODE_ENV = production
|
||||||
|
|
||||||
# 生产环境配置
|
# 生产环境配置
|
||||||
ENV = 'production'
|
ENV = 'production'
|
||||||
|
|
||||||
VUE_APP_ENV = 'production'
|
VUE_APP_ENV = 'production'
|
||||||
|
|
||||||
# 博诺思管理系统/生产环境
|
# 博诺思管理系统/生产环境
|
||||||
VUE_APP_BASE_API = '/nxdt-api'
|
VUE_APP_BASE_API = '/prod-api'
|
||||||
|
|
|
||||||
|
|
@ -395,7 +395,7 @@ export const dynamicRoutes = [
|
||||||
path: '/project/admission-request-auth',
|
path: '/project/admission-request-auth',
|
||||||
component: Layout,
|
component: Layout,
|
||||||
hidden: true,
|
hidden: true,
|
||||||
permissions: ['system:addPersonnel:query'],
|
permissions: ['add:supervisor:person'],
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
path: 'addPersonnel/:data(.*)',
|
path: 'addPersonnel/:data(.*)',
|
||||||
|
|
@ -405,11 +405,12 @@ export const dynamicRoutes = [
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
path: '/project/supervisor-person-manage',
|
path: '/project/supervisor-person-manage',
|
||||||
component: Layout,
|
component: Layout,
|
||||||
hidden: true,
|
hidden: true,
|
||||||
permissions: ['system:addPersonnel:query'],
|
permissions: ['system:entrance:apply'],
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
path: 'addPersonnel/:data(.*)',
|
path: 'addPersonnel/:data(.*)',
|
||||||
|
|
@ -621,7 +622,7 @@ export const dynamicRoutes = [
|
||||||
path: '/pro/apply',
|
path: '/pro/apply',
|
||||||
component: Layout,
|
component: Layout,
|
||||||
hidden: true,
|
hidden: true,
|
||||||
permissions: ['system:entrance:apply'],
|
permissions: ['add:supervisor:person'],
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
path: 'supervisorEnterApply/:data(.*)',
|
path: 'supervisorEnterApply/:data(.*)',
|
||||||
|
|
|
||||||
|
|
@ -6,12 +6,12 @@ const cbc_iv = CryptoJS.enc.Utf8.parse('1234567812345678')
|
||||||
* 默认参数需要加密
|
* 默认参数需要加密
|
||||||
* @type {boolean}
|
* @type {boolean}
|
||||||
*/
|
*/
|
||||||
const jia_mi = process.env.NODE_ENV === 'development' ? false : true
|
const jia_mi = false
|
||||||
/**
|
/**
|
||||||
* 默认后台会自动加密
|
* 默认后台会自动加密
|
||||||
* @type {boolean}
|
* @type {boolean}
|
||||||
*/
|
*/
|
||||||
const jie_mi = process.env.NODE_ENV === 'development' ? false : true
|
const jie_mi = false
|
||||||
/**
|
/**
|
||||||
* 加密
|
* 加密
|
||||||
* @param word
|
* @param word
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
import { getToDoNum } from '@/api/system/notice'
|
import { getToDoNum } from '@/api/system/notice'
|
||||||
//0 测试 1生产
|
//0 测试 1生产
|
||||||
let fileType = 0
|
let fileType = process.env.ENV === 'testing' ? 0 : 1
|
||||||
|
|
||||||
export function lookFile() {
|
export function lookFile() {
|
||||||
if (fileType === 0) {
|
if (fileType === 0) {
|
||||||
|
|
@ -29,7 +29,6 @@ export function filePreview() {
|
||||||
}
|
}
|
||||||
//
|
//
|
||||||
// return 'http://112.29.103.165:8012/onlinePreview?url=' //1.6演示服务器
|
// return 'http://112.29.103.165:8012/onlinePreview?url=' //1.6演示服务器
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export function lookMioIoFile() {
|
export function lookMioIoFile() {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue