Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
isc-web-vue
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
isc-v3.1-tmp
isc-web-vue
Commits
ded30219
Commit
ded30219
authored
Sep 26, 2024
by
hulei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增本地配置
parent
747be3ab
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
60 additions
and
0 deletions
+60
-0
isc-baseData-local.js
src/config/isc-baseData-local.js
+60
-0
No files found.
src/config/isc-baseData-local.js
0 → 100644
View file @
ded30219
var
baseData
=
{};
if
(
process
.
env
.
NODE_ENV
===
'production'
)
{
//生产模式
baseData
=
{
//15.62.176.250:8088
"host"
:
""
,
//15.62.176.250:8088
"hostBusiness"
:
""
,
"hostPublic"
:
""
,
"hostReport"
:
""
,
"hostFinance"
:
""
,
"hostRemittance"
:
""
,
"hostLc"
:
""
,
"hostDomlc"
:
""
,
"hostCollection"
:
""
,
"hostDerivative"
:
""
,
"basePath"
:
"/webapi"
,
"schemes"
:
""
,
"message"
:
{
"isLoading"
:
false
,
//全局通讯开启loading遮罩
"isEncrypt"
:
false
,
//AES加密开关,默认false关闭
'signature'
:
false
,
//开启mac校验放篡改,默认false关闭
"timeout"
:
300000
,
//超20秒会提示超时
"msgTipKey"
:
'errorMsg'
//状态码500转200时,前端弹出错误信息。后台返回的错误信息属性名是什么,msgTipKey的属性值就填什么(如后台返回错误{errorCode: "XXL1042", errorMsg: "分片序列号和参数beanId不存在!"})
},
"useJsBridge"
:
{
"flag"
:
false
,
//生产接入pc OA,默认关闭,给true开启js桥连接方法
"useOrigType"
:
false
,
//由于微服务app接入服务get方式请求前端需要传给原生的请求类型依旧为post,这个开关是控制是否依然使用原来的请求类型
"requestSource"
:
"internetRequest"
,
//'internetRequest'内网请求;'externalRequest'外网请求
"sc"
:
"IAM165"
,
//系统编码--每个系统是固定的
"operType"
:
"0"
//0为透传,1为接入服务
},
"isOpenDisabledCopy"
:
"false"
,
//是否开启禁用页面的“复制,打印,另存为”功能。可选值:"false"不开启禁用,"true"开启禁用所有页面,"routerConfig"开启禁用部分页面(需通过页面路由的meta中配置"isDisablePageOpt": true),"menuConfig"开启禁用部分页面(具体禁用哪些页面需要在系统的菜单分配中配置)。
}
}
else
{
//开发模式
baseData
=
{
"hostPublic"
:
"localhost:31081"
,
"host"
:
"localhost:31091"
,
"hostAdmin"
:
"localhost:31092"
,
"hostBusiness"
:
"localhost:31093"
,
"hostRemittance"
:
"localhost:31094"
,
"hostFinance"
:
"15.52.176.251:22002"
,
"hostLc"
:
"15.52.176.251:22002"
,
"hostDomlc"
:
"15.52.176.251:22002"
,
"hostCollection"
:
"15.52.176.251:22002"
,
"hostDerivative"
:
"15.52.176.251:22002"
,
"hostReport"
:
"127.0.0.1:8090"
,
"basePath"
:
"/webapi"
,
"schemes"
:
"http"
,
"message"
:
{
"isLoading"
:
false
,
//全局通讯开启loading遮罩
"isEncrypt"
:
false
,
//AES加密开关,默认false关闭
'signature'
:
false
,
//开启mac校验放篡改,默认false关闭
"timeout"
:
1000000
,
//超时
"msgTipKey"
:
'errorMsg'
},
"isOpenDisabledCopy"
:
"false"
,
//是否开启禁用页面的“复制,打印,另存为”功能。可选值:"false"不开启禁用,"true"开启禁用所有页面,"routerConfig"开启禁用部分页面(需通过页面路由的meta中配置"isDisablePageOpt": true),"menuConfig"开启禁用部分页面(具体禁用哪些页面需要在系统的菜单分配中配置)。
}
}
module
.
exports
=
baseData
;
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment