禅道bug修复

This commit is contained in:
BianLzhaoMin 2025-06-06 11:22:35 +08:00
parent 952b89d15e
commit 10be9306a6
4 changed files with 13 additions and 11 deletions

View File

@ -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'

View File

@ -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(.*)',

View File

@ -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

View File

@ -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,18 +18,17 @@ 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() {
if (fileType === 0) {
return 'http://192.168.0.14:8012/onlinePreview?url=' //14服务器
} else {
return 'http://218.21.27.6:18013/onlinePreview?url=' //生产服务器
return 'http://218.21.27.6:18013/onlinePreview?url=' //生产服务器
}
//
// 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