Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mes-ui
Project
Project
Details
Activity
Releases
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
周远喜
mes-ui
Commits
34512b08
Commit
34512b08
authored
May 08, 2020
by
康振飞
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'product' of git.mes123.com:zhouyx/mes-ui into product
parents
4fd1d461
0d7177c1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
41 additions
and
27 deletions
+41
-27
config.js
static/config.js
+41
-27
No files found.
static/config.js
View file @
34512b08
const
systemApi
=
{
const
systemApi
=
{
local
:
'localhost'
,
local
:
'localhost'
,
product
:
'39.100.148.168'
,
product
:
'39.100.148.168'
,
dev
:
"49.232.68.61"
,
dev
:
"49.232.68.61"
,
aps
:
'47.92.102.113'
aps
:
'47.92.102.113'
}
}
//环境切换(只修改此处):
//环境切换(只修改此处):
let
address
=
systemApi
.
product
;
let
address
=
systemApi
.
dev
;
//let address=systemApi.product;
//let address=systemApi.product;
//let address=systemApi.local;
//let address=systemApi.local;
/*
//占位符自动替换:
window.systemUrl = `http://${address}:10000/system`; //System-api 系统管理(基础数据)
window
.
systemUrl
=
`http://
${
address
}
:10020/api/services/app`
;
//System-api 系统管理(基础数据)
window.authUrl = `http://${address}:10010`; //Authentication-api //统一登陆认证
window
.
authUrl
=
`http://
${
address
}
:10010`
;
//Authentication-api //统一登陆认证
window.designUrl = `http://${address}:10000/process`; // 工艺规程
window
.
designUrl
=
`http://
${
address
}
:10030/api/services/app`
;
//Process-api 工艺规程
window.PlanUrl = `http://${address}:10000/plan`; //订单
window
.
PlanUrl
=
`http://
${
address
}
:10050/api/services/app`
;
//Process-api
window.bugUrl = `http://${address}:10000/bug`; //bug
window
.
routeUrl
=
`http://
${
address
}
:10050/api/services/app`
;
//Process-api
window.fileUrl = `http://${address}:10080/fileServer`; //文件上传url
window
.
bugUrl
=
`http://
${
address
}
:10070/api/services/app`
;
//Process-api
window.fileUrlDown = `http://${address}`; //文件下载url
window
.
fileUrl
=
`http://
${
address
}
:10080/fileServer`
;
//文件上传url
window.resourceUrl = `http://${address}:10000/resource`; // 制造资源地址
window
.
fileUrlDown
=
`http://
${
address
}
`
;
//文件下载url
window.workflowUrl = `http://${address}:10000/workflow`; // 工作流地址
window
.
resourceUrl
=
`http://
${
address
}
:10040/api/services/app`
;
// 制造资源地址
window.certificateUrl = `http://${address}:10000/qms`; //质量
window
.
workflowUrl
=
`http://
${
address
}
:10060/api/services/app`
;
// 工作流地址
window.crmUrl = `http://${address}:10000/crm`; //crm客户、合同、项目管理
window
.
certificateUrl
=
`http://
${
address
}
:10090/api/services/app`
;
//Process-api
window.apsUrl = `http://${systemApi.aps}:10000/aps`;//aps排产
window
.
crmUrl
=
`http://
${
address
}
:10100/api/services/app`
;
//crm客户、合同、项目管理
window.technologyUrl =`http://${address}:10000/technology/`;//新工艺规程接口
window
.
iconImg
=
`http://
${
address
}
:3000/imgicon/`
;
//待办任务图标路径
*/
window
.
apsUrl
=
`http://
${
systemApi
.
aps
}
:10110/api/services/app`
;
//aps排产
window
.
systemUrl
=
`http://
${
address
}
:10020/api/services/app`
;
//System-api 系统管理(基础数据)
window
.
technologyUrl
=
`http://
${
address
}
:10031/api/services/app/`
;
window
.
authUrl
=
`http://
${
address
}
:10010`
;
//Authentication-api //统一登陆认证
\ No newline at end of file
window
.
designUrl
=
`http://
${
address
}
:10030/api/services/app`
;
//Process-api 工艺规程
window
.
PlanUrl
=
`http://
${
address
}
:10050/api/services/app`
;
//Process-api
window
.
routeUrl
=
`http://
${
address
}
:10050/api/services/app`
;
//Process-api
window
.
bugUrl
=
`http://
${
address
}
:10070/api/services/app`
;
//Process-api
window
.
fileUrl
=
`http://
${
address
}
:10080/fileServer`
;
//文件上传url
window
.
fileUrlDown
=
`http://
${
address
}
`
;
//文件下载url
window
.
resourceUrl
=
`http://
${
address
}
:10040/api/services/app`
;
// 制造资源地址
window
.
workflowUrl
=
`http://
${
address
}
:10060/api/services/app`
;
// 工作流地址
window
.
certificateUrl
=
`http://
${
address
}
:10090/api/services/app`
;
//Process-api
window
.
crmUrl
=
`http://
${
address
}
:10100/api/services/app`
;
//crm客户、合同、项目管理
window
.
iconImg
=
`http://
${
address
}
:3006/imgicon/`
;
//待办任务图标路径
window
.
apsUrl
=
`http://
${
systemApi
.
aps
}
:10110/api/services/app`
;
//aps排产
window
.
technologyUrl
=
`http://
${
address
}
:10031/api/services/app/`
;
//新工艺规程接口
\ 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