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
e7f624ce
Commit
e7f624ce
authored
Mar 16, 2020
by
黄贤军
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
本机id
parent
ad914ec9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
index.js
config/index.js
+1
-1
system.vue
src/app/HsEdi/system.vue
+6
-2
No files found.
config/index.js
View file @
e7f624ce
...
@@ -5,7 +5,7 @@ var erpAPI = 'http://47.100.21.215:40402'
...
@@ -5,7 +5,7 @@ var erpAPI = 'http://47.100.21.215:40402'
var
authAPI
=
'http://47.110.145.204:8095/'
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:
5
000/'
mesAPI
=
'http://192.168.4.116:
23
000/'
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 @
e7f624ce
...
@@ -18,6 +18,9 @@
...
@@ -18,6 +18,9 @@
<el-form-item
label=
"密码"
prop=
"name"
>
<el-form-item
label=
"密码"
prop=
"name"
>
<el-input
class=
"demo"
type=
"password"
v-model=
"ruleForm.db_password"
></el-input>
<el-input
class=
"demo"
type=
"password"
v-model=
"ruleForm.db_password"
></el-input>
</el-form-item>
<el-form-item
label=
"本机IP"
prop=
"name"
>
<el-input
class=
"demo"
v-model=
"ruleForm.host_ip"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"TIIP数据库名"
prop=
"name"
>
<el-form-item
label=
"TIIP数据库名"
prop=
"name"
>
<el-input
class=
"demo"
v-model=
"ruleForm.tiip_db_name"
></el-input>
<el-input
class=
"demo"
v-model=
"ruleForm.tiip_db_name"
></el-input>
...
@@ -266,10 +269,11 @@ export default {
...
@@ -266,10 +269,11 @@ export default {
)
)
},
},
updata
()
{
updata
()
{
console
.
log
(
111
)
},
},
test
(
str
)
{
test
(
str
)
{
this
.
$API
.
get
(
`mesAPI/connection/
${
this
.
ruleForm
.
project_no
}
/
${
str
}
`
).
then
(
res
=>
{
console
.
log
(
11
)
var
url
=
`
${
this
.
ruleForm
.
project_no
}
/
${
str
}
`
this
.
$API
.
get
(
`mesAPI/connection/
${
url
}
/`
).
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