禅道bug修复
This commit is contained in:
parent
952b89d15e
commit
10be9306a6
|
|
@ -1,10 +1,12 @@
|
|||
# 页面标题
|
||||
VUE_APP_TITLE = 可视化管控平台
|
||||
|
||||
NODE_ENV = production
|
||||
|
||||
# 生产环境配置
|
||||
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',
|
||||
component: Layout,
|
||||
hidden: true,
|
||||
permissions: ['system:addPersonnel:query'],
|
||||
permissions: ['add:supervisor:person'],
|
||||
children: [
|
||||
{
|
||||
path: 'addPersonnel/:data(.*)',
|
||||
|
|
@ -405,11 +405,12 @@ export const dynamicRoutes = [
|
|||
},
|
||||
],
|
||||
},
|
||||
|
||||
{
|
||||
path: '/project/supervisor-person-manage',
|
||||
component: Layout,
|
||||
hidden: true,
|
||||
permissions: ['system:addPersonnel:query'],
|
||||
permissions: ['system:entrance:apply'],
|
||||
children: [
|
||||
{
|
||||
path: 'addPersonnel/:data(.*)',
|
||||
|
|
@ -621,7 +622,7 @@ export const dynamicRoutes = [
|
|||
path: '/pro/apply',
|
||||
component: Layout,
|
||||
hidden: true,
|
||||
permissions: ['system:entrance:apply'],
|
||||
permissions: ['add:supervisor:person'],
|
||||
children: [
|
||||
{
|
||||
path: 'supervisorEnterApply/:data(.*)',
|
||||
|
|
|
|||
|
|
@ -6,12 +6,12 @@ const cbc_iv = CryptoJS.enc.Utf8.parse('1234567812345678')
|
|||
* 默认参数需要加密
|
||||
* @type {boolean}
|
||||
*/
|
||||
const jia_mi = process.env.NODE_ENV === 'development' ? false : true
|
||||
const jia_mi = false
|
||||
/**
|
||||
* 默认后台会自动加密
|
||||
* @type {boolean}
|
||||
*/
|
||||
const jie_mi = process.env.NODE_ENV === 'development' ? false : true
|
||||
const jie_mi = false
|
||||
/**
|
||||
* 加密
|
||||
* @param word
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
import { getToDoNum } from '@/api/system/notice'
|
||||
//0 测试 1生产
|
||||
let fileType = 0
|
||||
let fileType = process.env.ENV === 'testing' ? 0 : 1
|
||||
|
||||
export function lookFile() {
|
||||
if (fileType === 0) {
|
||||
|
|
@ -18,7 +18,7 @@ export function lookFaceFile() {
|
|||
return 'http://218.21.27.6:1999/file/statics/' //生产服务器
|
||||
}
|
||||
//return 'http://112.29.103.165:14413/file/statics/' //1.6演示服务器
|
||||
// return 'http://218.21.27.6:1999/file/statics/' //生产服务器
|
||||
// return 'http://218.21.27.6:1999/file/statics/' //生产服务器
|
||||
}
|
||||
|
||||
export function filePreview() {
|
||||
|
|
@ -29,7 +29,6 @@ export function filePreview() {
|
|||
}
|
||||
//
|
||||
// return 'http://112.29.103.165:8012/onlinePreview?url=' //1.6演示服务器
|
||||
|
||||
}
|
||||
|
||||
export function lookMioIoFile() {
|
||||
|
|
@ -173,7 +172,7 @@ export function sprintf(str) {
|
|||
var args = arguments,
|
||||
flag = true,
|
||||
i = 1
|
||||
str = str.replace(/%s/g, function() {
|
||||
str = str.replace(/%s/g, function () {
|
||||
var arg = args[i++]
|
||||
if (typeof arg === 'undefined') {
|
||||
flag = false
|
||||
|
|
|
|||
Loading…
Reference in New Issue