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
ff08f961
Commit
ff08f961
authored
May 08, 2020
by
周远喜
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ok
parent
54185038
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
1 deletion
+25
-1
productNumberSelect.vue
components/page/productNumberSelect.vue
+1
-1
config2.js
static/config2.js
+24
-0
No files found.
components/page/productNumberSelect.vue
View file @
ff08f961
...
@@ -52,7 +52,7 @@ export default {
...
@@ -52,7 +52,7 @@ export default {
}
}
},
},
getCodes
(
e
)
{
getCodes
(
e
)
{
let
url
=
`
${
route
Url
}
/orderproductcode/getbyorderid`
let
url
=
`
${
Plan
Url
}
/orderproductcode/getbyorderid`
if
(
this
.
eid
)
{
if
(
this
.
eid
)
{
this
.
$api
.
get
(
url
,
{
id
:
this
.
eid
}).
then
((
r
)
=>
{
this
.
$api
.
get
(
url
,
{
id
:
this
.
eid
}).
then
((
r
)
=>
{
if
(
r
.
success
)
{
if
(
r
.
success
)
{
...
...
static/config2.js
0 → 100644
View file @
ff08f961
const
systemApi
=
{
local
:
'localhost'
,
product
:
'39.100.148.168'
,
dev
:
"49.232.68.61"
,
aps
:
'47.92.102.113'
}
//环境切换(只修改此处):
let
address
=
systemApi
.
dev
;
//let address=systemApi.product;
//let address=systemApi.local;
//占位符自动替换:
window
.
systemUrl
=
`http://
${
address
}
:10000/system`
;
//System-api 系统管理(基础数据)
window
.
authUrl
=
`http://
${
address
}
:10010`
;
//Authentication-api //统一登陆认证
window
.
designUrl
=
`http://
${
address
}
:10000/process`
;
// 工艺规程
window
.
PlanUrl
=
`http://
${
address
}
:10000/plan`
;
//订单
window
.
bugUrl
=
`http://
${
address
}
:10000/bug`
;
//bug
window
.
fileUrl
=
`http://
${
address
}
:10080/fileServer`
;
//文件上传url
window
.
fileUrlDown
=
`http://
${
address
}
`
;
//文件下载url
window
.
resourceUrl
=
`http://
${
address
}
:10000/resource`
;
// 制造资源地址
window
.
workflowUrl
=
`http://
${
address
}
:10000/workflow`
;
// 工作流地址
window
.
certificateUrl
=
`http://
${
address
}
:10000/qms`
;
//质量
window
.
crmUrl
=
`http://
${
address
}
:10000/crm`
;
//crm客户、合同、项目管理
window
.
apsUrl
=
`http://
${
systemApi
.
aps
}
:10000/aps`
;
//aps排产
\ 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