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
cbc28737
Commit
cbc28737
authored
Apr 09, 2020
by
黄贤军
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2.0
parent
f0ef7b3f
Pipeline
#22391
canceled with stage
in 1 second
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
7 deletions
+13
-7
system.vue
src/app/HsEdi/system.vue
+13
-7
No files found.
src/app/HsEdi/system.vue
View file @
cbc28737
...
@@ -225,12 +225,14 @@
...
@@ -225,12 +225,14 @@
</el-dialog>
</el-dialog>
</el-tab-pane>
</el-tab-pane>
<el-tab-pane
label=
"客户推送升级"
name=
"third"
>
<el-tab-pane
label=
"客户推送升级"
name=
"third"
>
<el-form
:model=
"remote_server"
:rules=
"rules"
ref=
"remote_server"
label-width=
"130px"
class=
"demo-ruleForm"
>
<el-form
:model=
"remote_server"
:rules=
"rules"
label-width=
"130px"
class=
"demo-ruleForm"
>
<el-form-item
label=
"项目代码"
prop=
"name"
>
<el-form-item
label=
"项目代码"
prop=
"name"
>
<el-input
disabled=
""
class=
"demo"
v-model=
"remote_server.project_no"
></el-input>
<el-input
disabled=
""
class=
"demo"
v-model=
"remote_server.project_no"
></el-input>
<span
class=
"Prompt"
>
此车间从客户服务器配置中的车间中获取
</span>
</el-form-item>
</el-form-item>
<el-form-item
label=
"
项目代码
"
prop=
"name"
>
<el-form-item
label=
"
车间
"
prop=
"name"
>
<el-input
disabled=
""
class=
"demo"
v-model=
"remote_server.work_shop_no"
></el-input>
<el-input
disabled=
""
class=
"demo"
v-model=
"remote_server.work_shop_no"
></el-input>
<span
class=
"Prompt"
>
此项目代码从系统配置项目代码中获取
</span>
</el-form-item>
</el-form-item>
<el-form-item
label=
"服务器IP"
prop=
"name"
>
<el-form-item
label=
"服务器IP"
prop=
"name"
>
<el-input
class=
"demo"
v-model=
"remote_server.server_ip"
></el-input>
<el-input
class=
"demo"
v-model=
"remote_server.server_ip"
></el-input>
...
@@ -416,7 +418,10 @@ export default {
...
@@ -416,7 +418,10 @@ export default {
{
'app_code'
:
'Redis'
,
'app_name'
:
'Redis'
,
'app_image'
:
'47.110.145.204:8084/huansi/redis:latest'
},
{
'app_code'
:
'Redis'
,
'app_name'
:
'Redis'
,
'app_image'
:
'47.110.145.204:8084/huansi/redis:latest'
},
{
'app_code'
:
'Tool'
,
'app_name'
:
'tools工具集'
,
'app_image'
:
'47.110.145.204:8084/huansi/hs_tools:1.1'
}],
{
'app_code'
:
'Tool'
,
'app_name'
:
'tools工具集'
,
'app_image'
:
'47.110.145.204:8084/huansi/hs_tools:1.1'
}],
rules
:
{},
rules
:
{},
remote_server
:
{
}
remote_server
:
{
project_no
:
''
,
work_shop_no
:
''
}
}
}
},
},
methods
:
{
methods
:
{
...
@@ -730,7 +735,7 @@ export default {
...
@@ -730,7 +735,7 @@ export default {
}
else
if
(
e
.
label
===
'客户服务器配置'
)
{
}
else
if
(
e
.
label
===
'客户服务器配置'
)
{
this
.
get_service_project
()
this
.
get_service_project
()
}
else
if
(
e
.
label
===
'客户推送升级'
)
{
}
else
if
(
e
.
label
===
'客户推送升级'
)
{
if
(
this
.
service_ruleForm
.
work_shop_no
)
{
this
.
get_remote_server
()
}
this
.
get_remote_server
()
}
else
{
}
else
{
if
(
this
.
ruleForm
.
project_no
)
{
if
(
this
.
ruleForm
.
project_no
)
{
this
.
get_test
()
this
.
get_test
()
...
@@ -823,6 +828,7 @@ export default {
...
@@ -823,6 +828,7 @@ export default {
// this.ruleForm = res.data
// this.ruleForm = res.data
}
}
this
.
service_ruleForm
.
project_no
=
this
.
ruleForm
.
project_no
this
.
service_ruleForm
.
project_no
=
this
.
ruleForm
.
project_no
this
.
remote_server
.
project_no
=
this
.
ruleForm
.
project_no
})
})
},
},
// 保存远程数据库
// 保存远程数据库
...
@@ -850,13 +856,13 @@ export default {
...
@@ -850,13 +856,13 @@ export default {
// 获取远程服务器连接
// 获取远程服务器连接
get_remote_server
()
{
get_remote_server
()
{
this
.
$API
.
get
(
`mesAPI/connection/remote_server/
${
this
.
service_ruleForm
.
project_no
}
/
${
this
.
service_ruleForm
.
work_shop_no
}
/`
).
then
(
res
=>
{
this
.
$API
.
get
(
`mesAPI/connection/remote_server/
${
this
.
service_ruleForm
.
project_no
}
/
${
this
.
service_ruleForm
.
work_shop_no
}
/`
).
then
(
res
=>
{
if
(
!
res
.
data
.
length
)
{
if
(
!
res
.
data
)
{
this
.
remote_server
=
{}
this
.
remote_server
=
{}
this
.
remote_server
.
project_no
=
this
.
service_
ruleForm
.
project_no
this
.
remote_server
.
project_no
=
this
.
ruleForm
.
project_no
this
.
remote_server
.
work_shop_no
=
this
.
service_ruleForm
.
work_shop_no
this
.
remote_server
.
work_shop_no
=
this
.
service_ruleForm
.
work_shop_no
}
else
{
}
else
{
this
.
remote_server
=
res
.
data
this
.
remote_server
=
res
.
data
this
.
remote_server
.
project_no
=
this
.
service_
ruleForm
.
project_no
this
.
remote_server
.
project_no
=
this
.
ruleForm
.
project_no
this
.
remote_server
.
work_shop_no
=
this
.
service_ruleForm
.
work_shop_no
this
.
remote_server
.
work_shop_no
=
this
.
service_ruleForm
.
work_shop_no
}
}
})
})
...
...
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