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
1dba17a2
Commit
1dba17a2
authored
Apr 09, 2020
by
黄贤军
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2.0
parent
640dedd5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
7 deletions
+24
-7
system.vue
src/app/HsEdi/system.vue
+24
-7
No files found.
src/app/HsEdi/system.vue
View file @
1dba17a2
...
@@ -225,8 +225,11 @@
...
@@ -225,8 +225,11 @@
max-height=
"450"
max-height=
"450"
@
selection-change=
"handleSelectionChange_test"
>
@
selection-change=
"handleSelectionChange_test"
>
>
>
<!-- <el-table-column type="index" width="40"> -->
<el-table-column
</el-table-column>
type=
"index"
label=
"序号"
>
</el-table-column>
<el-table-column
prop=
"app_code"
sortable
:show-overflow-tooltip=
true
label=
"appCode"
>
<el-table-column
prop=
"app_code"
sortable
:show-overflow-tooltip=
true
label=
"appCode"
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"port"
:show-overflow-tooltip=
true
label=
"端口号"
>
<el-table-column
prop=
"port"
:show-overflow-tooltip=
true
label=
"端口号"
>
...
@@ -365,17 +368,21 @@ export default {
...
@@ -365,17 +368,21 @@ export default {
}
}
},
},
methods
:
{
methods
:
{
//
handleSelectionChange_test(e) {
handleSelectionChange_test
(
e
)
{
//
this.multipleSelection_test = e
this
.
multipleSelection_test
=
e
//
},
},
// 测试
// 测试
test_port
()
{
test_port
()
{
// if (!this.multipleSelection_test.length) {
// if (!this.multipleSelection_test.length) {
// this.$message.error('请选择数据')
// this.$message.error('请选择数据')
// return
// return
// }
// }
this
.
openFullScreen
(
'测试中,请稍等'
)
this
.
$API
.
post
(
`mesAPI/application/test_port/
${
this
.
ruleForm
.
project_no
}
/`
,
{},
{},
this
.
test_list
).
then
(
res
=>
{
this
.
$API
.
post
(
`mesAPI/application/test_port/
${
this
.
ruleForm
.
project_no
}
/`
,
{},
{},
this
.
test_list
).
then
(
res
=>
{
this
.
test_list
=
res
.
data
this
.
test_list
=
res
.
data
this
.
closeFullScreen
(
this
.
openFullScreen
())
}).
catch
(()
=>
{
this
.
closeFullScreen
(
this
.
openFullScreen
())
})
})
},
},
open_server_list
()
{
open_server_list
()
{
...
@@ -618,7 +625,9 @@ export default {
...
@@ -618,7 +625,9 @@ export default {
// 查询测试端口号res.data
// 查询测试端口号res.data
get_test
()
{
get_test
()
{
axios
.
get
(
`mesAPI/application/test_port/
${
this
.
ruleForm
.
project_no
}
/`
).
then
(
res
=>
{
axios
.
get
(
`mesAPI/application/test_port/
${
this
.
ruleForm
.
project_no
}
/`
).
then
(
res
=>
{
this
.
test_list
=
res
.
data
if
(
res
.
data
)
{
this
.
test_list
=
res
.
data
}
}
}
)
)
},
},
...
@@ -670,7 +679,11 @@ export default {
...
@@ -670,7 +679,11 @@ export default {
return
return
}
}
this
.
$API
.
get
(
`mesAPI/connection/work_shop/
${
this
.
ruleForm
.
project_no
}
/`
).
then
(
res
=>
{
this
.
$API
.
get
(
`mesAPI/connection/work_shop/
${
this
.
ruleForm
.
project_no
}
/`
).
then
(
res
=>
{
this
.
work_list
=
res
.
data
if
(
res
.
data
)
{
this
.
work_list
=
res
.
data
this
.
service_ruleForm
.
work_shop_no
=
this
.
work_list
[
0
].
work_shop_no
this
.
work_shop_change
(
this
.
service_ruleForm
.
work_shop_no
)
}
})
})
},
},
// 获取项目链接
// 获取项目链接
...
@@ -680,6 +693,8 @@ export default {
...
@@ -680,6 +693,8 @@ export default {
this
.
ruleForm
=
{}
this
.
ruleForm
=
{}
}
else
{
}
else
{
this
.
project_list
=
res
.
data
this
.
project_list
=
res
.
data
this
.
ruleForm
.
project_no
=
res
.
data
[
0
].
project_no
this
.
project_change
(
this
.
ruleForm
.
project_no
)
// 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
...
@@ -699,9 +714,11 @@ export default {
...
@@ -699,9 +714,11 @@ export default {
this
.
$API
.
get
(
`mesAPI/connection/
${
e
}
/`
).
then
(
res
=>
{
this
.
$API
.
get
(
`mesAPI/connection/
${
e
}
/`
).
then
(
res
=>
{
if
(
res
.
data
)
{
if
(
res
.
data
)
{
this
.
ruleForm
=
res
.
data
this
.
ruleForm
=
res
.
data
this
.
service_ruleForm
=
{}
}
else
{
}
else
{
this
.
ruleForm
=
{}
this
.
ruleForm
=
{}
this
.
ruleForm
.
project_no
=
e
this
.
ruleForm
.
project_no
=
e
this
.
service_ruleForm
=
{}
}
}
})
})
},
},
...
...
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