Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
I
install.web
Project
Project
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
Script
install.web
Commits
ea6fd601
Commit
ea6fd601
authored
Mar 25, 2020
by
黄贤军
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug修改
parent
411e9609
Pipeline
#21553
passed with stage
in 1 minute and 12 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
index.js
config/index.js
+1
-1
system.vue
src/app/HsEdi/system.vue
+2
-0
No files found.
config/index.js
View file @
ea6fd601
...
@@ -6,7 +6,7 @@ var authAPI = 'http://47.110.145.204:8095/'
...
@@ -6,7 +6,7 @@ var authAPI = 'http://47.110.145.204:8095/'
// var erPiUrl = 'http://47.100.21.215:40402'
// var erPiUrl = 'http://47.100.21.215:40402'
var
mesAPI
=
'http://47.110.145.204:8109/'
//
var
mesAPI
=
'http://47.110.145.204:8109/'
//
mesAPI
=
'http://192.168.4.116:5000/'
mesAPI
=
'http://192.168.4.116:5000/'
mesAPI
=
'http://192.168.4.116:23000/'
//
mesAPI = 'http://192.168.4.116:23000/'
var
mockAPI
=
'http://47.110.145.204:8082/mock/239'
var
mockAPI
=
'http://47.110.145.204:8082/mock/239'
module
.
exports
=
{
module
.
exports
=
{
build
:
{
build
:
{
...
...
src/app/HsEdi/system.vue
View file @
ea6fd601
...
@@ -422,6 +422,8 @@ export default {
...
@@ -422,6 +422,8 @@ export default {
},
},
// 保存远程数据库
// 保存远程数据库
set_remote_server
()
{
set_remote_server
()
{
this
.
remote_server
.
project_no
=
this
.
ruleForm
.
project_no
console
.
log
(
this
.
remote_server
)
this
.
$API
.
post
(
`mesAPI/connection/remote_server/`
,
{},
{},
this
.
remote_server
).
then
(
res
=>
{
this
.
$API
.
post
(
`mesAPI/connection/remote_server/`
,
{},
{},
this
.
remote_server
).
then
(
res
=>
{
if
(
res
.
data
.
message
===
'保存成功'
)
{
this
.
$message
.
success
(
res
.
data
.
message
)
}
else
{
if
(
res
.
data
.
message
===
'保存成功'
)
{
this
.
$message
.
success
(
res
.
data
.
message
)
}
else
{
this
.
$message
.
error
(
res
.
data
.
message
)
this
.
$message
.
error
(
res
.
data
.
message
)
...
...
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